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

Shibboleth Jenkins noreply at shibboleth.net
Thu Sep 8 02:17:26 UTC 2022


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

Changes:


------------------------------------------
[...truncated 54.45 KB...]
[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-v5-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-security-impl/target/classes>
[INFO] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v5-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-security-impl/src/main/java/org/opensaml/security/x509/impl/X509KeyManagerX509CredentialAdapter.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-security-impl/src/main/java/org/opensaml/security/x509/impl/X509KeyManagerX509CredentialAdapter.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-v5-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-security-impl/target/test-classes>
[WARNING] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v5-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-security-impl/src/test/java/org/opensaml/security/httpclient/impl/MockSSLSession.java>:[97,50] getPeerCertificateChain() in javax.net.ssl.SSLSession has been deprecated and marked for removal
[WARNING] <http://127.0.0.1:1583/jenkins/job/java-opensaml-v5-multi/jdk=RedHat-17,label=Rocky9/ws/opensaml-security-impl/src/test/java/org/opensaml/security/httpclient/impl/MockSSLSession.java>:[97,31] javax.security.cert.X509Certificate in javax.security.cert has been deprecated and marked for removal
[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.063 s <<< FAILURE! - in TestSuite
[ERROR] org.opensaml.security.x509.impl.CertPathPKIXTrustEvaluatorTest.testAnyPolicy  Time elapsed: 0.047 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.029 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.016 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: 3.004 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: 8.049 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] ------------------------------------------------------------------------
[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                          [16/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                    [17/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.277 s]
[INFO] OpenSAML :: Core ................................... SUCCESS [ 19.613 s]
[INFO] OpenSAML :: Storage API ............................ SUCCESS [  3.012 s]
[INFO] OpenSAML :: Messaging API .......................... SUCCESS [  4.201 s]
[INFO] OpenSAML :: Security API ........................... SUCCESS [ 20.669 s]
[INFO] OpenSAML :: XML Security API ....................... SUCCESS [ 24.910 s]
[INFO] OpenSAML :: SOAP Provider API ...................... SUCCESS [  1.465 s]
[INFO] OpenSAML :: Profile API ............................ SUCCESS [  4.777 s]
[INFO] OpenSAML :: SAML Provider API ...................... SUCCESS [  6.779 s]
[INFO] OpenSAML :: XACML Provider API ..................... SUCCESS [  0.447 s]
[INFO] OpenSAML :: SAML XACML Profile API ................. SUCCESS [  0.396 s]
[INFO] OpenSAML :: Storage Implementation ................. SUCCESS [ 24.856 s]
[INFO] OpenSAML :: Security Implementation ................ FAILURE [ 13.014 s]
[INFO] OpenSAML :: XML Security Implementation ............ SKIPPED
[INFO] OpenSAML :: Messaging Implementations .............. SUCCESS [  4.599 s]
[INFO] OpenSAML :: SOAP Provider Implementations .......... SUCCESS [ 13.186 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 :: Spring Support ......................... SKIPPED
[INFO] OpenSAML :: BOM .................................... SUCCESS [  0.408 s]
[INFO] OpenSAML :: Tests BOM .............................. SUCCESS [  0.025 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:25 min
[INFO] Finished at: 2022-09-08T02:17:25Z
[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/111/testng/testng-results-1.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/111/testng/testng-results-10.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/111/testng/testng-results-2.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/111/testng/testng-results-3.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/111/testng/testng-results-4.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/111/testng/testng-results-5.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/111/testng/testng-results-6.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/111/testng/testng-results-7.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/111/testng/testng-results-8.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/111/testng/testng-results-9.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/RedHat-17/axis-label/Rocky9/builds/111/testng/testng-results.xml'
0.436047% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE
TestNG Reports Processing: FINISH


More information about the commits mailing list