Build failed in Jenkins: java-idp-plugin-webauthn-v1-java17 #139

Shibboleth Jenkins noreply at shibboleth.net
Mon Sep 16 10:46:14 UTC 2024


See <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/139/display/redirect?page=changes>

Changes:

[Phil Smart] JWEBAUTHN-22 - Support for different usernames in key registration


------------------------------------------
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on EC2 (ec2-I2) - Rocky9-commits (i-0eb5413f3895bfcf8) (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.43.5'
 > 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 08acbe2d0fa913f6bc41384281bad05a03c4afe1 (refs/remotes/origin/main)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 08acbe2d0fa913f6bc41384281bad05a03c4afe1 # timeout=10
Commit message: "JWEBAUTHN-22 - Support for different usernames in key registration"
 > git rev-list --no-walk 959fdab0aaa60d29055f53d2196a83e38fa4ebfd # timeout=10
Parsing POMs
Established TCP socket on 35441
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 35441
<===[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
Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546)
Maven home: /efs/optjava/maven/apache-maven-3.9.5
Java version: 17.0.11, vendor: Amazon.com Inc., runtime: /efs/optjava/jdk/amazon/amazon-corretto-17.0.11.9.1-linux-x64
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "5.14.0-427.33.1.el9_4.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 0.9.0-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.9.0-SNAPSHOT/idp-plugin-webauthn-parent-0.9.0-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.9.0-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 50 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 5 source files to <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/ws/webauthn-api/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-api/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/storage/CredentialRegistrationTest.java>:[40,9] cannot find symbol
  symbol:   method withTransports(java.util.TreeSet<com.yubico.webauthn.data.AuthenticatorTransport>)
  location: interface net.shibboleth.idp.plugin.authn.webauthn.storage.CredentialRegistration.IUsernameStage
[ERROR] <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/ws/webauthn-api/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/storage/CredentialRegistrationTest.java>:[53,9] cannot find symbol
  symbol:   method withTransports(java.util.TreeSet<com.yubico.webauthn.data.AuthenticatorTransport>)
  location: interface net.shibboleth.idp.plugin.authn.webauthn.storage.CredentialRegistration.IUsernameStage
[INFO] 2 errors 
[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.9.0-SNAPSHOT:
[INFO] 
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow ... SUCCESS [  3.121 s]
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow API FAILURE [  3.993 s]
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow Impl SKIPPED
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow Distribution SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  10.110 s
[INFO] Finished at: 2024-09-16T10:46:10Z
[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-api: Compilation failure: Compilation failure:
[ERROR] <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/ws/webauthn-api/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/storage/CredentialRegistrationTest.java>:[40,9] cannot find symbol
[ERROR] symbol:   method withTransports(java.util.TreeSet<com.yubico.webauthn.data.AuthenticatorTransport>)
[ERROR] location: interface net.shibboleth.idp.plugin.authn.webauthn.storage.CredentialRegistration.IUsernameStage
[ERROR] <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/ws/webauthn-api/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/storage/CredentialRegistrationTest.java>:[53,9] cannot find symbol
[ERROR] symbol:   method withTransports(java.util.TreeSet<com.yubico.webauthn.data.AuthenticatorTransport>)
[ERROR] location: interface net.shibboleth.idp.plugin.authn.webauthn.storage.CredentialRegistration.IUsernameStage
[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-api
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 Impl #139' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
No mail will be sent out, as 'java-idp-plugin-webauthn-v1-java17 �� Shibboleth IdP :: Plugins :: WebAuthn Login Flow Distribution #139' 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
testng-results.xml was last modified before this build started. Ignoring it.
Saving reports...
Found matching files but did not find any TestNG results.


More information about the commits mailing list