Build failed in Jenkins: java-idwsfconsumer-v2 #192

Shibboleth Jenkins noreply at shibboleth.net
Thu Mar 24 10:49:30 UTC 2022


See <http://127.0.0.1:1583/jenkins/job/java-idwsfconsumer-v2/192/display/redirect?page=changes>

Changes:

[Rod Widdowson] Pin enforcer data to a released version


------------------------------------------
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on EC2 (I2) - CentOS7 (i-0354ab01a7c78a701) (CentOS7) in workspace <http://127.0.0.1:1583/jenkins/job/java-idwsfconsumer-v2/ws/>
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://git.shibboleth.net/git/idwsfconsumer
 > git init <http://127.0.0.1:1583/jenkins/job/java-idwsfconsumer-v2/ws/> # timeout=10
Fetching upstream changes from https://git.shibboleth.net/git/idwsfconsumer
 > git --version # timeout=10
 > git --version # 'git version 1.8.3.1'
 > git fetch --tags --progress https://git.shibboleth.net/git/idwsfconsumer +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://git.shibboleth.net/git/idwsfconsumer # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
 > git rev-parse refs/remotes/origin/main^{commit} # timeout=10
Checking out Revision 271eaed1c504467a915d5532edf86580d7b74da0 (refs/remotes/origin/main)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 271eaed1c504467a915d5532edf86580d7b74da0 # timeout=10
Commit message: "Pin enforcer data to a released version"
 > git rev-list --no-walk e4247cbef4f865809632c85fe8a2bc57a9ac6c97 # timeout=10
Parsing POMs
Established TCP socket on 37911
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[java-idwsfconsumer-v2] $ /opt/jdk/amazon-11/bin/java -cp /opt/jenkins/maven35-agent.jar:/opt/maven_home/boot/plexus-classworlds-2.6.0.jar:/opt/maven_home/conf/logging jenkins.maven3.agent.Maven35Main /opt/maven_home /tmp/remoting.jar /opt/jenkins/maven35-interceptor.jar /opt/jenkins/maven3-interceptor-commons.jar 37911
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f <http://127.0.0.1:1583/jenkins/job/java-idwsfconsumer-v2/ws/pom.xml> -V -B --update-snapshots clean install -D no-check-m2
Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)
Maven home: /efs/optjava/maven/apache-maven-3.8.4
Java version: 11.0.14, vendor: Amazon.com Inc., runtime: /efs/optjava/jdk/amazon/amazon-corretto-11.0.14.9.1-linux-x64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-1160.53.1.el7.x86_64", arch: "amd64", family: "unix"
[INFO] Scanning for projects...
[INFO] 
[INFO] ----------------< net.shibboleth.liberty:idwsfconsumer >----------------
[INFO] Building ID-WSF WSC 2.1.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ idwsfconsumer ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ idwsfconsumer ---
[INFO] Downloading from apache.snapshots: https://repository.apache.org/snapshots/net/shibboleth/maven/enforcer/rules/maven-dist-enforcer/3.1.1-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from shib-snapshot: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/maven/enforcer/rules/maven-dist-enforcer/3.1.1-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shib-snapshot: https://build.shibboleth.net/nexus/content/repositories/snapshots/net/shibboleth/maven/enforcer/rules/maven-dist-enforcer/3.1.1-SNAPSHOT/maven-metadata.xml (804 B at 3.1 kB/s)
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ idwsfconsumer ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 48 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ idwsfconsumer ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 453 source files to <http://127.0.0.1:1583/jenkins/job/java-idwsfconsumer-v2/ws/target/classes>
[INFO] <http://127.0.0.1:1583/jenkins/job/java-idwsfconsumer-v2/ws/src/main/java/org/openliberty/xmltooling/sasl/Extensions.java>: <http://127.0.0.1:1583/jenkins/job/java-idwsfconsumer-v2/ws/src/main/java/org/openliberty/xmltooling/sasl/Extensions.java> uses unchecked or unsafe operations.
[INFO] <http://127.0.0.1:1583/jenkins/job/java-idwsfconsumer-v2/ws/src/main/java/org/openliberty/xmltooling/sasl/Extensions.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ idwsfconsumer ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ idwsfconsumer ---
[INFO] Changes detected - recompiling the module!
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ idwsfconsumer ---
[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ idwsfconsumer ---
[INFO] Building jar: <http://127.0.0.1:1583/jenkins/job/java-idwsfconsumer-v2/ws/target/idwsfconsumer-2.1.1-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ idwsfconsumer ---
[INFO] Building jar: <http://127.0.0.1:1583/jenkins/job/java-idwsfconsumer-v2/ws/target/idwsfconsumer-2.1.1-SNAPSHOT-tests.jar>
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (idwsfconsumer-enforce) @ idwsfconsumer ---
[ERROR] KeyRing <http://127.0.0.1:1583/jenkins/job/java-idwsfconsumer-v2/ws/src/main/enforcer/shibbolethKeys.gpg> not found
[WARNING] Rule 0: net.shibboleth.mvn.enforcer.impl.JarEnforcer failed with message:
java.io.FileNotFoundException: <http://127.0.0.1:1583/jenkins/job/java-idwsfconsumer-v2/ws/src/main/enforcer/shibbolethKeys.gpg> <http://127.0.0.1:1583/jenkins/job/java-idwsfconsumer-v2/ws/src/main/enforcer/shibbolethKeys.gpg>
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  12.826 s
[INFO] Finished at: 2022-03-24T10:49:28Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M3:enforce (idwsfconsumer-enforce) on project idwsfconsumer: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [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/MojoExecutionException
channel stopped


More information about the commits mailing list