Testsuite: org.apache.tomcat.util.net.TestCustomSslTrustManager Tests run: 9, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 5.66 sec ------------- Standard Error ----------------- 02-Feb-2024 21:06:32.653 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[JSSE]] 02-Feb-2024 21:06:34.445 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1"] 02-Feb-2024 21:06:35.099 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-jsse-nio2-127.0.0.1-auto-1], TLS virtual host [_default_], certificate type [UNDEFINED] configured from keystore [/home/buildslave/slave/tomcat-10.1.x/build/test/org/apache/tomcat/util/net/localhost-rsa.jks] using alias [tomcat] with trust store [null] 02-Feb-2024 21:06:35.177 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Feb-2024 21:06:35.206 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 02-Feb-2024 21:06:35.534 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-35577"] 02-Feb-2024 21:06:36.825 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-35577"] 02-Feb-2024 21:06:36.827 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Feb-2024 21:06:36.858 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-35577"] 02-Feb-2024 21:06:36.863 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-35577"] 02-Feb-2024 21:06:36.891 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[JSSE]] 02-Feb-2024 21:06:36.894 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2"] 02-Feb-2024 21:06:36.973 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-jsse-nio2-127.0.0.1-auto-2], TLS virtual host [_default_], certificate type [UNDEFINED] configured from keystore [/home/buildslave/slave/tomcat-10.1.x/build/test/org/apache/tomcat/util/net/localhost-rsa.jks] using alias [tomcat] with trust store [null] 02-Feb-2024 21:06:36.983 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Feb-2024 21:06:36.983 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 02-Feb-2024 21:06:36.987 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-36839"] 02-Feb-2024 21:06:37.188 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-36839"] 02-Feb-2024 21:06:37.189 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Feb-2024 21:06:37.192 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-36839"] 02-Feb-2024 21:06:37.194 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-36839"] 02-Feb-2024 21:06:37.200 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[JSSE]] 02-Feb-2024 21:06:37.202 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3"] 02-Feb-2024 21:06:37.248 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-jsse-nio2-127.0.0.1-auto-3], TLS virtual host [_default_], certificate type [UNDEFINED] configured from keystore [/home/buildslave/slave/tomcat-10.1.x/build/test/org/apache/tomcat/util/net/localhost-rsa.jks] using alias [tomcat] with trust store [null] 02-Feb-2024 21:06:37.248 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Feb-2024 21:06:37.249 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 02-Feb-2024 21:06:37.253 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-40305"] 02-Feb-2024 21:06:37.356 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-40305"] 02-Feb-2024 21:06:37.357 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Feb-2024 21:06:37.359 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-40305"] 02-Feb-2024 21:06:37.360 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-40305"] 02-Feb-2024 21:06:37.377 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL]] 02-Feb-2024 21:06:37.382 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent An older version [1.2.38] of the Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of [2.0.5] 02-Feb-2024 21:06:37.382 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 02-Feb-2024 21:06:37.385 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 02-Feb-2024 21:06:37.386 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4"] 02-Feb-2024 21:06:37.488 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-openssl-nio2-127.0.0.1-auto-4], TLS virtual host [_default_], certificate type [UNDEFINED] configured from keystore [/home/buildslave/slave/tomcat-10.1.x/build/test/org/apache/tomcat/util/net/localhost-rsa.jks] using alias [tomcat] with trust store [null] 02-Feb-2024 21:06:37.489 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Feb-2024 21:06:37.489 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 02-Feb-2024 21:06:37.495 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-43481"] 02-Feb-2024 21:06:37.657 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-43481"] 02-Feb-2024 21:06:37.659 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Feb-2024 21:06:37.673 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-43481"] 02-Feb-2024 21:06:37.677 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-43481"] 02-Feb-2024 21:06:37.687 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL]] 02-Feb-2024 21:06:37.695 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent An older version [1.2.38] of the Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of [2.0.5] 02-Feb-2024 21:06:37.697 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 02-Feb-2024 21:06:37.698 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 02-Feb-2024 21:06:37.702 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5"] 02-Feb-2024 21:06:37.745 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-openssl-nio2-127.0.0.1-auto-5], TLS virtual host [_default_], certificate type [UNDEFINED] configured from keystore [/home/buildslave/slave/tomcat-10.1.x/build/test/org/apache/tomcat/util/net/localhost-rsa.jks] using alias [tomcat] with trust store [null] 02-Feb-2024 21:06:37.758 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Feb-2024 21:06:37.762 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 02-Feb-2024 21:06:37.778 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-45259"] 02-Feb-2024 21:06:37.881 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-45259"] 02-Feb-2024 21:06:37.883 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Feb-2024 21:06:37.893 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-45259"] 02-Feb-2024 21:06:37.896 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-45259"] 02-Feb-2024 21:06:37.901 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL]] 02-Feb-2024 21:06:37.905 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent An older version [1.2.38] of the Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of [2.0.5] 02-Feb-2024 21:06:37.906 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 02-Feb-2024 21:06:37.906 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 02-Feb-2024 21:06:37.907 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6"] 02-Feb-2024 21:06:37.922 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-openssl-nio2-127.0.0.1-auto-6], TLS virtual host [_default_], certificate type [UNDEFINED] configured from keystore [/home/buildslave/slave/tomcat-10.1.x/build/test/org/apache/tomcat/util/net/localhost-rsa.jks] using alias [tomcat] with trust store [null] 02-Feb-2024 21:06:37.922 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Feb-2024 21:06:37.922 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 02-Feb-2024 21:06:37.931 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-43145"] 02-Feb-2024 21:06:37.996 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-43145"] 02-Feb-2024 21:06:37.999 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Feb-2024 21:06:38.001 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-43145"] 02-Feb-2024 21:06:38.001 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-43145"] 02-Feb-2024 21:06:38.006 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL-FFM]] 02-Feb-2024 21:06:38.008 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-7"] 02-Feb-2024 21:06:38.012 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL-FFM]] 02-Feb-2024 21:06:38.013 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-8"] 02-Feb-2024 21:06:38.014 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL-FFM]] 02-Feb-2024 21:06:38.015 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-9"] ------------- ---------------- --------------- Testcase: testCustomTrustManagerNone[JSSE] took 4.435 sec Testcase: testCustomTrustManagerCA[JSSE] took 0.308 sec Testcase: testCustomTrustManagerAll[JSSE] took 0.177 sec Testcase: testCustomTrustManagerNone[OpenSSL] took 0.309 sec Testcase: testCustomTrustManagerCA[OpenSSL] took 0.214 sec Testcase: testCustomTrustManagerAll[OpenSSL] took 0.106 sec Testcase: testCustomTrustManagerNone[OpenSSL-FFM] took 0.006 sec SKIPPED: got: , expected: null Testcase: testCustomTrustManagerNone[OpenSSL-FFM] took 0.006 sec Testcase: testCustomTrustManagerCA[OpenSSL-FFM] took 0.002 sec SKIPPED: got: , expected: null Testcase: testCustomTrustManagerCA[OpenSSL-FFM] took 0.002 sec Testcase: testCustomTrustManagerAll[OpenSSL-FFM] took 0.002 sec SKIPPED: got: , expected: null Testcase: testCustomTrustManagerAll[OpenSSL-FFM] took 0.002 sec