You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2018/11/15 10:53:35 UTC

Build failed in Jenkins: sling-slingfeature-maven-plugin-1.8 #199

See <https://builds.apache.org/job/sling-slingfeature-maven-plugin-1.8/199/display/redirect>

------------------------------------------
Started by upstream project "sling-org-apache-sling-feature-analyser-1.8" build number 145
originally caused by:
 Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H42 (ubuntu xenial) in workspace <https://builds.apache.org/job/sling-slingfeature-maven-plugin-1.8/ws/>
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Done
Cloning the remote Git repository
Cloning repository https://github.com/apache/sling-slingfeature-maven-plugin.git
 > git init <https://builds.apache.org/job/sling-slingfeature-maven-plugin-1.8/ws/> # timeout=10
Fetching upstream changes from https://github.com/apache/sling-slingfeature-maven-plugin.git
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/apache/sling-slingfeature-maven-plugin.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://github.com/apache/sling-slingfeature-maven-plugin.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-slingfeature-maven-plugin.git # timeout=10
Fetching upstream changes from https://github.com/apache/sling-slingfeature-maven-plugin.git
 > git fetch --tags --progress https://github.com/apache/sling-slingfeature-maven-plugin.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision b8ea64b625dcee0f3d80125bdc2c2a3e97e79812 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f b8ea64b625dcee0f3d80125bdc2c2a3e97e79812
Commit message: "Add simple report mojo"
 > git rev-list --no-walk b8ea64b625dcee0f3d80125bdc2c2a3e97e79812 # timeout=10
Parsing POMs
Modules changed, recalculating dependency graph
Established TCP socket on 38480
maven33-agent.jar already up to date
maven33-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[sling-slingfeature-maven-plugin-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 38480
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f <https://builds.apache.org/job/sling-slingfeature-maven-plugin-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 OSGi Feature Maven Plugin 0.2.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature/0.2.1-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature/0.2.1-SNAPSHOT/maven-metadata.xml (1008 B at 2.5 KB/sec)
[INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature.io/0.2.1-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature.io/0.2.1-SNAPSHOT/maven-metadata.xml (1011 B at 3.3 KB/sec)
[INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature.analyser/0.2.1-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature.analyser/0.2.1-SNAPSHOT/maven-metadata.xml (1017 B at 3.3 KB/sec)
[INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature.analyser/0.2.1-SNAPSHOT/org.apache.sling.feature.analyser-0.2.1-20181115.104959-21.pom
[INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature.analyser/0.2.1-SNAPSHOT/org.apache.sling.feature.analyser-0.2.1-20181115.104959-21.pom (6 KB at 18.5 KB/sec)
[INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature.analyser/0.2.1-SNAPSHOT/org.apache.sling.feature.analyser-0.2.1-20181115.104959-21.jar
[INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.feature.analyser/0.2.1-SNAPSHOT/org.apache.sling.feature.analyser-0.2.1-20181115.104959-21.jar (137 KB at 272.7 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ slingfeature-maven-plugin ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-property-values) @ slingfeature-maven-plugin ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-java) @ slingfeature-maven-plugin ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (ban-maven-scr-plugin) @ slingfeature-maven-plugin ---
[INFO] 
[INFO] --- maven-plugin-plugin:3.4:helpmojo (generated-helpmojo) @ slingfeature-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors.
[INFO] Mojo extractor with id: java-annotations found 0 mojo descriptors.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ slingfeature-maven-plugin ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ slingfeature-maven-plugin ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ slingfeature-maven-plugin ---
[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) @ slingfeature-maven-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 23 source files to <https://builds.apache.org/job/sling-slingfeature-maven-plugin-1.8/ws/target/classes>
[INFO] <https://builds.apache.org/job/sling-slingfeature-maven-plugin-1.8/ws/src/main/java/org/apache/sling/feature/maven/mojos/UpdateVersionsMojo.java>: Some input files use or override a deprecated API.
[INFO] <https://builds.apache.org/job/sling-slingfeature-maven-plugin-1.8/ws/src/main/java/org/apache/sling/feature/maven/mojos/UpdateVersionsMojo.java>: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-plugin-plugin:3.4:descriptor (default-descriptor) @ slingfeature-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors.
[INFO] Mojo extractor with id: java-annotations found 8 mojo descriptors.
[INFO] 
[INFO] --- plexus-component-metadata:1.7.1:generate-metadata (generate-metadata) @ slingfeature-maven-plugin ---
[INFO] Discovered 1 component descriptors(s)
[INFO] 
[INFO] --- maven-plugin-plugin:3.4:descriptor (mojo-descriptor) @ slingfeature-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors.
[INFO] Mojo extractor with id: java-annotations found 8 mojo descriptors.
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.16:check (default) @ slingfeature-maven-plugin ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java18:1.0
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ slingfeature-maven-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 29 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ slingfeature-maven-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 6 source files to <https://builds.apache.org/job/sling-slingfeature-maven-plugin-1.8/ws/target/test-classes>
[INFO] <https://builds.apache.org/job/sling-slingfeature-maven-plugin-1.8/ws/src/test/java/org/apache/sling/feature/maven/mojos/AggregateFeaturesMojoTest.java>: <https://builds.apache.org/job/sling-slingfeature-maven-plugin-1.8/ws/src/test/java/org/apache/sling/feature/maven/mojos/AggregateFeaturesMojoTest.java> uses or overrides a deprecated API.
[INFO] <https://builds.apache.org/job/sling-slingfeature-maven-plugin-1.8/ws/src/test/java/org/apache/sling/feature/maven/mojos/AggregateFeaturesMojoTest.java>: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.20.1:test (default-test) @ slingfeature-maven-plugin ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.sling.feature.maven.mojos.AggregateFeaturesMojoTest
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.477 s - in org.apache.sling.feature.maven.mojos.AggregateFeaturesMojoTest
[INFO] Running org.apache.sling.feature.maven.mojos.AttachFeaturesMojoTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.sling.feature.maven.mojos.AttachFeaturesMojoTest
[INFO] Running org.apache.sling.feature.maven.SubstitutionTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.sling.feature.maven.SubstitutionTest
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 9, 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) @ slingfeature-maven-plugin ---
[INFO] Building jar: <https://builds.apache.org/job/sling-slingfeature-maven-plugin-1.8/ws/target/slingfeature-maven-plugin-0.2.1-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-plugin-plugin:3.4:addPluginArtifactMetadata (default-addPluginArtifactMetadata) @ slingfeature-maven-plugin ---
[INFO] 
[INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ slingfeature-maven-plugin >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-property-values) @ slingfeature-maven-plugin ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-java) @ slingfeature-maven-plugin ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (ban-maven-scr-plugin) @ slingfeature-maven-plugin ---
[INFO] 
[INFO] --- maven-plugin-plugin:3.4:helpmojo (generated-helpmojo) @ slingfeature-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors.
[INFO] Mojo extractor with id: java-annotations found 8 mojo descriptors.
[WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo
[INFO] 
[INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ slingfeature-maven-plugin <<<
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ slingfeature-maven-plugin ---
[INFO] Building jar: <https://builds.apache.org/job/sling-slingfeature-maven-plugin-1.8/ws/target/slingfeature-maven-plugin-0.2.1-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ slingfeature-maven-plugin ---
[INFO] 
[INFO] --- maven-invoker-plugin:2.0.0:install (integration-test) @ slingfeature-maven-plugin ---
[INFO] Installing <https://builds.apache.org/job/sling-slingfeature-maven-plugin-1.8/ws/pom.xml> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/slingfeature-maven-plugin/0.2.1-SNAPSHOT/slingfeature-maven-plugin-0.2.1-SNAPSHOT.pom
[INFO] Installing <https://builds.apache.org/job/sling-slingfeature-maven-plugin-1.8/ws/target/slingfeature-maven-plugin-0.2.1-SNAPSHOT.jar> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/slingfeature-maven-plugin/0.2.1-SNAPSHOT/slingfeature-maven-plugin-0.2.1-SNAPSHOT.jar
[INFO] Installing <https://builds.apache.org/job/sling-slingfeature-maven-plugin-1.8/ws/target/slingfeature-maven-plugin-0.2.1-SNAPSHOT-sources.jar> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/slingfeature-maven-plugin/0.2.1-SNAPSHOT/slingfeature-maven-plugin-0.2.1-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-invoker-plugin:2.0.0:integration-test (integration-test) @ slingfeature-maven-plugin ---
[INFO] Building: analyzer-errors-detected/pom.xml
[INFO] run script verify.bsh
[INFO] ..SUCCESS (5.4 s)
[INFO] Building: attach-metadata-from-pom/pom.xml
[INFO] run script verify.bsh
[INFO] ..SUCCESS (5.5 s)
[INFO] Building: schema-validation-ko/pom.xml
[INFO] run script verify.bsh
[INFO] ..SUCCESS (4.3 s)
[INFO] Building: analyzer-apiregions-errors-detected/pom.xml
[INFO] run script verify.bsh
[INFO] ..FAILED (5.4 s)
[INFO]   The post-build script returned false.
[INFO] Building: variables-interpolator/pom.xml
[INFO] run script verify.bsh
[INFO] ..SUCCESS (5.4 s)
MavenInvokerArchiver
found reports:[<https://builds.apache.org/job/sling-slingfeature-maven-plugin-1.8/ws/target/invoker-reports/BUILD-analyzer-apiregions-errors-detected.xml,> <https://builds.apache.org/job/sling-slingfeature-maven-plugin-1.8/ws/target/invoker-reports/BUILD-variables-interpolator.xml,> <https://builds.apache.org/job/sling-slingfeature-maven-plugin-1.8/ws/target/invoker-reports/BUILD-attach-metadata-from-pom.xml,> <https://builds.apache.org/job/sling-slingfeature-maven-plugin-1.8/ws/target/invoker-reports/BUILD-schema-validation-ko.xml,> <https://builds.apache.org/job/sling-slingfeature-maven-plugin-1.8/ws/target/invoker-reports/BUILD-analyzer-errors-detected.xml]>
Finished parsing Maven Invoker results
[WARNING] Attempt to (de-)serialize anonymous class org.jenkinsci.plugins.maveninvoker.MavenInvokerArchiver$2; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
[JENKINS] Recording test results
[INFO] 
[INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ slingfeature-maven-plugin ---
[INFO] Checking legal files in: slingfeature-maven-plugin-0.2.1-SNAPSHOT.jar
[INFO] Checking legal files in: slingfeature-maven-plugin-0.2.1-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ slingfeature-maven-plugin ---
[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] Exclude: src/site/markdown/**
[INFO] Exclude: src/test/resources/**/*.txt
[INFO] Exclude: src/test/resources/**/*.feature
[INFO] Exclude: src/test/resources/META-INF/services/*
[INFO] Exclude: src/it/**/*.json
[INFO] 50 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 49 licence.
[INFO] 
[INFO] --- maven-invoker-plugin:2.0.0:verify (integration-test) @ slingfeature-maven-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 4, Failed: 1, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] *  analyzer-apiregions-errors-detected/pom.xml
[INFO] -------------------------------------------------
[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:08 min
[INFO] Finished at: 2018-11-15T10:53:33+00:00
[INFO] Final Memory: 66M/3969M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:2.0.0:verify (integration-test) on project slingfeature-maven-plugin: 1 build failed. See console output above for details. -> [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

Jenkins build is back to normal : sling-slingfeature-maven-plugin-1.8 #200

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/sling-slingfeature-maven-plugin-1.8/200/display/redirect?page=changes>