Build failed in Jenkins: java-opensaml-v5-multi » RedHat-17,Rocky9 #113

Shibboleth Jenkins noreply at shibboleth.net
Thu Sep 8 15:50:54 UTC 2022


See <http://127.0.0.1:1583/jenkins/job/java-opensaml-v5-multi/jdk=RedHat-17,label=Rocky9/113/display/redirect?page=changes>

Changes:

[Scott Cantor] Update dependencies after running analyzer.


------------------------------------------
[...truncated 59.42 KB...]
java.lang.AssertionError: Evaluation of X509Credential failed, success was expected: Intermediate CA with explicit policy [1.3.6.1.4.1.32473.2011.6.20]
	at org.opensaml.security.x509.impl.CertPathPKIXTrustEvaluatorTest.testValidateSuccess(CertPathPKIXTrustEvaluatorTest.java:419)
	at org.opensaml.security.x509.impl.CertPathPKIXTrustEvaluatorTest.testExplicitPolicy(CertPathPKIXTrustEvaluatorTest.java:344)

[ERROR] org.opensaml.security.x509.impl.CertPathPKIXTrustEvaluatorTest.testExplicitPolicyMap  Time elapsed: 0.013 s  <<< FAILURE!
java.lang.AssertionError: Evaluation of X509Credential failed, success was expected: Intermediate CA with policy mapping, and mapping is permitted
	at org.opensaml.security.x509.impl.CertPathPKIXTrustEvaluatorTest.testValidateSuccess(CertPathPKIXTrustEvaluatorTest.java:419)
	at org.opensaml.security.x509.impl.CertPathPKIXTrustEvaluatorTest.testExplicitPolicyMap(CertPathPKIXTrustEvaluatorTest.java:360)

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   CertPathPKIXTrustEvaluatorTest.testAnyPolicy:328->testValidateSuccess:419 Evaluation of X509Credential failed, success was expected: Intermediate CA with anyPolicy (2.5.29.32.0) entry permitted
[ERROR]   CertPathPKIXTrustEvaluatorTest.testExplicitPolicy:344->testValidateSuccess:419 Evaluation of X509Credential failed, success was expected: Intermediate CA with explicit policy [1.3.6.1.4.1.32473.2011.6.20]
[ERROR]   CertPathPKIXTrustEvaluatorTest.testExplicitPolicyMap:360->testValidateSuccess:419 Evaluation of X509Credential failed, success was expected: Intermediate CA with policy mapping, and mapping is permitted
[INFO] 
[ERROR] Tests run: 158, Failures: 3, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping OpenSAML :: XML Security Implementation
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] ----------------< org.opensaml:opensaml-messaging-impl >----------------
[INFO] Building OpenSAML :: Messaging Implementations 5.0.0-SNAPSHOT    [14/23]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ opensaml-messaging-impl ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ opensaml-messaging-impl ---
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ opensaml-messaging-impl ---
[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-compiler-plugin:3.10.1:compile (default-compile) @ opensaml-messaging-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 12 source files to <http://127.0.0.1:1583/jenkins/job/java-opensaml-v5-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-messaging-impl/target/classes>
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ opensaml-messaging-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] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ opensaml-messaging-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 6 source files to <http://127.0.0.1:1583/jenkins/job/java-opensaml-v5-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-messaging-impl/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ opensaml-messaging-impl ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
[INFO] Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.759 s - in TestSuite
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 27, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] ------------------< org.opensaml:opensaml-soap-impl >-------------------
[INFO] Building OpenSAML :: SOAP Provider Implementations 5.0.0-SNAPSHOT [15/23]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ opensaml-soap-impl ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ opensaml-soap-impl ---
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ opensaml-soap-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 7 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ opensaml-soap-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 504 source files to <http://127.0.0.1:1583/jenkins/job/java-opensaml-v5-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-soap-impl/target/classes>
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v5-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-soap-impl/src/main/java/org/opensaml/soap/wstrust/impl/EntropyImpl.java>: Some input files use unchecked or unsafe operations.
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v5-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-soap-impl/src/main/java/org/opensaml/soap/wstrust/impl/EntropyImpl.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ opensaml-soap-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 9 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ opensaml-soap-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 19 source files to <http://127.0.0.1:1583/jenkins/job/java-opensaml-v5-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-soap-impl/target/test-classes>
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v5-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-soap-impl/src/test/java/org/opensaml/soap/testing/WSBaseTestCase.java>: <http://127.0.0.1:1583/jenkins/job/java-opensaml-v5-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-soap-impl/src/test/java/org/opensaml/soap/testing/WSBaseTestCase.java> uses unchecked or unsafe operations.
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v5-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-soap-impl/src/test/java/org/opensaml/soap/testing/WSBaseTestCase.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ opensaml-soap-impl ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
[INFO] Tests run: 154, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.866 s - in TestSuite
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 154, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping OpenSAML :: SAML Provider Implementations
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] ------------------< org.opensaml:opensaml-xacml-impl >------------------
[INFO] Building OpenSAML :: XACML Provider Implementations 5.0.0-SNAPSHOT [16/23]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ opensaml-xacml-impl ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ opensaml-xacml-impl ---
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ opensaml-xacml-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ opensaml-xacml-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 222 source files to <http://127.0.0.1:1583/jenkins/job/java-opensaml-v5-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-xacml-impl/target/classes>
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v5-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-xacml-impl/src/main/java/org/opensaml/xacml/ctx/impl/StatusDetailTypeImpl.java>: Some input files use unchecked or unsafe operations.
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v5-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-xacml-impl/src/main/java/org/opensaml/xacml/ctx/impl/StatusDetailTypeImpl.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ opensaml-xacml-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 111 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ opensaml-xacml-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 59 source files to <http://127.0.0.1:1583/jenkins/job/java-opensaml-v5-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-xacml-impl/target/test-classes>
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v5-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-xacml-impl/src/test/java/org/opensaml/xacml/ctx/provider/impl/ObligationServiceTest.java>: <http://127.0.0.1:1583/jenkins/job/java-opensaml-v5-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-xacml-impl/src/test/java/org/opensaml/xacml/ctx/provider/impl/ObligationServiceTest.java> uses unchecked or unsafe operations.
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v5-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-xacml-impl/src/test/java/org/opensaml/xacml/ctx/provider/impl/ObligationServiceTest.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ opensaml-xacml-impl ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
[INFO] Tests run: 452, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.354 s - in TestSuite
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 452, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping OpenSAML :: SAML XACML Profile Implementation
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping OpenSAML :: Profile Implementations
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping OpenSAML :: Spring Support
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] ---------------------< org.opensaml:opensaml-bom >----------------------
[INFO] Building OpenSAML :: BOM 5.0.0-SNAPSHOT                          [17/23]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ opensaml-bom ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ opensaml-bom ---
[INFO] 
[INFO] ------------------< org.opensaml:opensaml-tests-bom >-------------------
[INFO] Building OpenSAML :: Tests BOM 5.0.0-SNAPSHOT                    [18/23]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ opensaml-tests-bom ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ opensaml-tests-bom ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for OpenSAML 5.0.0-SNAPSHOT:
[INFO] 
[INFO] OpenSAML ........................................... SUCCESS [  1.621 s]
[INFO] OpenSAML :: Core ................................... SUCCESS [ 17.543 s]
[INFO] OpenSAML :: Storage API ............................ SUCCESS [  2.730 s]
[INFO] OpenSAML :: Messaging API .......................... SUCCESS [  4.035 s]
[INFO] OpenSAML :: Security API ........................... SUCCESS [ 20.324 s]
[INFO] OpenSAML :: XML Security API ....................... SUCCESS [ 21.841 s]
[INFO] OpenSAML :: SOAP Provider API ...................... SUCCESS [  1.346 s]
[INFO] OpenSAML :: Profile API ............................ SUCCESS [  5.034 s]
[INFO] OpenSAML :: SAML Provider API ...................... SUCCESS [  5.648 s]
[INFO] OpenSAML :: XACML Provider API ..................... SUCCESS [  0.331 s]
[INFO] OpenSAML :: SAML XACML Profile API ................. SUCCESS [  0.247 s]
[INFO] OpenSAML :: Storage Implementation ................. SUCCESS [ 24.649 s]
[INFO] OpenSAML :: Security Implementation ................ FAILURE [ 10.388 s]
[INFO] OpenSAML :: XML Security Implementation ............ SKIPPED
[INFO] OpenSAML :: Messaging Implementations .............. SUCCESS [  4.111 s]
[INFO] OpenSAML :: SOAP Provider Implementations .......... SUCCESS [ 13.320 s]
[INFO] OpenSAML :: SAML Provider Implementations .......... SKIPPED
[INFO] OpenSAML :: XACML Provider Implementations ......... SUCCESS [ 11.303 s]
[INFO] OpenSAML :: SAML XACML Profile Implementation ...... SKIPPED
[INFO] OpenSAML :: Profile Implementations ................ SKIPPED
[INFO] OpenSAML :: Spring Support ......................... SKIPPED
[INFO] OpenSAML :: BOM .................................... SUCCESS [  0.335 s]
[INFO] OpenSAML :: Tests BOM .............................. SUCCESS [  0.015 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:27 min
[INFO] Finished at: 2022-09-08T15:50:53Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on project opensaml-security-impl: There are test failures.
[ERROR] 
[ERROR] Please refer to <http://127.0.0.1:1583/jenkins/job/java-opensaml-v5-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-security-impl/target/surefire-reports> for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[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 <args> -rf :opensaml-security-impl
Build step 'Invoke top-level Maven targets' marked build as failure
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-opensaml-v5-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/113/testng/testng-results-1.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/113/testng/testng-results-10.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/113/testng/testng-results-11.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/113/testng/testng-results-2.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/113/testng/testng-results-3.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/113/testng/testng-results-4.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/113/testng/testng-results-5.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/113/testng/testng-results-6.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/113/testng/testng-results-7.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/113/testng/testng-results-8.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/113/testng/testng-results-9.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/113/testng/testng-results.xml'
0.263158% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE
TestNG Reports Processing: FINISH


More information about the commits mailing list