See <https://builds.apache.org/job/sling-org-apache-sling-feature-extension-content-1.8/94/display/redirect?page=changes>
Changes: [rombert] SLING-7245 - Validate pull requests using Jenkins ------------------------------------------ Started by an SCM change [EnvInject] - Loading node environment variables. Building remotely on ubuntu-eu2 (ubuntu trusty) in workspace <https://builds.apache.org/job/sling-org-apache-sling-feature-extension-content-1.8/ws/> [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] Done Cloning the remote Git repository Cloning repository https://github.com/apache/sling-org-apache-sling-feature-extension-content.git > git init > <https://builds.apache.org/job/sling-org-apache-sling-feature-extension-content-1.8/ws/> > # timeout=10 Fetching upstream changes from https://github.com/apache/sling-org-apache-sling-feature-extension-content.git > git --version # timeout=10 > git fetch --tags --progress > https://github.com/apache/sling-org-apache-sling-feature-extension-content.git > +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url > https://github.com/apache/sling-org-apache-sling-feature-extension-content.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-feature-extension-content.git > # timeout=10 Fetching upstream changes from https://github.com/apache/sling-org-apache-sling-feature-extension-content.git > git fetch --tags --progress > https://github.com/apache/sling-org-apache-sling-feature-extension-content.git > +refs/heads/*:refs/remotes/origin/* > git rev-parse origin/master^{commit} # timeout=10 Checking out Revision af8ccf34e948ee45dc739d166e9b8b02cb35bd7b (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f af8ccf34e948ee45dc739d166e9b8b02cb35bd7b Commit message: "SLING-7245 - Validate pull requests using Jenkins" > git rev-list --no-walk 6b895c72bf9b282ad8fe8f7201def5b8d602cc05 # timeout=10 Parsing POMs Established TCP socket on 40522 maven35-agent.jar already up to date maven35-interceptor.jar already up to date maven3-interceptor-commons.jar already up to date [sling-org-apache-sling-feature-extension-content-1.8] $ /home/jenkins/tools/java/latest1.8/bin/java -Xmx4g -Xms4g -cp /home/jenkins/jenkins-slave/maven35-agent.jar:/home/jenkins/tools/maven/latest/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/latest/conf/logging jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/latest/ /home/jenkins/jenkins-slave/remoting.jar /home/jenkins/jenkins-slave/maven35-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 40522 <===[JENKINS REMOTING CAPACITY]===> channel started Executing Maven: -B -f <https://builds.apache.org/job/sling-org-apache-sling-feature-extension-content-1.8/ws/pom.xml> -Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 -U clean deploy [INFO] Scanning for projects... [INFO] [INFO] ----< org.apache.sling:org.apache.sling.feature.extension.content >----- [INFO] Building Sling Featuremodel - Content Deployment Exension 0.0.1-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] Downloading from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature/0.8.1-SNAPSHOT/maven-metadata.xml [INFO] Downloaded from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature/0.8.1-SNAPSHOT/maven-metadata.xml (1.0 kB at 2.0 kB/s) [INFO] Downloading from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature/0.8.1-SNAPSHOT/org.apache.sling.feature-0.8.1-20190129.151348-28.pom [INFO] Downloaded from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature/0.8.1-SNAPSHOT/org.apache.sling.feature-0.8.1-20190129.151348-28.pom (4.5 kB at 11 kB/s) [INFO] Downloading from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature.io/0.8.1-SNAPSHOT/maven-metadata.xml [INFO] Downloaded from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature.io/0.8.1-SNAPSHOT/maven-metadata.xml (1.0 kB at 2.7 kB/s) [INFO] Downloading from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature.io/0.8.1-SNAPSHOT/org.apache.sling.feature.io-0.8.1-20190129.151858-38.pom [INFO] Downloaded from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature.io/0.8.1-SNAPSHOT/org.apache.sling.feature.io-0.8.1-20190129.151858-38.pom (6.8 kB at 17 kB/s) [INFO] Downloading from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature.launcher/0.8.1-SNAPSHOT/maven-metadata.xml [INFO] Downloaded from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature.launcher/0.8.1-SNAPSHOT/maven-metadata.xml (1.0 kB at 2.7 kB/s) [INFO] Downloading from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature.launcher/0.8.1-SNAPSHOT/org.apache.sling.feature.launcher-0.8.1-20190128.163429-43.pom [INFO] Downloaded from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature.launcher/0.8.1-SNAPSHOT/org.apache.sling.feature.launcher-0.8.1-20190128.163429-43.pom (6.5 kB at 17 kB/s) [INFO] Downloading from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature/0.8.1-SNAPSHOT/org.apache.sling.feature-0.8.1-20190129.151348-28.jar [INFO] Downloading from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature.io/0.8.1-SNAPSHOT/org.apache.sling.feature.io-0.8.1-20190129.151858-38.jar [INFO] Downloading from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature.launcher/0.8.1-SNAPSHOT/org.apache.sling.feature.launcher-0.8.1-20190128.163429-43.jar [INFO] Downloaded from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature/0.8.1-SNAPSHOT/org.apache.sling.feature-0.8.1-20190129.151348-28.jar (115 kB at 182 kB/s) [INFO] Downloaded from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature.io/0.8.1-SNAPSHOT/org.apache.sling.feature.io-0.8.1-20190129.151858-38.jar (164 kB at 203 kB/s) [INFO] Downloaded from Nexus: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature.launcher/0.8.1-SNAPSHOT/org.apache.sling.feature.launcher-0.8.1-20190128.163429-43.jar (1.3 MB at 1.4 MB/s) [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ org.apache.sling.feature.extension.content --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @ org.apache.sling.feature.extension.content --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-property-values) @ org.apache.sling.feature.extension.content --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-java) @ org.apache.sling.feature.extension.content --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (ban-maven-scr-plugin) @ org.apache.sling.feature.extension.content --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ org.apache.sling.feature.extension.content --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (remote-resources-custom-notice) @ org.apache.sling.feature.extension.content --- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ org.apache.sling.feature.extension.content --- [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.feature.extension.content --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to <https://builds.apache.org/job/sling-org-apache-sling-feature-extension-content-1.8/ws/target/classes> [INFO] [INFO] --- animal-sniffer-maven-plugin:1.16:check (default) @ org.apache.sling.feature.extension.content --- [INFO] Checking unresolved references to org.codehaus.mojo.signature:java18:1.0 [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ org.apache.sling.feature.extension.content --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ org.apache.sling.feature.extension.content --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to <https://builds.apache.org/job/sling-org-apache-sling-feature-extension-content-1.8/ws/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M3:test (default-test) @ org.apache.sling.feature.extension.content --- [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/3.0.0-M3/surefire-junit4-3.0.0-M3.jar [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/3.0.0-M3/surefire-junit4-3.0.0-M3.jar (17 kB at 55 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/3.0.0-M3/surefire-junit4-3.0.0-M3.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/3.0.0-M3/surefire-junit4-3.0.0-M3.pom (1.7 kB at 36 kB/s) [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.sling.feature.extension.content.ContentOrderMergeProcessorTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.073 s - in org.apache.sling.feature.extension.content.ContentOrderMergeProcessorTest [INFO] Running org.apache.sling.feature.extension.content.ContentHandlerTest SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/org.apache.sling.feature.launcher/0.8.1-SNAPSHOT/org.apache.sling.feature.launcher-0.8.1-SNAPSHOT.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/home/jenkins/jenkins-slave/maven-repositories/0/org/slf4j/slf4j-nop/1.7.25/slf4j-nop-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory] [main] INFO org.apache.jackrabbit.vault.packaging.registry.impl.ExecutionPlanBuilderImpl - - PackageTaskImpl{id=my_packages:test_c:1.0, type=EXTRACT, state=NEW} [main] INFO org.apache.jackrabbit.vault.packaging.registry.impl.ExecutionPlanBuilderImpl - - PackageTaskImpl{id=my_packages:test_b:1.0, type=EXTRACT, state=NEW} [main] INFO org.apache.jackrabbit.vault.packaging.registry.impl.ExecutionPlanBuilderImpl - - PackageTaskImpl{id=my_packages:test_c:1.0, type=EXTRACT, state=NEW} [main] INFO org.apache.jackrabbit.vault.packaging.registry.impl.ExecutionPlanBuilderImpl - - PackageTaskImpl{id=my_packages:test_b:1.0, type=EXTRACT, state=NEW} [main] INFO org.apache.jackrabbit.vault.packaging.registry.impl.ExecutionPlanBuilderImpl - - PackageTaskImpl{id=my_packages:test_c:1.0, type=EXTRACT, state=NEW} [main] INFO org.apache.jackrabbit.vault.packaging.registry.impl.ExecutionPlanBuilderImpl - - PackageTaskImpl{id=my_packages:test_b:1.0, type=EXTRACT, state=NEW} [main] INFO org.apache.jackrabbit.vault.packaging.registry.impl.ExecutionPlanBuilderImpl - - PackageTaskImpl{id=my_packages:test_a:1.0, type=EXTRACT, state=NEW} [main] INFO org.apache.jackrabbit.vault.packaging.registry.impl.ExecutionPlanBuilderImpl - - PackageTaskImpl{id=my_packages:test_a:1.0, type=EXTRACT, state=NEW} [main] INFO org.apache.jackrabbit.vault.packaging.registry.impl.ExecutionPlanBuilderImpl - - PackageTaskImpl{id=my_packages:test_a:1.0, type=EXTRACT, state=NEW} [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.686 s - in org.apache.sling.feature.extension.content.ContentHandlerTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 3, 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.feature.extension.content --- [INFO] Building jar: <https://builds.apache.org/job/sling-org-apache-sling-feature-extension-content-1.8/ws/target/org.apache.sling.feature.extension.content-0.0.1-SNAPSHOT.jar> [INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ org.apache.sling.feature.extension.content >>> [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @ org.apache.sling.feature.extension.content --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-property-values) @ org.apache.sling.feature.extension.content --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-java) @ org.apache.sling.feature.extension.content --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (ban-maven-scr-plugin) @ org.apache.sling.feature.extension.content --- [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.feature.extension.content <<< [INFO] [INFO] [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ org.apache.sling.feature.extension.content --- [INFO] Building jar: <https://builds.apache.org/job/sling-org-apache-sling-feature-extension-content-1.8/ws/target/org.apache.sling.feature.extension.content-0.0.1-SNAPSHOT-sources.jar> [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ org.apache.sling.feature.extension.content --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] --- maven-shade-plugin:3.1.1:shade (default) @ org.apache.sling.feature.extension.content --- [INFO] Including org.apache.jackrabbit.vault:org.apache.jackrabbit.vault:jar:3.2.6 in the shaded jar. [INFO] Including org.slf4j:slf4j-api:jar:1.7.25 in the shaded jar. [INFO] Including org.slf4j:slf4j-nop:jar:1.7.25 in the shaded jar. [INFO] Including org.apache.sling:org.apache.sling.commons.johnzon:jar:1.0.0 in the shaded jar. [INFO] Including org.apache.geronimo.specs:geronimo-json_1.0_spec:jar:1.0-alpha-1 in the shaded jar. [INFO] Including org.apache.felix:org.apache.felix.converter:jar:1.0.0 in the shaded jar. [INFO] Including org.osgi:org.osgi.util.function:jar:1.0.0 in the shaded jar. [INFO] Including org.apache.sling:org.apache.sling.jcr.jcr-wrapper:jar:2.0.0 in the shaded jar. [INFO] Including org.apache.jackrabbit:jackrabbit-spi-commons:jar:2.17.3 in the shaded jar. [INFO] Including commons-collections:commons-collections:jar:3.2.2 in the shaded jar. [INFO] Including commons-io:commons-io:jar:2.6 in the shaded jar. [INFO] Including org.apache.jackrabbit:jackrabbit-jcr-commons:jar:2.17.3 in the shaded jar. [INFO] Including org.apache.jackrabbit:jackrabbit-spi:jar:2.17.3 in the shaded jar. [INFO] Including commons-cli:commons-cli:jar:1.3.1 in the shaded jar. [INFO] No artifact matching filter null [INFO] Minimizing jar org.apache.sling:org.apache.sling.feature.extension.content:jar:0.0.1-SNAPSHOT [WARNING] org.apache.felix.converter-1.0.0.jar, org.osgi.util.function-1.0.0.jar define 1 overlapping classes: [WARNING] - org.osgi.util.function.package-info [WARNING] maven-shade-plugin has detected that some class files are [WARNING] present in two or more JARs. When this happens, only one [WARNING] single version of the class is copied to the uber jar. [WARNING] Usually this is not harmful and you can skip these warnings, [WARNING] otherwise try to manually exclude artifacts based on [WARNING] mvn dependency:tree -Ddetail=true and the above output. [WARNING] See http://maven.apache.org/plugins/maven-shade-plugin/ [INFO] Minimized 2293 -> 776 (33%) [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing <https://builds.apache.org/job/sling-org-apache-sling-feature-extension-content-1.8/ws/target/org.apache.sling.feature.extension.content-0.0.1-SNAPSHOT.jar> with <https://builds.apache.org/job/sling-org-apache-sling-feature-extension-content-1.8/ws/target/org.apache.sling.feature.extension.content-0.0.1-SNAPSHOT-shaded.jar> [INFO] Dependency-reduced POM written at: <https://builds.apache.org/job/sling-org-apache-sling-feature-extension-content-1.8/ws/dependency-reduced-pom.xml> [INFO] [INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (verify-legal-files) @ org.apache.sling.feature.extension.content --- [INFO] Checking legal files in: org.apache.sling.feature.extension.content-0.0.1-SNAPSHOT.jar [INFO] Checking legal files in: org.apache.sling.feature.extension.content-0.0.1-SNAPSHOT-sources.jar [INFO] [INFO] --- apache-rat-plugin:0.12:check (rat-check) @ org.apache.sling.feature.extension.content --- [INFO] Enabled default license matchers. [INFO] Will parse SCM ignores for exclusions... [INFO] Parsing exclusions from <https://builds.apache.org/job/sling-org-apache-sling-feature-extension-content-1.8/ws/.gitignore> [INFO] Finished adding exclusions from SCM ignore files. [INFO] 73 implicit excludes (use -debug for more details). [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] Exclude: src/main/resources/META-INF/services/** [INFO] 11 resources included (use -debug for more details) [INFO] Rat check: Summary over all files. Unapproved: 1, unknown: 1, generated: 0, approved: 6 licenses. [JENKINS] Archiving disabled [JENKINS] Archiving disabled[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 33.604 s [INFO] Finished at: 2019-01-29T21:57:34Z [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check (rat-check) on project org.apache.sling.feature.extension.content: Too many files with unapproved license: 1 See RAT report in: <https://builds.apache.org/job/sling-org-apache-sling-feature-extension-content-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
