Build failed in Jenkins: java-idp-plugin-webauthn-v1-multi-java17 » Amazon-21,Rocky9 #11
Shibboleth Jenkins
noreply at shibboleth.net
Tue Apr 8 02:45:28 UTC 2025
See <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-multi-java17/jdk=Amazon-21,label=Rocky9/11/display/redirect>
Changes:
------------------------------------------
Started by upstream project "java-idp-plugin-webauthn-v1-multi-java17" build number 11
originally caused by:
Started by upstream project "trigger-multi-v17" build number 1055
originally caused by:
Started by upstream project "completed-nightly-v17" build number 832
originally caused by:
Started by upstream project "java-idp-plugin-webauthn-v1-nightly-java17" build number 391
originally caused by:
Started by upstream project "java-idp-plugin-thymeleaf-v1-nightly-java17" build number 8
originally caused by:
Started by upstream project "java-idp-plugin-totp-v2-nightly-java17" build number 620
originally caused by:
Started by upstream project "java-plugin-storage-jdbc-v2-nightly-java17" build number 1034
originally caused by:
Started by upstream project "java-idp-plugin-metadatagen-v2-nightly-java17" build number 622
originally caused by:
Started by upstream project "java-idp-plugin-scripting-v2-nightly-java17" build number 1811
originally caused by:
Started by upstream project "java-idp-plugin-duo-v2-nightly-java17" build number 634
originally caused by:
Started by upstream project "java-idp-plugin-oidc-rp-v2-nightly-java17" build number 624
originally caused by:
Started by upstream project "java-idp-oidc-v4-nightly-java17" build number 1854
originally caused by:
(deeply nested causes)
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on EC2 (ec2-I2) - Rocky9 (i-041cfeb54612a5eae) (Rocky9) in workspace <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-multi-java17/jdk=Amazon-21,label=Rocky9/ws/>
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://git.shibboleth.net/git/java-idp-plugin-webauthn
> git init <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-multi-java17/jdk=Amazon-21,label=Rocky9/ws/> # timeout=10
Fetching upstream changes from https://git.shibboleth.net/git/java-idp-plugin-webauthn
> git --version # timeout=10
> git --version # 'git version 2.43.5'
> git fetch --tags --force --progress -- https://git.shibboleth.net/git/java-idp-plugin-webauthn +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://git.shibboleth.net/git/java-idp-plugin-webauthn # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Checking out Revision a5e1c744b7a0e8cb5633b6e26eeb1ce11462eb93 (refs/remotes/origin/main)
> git config core.sparsecheckout # timeout=10
> git checkout -f a5e1c744b7a0e8cb5633b6e26eeb1ce11462eb93 # timeout=10
Commit message: "Bump version after release"
> git rev-list --no-walk a5e1c744b7a0e8cb5633b6e26eeb1ce11462eb93 # timeout=10
[Rocky9] $ /opt/maven_home/bin/mvn -Djdk=Amazon-21 -Dmatrix-combinations= -Dlabel=Rocky9 -Dno-check-m2= -V -B clean test --update-snapshots --fail-at-end
Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546)
Maven home: /opt/maven_home
Java version: 21.0.6, vendor: Amazon.com Inc., runtime: /efs/optjava/jdk/amazon/amazon-corretto-21.0.6.7.1-linux-x64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.14.0-503.22.1.el9_5.x86_64", arch: "amd64", family: "unix"
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow [pom]
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow API [jar]
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow Impl [jar]
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow Distribution [pom]
[INFO]
[INFO] -----< net.shibboleth.idp.plugin.authn:idp-plugin-webauthn-parent >-----
[INFO] Building Shibboleth IdP :: Plugins :: WebAuthn Login Flow 1.1.1-SNAPSHOT [1/4]
[INFO] from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- clean:3.1.0:clean (default-clean) @ idp-plugin-webauthn-parent ---
[INFO]
[INFO] --- enforcer:3.0.0-M3:enforce (maven-version) @ idp-plugin-webauthn-parent ---
[INFO]
[INFO] ------< net.shibboleth.idp.plugin.authn:idp-plugin-webauthn-api >-------
[INFO] Building Shibboleth IdP :: Plugins :: WebAuthn Login Flow API 1.1.1-SNAPSHOT [2/4]
[INFO] from webauthn-api/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.1.0:clean (default-clean) @ idp-plugin-webauthn-api ---
[INFO]
[INFO] --- enforcer:3.0.0-M3:enforce (maven-version) @ idp-plugin-webauthn-api ---
[INFO]
[INFO] --- resources:3.2.0:resources (default-resources) @ idp-plugin-webauthn-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-multi-java17/jdk=Amazon-21,label=Rocky9/ws/webauthn-api/src/main/resources>
[INFO]
[INFO] --- compiler:3.10.1:compile (default-compile) @ idp-plugin-webauthn-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 63 source files to <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-multi-java17/jdk=Amazon-21,label=Rocky9/ws/webauthn-api/target/classes>
[INFO]
[INFO] --- resources:3.2.0:testResources (default-testResources) @ idp-plugin-webauthn-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-multi-java17/jdk=Amazon-21,label=Rocky9/ws/webauthn-api/src/test/resources>
[INFO]
[INFO] --- compiler:3.10.1:testCompile (default-testCompile) @ idp-plugin-webauthn-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-multi-java17/jdk=Amazon-21,label=Rocky9/ws/webauthn-api/target/test-classes>
[INFO]
[INFO] --- surefire:3.1.2:test (default-test) @ idp-plugin-webauthn-api ---
[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: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.155 s -- in TestSuite
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] ------< net.shibboleth.idp.plugin.authn:idp-plugin-webauthn-impl >------
[INFO] Building Shibboleth IdP :: Plugins :: WebAuthn Login Flow Impl 1.1.1-SNAPSHOT [3/4]
[INFO] from webauthn-impl/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.1.0:clean (default-clean) @ idp-plugin-webauthn-impl ---
[INFO]
[INFO] --- enforcer:3.0.0-M3:enforce (maven-version) @ idp-plugin-webauthn-impl ---
[INFO]
[INFO] --- resources:3.2.0:resources (default-resources) @ idp-plugin-webauthn-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 32 resources
[INFO]
[INFO] --- compiler:3.10.1:compile (default-compile) @ idp-plugin-webauthn-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 100 source files to <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-multi-java17/jdk=Amazon-21,label=Rocky9/ws/webauthn-impl/target/classes>
[INFO]
[INFO] --- resources:3.2.0:testResources (default-testResources) @ idp-plugin-webauthn-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 11 resources
[INFO]
[INFO] --- compiler:3.10.1:testCompile (default-testCompile) @ idp-plugin-webauthn-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 71 source files to <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-multi-java17/jdk=Amazon-21,label=Rocky9/ws/webauthn-impl/target/test-classes>
[INFO] <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-multi-java17/jdk=Amazon-21,label=Rocky9/ws/webauthn-impl/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/admin/impl/LookupCredentialsForUserTest.java>: Some input files use or override a deprecated API.
[INFO] <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-multi-java17/jdk=Amazon-21,label=Rocky9/ws/webauthn-impl/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/admin/impl/LookupCredentialsForUserTest.java>: Recompile with -Xlint:deprecation for details.
[INFO] <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-multi-java17/jdk=Amazon-21,label=Rocky9/ws/webauthn-impl/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/storage/impl/InMemoryRegistrationStorage.java>: <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-multi-java17/jdk=Amazon-21,label=Rocky9/ws/webauthn-impl/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/storage/impl/InMemoryRegistrationStorage.java> uses or overrides a deprecated API that is marked for removal.
[INFO] <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-multi-java17/jdk=Amazon-21,label=Rocky9/ws/webauthn-impl/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/storage/impl/InMemoryRegistrationStorage.java>: Recompile with -Xlint:removal for details.
[INFO]
[INFO] --- surefire:3.1.2:test (default-test) @ idp-plugin-webauthn-impl ---
[INFO] Using configured provider org.apache.maven.surefire.testng.TestNGProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
[ERROR] Tests run: 207, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 35.52 s <<< FAILURE! -- in TestSuite
[ERROR] net.shibboleth.idp.plugin.authn.webauthn.storage.impl.IdPStorageServiceCredentialRespositoryTest.testThreadSafetyUpdateSignatureCount -- Time elapsed: 0.023 s <<< FAILURE!
java.util.concurrent.ExecutionException: java.lang.NullPointerException: Cannot invoke "java.time.Instant.equals(Object)" because the return value of "net.shibboleth.idp.plugin.authn.webauthn.storage.CredentialRecord.getLastUsedTime()" is null
at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
at net.shibboleth.idp.plugin.authn.webauthn.storage.impl.IdPStorageServiceCredentialRespositoryTest.testThreadSafetyUpdateSignatureCount(IdPStorageServiceCredentialRespositoryTest.java:831)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:677)
at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:221)
at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:969)
at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:194)
at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)
at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at org.testng.TestRunner.privateRun(TestRunner.java:829)
at org.testng.TestRunner.run(TestRunner.java:602)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:437)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:431)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:391)
at org.testng.SuiteRunner.run(SuiteRunner.java:330)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1256)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1176)
at org.testng.TestNG.runSuites(TestNG.java:1099)
at org.testng.TestNG.run(TestNG.java:1067)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:155)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:169)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:88)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:137)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: java.lang.NullPointerException: Cannot invoke "java.time.Instant.equals(Object)" because the return value of "net.shibboleth.idp.plugin.authn.webauthn.storage.CredentialRecord.getLastUsedTime()" is null
at net.shibboleth.idp.plugin.authn.webauthn.storage.impl.IdPStorageServiceCredentialRespositoryTest.lambda$testThreadSafetyUpdateSignatureCount$13(IdPStorageServiceCredentialRespositoryTest.java:827)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] IdPStorageServiceCredentialRespositoryTest.testThreadSafetyUpdateSignatureCount:831 �� Execution java.lang.NullPointerException: Cannot invoke "java.time.Instant.equals(Object)" because the return value of "net.shibboleth.idp.plugin.authn.webauthn.storage.CredentialRecord.getLastUsedTime()" is null
[INFO]
[ERROR] Tests run: 207, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] ------< net.shibboleth.idp.plugin.authn:idp-plugin-webauthn-dist >------
[INFO] Building Shibboleth IdP :: Plugins :: WebAuthn Login Flow Distribution 1.1.1-SNAPSHOT [4/4]
[INFO] from webauthn-dist/pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- clean:3.1.0:clean (default-clean) @ idp-plugin-webauthn-dist ---
[INFO]
[INFO] --- enforcer:3.0.0-M3:enforce (maven-version) @ idp-plugin-webauthn-dist ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Shibboleth IdP :: Plugins :: WebAuthn Login Flow 1.1.1-SNAPSHOT:
[INFO]
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow ... SUCCESS [ 0.684 s]
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow API SUCCESS [ 6.556 s]
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow Impl FAILURE [ 41.528 s]
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow Distribution SUCCESS [ 0.193 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 49.403 s
[INFO] Finished at: 2025-04-08T02:45:28Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.1.2:test (default-test) on project idp-plugin-webauthn-impl: There are test failures.
[ERROR]
[ERROR] Please refer to <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-multi-java17/jdk=Amazon-21,label=Rocky9/ws/webauthn-impl/target/surefire-reports> for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[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 <args> -rf :idp-plugin-webauthn-impl
Build step 'Invoke top-level Maven targets' marked build as failure
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/java-idp-plugin-webauthn-v1-multi-java17/configurations/axis-jdk/Amazon-21/axis-label/Rocky9/builds/11/testng/testng-results-1.xml'
Processing '/var/lib/jenkins/jobs/java-idp-plugin-webauthn-v1-multi-java17/configurations/axis-jdk/Amazon-21/axis-label/Rocky9/builds/11/testng/testng-results.xml'
0.454545% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE
TestNG Reports Processing: FINISH
More information about the commits
mailing list