Build failed in Jenkins: java-opensaml-v5-multi » OpenJDK-21,Windows2022 #393

Shibboleth Jenkins noreply at shibboleth.net
Sun Jun 4 02:32:27 UTC 2023


See <http://127.0.0.1:1583/jenkins/job/java-opensaml-v5-multi/jdk=OpenJDK-21,label=Windows2022/393/display/redirect>

Changes:


------------------------------------------
[...truncated 75.54 KB...]
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: java.lang.NullPointerException: Cannot invoke "io.netty.handler.ssl.SslHandler.handshakeFuture()" because "handler" is null
	at org.ldaptive.transport.netty.NettyConnection.waitForSSLHandshake(NettyConnection.java:476)
	at org.ldaptive.transport.netty.NettyConnection.operation(NettyConnection.java:548)
	at org.ldaptive.transport.netty.NettyConnection.open(NettyConnection.java:301)
	at org.ldaptive.transport.TransportConnection.strategyOpen(TransportConnection.java:171)
	at org.ldaptive.transport.TransportConnection.open(TransportConnection.java:83)
	at org.opensaml.security.trust.impl.TrustEngineX509TrustManagerTest.doOpen(TrustEngineX509TrustManagerTest.java:153)
	at org.opensaml.security.trust.impl.TrustEngineX509TrustManagerTest.testNullTrust(TrustEngineX509TrustManagerTest.java:113)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
	at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:135)
	at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:673)
	... 27 more

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   TrustEngineX509TrustManagerTest.testNullTrust » Test 
Expected exception of type class org.ldaptive.ConnectException but got java.lang.NullPointerException: Cannot invoke "io.netty.handler.ssl.SslHandler.handshakeFuture()" because "handler" is null
[INFO] 
[ERROR] Tests run: 188, Failures: 1, 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    [16/24]
[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 11 source files to C:\opt\jenkins\workspace\java-opensaml-v5-multi\jdk\OpenJDK-21\label\Windows2022\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 5 source files to C:\opt\jenkins\workspace\java-opensaml-v5-multi\jdk\OpenJDK-21\label\Windows2022\opensaml-messaging-impl\target\test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0:test (default-test) @ opensaml-messaging-impl ---
[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: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.392 s - in TestSuite
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] ------------------< org.opensaml:opensaml-soap-impl >-------------------
[INFO] Building OpenSAML :: SOAP Provider Implementations 5.0.0-SNAPSHOT [17/24]
[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 C:\opt\jenkins\workspace\java-opensaml-v5-multi\jdk\OpenJDK-21\label\Windows2022\opensaml-soap-impl\target\classes
[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 C:\opt\jenkins\workspace\java-opensaml-v5-multi\jdk\OpenJDK-21\label\Windows2022\opensaml-soap-impl\target\test-classes
[INFO] /C:/opt/jenkins/workspace/java-opensaml-v5-multi/jdk/OpenJDK-21/label/Windows2022/opensaml-soap-impl/src/test/java/org/opensaml/soap/testing/WSBaseTestCase.java: C:\opt\jenkins\workspace\java-opensaml-v5-multi\jdk\OpenJDK-21\label\Windows2022\opensaml-soap-impl\src\test\java\org\opensaml\soap\testing\WSBaseTestCase.java uses unchecked or unsafe operations.
[INFO] /C:/opt/jenkins/workspace/java-opensaml-v5-multi/jdk/OpenJDK-21/label/Windows2022/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:test (default-test) @ opensaml-soap-impl ---
[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: 154, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.032 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 [18/24]
[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 C:\opt\jenkins\workspace\java-opensaml-v5-multi\jdk\OpenJDK-21\label\Windows2022\opensaml-xacml-impl\target\classes
[INFO] /C:/opt/jenkins/workspace/java-opensaml-v5-multi/jdk/OpenJDK-21/label/Windows2022/opensaml-xacml-impl/src/main/java/org/opensaml/xacml/policy/impl/ResourceMatchTypeImpl.java: Some input files use unchecked or unsafe operations.
[INFO] /C:/opt/jenkins/workspace/java-opensaml-v5-multi/jdk/OpenJDK-21/label/Windows2022/opensaml-xacml-impl/src/main/java/org/opensaml/xacml/policy/impl/ResourceMatchTypeImpl.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 C:\opt\jenkins\workspace\java-opensaml-v5-multi\jdk\OpenJDK-21\label\Windows2022\opensaml-xacml-impl\target\test-classes
[INFO] /C:/opt/jenkins/workspace/java-opensaml-v5-multi/jdk/OpenJDK-21/label/Windows2022/opensaml-xacml-impl/src/test/java/org/opensaml/xacml/ctx/provider/impl/ObligationServiceTest.java: C:\opt\jenkins\workspace\java-opensaml-v5-multi\jdk\OpenJDK-21\label\Windows2022\opensaml-xacml-impl\src\test\java\org\opensaml\xacml\ctx\provider\impl\ObligationServiceTest.java uses unchecked or unsafe operations.
[INFO] /C:/opt/jenkins/workspace/java-opensaml-v5-multi/jdk/OpenJDK-21/label/Windows2022/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:test (default-test) @ opensaml-xacml-impl ---
[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: 452, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.239 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                          [19/24]
[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] Reactor Summary for OpenSAML 5.0.0-SNAPSHOT:
[INFO] 
[INFO] OpenSAML ........................................... SUCCESS [  0.733 s]
[INFO] OpenSAML :: Core API ............................... SUCCESS [ 13.982 s]
[INFO] OpenSAML :: Storage API ............................ SUCCESS [  0.672 s]
[INFO] OpenSAML :: Messaging API .......................... SUCCESS [ 11.237 s]
[INFO] OpenSAML :: Security API ........................... SUCCESS [ 20.015 s]
[INFO] OpenSAML :: XML Security API ....................... SUCCESS [ 13.255 s]
[INFO] OpenSAML :: SOAP Provider API ...................... SUCCESS [  2.516 s]
[INFO] OpenSAML :: Profile API ............................ SUCCESS [ 10.911 s]
[INFO] OpenSAML :: SAML Provider API ...................... SUCCESS [ 15.306 s]
[INFO] OpenSAML :: XACML Provider API ..................... SUCCESS [  0.771 s]
[INFO] OpenSAML :: SAML XACML Profile API ................. SUCCESS [  0.341 s]
[INFO] OpenSAML :: Testing ................................ SUCCESS [  0.812 s]
[INFO] OpenSAML :: Core Implementation .................... SUCCESS [ 17.561 s]
[INFO] OpenSAML :: Storage Implementation ................. SUCCESS [ 31.074 s]
[INFO] OpenSAML :: Security Implementation ................ FAILURE [ 20.239 s]
[INFO] OpenSAML :: XML Security Implementation ............ SKIPPED
[INFO] OpenSAML :: Messaging Implementations .............. SUCCESS [ 13.921 s]
[INFO] OpenSAML :: SOAP Provider Implementations .......... SUCCESS [ 23.213 s]
[INFO] OpenSAML :: SAML Provider Implementations .......... SKIPPED
[INFO] OpenSAML :: XACML Provider Implementations ......... SUCCESS [ 19.146 s]
[INFO] OpenSAML :: SAML XACML Profile Implementation ...... SKIPPED
[INFO] OpenSAML :: Profile Implementations ................ SKIPPED
[INFO] OpenSAML :: Spring Support ......................... SKIPPED
[INFO] OpenSAML :: BOM .................................... SUCCESS [  0.847 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  03:45 min
[INFO] Finished at: 2023-06-04T02:32:26Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0:test (default-test) on project opensaml-security-impl: There are test failures.
[ERROR] 
[ERROR] Please refer to C:\opt\jenkins\workspace\java-opensaml-v5-multi\jdk\OpenJDK-21\label\Windows2022\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/OpenJDK-21/axis-label/Windows2022/builds/393/testng/testng-results-1.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/OpenJDK-21/axis-label/Windows2022/builds/393/testng/testng-results-10.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/OpenJDK-21/axis-label/Windows2022/builds/393/testng/testng-results-11.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/OpenJDK-21/axis-label/Windows2022/builds/393/testng/testng-results-2.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/OpenJDK-21/axis-label/Windows2022/builds/393/testng/testng-results-3.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/OpenJDK-21/axis-label/Windows2022/builds/393/testng/testng-results-4.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/OpenJDK-21/axis-label/Windows2022/builds/393/testng/testng-results-5.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/OpenJDK-21/axis-label/Windows2022/builds/393/testng/testng-results-6.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/OpenJDK-21/axis-label/Windows2022/builds/393/testng/testng-results-7.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/OpenJDK-21/axis-label/Windows2022/builds/393/testng/testng-results-8.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/OpenJDK-21/axis-label/Windows2022/builds/393/testng/testng-results-9.xml'
Processing '/var/lib/jenkins/jobs/java-opensaml-v5-multi/configurations/axis-jdk/OpenJDK-21/axis-label/Windows2022/builds/393/testng/testng-results.xml'
0.091659% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE
TestNG Reports Processing: FINISH


More information about the commits mailing list