Build failed in Jenkins: java-oidc-common #563

Shibboleth Jenkins noreply at shibboleth.net
Wed Apr 27 14:36:56 UTC 2022


See <http://127.0.0.1:1583/jenkins/job/java-oidc-common/563/display/redirect?page=changes>

Changes:

[Scott Cantor] JOIDC-7 - Support JWT access tokens for code or implicit grants

[Scott Cantor] Bump commons version due to API changes.


------------------------------------------
[...truncated 52.04 KB...]
[INFO] Compiling 64 source files to <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-metadata-impl/target/classes>
[INFO] <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-metadata-impl/src/main/java/net/shibboleth/oidc/metadata/impl/StorageServiceClientInformationManager.java>: <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-metadata-impl/src/main/java/net/shibboleth/oidc/metadata/impl/StorageServiceClientInformationManager.java> uses or overrides a deprecated API that is marked for removal.
[INFO] <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-metadata-impl/src/main/java/net/shibboleth/oidc/metadata/impl/StorageServiceClientInformationManager.java>: Recompile with -Xlint:removal for details.
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ oidc-common-metadata-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 22 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ oidc-common-metadata-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 25 source files to <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-metadata-impl/target/test-classes>
[INFO] <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-metadata-impl/src/test/java/net/shibboleth/oidc/metadata/impl/OIDCProviderMetadataResolverTest.java>: Some input files use unchecked or unsafe operations.
[INFO] <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-metadata-impl/src/test/java/net/shibboleth/oidc/metadata/impl/OIDCProviderMetadataResolverTest.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ oidc-common-metadata-impl ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
[INFO] Tests run: 188, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.077 s - in TestSuite
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 188, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-dependency-plugin:3.3.0:copy-dependencies (copy-dependencies-test) @ oidc-common-metadata-impl ---
[INFO] Copying nimbus-jose-jwt-9.14.jar to <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-metadata-impl/target/dependency/nimbus-jose-jwt-9.14.jar>
[INFO] 
[INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ oidc-common-metadata-impl ---
[INFO] Building jar: <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-metadata-impl/target/oidc-common-metadata-impl-2.0.1-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-jar-plugin:3.2.2:test-jar (default) @ oidc-common-metadata-impl ---
[INFO] Building jar: <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-metadata-impl/target/oidc-common-metadata-impl-2.0.1-SNAPSHOT-tests.jar>
[INFO] 
[INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ oidc-common-metadata-impl ---
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-metadata-impl/target/oidc-common-metadata-impl-2.0.1-SNAPSHOT.jar> to /home/jenkins/.m2/repository/net/shibboleth/oidc/oidc-common-metadata-impl/2.0.1-SNAPSHOT/oidc-common-metadata-impl-2.0.1-SNAPSHOT.jar
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-metadata-impl/pom.xml> to /home/jenkins/.m2/repository/net/shibboleth/oidc/oidc-common-metadata-impl/2.0.1-SNAPSHOT/oidc-common-metadata-impl-2.0.1-SNAPSHOT.pom
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-metadata-impl/target/oidc-common-metadata-impl-2.0.1-SNAPSHOT-tests.jar> to /home/jenkins/.m2/repository/net/shibboleth/oidc/oidc-common-metadata-impl/2.0.1-SNAPSHOT/oidc-common-metadata-impl-2.0.1-SNAPSHOT-tests.jar
[JENKINS] Archiving disabled
[INFO] 
[INFO] ------------< net.shibboleth.oidc:oidc-common-profile-impl >------------
[INFO] Building Shibboleth IdP :: Plugins :: OIDC Common :: Profile Configuration Implementation 2.0.1-SNAPSHOT [10/14]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ oidc-common-profile-impl ---
[INFO] Deleting <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-profile-impl/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ oidc-common-profile-impl ---
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ oidc-common-profile-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 <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-profile-impl/src/main/resources>
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ oidc-common-profile-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 12 source files to <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-profile-impl/target/classes>
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ oidc-common-profile-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] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ oidc-common-profile-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-profile-impl/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ oidc-common-profile-impl ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
[INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.203 s - in TestSuite
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-dependency-plugin:3.3.0:copy-dependencies (copy-dependencies-test) @ oidc-common-profile-impl ---
[INFO] Copying oidc-common-profile-api-2.0.1-SNAPSHOT.jar to <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-profile-impl/target/dependency/oidc-common-profile-api-2.0.1-SNAPSHOT.jar>
[INFO] Copying oidc-common-metadata-api-2.0.1-SNAPSHOT.jar to <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-profile-impl/target/dependency/oidc-common-metadata-api-2.0.1-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ oidc-common-profile-impl ---
[INFO] Building jar: <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-profile-impl/target/oidc-common-profile-impl-2.0.1-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-jar-plugin:3.2.2:test-jar (default) @ oidc-common-profile-impl ---
[INFO] Building jar: <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-profile-impl/target/oidc-common-profile-impl-2.0.1-SNAPSHOT-tests.jar>
[INFO] 
[INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ oidc-common-profile-impl ---
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-profile-impl/target/oidc-common-profile-impl-2.0.1-SNAPSHOT.jar> to /home/jenkins/.m2/repository/net/shibboleth/oidc/oidc-common-profile-impl/2.0.1-SNAPSHOT/oidc-common-profile-impl-2.0.1-SNAPSHOT.jar
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-profile-impl/pom.xml> to /home/jenkins/.m2/repository/net/shibboleth/oidc/oidc-common-profile-impl/2.0.1-SNAPSHOT/oidc-common-profile-impl-2.0.1-SNAPSHOT.pom
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-profile-impl/target/oidc-common-profile-impl-2.0.1-SNAPSHOT-tests.jar> to /home/jenkins/.m2/repository/net/shibboleth/oidc/oidc-common-profile-impl/2.0.1-SNAPSHOT/oidc-common-profile-impl-2.0.1-SNAPSHOT-tests.jar
[JENKINS] Archiving disabled
[INFO] 
[INFO] ---------------< net.shibboleth.oidc:oidc-common-plugin >---------------
[INFO] Building Shibboleth IdP :: Plugins :: OIDC Common :: Plugin 2.0.1-SNAPSHOT [11/14]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ oidc-common-plugin ---
[INFO] Deleting <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-plugin/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ oidc-common-plugin ---
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ oidc-common-plugin ---
[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] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ oidc-common-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-plugin/target/classes>
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ oidc-common-plugin ---
[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-oidc-common/ws/oidc-common-plugin/src/test/resources>
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ oidc-common-plugin ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ oidc-common-plugin ---
[INFO] No tests to run.
[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ oidc-common-plugin ---
[INFO] Building jar: <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-plugin/target/oidc-common-plugin-2.0.1-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-jar-plugin:3.2.2:test-jar (default) @ oidc-common-plugin ---
[INFO] Skipping packaging of the test-jar
[INFO] 
[INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ oidc-common-plugin ---
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-plugin/target/oidc-common-plugin-2.0.1-SNAPSHOT.jar> to /home/jenkins/.m2/repository/net/shibboleth/oidc/oidc-common-plugin/2.0.1-SNAPSHOT/oidc-common-plugin-2.0.1-SNAPSHOT.jar
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-plugin/pom.xml> to /home/jenkins/.m2/repository/net/shibboleth/oidc/oidc-common-plugin/2.0.1-SNAPSHOT/oidc-common-plugin-2.0.1-SNAPSHOT.pom
[JENKINS] Archiving disabled
[INFO] 
[INFO] ----------------< net.shibboleth.oidc:oidc-common-bom >-----------------
[INFO] Building Shibboleth IdP :: Plugins :: OIDC Common :: BOM 2.0.1-SNAPSHOT [12/14]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ oidc-common-bom ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ oidc-common-bom ---
[INFO] 
[INFO] --- maven-jar-plugin:3.2.2:test-jar (default) @ oidc-common-bom ---
[INFO] Skipping packaging of the test-jar
[INFO] 
[INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ oidc-common-bom ---
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-bom/pom.xml> to /home/jenkins/.m2/repository/net/shibboleth/oidc/oidc-common-bom/2.0.1-SNAPSHOT/oidc-common-bom-2.0.1-SNAPSHOT.pom
[JENKINS] Archiving disabled
[INFO] 
[INFO] ----------------< net.shibboleth.oidc:oidc-common-dist >----------------
[INFO] Building Shibboleth IdP :: Plugins :: OIDC Common :: Distribution 2.0.1-SNAPSHOT [13/14]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ oidc-common-dist ---
[INFO] Deleting <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-dist/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ oidc-common-dist ---
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:copy-resources (copy-resources) @ oidc-common-dist ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-jar-plugin:3.2.2:test-jar (default) @ oidc-common-dist ---
[INFO] Skipping packaging of the test-jar
[INFO] 
[INFO] --- maven-assembly-plugin:3.3.0:single (make-assembly) @ oidc-common-dist ---
[INFO] Reading assembly descriptor: src/main/assembly/plugin-assembly-tgz.xml
[INFO] Reading assembly descriptor: src/main/assembly/plugin-assembly-zip.xml
[INFO] Building tar: <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-dist/target/shibboleth-idp-plugin-oidc-common-2.0.1-SNAPSHOT.tar.gz>
[INFO] Building zip: <http://127.0.0.1:1583/jenkins/job/java-oidc-common/ws/oidc-common-dist/target/shibboleth-idp-plugin-oidc-common-2.0.1-SNAPSHOT.zip>
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (oidc-common-enforce) @ oidc-common-dist ---
[ERROR] 3 Mismatched versions (between the POM and the distribution)
[ERROR] 3 Mismatched versions (between the POM and the distribution)
[ERROR] Dependency check failed, check the file ./target/dependencyReport.txt
[WARNING] Rule 0: net.shibboleth.mvn.enforcer.impl.JarEnforcer failed with message:
Dependency check failed, check the file ./target/dependencyReport.txt
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Shibboleth IdP :: Plugins :: OIDC Common :: Attribute API 2.0.1-SNAPSHOT SUCCESS [  8.155 s]
[INFO] Shibboleth IdP :: Plugins :: OIDC Common :: Attribute Implementation 2.0.1-SNAPSHOT SUCCESS [ 13.162 s]
[INFO] Shibboleth IdP :: Plugins :: OIDC Common :: Crypto API 2.0.1-SNAPSHOT SUCCESS [  9.631 s]
[INFO] Shibboleth IdP :: Plugins :: OIDC Common :: Crypto Implementation 2.0.1-SNAPSHOT SUCCESS [  6.101 s]
[INFO] Shibboleth IdP :: Plugins :: OIDC Common :: Relying Party Metadata API 2.0.1-SNAPSHOT SUCCESS [  1.732 s]
[INFO] Shibboleth IdP :: Plugins :: OIDC Common :: Profile Configuration API 2.0.1-SNAPSHOT SUCCESS [  3.736 s]
[INFO] Shibboleth IdP :: Plugins :: OIDC Common :: SAML Metadata Extension API 2.0.1-SNAPSHOT SUCCESS [  1.608 s]
[INFO] Shibboleth IdP :: Plugins :: OIDC Common :: SAML Metadata Extension Implementation 2.0.1-SNAPSHOT SUCCESS [  6.201 s]
[INFO] Shibboleth IdP :: Plugins :: OIDC Common :: Relying Party Metadata Implementation 2.0.1-SNAPSHOT SUCCESS [ 15.220 s]
[INFO] Shibboleth IdP :: Plugins :: OIDC Common :: Profile Configuration Implementation 2.0.1-SNAPSHOT SUCCESS [  3.255 s]
[INFO] Shibboleth IdP :: Plugins :: OIDC Common :: Plugin 2.0.1-SNAPSHOT SUCCESS [  1.525 s]
[INFO] Shibboleth IdP :: Plugins :: OIDC Common :: BOM 2.0.1-SNAPSHOT SUCCESS [  0.968 s]
[INFO] Shibboleth IdP :: Plugins :: OIDC Common :: Distribution 2.0.1-SNAPSHOT FAILURE [  2.459 s]
[INFO] Shibboleth IdP :: Plugins :: OIDC Common :: Parent 2.1.0-SNAPSHOT SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:24 min
[INFO] Finished at: 2022-04-27T14:36:49Z
[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M3:enforce (oidc-common-enforce) on project oidc-common-dist: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]
[ERROR] 
Waiting for Jenkins to finish collecting data[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/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :oidc-common-dist
Sending e-mails to: commits at shibboleth.net
No mail will be sent out, as 'java-oidc-common » Shibboleth IdP :: Plugins :: OIDC Common :: Parent #563' 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-oidc-common/builds/563/testng/testng-results-1.xml'
Processing '/var/lib/jenkins/jobs/java-oidc-common/builds/563/testng/testng-results-2.xml'
Processing '/var/lib/jenkins/jobs/java-oidc-common/builds/563/testng/testng-results-3.xml'
Processing '/var/lib/jenkins/jobs/java-oidc-common/builds/563/testng/testng-results-4.xml'
Processing '/var/lib/jenkins/jobs/java-oidc-common/builds/563/testng/testng-results-5.xml'
Processing '/var/lib/jenkins/jobs/java-oidc-common/builds/563/testng/testng-results-6.xml'
Processing '/var/lib/jenkins/jobs/java-oidc-common/builds/563/testng/testng-results.xml'
TestNG Reports Processing: FINISH


More information about the commits mailing list