Build failed in Jenkins: java-idp-plugin-webauthn-v1-java17 #144
Shibboleth Jenkins
noreply at shibboleth.net
Mon Sep 16 15:59:35 UTC 2024
See <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/144/display/redirect?page=changes>
Changes:
[Phil Smart] JWEBAUTHN-21 - IdP does not start with a non-existing fido metadata
------------------------------------------
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 e04f34b523206e5fdd7f95aab7d6501b1b1325ae (refs/remotes/origin/main)
> git config core.sparsecheckout # timeout=10
> git checkout -f e04f34b523206e5fdd7f95aab7d6501b1b1325ae # timeout=10
Commit message: "JWEBAUTHN-21 - IdP does not start with a non-existing fido metadata cache file"
> git rev-list --no-walk 5b74a53a77d4c45dc80dd25ee67f02a9e42bd85b # timeout=10
Parsing POMs
Established TCP socket on 40169
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 40169
<===[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.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]
[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: 0.876 s -- in TestSuite
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 13, 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.9.0-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.9.0-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.9.0-SNAPSHOT.jar> to /home/jenkins/.m2/repository/net/shibboleth/idp/plugin/authn/idp-plugin-webauthn-api/0.9.0-SNAPSHOT/idp-plugin-webauthn-api-0.9.0-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.9.0-SNAPSHOT/idp-plugin-webauthn-api-0.9.0-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.9.0-SNAPSHOT-tests.jar> to /home/jenkins/.m2/repository/net/shibboleth/idp/plugin/authn/idp-plugin-webauthn-api/0.9.0-SNAPSHOT/idp-plugin-webauthn-api-0.9.0-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.9.0-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 28 resources
[INFO]
[INFO] --- compiler:3.10.1:compile (default-compile) @ idp-plugin-webauthn-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 67 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 4 resources
[INFO]
[INFO] --- compiler:3.10.1:testCompile (default-testCompile) @ idp-plugin-webauthn-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 49 source files to <http://127.0.0.1:1583/jenkins/job/java-idp-plugin-webauthn-v1-java17/ws/webauthn-impl/target/test-classes>
[INFO] Some messages have been simplified; recompile with -Xdiags:verbose to get full output
[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/metadata/FidoMetadataServiceResolverFactoryTest.java>:[57,47] incompatible types: net.shibboleth.shared.resource.Resource cannot be converted to java.lang.String
[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.9.0-SNAPSHOT:
[INFO]
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow ... SUCCESS [ 2.386 s]
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow API SUCCESS [ 9.554 s]
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow Impl FAILURE [ 3.348 s]
[INFO] Shibboleth IdP :: Plugins :: WebAuthn Login Flow Distribution SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.619 s
[INFO] Finished at: 2024-09-16T15:59:32Z
[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/metadata/FidoMetadataServiceResolverFactoryTest.java>:[57,47] incompatible types: net.shibboleth.shared.resource.Resource cannot be converted to java.lang.String
[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 #144' 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/144/testng/testng-results.xml'
TestNG Reports Processing: FINISH
More information about the commits
mailing list