Build failed : java-idp-plugin-webauthn-v1-java17 #27

Shibboleth Jenkins noreply at shibboleth.net
Wed Feb 21 05:05:58 UTC 2024


See http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/27/
-------------- next part --------------
Started by timer
Obtained resources/jenkins/v1-java17.jenkinsfile from git https://git.shibboleth.net/git/java-idp-plugin-webauthn
[Pipeline] Start of Pipeline
[Pipeline] node
Still waiting to schedule task
Waiting for next available executor on ‘Rocky9-commits’
Running on EC2 (ec2-I2) - Rocky9-commits (i-037400f359f361279) in /opt/jenkins/workspace/java-idp-plugin-webauthn-v1-java17
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
No credentials specified
Fetching changes from the remote Git repository
Checking out Revision 8df71bf4110414099bface3ffa0e00e7985e5cda (refs/remotes/origin/main)
Commit message: "Cleanup username input view"
 > git rev-parse --resolve-git-dir /opt/jenkins/workspace/java-idp-plugin-webauthn-v1-java17/.git # timeout=10
 > git config remote.origin.url https://git.shibboleth.net/git/java-idp-plugin-webauthn # timeout=10
Fetching upstream changes from https://git.shibboleth.net/git/java-idp-plugin-webauthn
 > git --version # timeout=10
 > git --version # 'git version 2.39.3'
 > git fetch --tags --force --progress -- https://git.shibboleth.net/git/java-idp-plugin-webauthn +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/main^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 8df71bf4110414099bface3ffa0e00e7985e5cda # timeout=10
 > git rev-list --no-walk c91d1484b3d51dff130bb6d3b3ae5374f35769a8 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Tool Install)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Install locally)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
+ mvn -V -B --update-snapshots clean install -D no-check-m2
Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546)
Maven home: /opt/maven_home
Java version: 17.0.10, vendor: Amazon.com Inc., runtime: /efs/optjava/jdk/amazon/amazon-corretto-17.0.10.7.1-linux-x64
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "5.14.0-362.8.1.el9_3.x86_64", arch: "amd64", family: "unix"
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for net.shibboleth.idp.plugin.authn:idp-plugin-webauthn-impl:jar:0.0.1-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: ${opensaml.groupId}:opensaml-profile-api:jar -> duplicate declaration of version (?) @ line 174, column 21
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[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 0.0.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] --- jar:3.2.2:test-jar (default) @ idp-plugin-webauthn-parent ---
[INFO] Skipping packaging of the test-jar
[INFO] 
[INFO] --- install:3.0.0-M1:install (default-install) @ idp-plugin-webauthn-parent ---
[INFO] Installing /opt/jenkins/workspace/java-idp-plugin-webauthn-v1-java17/pom.xml to /home/jenkins/.m2/repository/net/shibboleth/idp/plugin/authn/idp-plugin-webauthn-parent/0.0.1-SNAPSHOT/idp-plugin-webauthn-parent-0.0.1-SNAPSHOT.pom
[INFO] 
[INFO] ------< net.shibboleth.idp.plugin.authn:idp-plugin-webauthn-api >-------
[INFO] Building Shibboleth IdP :: Plugins :: WebAuthn Login Flow API 0.0.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] Deleting /opt/jenkins/workspace/java-idp-plugin-webauthn-v1-java17/webauthn-api/target
[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 /opt/jenkins/workspace/java-idp-plugin-webauthn-v1-java17/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 20 source files to /opt/jenkins/workspace/java-idp-plugin-webauthn-v1-java17/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 /opt/jenkins/workspace/java-idp-plugin-webauthn-v1-java17/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 2 source files to /opt/jenkins/workspace/java-idp-plugin-webauthn-v1-java17/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: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.526 s -- in TestSuite
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- jar:3.2.2:jar (default-jar) @ idp-plugin-webauthn-api ---
[INFO] Building jar: /opt/jenkins/workspace/java-idp-plugin-webauthn-v1-java17/webauthn-api/target/idp-plugin-webauthn-api-0.0.1-SNAPSHOT.jar
[INFO] 
[INFO] --- jar:3.2.2:test-jar (default) @ idp-plugin-webauthn-api ---
[INFO] Building jar: /opt/jenkins/workspace/java-idp-plugin-webauthn-v1-java17/webauthn-api/target/idp-plugin-webauthn-api-0.0.1-SNAPSHOT-tests.jar
[INFO] 
[INFO] --- install:3.0.0-M1:install (default-install) @ idp-plugin-webauthn-api ---
[INFO] Installing /opt/jenkins/workspace/java-idp-plugin-webauthn-v1-java17/webauthn-api/target/idp-plugin-webauthn-api-0.0.1-SNAPSHOT.jar to /home/jenkins/.m2/repository/net/shibboleth/idp/plugin/authn/idp-plugin-webauthn-api/0.0.1-SNAPSHOT/idp-plugin-webauthn-api-0.0.1-SNAPSHOT.jar
[INFO] Installing /opt/jenkins/workspace/java-idp-plugin-webauthn-v1-java17/webauthn-api/pom.xml to /home/jenkins/.m2/repository/net/shibboleth/idp/plugin/authn/idp-plugin-webauthn-api/0.0.1-SNAPSHOT/idp-plugin-webauthn-api-0.0.1-SNAPSHOT.pom
[INFO] Installing /opt/jenkins/workspace/java-idp-plugin-webauthn-v1-java17/webauthn-api/target/idp-plugin-webauthn-api-0.0.1-SNAPSHOT-tests.jar to /home/jenkins/.m2/repository/net/shibboleth/idp/plugin/authn/idp-plugin-webauthn-api/0.0.1-SNAPSHOT/idp-plugin-webauthn-api-0.0.1-SNAPSHOT-tests.jar
[INFO] 
[INFO] ------< net.shibboleth.idp.plugin.authn:idp-plugin-webauthn-impl >------
[INFO] Building Shibboleth IdP :: Plugins :: WebAuthn Login Flow Impl 0.0.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] Deleting /opt/jenkins/workspace/java-idp-plugin-webauthn-v1-java17/webauthn-impl/target
[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 21 resources
[INFO] 
[INFO] --- compiler:3.10.1:compile (default-compile) @ idp-plugin-webauthn-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 32 source files to /opt/jenkins/workspace/java-idp-plugin-webauthn-v1-java17/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] skip non existing resourceDirectory /opt/jenkins/workspace/java-idp-plugin-webauthn-v1-java17/webauthn-impl/src/test/resources
[INFO] 
[INFO] --- compiler:3.10.1:testCompile (default-testCompile) @ idp-plugin-webauthn-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 7 source files to /opt/jenkins/workspace/java-idp-plugin-webauthn-v1-java17/webauthn-impl/target/test-classes
[INFO] /opt/jenkins/workspace/java-idp-plugin-webauthn-v1-java17/webauthn-impl/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/client/impl/YubicoWebauthnAuthenticationClientTest.java: Some input files use or override a deprecated API.
[INFO] /opt/jenkins/workspace/java-idp-plugin-webauthn-v1-java17/webauthn-impl/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/client/impl/YubicoWebauthnAuthenticationClientTest.java: Recompile with -Xlint:deprecation 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: 24, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.840 s <<< FAILURE! -- in TestSuite
[ERROR] net.shibboleth.idp.plugin.authn.webauthn.storage.impl.IdPStorageServiceCredentialRespositoryTest.testThreadSafetyAddRead -- Time elapsed: 0.031 s <<< FAILURE!
java.lang.AssertionError: expected [true] but found [false]
	at org.testng.Assert.fail(Assert.java:110)
	at org.testng.Assert.failNotEquals(Assert.java:1577)
	at org.testng.Assert.assertTrue(Assert.java:56)
	at org.testng.Assert.assertTrue(Assert.java:66)
	at net.shibboleth.idp.plugin.authn.webauthn.storage.impl.IdPStorageServiceCredentialRespositoryTest.testThreadSafetyAddRead(IdPStorageServiceCredentialRespositoryTest.java:390)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	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:1511)
	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)

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   IdPStorageServiceCredentialRespositoryTest.testThreadSafetyAddRead:390 expected [true] but found [false]
[INFO] 
[ERROR] Tests run: 24, Failures: 1, Errors: 0, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Shibboleth IdP :: Plugins :: WebAuthn Login Flow 0.0.1-SNAPSHOT:
[INFO] 
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow ... SUCCESS [  0.888 s]
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow API SUCCESS [  3.486 s]
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow Impl FAILURE [  3.898 s]
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow Distribution SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  8.563 s
[INFO] Finished at: 2024-02-21T05:05:57Z
[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 /opt/jenkins/workspace/java-idp-plugin-webauthn-v1-java17/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
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] testNG
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-java17/builds/27/testng/testng-results-1.xml'
Processing '/var/lib/jenkins/jobs/java-idp-plugin-webauthn-v1-java17/builds/27/testng/testng-results.xml'
3.448276% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE
TestNG Reports Processing: FINISH
[Pipeline] emailext
Sending email to: commits at shibboleth.net


More information about the commits mailing list