Build failed in Jenkins: xmlsectool-v4 #328
Shibboleth Jenkins
noreply at shibboleth.net
Thu Mar 20 18:17:27 UTC 2025
See <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/328/display/redirect?page=changes>
Changes:
[Ian Young] XSTJ-96 - Signatures using PKCS#11 tokens fail with "Missing key
------------------------------------------
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on EC2 (ec2-I2) - Rocky9-commits (i-060ab4191754bccfd) (Rocky9-commits) in workspace <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/>
The recommended git tool is: NONE
No credentials specified
> git rev-parse --resolve-git-dir <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/.git> # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://git.shibboleth.net/git/xmlsectool # timeout=10
Fetching upstream changes from https://git.shibboleth.net/git/xmlsectool
> git --version # timeout=10
> git --version # 'git version 2.43.5'
> git fetch --tags --force --progress -- https://git.shibboleth.net/git/xmlsectool +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/main^{commit} # timeout=10
Checking out Revision acb449bb449aa596527da339a9f2fc99e75dda3c (refs/remotes/origin/main)
> git config core.sparsecheckout # timeout=10
> git checkout -f acb449bb449aa596527da339a9f2fc99e75dda3c # timeout=10
Commit message: "XSTJ-96 - Signatures using PKCS#11 tokens fail with "Missing key encoding""
> git rev-list --no-walk 9ff3ed03f3e44d068cecb474ed3df8c180c7f8ef # timeout=10
Parsing POMs
Modules changed, recalculating dependency graph
Established TCP socket on 45723
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[xmlsectool-v4] $ /opt/jdk/amazon-17/bin/java -cp /opt/jenkins/maven35-agent.jar:/opt/maven_home/boot/plexus-classworlds-2.7.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 45723
<===[JENKINS REMOTING CAPACITY]===> channel started
Executing Maven: -B -f <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/pom.xml> -V -B --update-snapshots clean install -D no-check-m2
[1mApache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546)[m
Maven home: /efs/optjava/maven/apache-maven-3.9.5
Java version: 17.0.14, vendor: Amazon.com Inc., runtime: /efs/optjava/jdk/amazon/amazon-corretto-17.0.14.7.1-linux-x64
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "5.14.0-503.22.1.el9_5.x86_64", arch: "amd64", family: "unix"
[INFO] Scanning for projects...
[INFO]
[INFO] -------------------< net.shibboleth.tool:xmlsectool >-------------------
[INFO] Building XMLSecTool 4.0.0-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.1.0:clean (default-clean) @ xmlsectool ---
[INFO] Deleting <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target>
[INFO]
[INFO] --- enforcer:3.0.0-M3:enforce (maven-version) @ xmlsectool ---
[INFO]
[INFO] --- resources:3.2.0:resources (default-resources) @ xmlsectool ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 3 resources
[INFO]
[INFO] --- compiler:3.10.1:compile (default-compile) @ xmlsectool ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 12 source files to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/classes>
[INFO]
[INFO] --- resources:3.2.0:testResources (default-testResources) @ xmlsectool ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 70 resources
[INFO]
[INFO] --- compiler:3.10.1:testCompile (default-testCompile) @ xmlsectool ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 9 source files to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/test-classes>
[INFO]
[INFO] --- surefire:3.1.2:test (default-test) @ xmlsectool ---
[INFO] Using configured provider org.apache.maven.surefire.testng.TestNGProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.183 s -- in TestSuite
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[JENKINS] Recording test results
[INFO]
[INFO] --- dependency:3.3.0:copy-dependencies (copy-dependencies) @ xmlsectool ---
[INFO] Copying slf4j-api-2.0.13.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/slf4j-api-2.0.13.jar>
[INFO] Copying shib-networking-9.1.3.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/shib-networking-9.1.3.jar>
[INFO] Copying guava-33.0.0-jre.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/guava-33.0.0-jre.jar>
[INFO] Copying failureaccess-1.0.2.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/failureaccess-1.0.2.jar>
[INFO] Copying listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar>
[INFO] Copying checker-qual-3.41.0.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/checker-qual-3.41.0.jar>
[INFO] Copying error_prone_annotations-2.23.0.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/error_prone_annotations-2.23.0.jar>
[INFO] Copying j2objc-annotations-2.8.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/j2objc-annotations-2.8.jar>
[INFO] Copying httpclient5-cache-5.3.1.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/httpclient5-cache-5.3.1.jar>
[INFO] Copying shib-support-9.1.3.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/shib-support-9.1.3.jar>
[INFO] Copying shib-security-9.1.3.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/shib-security-9.1.3.jar>
[INFO] Copying bcpkix-jdk18on-1.77.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/bcpkix-jdk18on-1.77.jar>
[INFO] Copying bcutil-jdk18on-1.77.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/bcutil-jdk18on-1.77.jar>
[INFO] Copying opensaml-core-api-5.1.3.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/opensaml-core-api-5.1.3.jar>
[INFO] Copying metrics-core-4.2.26.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/metrics-core-4.2.26.jar>
[INFO] Copying opensaml-core-impl-5.1.3.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/opensaml-core-impl-5.1.3.jar>
[INFO] Copying metrics-json-4.2.26.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/metrics-json-4.2.26.jar>
[INFO] Copying jackson-core-2.16.2.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/jackson-core-2.16.2.jar>
[INFO] Copying jackson-databind-2.16.2.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/jackson-databind-2.16.2.jar>
[INFO] Copying jackson-annotations-2.16.2.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/jackson-annotations-2.16.2.jar>
[INFO] Copying jackson-datatype-jsr310-2.16.2.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/jackson-datatype-jsr310-2.16.2.jar>
[INFO] Copying opensaml-security-api-5.1.3.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/opensaml-security-api-5.1.3.jar>
[INFO] Copying opensaml-messaging-api-5.1.3.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/opensaml-messaging-api-5.1.3.jar>
[INFO] Copying cryptacular-1.2.6.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/cryptacular-1.2.6.jar>
[INFO] Copying opensaml-xmlsec-api-5.1.3.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/opensaml-xmlsec-api-5.1.3.jar>
[INFO] Copying jsr305-3.0.2.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/jsr305-3.0.2.jar>
[INFO] Copying xmlsec-3.0.5.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/xmlsec-3.0.5.jar>
[INFO] Copying bcprov-jdk18on-1.77.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/bcprov-jdk18on-1.77.jar>
[INFO] Copying jcommander-1.81.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/jcommander-1.81.jar>
[INFO] Copying httpclient5-5.3.1.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/httpclient5-5.3.1.jar>
[INFO] Copying httpcore5-h2-5.2.5.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/httpcore5-h2-5.2.5.jar>
[INFO] Copying httpcore5-5.2.5.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/httpcore5-5.2.5.jar>
[INFO] Copying commons-codec-1.16.1.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/commons-codec-1.16.1.jar>
[INFO] Copying opensaml-xmlsec-impl-5.1.3.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/opensaml-xmlsec-impl-5.1.3.jar>
[INFO] Copying opensaml-security-impl-5.1.3.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/opensaml-security-impl-5.1.3.jar>
[INFO] Copying logback-classic-1.5.6.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/logback-classic-1.5.6.jar>
[INFO] Copying logback-core-1.5.6.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/logback-core-1.5.6.jar>
[INFO] Copying jcl-over-slf4j-2.0.13.jar to <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencies/jcl-over-slf4j-2.0.13.jar>
[INFO]
[INFO] --- jar:3.2.2:jar (default-jar) @ xmlsectool ---
[INFO] Building jar: <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/xmlsectool-4.0.0-SNAPSHOT.jar>
[INFO]
[INFO] --- jar:3.2.2:test-jar (default) @ xmlsectool ---
[INFO] Building jar: <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/xmlsectool-4.0.0-SNAPSHOT-tests.jar>
[INFO]
[INFO] --- assembly:3.5.0:single (make-assembly) @ xmlsectool ---
[INFO] Reading assembly descriptor: src/main/assembly/bin.xml
[INFO] Building zip: <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/xmlsectool-4.0.0-SNAPSHOT-bin.zip>
[INFO]
[INFO] --- enforcer:3.0.0-M3:enforce (enforce) @ xmlsectool ---
[WARNING] Duplicate group declaration for spring-binding
[WARNING] Duplicate group declaration for httpcore5-h2
[WARNING] Duplicate group declaration for spymemcached
[WARNING] Duplicate group declaration for commons-lang3
[ERROR] 1 Mismatched versions (between the POM and the distribution)
[ERROR] Dependency check failed, check the file <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencyReport.txt>
[WARNING] Rule 0: net.shibboleth.mvn.enforcer.impl.JarEnforcer failed with message:
Dependency check failed, check the file <http://127.0.0.1:1583/jenkins/job/xmlsectool-v4/ws/target/dependencyReport.txt>
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.712 s
[INFO] Finished at: 2025-03-20T18:17:26Z
[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 (enforce) on project xmlsectool: 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
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
Saving reports...
Processing '/var/lib/jenkins/jobs/xmlsectool-v4/builds/328/testng/testng-results.xml'
TestNG Reports Processing: FINISH
More information about the commits
mailing list