See <https://builds.apache.org/job/sling-org-apache-sling-scripting-core-1.8/654/display/redirect?page=changes>
Changes: [radu] SLING-7216 - [nice-to-have] Add a CODE_OF_CONDUCT file to every module ------------------------------------------ Started by an SCM change [EnvInject] - Loading node environment variables. Building remotely on H23 (ubuntu xenial) in workspace <https://builds.apache.org/job/sling-org-apache-sling-scripting-core-1.8/ws/> Cloning the remote Git repository Cloning repository https://github.com/apache/sling-org-apache-sling-scripting-core.git > git init > <https://builds.apache.org/job/sling-org-apache-sling-scripting-core-1.8/ws/> > # timeout=10 Fetching upstream changes from https://github.com/apache/sling-org-apache-sling-scripting-core.git > git --version # timeout=10 > git fetch --tags --progress > https://github.com/apache/sling-org-apache-sling-scripting-core.git > +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url > https://github.com/apache/sling-org-apache-sling-scripting-core.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-scripting-core.git # > timeout=10 Fetching upstream changes from https://github.com/apache/sling-org-apache-sling-scripting-core.git > git fetch --tags --progress > https://github.com/apache/sling-org-apache-sling-scripting-core.git > +refs/heads/*:refs/remotes/origin/* > git rev-parse origin/master^{commit} # timeout=10 Checking out Revision 00b28dd1c9b94f72903e05f00e5b592b9516b03c (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 00b28dd1c9b94f72903e05f00e5b592b9516b03c Commit message: "SLING-7216 - [nice-to-have] Add a CODE_OF_CONDUCT file to every module" > git rev-list --no-walk a08f006c5877bc6385edb9da13766377de1adb15 # timeout=10 Parsing POMs Established TCP socket on 36189 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-scripting-core-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 36189 <===[JENKINS REMOTING CAPACITY]===> channel started Executing Maven: -B -f <https://builds.apache.org/job/sling-org-apache-sling-scripting-core-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 Scripting Core implementation 2.0.55-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.api/2.16.0/org.apache.sling.api-2.16.0.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.api/2.16.0/org.apache.sling.api-2.16.0.pom (5 KB at 17.3 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.scripting.api/2.1.12/org.apache.sling.scripting.api-2.1.12.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.scripting.api/2.1.12/org.apache.sling.scripting.api-2.1.12.pom (3 KB at 96.8 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.paxexam/0.0.4/org.apache.sling.testing.paxexam-0.0.4.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.paxexam/0.0.4/org.apache.sling.testing.paxexam-0.0.4.pom (6 KB at 31.6 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/ops4j/pax/exam/pax-exam/4.10.0/pax-exam-4.10.0.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/ops4j/pax/exam/pax-exam/4.10.0/pax-exam-4.10.0.pom (3 KB at 136.1 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/ops4j/pax/exam/4.10.0/exam-4.10.0.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/ops4j/pax/exam/4.10.0/exam-4.10.0.pom (42 KB at 1266.2 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/ops4j/pax/exam-reactor/4.10.0/exam-reactor-4.10.0.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/ops4j/pax/exam-reactor/4.10.0/exam-reactor-4.10.0.pom (4 KB at 216.7 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/ops4j/pax/exam/pax-exam-cm/4.10.0/pax-exam-cm-4.10.0.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/ops4j/pax/exam/pax-exam-cm/4.10.0/pax-exam-cm-4.10.0.pom (2 KB at 15.8 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/felix/org.apache.felix.webconsole/4.2.0/org.apache.felix.webconsole-4.2.0.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/felix/org.apache.felix.webconsole/4.2.0/org.apache.felix.webconsole-4.2.0.pom (20 KB at 915.2 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.hamcrest/1.3_1/org.apache.servicemix.bundles.hamcrest-1.3_1.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.hamcrest/1.3_1/org.apache.servicemix.bundles.hamcrest-1.3_1.pom (3 KB at 127.4 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/servicemix/bundles/bundles-pom/10/bundles-pom-10.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/servicemix/bundles/bundles-pom/10/bundles-pom-10.pom (15 KB at 252.3 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.api/2.16.0/org.apache.sling.api-2.16.0.jar [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.commons.osgi/2.4.0/org.apache.sling.commons.osgi-2.4.0.jar [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.scripting.api/2.1.12/org.apache.sling.scripting.api-2.1.12.jar [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.paxexam/0.0.4/org.apache.sling.testing.paxexam-0.0.4.jar [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/felix/org.apache.felix.webconsole/4.2.0/org.apache.felix.webconsole-4.2.0.jar [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.commons.osgi/2.4.0/org.apache.sling.commons.osgi-2.4.0.jar (33 KB at 521.7 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.hamcrest/1.3_1/org.apache.servicemix.bundles.hamcrest-1.3_1.jar [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.scripting.api/2.1.12/org.apache.sling.scripting.api-2.1.12.jar (17 KB at 177.8 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/ops4j/pax/url/pax-url-aether/2.4.5/pax-url-aether-2.4.5.jar [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.api/2.16.0/org.apache.sling.api-2.16.0.jar (121 KB at 936.8 KB/sec) [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.hamcrest/1.3_1/org.apache.servicemix.bundles.hamcrest-1.3_1.jar (305 KB at 1916.9 KB/sec) [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/felix/org.apache.felix.webconsole/4.2.0/org.apache.felix.webconsole-4.2.0.jar (434 KB at 2479.3 KB/sec) [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.paxexam/0.0.4/org.apache.sling.testing.paxexam-0.0.4.jar (30 KB at 126.3 KB/sec) [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/ops4j/pax/url/pax-url-aether/2.4.5/pax-url-aether-2.4.5.jar (2861 KB at 7335.1 KB/sec) [INFO] [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ org.apache.sling.scripting.core --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-property-values) @ org.apache.sling.scripting.core --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-java) @ org.apache.sling.scripting.core --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (ban-maven-scr-plugin) @ org.apache.sling.scripting.core --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ org.apache.sling.scripting.core --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.apache.sling.scripting.core --- [INFO] [INFO] --- depends-maven-plugin:1.4.0:generate-depends-file (default) @ org.apache.sling.scripting.core --- [INFO] Created: <https://builds.apache.org/job/sling-org-apache-sling-scripting-core-1.8/ws/target/classes/META-INF/maven/dependencies.properties> [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ org.apache.sling.scripting.core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ org.apache.sling.scripting.core --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 29 source files to <https://builds.apache.org/job/sling-org-apache-sling-scripting-core-1.8/ws/target/classes> [INFO] <https://builds.apache.org/job/sling-org-apache-sling-scripting-core-1.8/ws/src/main/java/org/apache/sling/scripting/core/impl/BindingsValuesProvidersByContextImpl.java>: <https://builds.apache.org/job/sling-org-apache-sling-scripting-core-1.8/ws/src/main/java/org/apache/sling/scripting/core/impl/BindingsValuesProvidersByContextImpl.java> uses unchecked or unsafe operations. [INFO] <https://builds.apache.org/job/sling-org-apache-sling-scripting-core-1.8/ws/src/main/java/org/apache/sling/scripting/core/impl/BindingsValuesProvidersByContextImpl.java>: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- animal-sniffer-maven-plugin:1.16:check (default) @ org.apache.sling.scripting.core --- [INFO] Checking unresolved references to org.codehaus.mojo.signature:java17:1.0 [INFO] [INFO] --- bnd-maven-plugin:3.5.0:bnd-process (default) @ org.apache.sling.scripting.core --- [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ org.apache.sling.scripting.core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/sling-org-apache-sling-scripting-core-1.8/ws/src/test/resources> [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ org.apache.sling.scripting.core --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 11 source files to <https://builds.apache.org/job/sling-org-apache-sling-scripting-core-1.8/ws/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.20.1:test (default-test) @ org.apache.sling.scripting.core --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.sling.scripting.core.impl.jsr223.SlingScriptEngineManagerTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.907 s - in org.apache.sling.scripting.core.impl.jsr223.SlingScriptEngineManagerTest [INFO] Running org.apache.sling.scripting.core.impl.jsr223.SortableScriptEngineFactoryTest [INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.apache.sling.scripting.core.impl.jsr223.SortableScriptEngineFactoryTest [INFO] Running org.apache.sling.scripting.core.impl.helper.ProtectedBindingsTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.apache.sling.scripting.core.impl.helper.ProtectedBindingsTest [INFO] Running org.apache.sling.scripting.core.impl.ScriptingResourceResolverTest [main] WARN org.apache.sling.scripting.core.impl.ScriptingResourceResolver - Attempted to call close on the scripting per-request resource resolver. This is handled automatically by the org.apache.sling.scripting.api.resource.ScriptingResourceResolverProvider. [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.apache.sling.scripting.core.impl.ScriptingResourceResolverTest [INFO] Running org.apache.sling.scripting.core.impl.LogWriterTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.sling.scripting.core.impl.LogWriterTest [INFO] Running org.apache.sling.scripting.core.impl.ScriptingResourceResolverProviderImplTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.133 s - in org.apache.sling.scripting.core.impl.ScriptingResourceResolverProviderImplTest [INFO] Running org.apache.sling.scripting.core.ScriptHelperTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.apache.sling.scripting.core.ScriptHelperTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0 [INFO] [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/ [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.BuildInfoRecorder$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [INFO] [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ org.apache.sling.scripting.core --- [INFO] Building jar: <https://builds.apache.org/job/sling-org-apache-sling-scripting-core-1.8/ws/target/org.apache.sling.scripting.core-2.0.55-SNAPSHOT.jar> [INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ org.apache.sling.scripting.core >>> [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-property-values) @ org.apache.sling.scripting.core --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-java) @ org.apache.sling.scripting.core --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (ban-maven-scr-plugin) @ org.apache.sling.scripting.core --- [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.scripting.core <<< [INFO] [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ org.apache.sling.scripting.core --- [INFO] Building jar: <https://builds.apache.org/job/sling-org-apache-sling-scripting-core-1.8/ws/target/org.apache.sling.scripting.core-2.0.55-SNAPSHOT-sources.jar> [INFO] [INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ org.apache.sling.scripting.core --- [INFO] [INFO] --- maven-failsafe-plugin:2.20.1:integration-test (default) @ org.apache.sling.scripting.core --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.sling.scripting.core.impl.jsr223.Jsr223ScriptEngineBundleIT [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.847 s - in org.apache.sling.scripting.core.impl.jsr223.Jsr223ScriptEngineBundleIT [INFO] Running org.apache.sling.scripting.core.impl.BindingsValuesProvidersByContextIT [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.45 s - in org.apache.sling.scripting.core.impl.BindingsValuesProvidersByContextIT [INFO] [INFO] Results: [INFO] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0 [INFO] [JENKINS] Recording test results [INFO] [INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ org.apache.sling.scripting.core --- [INFO] Checking legal files in: org.apache.sling.scripting.core-2.0.55-SNAPSHOT.jar [INFO] Checking legal files in: org.apache.sling.scripting.core-2.0.55-SNAPSHOT-sources.jar [INFO] [INFO] --- apache-rat-plugin:0.11:check (default) @ org.apache.sling.scripting.core --- [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] Exclude: bnd.bnd [INFO] 45 resources included (use -debug for more details) [INFO] Rat check: Summary of files. Unapproved: 1 unknown: 1 generated: 0 approved: 43 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: 02:28 min [INFO] Finished at: 2018-09-19T16:45:21+00:00 [INFO] Final Memory: 90M/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.scripting.core: Too many files with unapproved license: 1 See RAT report in: <https://builds.apache.org/job/sling-org-apache-sling-scripting-core-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
