See <https://builds.apache.org/job/sling-org-apache-sling-commons-scheduler-1.8/51/display/redirect?page=changes>
Changes: [radu] SLING-7216 - [nice-to-have] Add a CODE_OF_CONDUCT file to every module [radu] SLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every module ------------------------------------------ Started by an SCM change [EnvInject] - Loading node environment variables. Building remotely on H31 (ubuntu xenial) in workspace <https://builds.apache.org/job/sling-org-apache-sling-commons-scheduler-1.8/ws/> Cloning the remote Git repository Cloning repository https://github.com/apache/sling-org-apache-sling-commons-scheduler.git > git init > <https://builds.apache.org/job/sling-org-apache-sling-commons-scheduler-1.8/ws/> > # timeout=10 Fetching upstream changes from https://github.com/apache/sling-org-apache-sling-commons-scheduler.git > git --version # timeout=10 > git fetch --tags --progress > https://github.com/apache/sling-org-apache-sling-commons-scheduler.git > +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url > https://github.com/apache/sling-org-apache-sling-commons-scheduler.git # > timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # > timeout=10 > git config remote.origin.url > https://github.com/apache/sling-org-apache-sling-commons-scheduler.git # > timeout=10 Fetching upstream changes from https://github.com/apache/sling-org-apache-sling-commons-scheduler.git > git fetch --tags --progress > https://github.com/apache/sling-org-apache-sling-commons-scheduler.git > +refs/heads/*:refs/remotes/origin/* > git rev-parse origin/master^{commit} # timeout=10 Checking out Revision 99794fbc7401d4dcc709294c27a4a3fdf59f535c (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 99794fbc7401d4dcc709294c27a4a3fdf59f535c Commit message: "SLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every module" > git rev-list --no-walk d954255a750113c024a9323ed0d5d85d1ee69a5a # timeout=10 Parsing POMs Established TCP socket on 33865 maven33-agent.jar already up to date maven33-interceptor.jar already up to date maven3-interceptor-commons.jar already up to date [sling-org-apache-sling-commons-scheduler-1.8] $ /home/jenkins/tools/java/latest1.8/bin/java -Xmx4g -Xms4g -cp /home/jenkins/jenkins-slave/maven33-agent.jar:/home/jenkins/tools/maven/apache-maven-3.3.9/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/apache-maven-3.3.9/conf/logging jenkins.maven3.agent.Maven33Main /home/jenkins/tools/maven/apache-maven-3.3.9 /home/jenkins/jenkins-slave/slave.jar /home/jenkins/jenkins-slave/maven33-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 33865 <===[JENKINS REMOTING CAPACITY]===> channel started Executing Maven: -B -f <https://builds.apache.org/job/sling-org-apache-sling-commons-scheduler-1.8/ws/pom.xml> -Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 -U clean deploy [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Sling Commons Scheduler Support 2.7.3-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.discovery.api/1.0.0/org.apache.sling.discovery.api-1.0.0.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.discovery.api/1.0.0/org.apache.sling.discovery.api-1.0.0.pom (3 KB at 4.8 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/sling/16/sling-16.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/sling/16/sling-16.pom (43 KB at 736.2 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.settings/1.0.0/org.apache.sling.settings-1.0.0.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.settings/1.0.0/org.apache.sling.settings-1.0.0.pom (5 KB at 203.5 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/mockito/mockito-core/1.10.19/mockito-core-1.10.19.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/mockito/mockito-core/1.10.19/mockito-core-1.10.19.pom (2 KB at 58.4 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/objenesis/objenesis/2.1/objenesis-2.1.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/objenesis/objenesis/2.1/objenesis-2.1.pom (3 KB at 130.3 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/objenesis/objenesis-parent/2.1/objenesis-parent-2.1.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/objenesis/objenesis-parent/2.1/objenesis-parent-2.1.pom (17 KB at 627.5 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.discovery.impl/1.1.0/org.apache.sling.discovery.impl-1.1.0.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.discovery.impl/1.1.0/org.apache.sling.discovery.impl-1.1.0.pom (10 KB at 434.5 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.junit.core/1.0.10/org.apache.sling.junit.core-1.0.10.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.junit.core/1.0.10/org.apache.sling.junit.core-1.0.10.pom (8 KB at 298.1 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.discovery.api/1.0.0/org.apache.sling.discovery.api-1.0.0.jar [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.settings/1.0.0/org.apache.sling.settings-1.0.0.jar [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.hc.core/1.0.6/org.apache.sling.hc.core-1.0.6.jar [INFO] Downloading: https://repo.maven.apache.org/maven2/org/mockito/mockito-core/1.10.19/mockito-core-1.10.19.jar [INFO] Downloading: https://repo.maven.apache.org/maven2/org/objenesis/objenesis/2.1/objenesis-2.1.jar [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.discovery.api/1.0.0/org.apache.sling.discovery.api-1.0.0.jar (13 KB at 149.4 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.discovery.impl/1.1.0/org.apache.sling.discovery.impl-1.1.0.jar [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.hc.core/1.0.6/org.apache.sling.hc.core-1.0.6.jar (36 KB at 325.8 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.junit.core/1.0.10/org.apache.sling.junit.core-1.0.10.jar [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/objenesis/objenesis/2.1/objenesis-2.1.jar (41 KB at 416.1 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.commons.json/2.0.6/org.apache.sling.commons.json-2.0.6.jar [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.commons.json/2.0.6/org.apache.sling.commons.json-2.0.6.jar (47 KB at 357.0 KB/sec) [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.settings/1.0.0/org.apache.sling.settings-1.0.0.jar (19 KB at 120.8 KB/sec) [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.discovery.impl/1.1.0/org.apache.sling.discovery.impl-1.1.0.jar (145 KB at 1046.0 KB/sec) [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.junit.core/1.0.10/org.apache.sling.junit.core-1.0.10.jar (316 KB at 1455.5 KB/sec) [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/mockito/mockito-core/1.10.19/mockito-core-1.10.19.jar (1146 KB at 4005.2 KB/sec) [INFO] [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ org.apache.sling.commons.scheduler --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ org.apache.sling.commons.scheduler --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (ban-maven-scr-plugin) @ org.apache.sling.commons.scheduler --- [INFO] [INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ org.apache.sling.commons.scheduler --- [INFO] Executing tasks main: Setting Bundle-RequiredExecutionEnvironment=JavaSE-1.7 from sling.java.version=7 [INFO] Executed tasks [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ org.apache.sling.commons.scheduler --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.apache.sling.commons.scheduler --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ org.apache.sling.commons.scheduler --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/sling-org-apache-sling-commons-scheduler-1.8/ws/src/main/resources> [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ org.apache.sling.commons.scheduler --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 21 source files to <https://builds.apache.org/job/sling-org-apache-sling-commons-scheduler-1.8/ws/target/classes> [INFO] <https://builds.apache.org/job/sling-org-apache-sling-commons-scheduler-1.8/ws/src/main/java/org/apache/sling/commons/scheduler/impl/SchedulerServiceFactory.java>: <https://builds.apache.org/job/sling-org-apache-sling-commons-scheduler-1.8/ws/src/main/java/org/apache/sling/commons/scheduler/impl/SchedulerServiceFactory.java> uses or overrides a deprecated API. [INFO] <https://builds.apache.org/job/sling-org-apache-sling-commons-scheduler-1.8/ws/src/main/java/org/apache/sling/commons/scheduler/impl/SchedulerServiceFactory.java>: Recompile with -Xlint:deprecation for details. [INFO] <https://builds.apache.org/job/sling-org-apache-sling-commons-scheduler-1.8/ws/src/main/java/org/apache/sling/commons/scheduler/impl/SettingsSupport.java>: <https://builds.apache.org/job/sling-org-apache-sling-commons-scheduler-1.8/ws/src/main/java/org/apache/sling/commons/scheduler/impl/SettingsSupport.java> uses unchecked or unsafe operations. [INFO] <https://builds.apache.org/job/sling-org-apache-sling-commons-scheduler-1.8/ws/src/main/java/org/apache/sling/commons/scheduler/impl/SettingsSupport.java>: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-bundle-plugin:3.3.0:manifest (scr-metadata) @ org.apache.sling.commons.scheduler --- [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ org.apache.sling.commons.scheduler --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/sling-org-apache-sling-commons-scheduler-1.8/ws/src/test/resources> [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ org.apache.sling.commons.scheduler --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 9 source files to <https://builds.apache.org/job/sling-org-apache-sling-commons-scheduler-1.8/ws/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ org.apache.sling.commons.scheduler --- [INFO] Surefire report directory: <https://builds.apache.org/job/sling-org-apache-sling-commons-scheduler-1.8/ws/target/surefire-reports> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.sling.commons.scheduler.impl.WhiteboardHandlerTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.466 sec - in org.apache.sling.commons.scheduler.impl.WhiteboardHandlerTest Running org.apache.sling.commons.scheduler.impl.QuartzSchedulerTest [main] WARN org.apache.sling.commons.scheduler.impl.QuartzScheduler - Scheduler job requested thread pool with name tp1 but this thread pool is not in the list of allowed pools. [main] WARN org.apache.sling.commons.scheduler.impl.QuartzScheduler - Scheduler job requested thread pool with name tp1 but this thread pool is not in the list of allowed pools. [main] WARN org.apache.sling.commons.scheduler.impl.QuartzScheduler - Scheduler job requested thread pool with name tp1 but this thread pool is not in the list of allowed pools. [main] WARN org.apache.sling.commons.scheduler.impl.QuartzScheduler - Scheduler job requested thread pool with name tp1 but this thread pool is not in the list of allowed pools. [main] WARN org.apache.sling.commons.scheduler.impl.QuartzScheduler - Scheduler job requested thread pool with name tp1 but this thread pool is not in the list of allowed pools. [main] WARN org.apache.sling.commons.scheduler.impl.QuartzScheduler - Scheduler job requested thread pool with name tp1 but this thread pool is not in the list of allowed pools. [main] WARN org.apache.sling.commons.scheduler.impl.QuartzScheduler - Scheduler job requested thread pool with name tp1 but this thread pool is not in the list of allowed pools. [main] WARN org.apache.sling.commons.scheduler.impl.QuartzScheduler - Scheduler job requested thread pool with name tp1 but this thread pool is not in the list of allowed pools. [ApacheSlingtestName_QuartzSchedulerThread] ERROR org.quartz.core.QuartzSchedulerThread - Runtime error occurred in main trigger firing loop. java.lang.NullPointerException at org.apache.sling.commons.scheduler.impl.QuartzThreadPool.runInThread(QuartzThreadPool.java:70) at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:381) [ApacheSlingtestName_QuartzSchedulerThread] ERROR org.quartz.core.QuartzSchedulerThread - Runtime error occurred in main trigger firing loop. java.lang.NullPointerException at org.apache.sling.commons.scheduler.impl.QuartzThreadPool.runInThread(QuartzThreadPool.java:70) at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:381) [main] WARN org.apache.sling.commons.scheduler.impl.QuartzScheduler - Scheduler job requested thread pool with name tp1 but this thread pool is not in the list of allowed pools. [main] WARN org.apache.sling.commons.scheduler.impl.QuartzScheduler - Scheduler job requested thread pool with name tp1 but this thread pool is not in the list of allowed pools. [main] WARN org.apache.sling.commons.scheduler.impl.QuartzScheduler - Scheduler job requested thread pool with name tp2 but this thread pool is not in the list of allowed pools. [main] WARN org.apache.sling.commons.scheduler.impl.QuartzScheduler - Scheduler job requested thread pool with name tp2 but this thread pool is not in the list of allowed pools. Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.15 sec - in org.apache.sling.commons.scheduler.impl.QuartzSchedulerTest Running org.apache.sling.commons.scheduler.impl.SettingsSupportTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.sling.commons.scheduler.impl.SettingsSupportTest Running org.apache.sling.commons.scheduler.impl.QuartzJobExecutorTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec - in org.apache.sling.commons.scheduler.impl.QuartzJobExecutorTest Running org.apache.sling.commons.scheduler.impl.InternalScheduleOptionsTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in org.apache.sling.commons.scheduler.impl.InternalScheduleOptionsTest Running org.apache.sling.commons.scheduler.impl.MetricsHelperTest [main] WARN org.apache.sling.commons.scheduler.impl.ConfigHolder - activate: ignoring wrongly formatted (expects 1 '=') filter definition: unrelated [main] WARN org.apache.sling.commons.scheduler.impl.ConfigHolder - activate: ignoring wrongly formatted (expects 1 '=') filter definition: foo.bar.Class [main] WARN org.apache.sling.commons.scheduler.impl.ConfigHolder - activate: ignoring wrongly formatted filter definition, disallowed character(s) used ($, *, ?) :wrongFilter5=java.foo.Wrong$1 [main] WARN org.apache.sling.commons.scheduler.impl.ConfigHolder - activate: ignoring wrongly formatted filter definition, disallowed character(s) used ($, *, ?) :wrongFilter6=java.bar.Wrong* [main] WARN org.apache.sling.commons.scheduler.impl.ConfigHolder - activate: ignoring wrongly formatted filter definition, disallowed character(s) used ($, *, ?) :wrongFilter7=java.zet.Wrong? Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec - in org.apache.sling.commons.scheduler.impl.MetricsHelperTest Running org.apache.sling.commons.scheduler.impl.WebConsolePrinterTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec - in org.apache.sling.commons.scheduler.impl.WebConsolePrinterTest Running org.apache.sling.commons.scheduler.impl.TopologyHandlerTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in org.apache.sling.commons.scheduler.impl.TopologyHandlerTest Results : Tests run: 43, Failures: 0, Errors: 0, Skipped: 0 [JENKINS] Recording test results [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.SurefireArchiver$2; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [INFO] [INFO] --- animal-sniffer-maven-plugin:1.15:check (default) @ org.apache.sling.commons.scheduler --- [INFO] Checking unresolved references to org.codehaus.mojo.signature:java17:1.0 [INFO] [INFO] --- maven-bundle-plugin:3.3.0:bundle (default-bundle) @ org.apache.sling.commons.scheduler --- [INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ org.apache.sling.commons.scheduler >>> [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ org.apache.sling.commons.scheduler --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (ban-maven-scr-plugin) @ org.apache.sling.commons.scheduler --- [INFO] [INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ org.apache.sling.commons.scheduler --- [INFO] Executing tasks main: Setting Bundle-RequiredExecutionEnvironment=JavaSE-1.7 from sling.java.version=7 [INFO] Executed tasks [WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo [INFO] [INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ org.apache.sling.commons.scheduler <<< [INFO] [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ org.apache.sling.commons.scheduler --- [INFO] Building jar: <https://builds.apache.org/job/sling-org-apache-sling-commons-scheduler-1.8/ws/target/org.apache.sling.commons.scheduler-2.7.3-SNAPSHOT-sources.jar> [INFO] [INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ org.apache.sling.commons.scheduler --- [INFO] [INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ org.apache.sling.commons.scheduler --- [INFO] Checking legal files in: org.apache.sling.commons.scheduler-2.7.3-SNAPSHOT.jar [INFO] Checking legal files in: org.apache.sling.commons.scheduler-2.7.3-SNAPSHOT-sources.jar [INFO] [INFO] --- apache-rat-plugin:0.11:check (default) @ org.apache.sling.commons.scheduler --- [INFO] 51 implicit excludes (use -debug for more details). [INFO] Exclude: DEPENDENCIES [INFO] Exclude: src/main/appended-resources/META-INF/* [INFO] Exclude: velocity.log [INFO] Exclude: target/* [INFO] Exclude: README.md [INFO] Exclude: maven-eclipse.xml [INFO] Exclude: .* [INFO] Exclude: .*/** [INFO] Exclude: **/*.json [INFO] Exclude: DEPENDENCIES [INFO] Exclude: **/*.rej [INFO] Exclude: hs_err_*.log [INFO] Exclude: **/repository/index/*/index-details.txt [INFO] 34 resources included (use -debug for more details) [INFO] Rat check: Summary of files. Unapproved: 2 unknown: 2 generated: 0 approved: 31 licence. [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenArtifactArchiver$2; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [JENKINS] Archiving disabled [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenFingerprinter$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [JENKINS] Archiving disabled [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:31 min [INFO] Finished at: 2018-09-19T17:18:02+00:00 [INFO] Final Memory: 61M/3925M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project org.apache.sling.commons.scheduler: Too many files with unapproved license: 2 See RAT report in: <https://builds.apache.org/job/sling-org-apache-sling-commons-scheduler-1.8/ws/target/rat.txt> -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException channel stopped Recording test results
