Build failed in Jenkins: java-opensaml-v4-multi » RedHat-17,Rocky9 #924

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


See <http://127.0.0.1:1583/jenkins/job/java-opensaml-v4-multi/jdk=RedHat-17,label=Rocky9/924/display/redirect>

Changes:


------------------------------------------
[...truncated 54.21 KB...]
[INFO] 
[INFO] Tests run: 1176, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] ----------------< org.opensaml:opensaml-security-impl >-----------------
[INFO] Building OpenSAML :: Security Implementation 4.3.0-SNAPSHOT      [13/22]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ opensaml-security-impl ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ opensaml-security-impl ---
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ opensaml-security-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:compile (default-compile) @ opensaml-security-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 63 source files to <http://127.0.0.1:1583/jenkins/job/java-opensaml-v4-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-security-impl/target/classes>
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v4-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-security-impl/src/main/java/org/opensaml/security/x509/impl/KeyStoreX509CredentialAdapter.java>: Some input files use unchecked or unsafe operations.
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v4-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-security-impl/src/main/java/org/opensaml/security/x509/impl/KeyStoreX509CredentialAdapter.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ opensaml-security-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 48 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ opensaml-security-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 32 source files to <http://127.0.0.1:1583/jenkins/job/java-opensaml-v4-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-security-impl/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ opensaml-security-impl ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
[ERROR] Tests run: 158, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 10.521 s <<< FAILURE! - in TestSuite
[ERROR] org.opensaml.security.x509.impl.CertPathPKIXTrustEvaluatorTest.testAnyPolicy  Time elapsed: 0.129 s  <<< FAILURE!
java.lang.AssertionError: Evaluation of X509Credential failed, success was expected: Intermediate CA with anyPolicy (2.5.29.32.0) entry permitted
	at org.opensaml.security.x509.impl.CertPathPKIXTrustEvaluatorTest.testValidateSuccess(CertPathPKIXTrustEvaluatorTest.java:419)
	at org.opensaml.security.x509.impl.CertPathPKIXTrustEvaluatorTest.testAnyPolicy(CertPathPKIXTrustEvaluatorTest.java:328)

[ERROR] org.opensaml.security.x509.impl.CertPathPKIXTrustEvaluatorTest.testExplicitPolicy  Time elapsed: 0.035 s  <<< FAILURE!
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.018 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 4.3.0-SNAPSHOT    [14/22]
[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-v4-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-v4-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: 1.41 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 4.3.0-SNAPSHOT [15/22]
[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-v4-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-soap-impl/target/classes>
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v4-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-soap-impl/src/main/java/org/opensaml/soap/wssecurity/impl/TransformationParametersImpl.java>: Some input files use unchecked or unsafe operations.
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v4-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-soap-impl/src/main/java/org/opensaml/soap/wssecurity/impl/TransformationParametersImpl.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-v4-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-soap-impl/target/test-classes>
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v4-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-v4-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-v4-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: 3.848 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] ------------------------------------------------------------------------
[INFO] Skipping OpenSAML :: XACML Provider Implementations
[INFO] This project has been banned from the build due to previous failures.
[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] ---------------------< org.opensaml:opensaml-bom >----------------------
[INFO] Building OpenSAML :: BOM 4.3.0-SNAPSHOT                          [16/22]
[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 4.3.0-SNAPSHOT                    [17/22]
[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 4.3.0-SNAPSHOT:
[INFO] 
[INFO] OpenSAML ........................................... SUCCESS [  0.863 s]
[INFO] OpenSAML :: Core ................................... SUCCESS [ 11.693 s]
[INFO] OpenSAML :: Storage API ............................ SUCCESS [  1.828 s]
[INFO] OpenSAML :: Messaging API .......................... SUCCESS [  1.929 s]
[INFO] OpenSAML :: Security API ........................... SUCCESS [  8.026 s]
[INFO] OpenSAML :: XML Security API ....................... SUCCESS [ 10.532 s]
[INFO] OpenSAML :: SOAP Provider API ...................... SUCCESS [  0.591 s]
[INFO] OpenSAML :: Profile API ............................ SUCCESS [  1.849 s]
[INFO] OpenSAML :: SAML Provider API ...................... SUCCESS [  2.836 s]
[INFO] OpenSAML :: XACML Provider API ..................... SUCCESS [  0.221 s]
[INFO] OpenSAML :: SAML XACML Profile API ................. SUCCESS [  0.170 s]
[INFO] OpenSAML :: Storage Implementation ................. SUCCESS [01:04 min]
[INFO] OpenSAML :: Security Implementation ................ FAILURE [ 13.407 s]
[INFO] OpenSAML :: XML Security Implementation ............ SKIPPED
[INFO] OpenSAML :: Messaging Implementations .............. SUCCESS [  2.069 s]
[INFO] OpenSAML :: SOAP Provider Implementations .......... SUCCESS [  5.915 s]
[INFO] OpenSAML :: SAML Provider Implementations .......... SKIPPED
[INFO] OpenSAML :: XACML Provider Implementations ......... SKIPPED
[INFO] OpenSAML :: SAML XACML Profile Implementation ...... SKIPPED
[INFO] OpenSAML :: Profile Implementations ................ SKIPPED
[INFO] OpenSAML :: BOM .................................... SUCCESS [  0.159 s]
[INFO] OpenSAML :: Tests BOM .............................. SUCCESS [  0.012 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:07 min
[INFO] Finished at: 2022-09-08T03:15:54Z
[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-v4-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-v4-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/924/testng/testng-results-1.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v4-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/924/testng/testng-results-10.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v4-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/924/testng/testng-results-2.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v4-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/924/testng/testng-results-3.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v4-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/924/testng/testng-results-4.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v4-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/924/testng/testng-results-5.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v4-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/924/testng/testng-results-6.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v4-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/924/testng/testng-results-7.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v4-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/924/testng/testng-results-8.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v4-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/924/testng/testng-results-9.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v4-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/924/testng/testng-results.xml'
0.165929% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE
TestNG Reports Processing: FINISH


More information about the commits mailing list