Build failed in Jenkins: java-metadata-aggregator #136

Shibboleth Jenkins noreply at shibboleth.net
Mon Sep 18 12:55:20 EDT 2017


See <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator/136/display/redirect?page=changes>

Changes:

[Ian Young] MDA-189 - port to Java 8 stack

------------------------------------------
Started by an SCM change
Building on master in workspace <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url git://git.shibboleth.net/java-metadata-aggregator # timeout=10
Fetching upstream changes from git://git.shibboleth.net/java-metadata-aggregator
 > git --version # timeout=10
 > git fetch --tags --progress git://git.shibboleth.net/java-metadata-aggregator +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 56bcb352eb7b97a893ca311db77816e1140223d2 (refs/remotes/origin/master)
Commit message: "MDA-189 - port to Java 8 stack"
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 56bcb352eb7b97a893ca311db77816e1140223d2
 > git rev-list 6d2bdecc558e39602fc1d5dbb742cf09d742f043 # timeout=10
Parsing POMs
Downloaded artifact https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/parent/8.0.0-SNAPSHOT/maven-metadata.xml
Failed to transfer Could not find metadata net.shibboleth:parent:8.0.0-SNAPSHOT/maven-metadata.xml in shib-thirdparty-snapshot (https://build.shibboleth.net/nexus/content/repositories/thirdparty-snapshots)
Modules changed, recalculating dependency graph
Established TCP socket on 41006
[aggregator-parent] $ /opt/java7/bin/java -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven33-agent-1.11.jar:/opt/maven/boot/plexus-classworlds-2.5.2.jar:/opt/maven/conf/logging jenkins.maven3.agent.Maven33Main /opt/maven /var/cache/jenkins/war/WEB-INF/lib/remoting-3.10.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven33-interceptor-1.11.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.11.jar 41006
<===[JENKINS REMOTING CAPACITY]===>   channel started
ERROR: ================================================================================
ERROR: Invalid project setup: jenkins/security/MasterToSlaveCallable : Unsupported major.minor version 52.0
ERROR: [JENKINS-18403][JENKINS-28294] JDK 'JDK-1.7.0' not supported to run Maven projects.
ERROR: Maven projects have to be launched with a Java version greater or equal to the minimum version required by the master.
ERROR: Use the Maven JDK Toolchains (plugin) to build your maven project with an older JDK.
ERROR: Retrying with slave Java and setting compile/test properties to point to /opt/java7.
ERROR: ================================================================================
Established TCP socket on 34432
[aggregator-parent] $ /opt/jdk1.8.0_141/jre/bin/java -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven33-agent-1.11.jar:/opt/maven/boot/plexus-classworlds-2.5.2.jar:/opt/maven/conf/logging jenkins.maven3.agent.Maven33Main /opt/maven /var/cache/jenkins/war/WEB-INF/lib/remoting-3.10.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven33-interceptor-1.11.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.11.jar 34432
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator/ws/aggregator-parent/pom.xml> clean -Prelease --update-snapshots install
[INFO] Scanning for projects...
[INFO] Downloading: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/parent/8.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/parent/8.0.0-SNAPSHOT/maven-metadata.xml (599 B at 4.1 KB/sec)
[INFO] Downloading: https://build.shibboleth.net/nexus/content/repositories/thirdparty-snapshots/net/shibboleth/parent/8.0.0-SNAPSHOT/maven-metadata.xml
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Shibboleth Metadata Aggregator
[INFO] Shibboleth Metadata Aggregator :: Processing Pipeline
[INFO] Shibboleth Metadata Aggregator :: RSA Key Blacklists
[INFO] Shibboleth Metadata Aggregator :: Command Line Interface
[INFO] Shibboleth Metadata Aggregator :: BOM
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Shibboleth Metadata Aggregator 0.10.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ aggregator-parent ---
[INFO] Deleting <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator/ws/aggregator-parent/target>
[INFO] 
[INFO] --- maven-jar-plugin:2.6:test-jar (default) @ aggregator-parent ---
[INFO] Skipping packaging of the test-jar
[INFO] 
[INFO] --- maven-assembly-plugin:2.6:attached (make-assembly) @ aggregator-parent ---
[INFO] 
[INFO] --- maven-javadoc-plugin:2.10.3:jar (attach-javadocs) @ aggregator-parent ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] 
[INFO] --- maven-javadoc-plugin:2.10.3:test-jar (attach-javadocs) @ aggregator-parent ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] 
[INFO] >>> maven-source-plugin:2.4:jar (attach-sources) > generate-sources @ aggregator-parent >>>
[WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] <<< maven-source-plugin:2.4:jar (attach-sources) < generate-sources @ aggregator-parent <<<
[INFO] 
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ aggregator-parent ---
[INFO] 
[INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ aggregator-parent ---
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ aggregator-parent ---
[INFO] Installing <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator/ws/aggregator-parent/pom.xml> to /home/jenkins/.m2/repository/net/shibboleth/metadata/aggregator-parent/0.10.0-SNAPSHOT/aggregator-parent-0.10.0-SNAPSHOT.pom
[INFO] Installing <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator/ws/aggregator-parent/target/aggregator-parent-0.10.0-SNAPSHOT-site.xml> to /home/jenkins/.m2/repository/net/shibboleth/metadata/aggregator-parent/0.10.0-SNAPSHOT/aggregator-parent-0.10.0-SNAPSHOT-site.xml
[JENKINS] Archiving disabled
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Shibboleth Metadata Aggregator :: Processing Pipeline 0.10.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: https://build.shibboleth.net/nexus/content/repositories/thirdparty-snapshots/net/shibboleth/utilities/java-support/7.4.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/utilities/java-support/7.4.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/utilities/java-support/7.4.0-SNAPSHOT/maven-metadata.xml (2 KB at 90.0 KB/sec)
[INFO] Downloading: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/parent/7.11.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: https://build.shibboleth.net/nexus/content/repositories/thirdparty-snapshots/net/shibboleth/parent/7.11.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/parent/7.11.0-SNAPSHOT/maven-metadata.xml (601 B at 32.6 KB/sec)
[INFO] Downloading: https://build.shibboleth.net/nexus/content/repositories/thirdparty-snapshots/net/shibboleth/ext/spring-extensions/5.4.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/ext/spring-extensions/5.4.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/ext/spring-extensions/5.4.0-SNAPSHOT/maven-metadata.xml (2 KB at 101.2 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ aggregator-pipeline ---
[INFO] Deleting <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator/ws/aggregator-pipeline/target>
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ aggregator-pipeline ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ aggregator-pipeline ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 142 source files to <https://build.shibboleth.net/jenkins/job/java-metadata-aggregator/ws/aggregator-pipeline/target/classes>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] javac: invalid target release: 1.8
Usage: javac <options> <source files>
use -help for a list of possible options

[INFO] 1 error
[INFO] -------------------------------------------------------------
[JENKINS] Archiving disabled
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Shibboleth Metadata Aggregator ..................... SUCCESS [  2.190 s]
[INFO] Shibboleth Metadata Aggregator :: Processing Pipeline FAILURE [  1.554 s]
[INFO] Shibboleth Metadata Aggregator :: RSA Key Blacklists SKIPPED
[INFO] Shibboleth Metadata Aggregator :: Command Line Interface SKIPPED
[INFO] Shibboleth Metadata Aggregator :: BOM .............. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.509 s
[INFO] Finished at: 2017-09-18T12:55:19-04:00
[INFO] Final Memory: 33M/398M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project aggregator-pipeline: Compilation failure
[ERROR] javac: invalid target release: 1.8
[ERROR] Usage: javac <options> <source files>
[ERROR] use -help for a list of possible options
[ERROR] -> [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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :aggregator-pipeline
Sending e-mails to: commits at shibboleth.net
channel stopped
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: **/target/surefire-reports/testng-results.xml
testng-results.xml was last modified before this build started. Ignoring it.
testng-results.xml was last modified before this build started. Ignoring it.
testng-results.xml was last modified before this build started. Ignoring it.
Saving reports...
Found matching files but did not find any TestNG results.
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds


More information about the commits mailing list