Build failed in Jenkins: java-idp-plugin-webauthn-v1-java17 #43
Shibboleth Jenkins
noreply at shibboleth.net
Tue May 7 15:59:38 UTC 2024
See <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/43/display/redirect?page=changes>
Changes:
[Phil Smart] Move registration result to appropriate package
------------------------------------------
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on EC2 (ec2-I2) - Rocky9-commits (i-01bbfa663e605062d) (Rocky9-commits) in workspace <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/ws/>
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
No credentials specified
> git rev-parse --resolve-git-dir <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/ws/.git> # timeout=10
Fetching changes from the remote Git repository
> 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
Checking out Revision 8724529c79d3015b57dbd5d7b0d2d9b786c00882 (refs/remotes/origin/main)
> git config core.sparsecheckout # timeout=10
> git checkout -f 8724529c79d3015b57dbd5d7b0d2d9b786c00882 # timeout=10
Commit message: "Move registration result to appropriate package"
> git rev-list --no-walk 790be2a4b8312ae45a41a2544040ff7266bc1036 # timeout=10
Parsing POMs
Established TCP socket on 39597
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[java-idp-plugin-webauthn-v1-java17] $ /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 39597
<===[JENKINS REMOTING CAPACITY]===> channel started
Executing Maven: -B -f <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/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.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.18.1.el9_3.0.1.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.3-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.3-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 <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/ws/pom.xml> to /home/jenkins/.m2/repository/net/shibboleth/idp/plugin/authn/idp-plugin-webauthn-parent/0.0.3-SNAPSHOT/idp-plugin-webauthn-parent-0.0.3-SNAPSHOT.pom
[JENKINS] Archiving disabled
[INFO]
[INFO] ------< net.shibboleth.idp.plugin.authn:idp-plugin-webauthn-api >-------
[INFO] Building Shibboleth IdP :: Plugins :: WebAuthn Login Flow API 0.0.3-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 <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/ws/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 <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/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 30 source files to <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/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-java17/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 3 source files to <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/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
[ERROR] Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.757 s <<< FAILURE! -- in TestSuite
[ERROR] net.shibboleth.idp.plugin.authn.webauthn.context.navigate.AttributeContextByteArrayLookupStrategyTest.testAttributeLookup -- Time elapsed: 0.017 s <<< FAILURE!
java.lang.AssertionError: expected [value] but found []
at org.testng.Assert.fail(Assert.java:110)
at org.testng.Assert.failNotEquals(Assert.java:1577)
at org.testng.Assert.assertEqualsImpl(Assert.java:149)
at org.testng.Assert.assertEquals(Assert.java:131)
at org.testng.Assert.assertEquals(Assert.java:655)
at org.testng.Assert.assertEquals(Assert.java:665)
at net.shibboleth.idp.plugin.authn.webauthn.context.navigate.AttributeContextByteArrayLookupStrategyTest.testAttributeLookup(AttributeContextByteArrayLookupStrategyTest.java:70)
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] AttributeContextByteArrayLookupStrategyTest.testAttributeLookup:70 expected [value] but found []
[INFO]
[ERROR] Tests run: 9, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[ERROR] There are test failures.
Please refer to <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/ws/webauthn-api/target/surefire-reports> for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[JENKINS] Recording test results
[INFO]
[INFO] --- jar:3.2.2:jar (default-jar) @ idp-plugin-webauthn-api ---
[INFO] Building jar: <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/ws/webauthn-api/target/idp-plugin-webauthn-api-0.0.3-SNAPSHOT.jar>
[INFO]
[INFO] --- jar:3.2.2:test-jar (default) @ idp-plugin-webauthn-api ---
[INFO] Building jar: <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/ws/webauthn-api/target/idp-plugin-webauthn-api-0.0.3-SNAPSHOT-tests.jar>
[INFO]
[INFO] --- install:3.0.0-M1:install (default-install) @ idp-plugin-webauthn-api ---
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/ws/webauthn-api/target/idp-plugin-webauthn-api-0.0.3-SNAPSHOT.jar> to /home/jenkins/.m2/repository/net/shibboleth/idp/plugin/authn/idp-plugin-webauthn-api/0.0.3-SNAPSHOT/idp-plugin-webauthn-api-0.0.3-SNAPSHOT.jar
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/ws/webauthn-api/pom.xml> to /home/jenkins/.m2/repository/net/shibboleth/idp/plugin/authn/idp-plugin-webauthn-api/0.0.3-SNAPSHOT/idp-plugin-webauthn-api-0.0.3-SNAPSHOT.pom
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/ws/webauthn-api/target/idp-plugin-webauthn-api-0.0.3-SNAPSHOT-tests.jar> to /home/jenkins/.m2/repository/net/shibboleth/idp/plugin/authn/idp-plugin-webauthn-api/0.0.3-SNAPSHOT/idp-plugin-webauthn-api-0.0.3-SNAPSHOT-tests.jar
[JENKINS] Archiving disabled
[INFO]
[INFO] ------< net.shibboleth.idp.plugin.authn:idp-plugin-webauthn-impl >------
[INFO] Building Shibboleth IdP :: Plugins :: WebAuthn Login Flow Impl 0.0.3-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 <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/ws/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 27 resources
[INFO]
[INFO] --- compiler:3.10.1:compile (default-compile) @ idp-plugin-webauthn-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 46 source files to <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/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 2 resources
[INFO]
[INFO] --- compiler:3.10.1:testCompile (default-testCompile) @ idp-plugin-webauthn-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 21 source files to <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/ws/webauthn-impl/target/test-classes>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/ws/webauthn-impl/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/client/impl/MockWebAuthnClient.java>:[155,17] cannot find symbol
symbol: method withSignatureCounterValid(boolean)
location: interface net.shibboleth.idp.plugin.authn.webauthn.authn.AssertionResult.ISuccessStage
[INFO] 1 error
[INFO] -------------------------------------------------------------
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Shibboleth IdP :: Plugins :: WebAuthn Login Flow 0.0.3-SNAPSHOT:
[INFO]
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow ... SUCCESS [ 2.695 s]
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow API SUCCESS [ 9.651 s]
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow Impl FAILURE [ 2.712 s]
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow Distribution SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.668 s
[INFO] Finished at: 2024-05-07T15:59:35Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:testCompile (default-testCompile) on project idp-plugin-webauthn-impl: Compilation failure
[ERROR] <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/ws/webauthn-impl/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/client/impl/MockWebAuthnClient.java>:[155,17] cannot find symbol
[ERROR] symbol: method withSignatureCounterValid(boolean)
[ERROR] location: interface net.shibboleth.idp.plugin.authn.webauthn.authn.AssertionResult.ISuccessStage
[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 :idp-plugin-webauthn-impl
Sending e-mails to: commits at shibboleth.net
Sending e-mails to: commits at shibboleth.net
No mail will be sent out, as 'java-idp-plugin-webauthn-v1-java17 �� Shibboleth IdP :: Plugins :: WebAuthn Login Flow Distribution #43' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
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/java-idp-plugin-webauthn-v1-java17/builds/43/testng/testng-results.xml'
11.111111% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE
TestNG Reports Processing: FINISH
More information about the commits
mailing list