See <https://builds.apache.org/job/sling-org-apache-sling-api-1.8/74/display/redirect?page=changes>
Changes: [radu] SLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every module ------------------------------------------ Started by an SCM change Started by an SCM change [EnvInject] - Loading node environment variables. Building remotely on ubuntu-eu3 (ubuntu xenial) in workspace <https://builds.apache.org/job/sling-org-apache-sling-api-1.8/ws/> > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url > https://github.com/apache/sling-org-apache-sling-api.git # timeout=10 Fetching upstream changes from https://github.com/apache/sling-org-apache-sling-api.git > git --version # timeout=10 > git fetch --tags --progress > https://github.com/apache/sling-org-apache-sling-api.git > +refs/heads/*:refs/remotes/origin/* > git rev-parse origin/master^{commit} # timeout=10 Checking out Revision 569be7e1d865a99e98a7a7d930ad909c17304281 (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 569be7e1d865a99e98a7a7d930ad909c17304281 Commit message: "SLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every module" > git rev-list --no-walk cc89442362a96c6a05a2d46c76f821268c1e16e9 # timeout=10 Parsing POMs Established TCP socket on 43719 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-api-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 43719 <===[JENKINS REMOTING CAPACITY]===> channel started Executing Maven: -B -f <https://builds.apache.org/job/sling-org-apache-sling-api-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 API 2.18.5-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ org.apache.sling.api --- [INFO] Deleting <https://builds.apache.org/job/sling-org-apache-sling-api-1.8/ws/target> [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-java) @ org.apache.sling.api --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (ban-maven-scr-plugin) @ org.apache.sling.api --- [INFO] [INFO] --- javaversion-maven-plugin:1.0.0:set-java-version (default) @ org.apache.sling.api --- [INFO] Setting Bundle-RequiredExecutionEnvironment=JavaSE-1.7 from sling.java.version=7 [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ org.apache.sling.api --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.apache.sling.api --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ org.apache.sling.api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ org.apache.sling.api --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 116 source files to <https://builds.apache.org/job/sling-org-apache-sling-api-1.8/ws/target/classes> [INFO] [INFO] --- maven-bundle-plugin:3.3.0:manifest (scr-metadata) @ org.apache.sling.api --- [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ org.apache.sling.api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/sling-org-apache-sling-api-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.api --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 15 source files to <https://builds.apache.org/job/sling-org-apache-sling-api-1.8/ws/target/test-classes> [INFO] <https://builds.apache.org/job/sling-org-apache-sling-api-1.8/ws/src/test/java/org/apache/sling/api/request/RequestUtilTest.java>: <https://builds.apache.org/job/sling-org-apache-sling-api-1.8/ws/src/test/java/org/apache/sling/api/request/RequestUtilTest.java> uses or overrides a deprecated API. [INFO] <https://builds.apache.org/job/sling-org-apache-sling-api-1.8/ws/src/test/java/org/apache/sling/api/request/RequestUtilTest.java>: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ org.apache.sling.api --- [INFO] Surefire report directory: <https://builds.apache.org/job/sling-org-apache-sling-api-1.8/ws/target/surefire-reports> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.sling.api.request.RequestDispatcherOptionsTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec - in org.apache.sling.api.request.RequestDispatcherOptionsTest Running org.apache.sling.api.request.RequestUtilTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in org.apache.sling.api.request.RequestUtilTest Running org.apache.sling.api.request.ResponseUtilTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec - in org.apache.sling.api.request.ResponseUtilTest Running org.apache.sling.api.resource.path.PathTest Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec - in org.apache.sling.api.resource.path.PathTest Running org.apache.sling.api.resource.path.PathBuilderTest Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec - in org.apache.sling.api.resource.path.PathBuilderTest Running org.apache.sling.api.resource.path.PathSetTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in org.apache.sling.api.resource.path.PathSetTest Running org.apache.sling.api.resource.NonExistingResourceTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.909 sec - in org.apache.sling.api.resource.NonExistingResourceTest Running org.apache.sling.api.resource.ResourceUtilTest Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 sec - in org.apache.sling.api.resource.ResourceUtilTest Running org.apache.sling.api.resource.ResourceMetadataTest Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in org.apache.sling.api.resource.ResourceMetadataTest Running org.apache.sling.api.wrappers.ResourceResolverWrapperTest Tests run: 32, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.452 sec - in org.apache.sling.api.wrappers.ResourceResolverWrapperTest Running org.apache.sling.api.wrappers.impl.ObjectConverterTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037 sec - in org.apache.sling.api.wrappers.impl.ObjectConverterTest Running org.apache.sling.api.wrappers.CompositeValueMapTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in org.apache.sling.api.wrappers.CompositeValueMapTest Running org.apache.sling.api.wrappers.ValueMapDecoratorTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.081 sec - in org.apache.sling.api.wrappers.ValueMapDecoratorTest Running org.apache.sling.api.SlingExceptionTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in org.apache.sling.api.SlingExceptionTest Results : Tests run: 143, Failures: 0, Errors: 0, Skipped: 1 [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.api --- [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.api --- [INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ org.apache.sling.api >>> [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-java) @ org.apache.sling.api --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (ban-maven-scr-plugin) @ org.apache.sling.api --- [INFO] [INFO] --- javaversion-maven-plugin:1.0.0:set-java-version (default) @ org.apache.sling.api --- [INFO] Setting Bundle-RequiredExecutionEnvironment=JavaSE-1.7 from sling.java.version=7 [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.api <<< [INFO] [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ org.apache.sling.api --- [INFO] Building jar: <https://builds.apache.org/job/sling-org-apache-sling-api-1.8/ws/target/org.apache.sling.api-2.18.5-SNAPSHOT-sources.jar> [INFO] [INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ org.apache.sling.api --- [INFO] [INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ org.apache.sling.api --- [INFO] Checking legal files in: org.apache.sling.api-2.18.5-SNAPSHOT.jar [INFO] Checking legal files in: org.apache.sling.api-2.18.5-SNAPSHOT-sources.jar [INFO] [INFO] --- maven-bundle-plugin:3.3.0:baseline (baseline) @ org.apache.sling.api --- [INFO] artifact org.apache.sling:org.apache.sling.api: checking for updates from Nexus [INFO] artifact org.apache.sling:org.apache.sling.api: checking for updates from central [INFO] Baseline Report - Generated by Apache Felix Maven Bundle Plugin on 2018-09-19T17:45Z based on Bnd - see http://www.aqute.biz/Bnd/Bnd [INFO] Comparing bundle org.apache.sling.api version 2.18.5-SNAPSHOT to version 2.18.4 [INFO] [INFO] PACKAGE_NAME DELTA CUR_VER BASE_VER REC_VER WARNINGS [INFO] = ================================================== ========== ========== ========== ========== ========== [INFO] org.apache.sling.api unchanged 2.3.3 2.3.3 2.3.3 - [INFO] ----------------------------------------------------------------------------------------------------------- [INFO] org.apache.sling.api.adapter unchanged 2.2.3 2.2.3 2.2.3 - [INFO] ----------------------------------------------------------------------------------------------------------- [INFO] org.apache.sling.api.auth unchanged 1.0.3 1.0.3 1.0.3 - [INFO] ----------------------------------------------------------------------------------------------------------- [INFO] org.apache.sling.api.request unchanged 2.4.3 2.4.3 2.4.3 - [INFO] ----------------------------------------------------------------------------------------------------------- [INFO] org.apache.sling.api.resource unchanged 2.11.1 2.11.1 2.11.1 - [INFO] ----------------------------------------------------------------------------------------------------------- [INFO] org.apache.sling.api.resource.external unchanged 1.0.0 1.0.0 1.0.0 - [INFO] ----------------------------------------------------------------------------------------------------------- [INFO] org.apache.sling.api.resource.mapping unchanged 1.0.0 1.0.0 1.0.0 - [INFO] ----------------------------------------------------------------------------------------------------------- [INFO] org.apache.sling.api.resource.observation unchanged 1.2.1 1.2.1 1.2.1 - [INFO] ----------------------------------------------------------------------------------------------------------- [INFO] org.apache.sling.api.resource.path unchanged 1.2.1 1.2.1 1.2.1 - [INFO] ----------------------------------------------------------------------------------------------------------- [INFO] org.apache.sling.api.resource.runtime unchanged 1.0.1 1.0.1 1.0.1 - [INFO] ----------------------------------------------------------------------------------------------------------- [INFO] org.apache.sling.api.resource.runtime.dto unchanged 1.0.0 1.0.0 1.0.0 - [INFO] ----------------------------------------------------------------------------------------------------------- [INFO] org.apache.sling.api.scripting unchanged 2.3.2 2.3.2 2.3.2 - [INFO] ----------------------------------------------------------------------------------------------------------- [INFO] org.apache.sling.api.security unchanged 1.0.3 1.0.3 1.0.3 - [INFO] ----------------------------------------------------------------------------------------------------------- [INFO] org.apache.sling.api.servlets unchanged 2.2.1 2.2.1 2.2.1 - [INFO] ----------------------------------------------------------------------------------------------------------- [INFO] org.apache.sling.api.wrappers unchanged 2.6.2 2.6.2 2.6.2 - [INFO] ----------------------------------------------------------------------------------------------------------- [INFO] org.apache.sling.spi.resource.provider unchanged 1.2.1 1.2.1 1.2.1 - [INFO] ----------------------------------------------------------------------------------------------------------- [INFO] Baseline analysis complete, 0 error(s), 0 warning(s) [INFO] [INFO] --- apache-rat-plugin:0.11:check (default) @ org.apache.sling.api --- [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: src/main/resources/org/apache/sling/api/servlets/HtmlResponse.html [INFO] Exclude: src/main/appended-resources/META-INF/* [INFO] Exclude: velocity.log [INFO] Exclude: target/* [INFO] 135 resources included (use -debug for more details) [INFO] Rat check: Summary of files. Unapproved: 2 unknown: 2 generated: 0 approved: 132 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: 34.190 s [INFO] Finished at: 2018-09-19T17:45:11+00:00 [INFO] Final Memory: 91M/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.api: Too many files with unapproved license: 2 See RAT report in: <https://builds.apache.org/job/sling-org-apache-sling-api-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
