Build failed in Jenkins: java-idp-plugin-webauthn-v1-java17 #21
Shibboleth Jenkins
noreply at shibboleth.net
Fri Apr 12 11:46:22 UTC 2024
See <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/21/display/redirect?page=changes>
Changes:
[Phil Smart] Add signature counter update to the credential repository interface
------------------------------------------
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 6607e7ba7322e19cc692d01c6054153c6114f12c (refs/remotes/origin/main)
> git config core.sparsecheckout # timeout=10
> git checkout -f 6607e7ba7322e19cc692d01c6054153c6114f12c # timeout=10
Commit message: "Add signature counter update to the credential repository interface"
> git rev-list --no-walk 28685a53e9ec2976a883e2df19832e6bad87df3d # timeout=10
Parsing POMs
Established TCP socket on 37111
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 37111
<===[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.2-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.2-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.2-SNAPSHOT/idp-plugin-webauthn-parent-0.0.2-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.2-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 24 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 2 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
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.559 s -- in TestSuite
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[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.2-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.2-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.2-SNAPSHOT.jar> to /home/jenkins/.m2/repository/net/shibboleth/idp/plugin/authn/idp-plugin-webauthn-api/0.0.2-SNAPSHOT/idp-plugin-webauthn-api-0.0.2-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.2-SNAPSHOT/idp-plugin-webauthn-api-0.0.2-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.2-SNAPSHOT-tests.jar> to /home/jenkins/.m2/repository/net/shibboleth/idp/plugin/authn/idp-plugin-webauthn-api/0.0.2-SNAPSHOT/idp-plugin-webauthn-api-0.0.2-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.2-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 23 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 <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/storage/impl/InMemoryRegistrationStorage.java>:[53,8] net.shibboleth.idp.plugin.authn.webauthn.storage.impl.InMemoryRegistrationStorage is not abstract and does not override abstract method updateSignatureCounter(java.lang.String,com.yubico.webauthn.data.ByteArray,long) in net.shibboleth.idp.plugin.authn.webauthn.storage.StorageServiceCredentialRepository
[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.2-SNAPSHOT:
[INFO]
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow ... SUCCESS [ 3.302 s]
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow API SUCCESS [ 10.466 s]
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow Impl FAILURE [ 2.920 s]
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow Distribution SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.372 s
[INFO] Finished at: 2024-04-12T11:46:18Z
[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/storage/impl/InMemoryRegistrationStorage.java>:[53,8] net.shibboleth.idp.plugin.authn.webauthn.storage.impl.InMemoryRegistrationStorage is not abstract and does not override abstract method updateSignatureCounter(java.lang.String,com.yubico.webauthn.data.ByteArray,long) in net.shibboleth.idp.plugin.authn.webauthn.storage.StorageServiceCredentialRepository
[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
No mail will be sent out, as 'java-idp-plugin-webauthn-v1-java17 �� Shibboleth IdP :: Plugins :: WebAuthn Login Flow Distribution #21' 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/21/testng/testng-results.xml'
TestNG Reports Processing: FINISH
More information about the commits
mailing list