Testsuite: org.apache.tomcat.util.net.TestCustomSslTrustManager Tests run: 9, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 5.783 sec ------------- Standard Error ----------------- 16-Feb-2024 15:23:47.804 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[JSSE]] 16-Feb-2024 15:23:49.544 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1"] 16-Feb-2024 15:23:50.212 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] 16-Feb-2024 15:23:50.268 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 15:23:50.279 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 16-Feb-2024 15:23:50.578 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-38875"] 16-Feb-2024 15:23:52.014 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-38875"] 16-Feb-2024 15:23:52.026 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 15:23:52.079 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-38875"] 16-Feb-2024 15:23:52.082 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-38875"] 16-Feb-2024 15:23:52.109 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[JSSE]] 16-Feb-2024 15:23:52.137 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2"] 16-Feb-2024 15:23:52.275 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] 16-Feb-2024 15:23:52.278 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 15:23:52.278 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 16-Feb-2024 15:23:52.293 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-33807"] 16-Feb-2024 15:23:52.455 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-33807"] 16-Feb-2024 15:23:52.459 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 15:23:52.477 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-33807"] 16-Feb-2024 15:23:52.478 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-33807"] 16-Feb-2024 15:23:52.491 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[JSSE]] 16-Feb-2024 15:23:52.499 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3"] 16-Feb-2024 15:23:52.579 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] 16-Feb-2024 15:23:52.582 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 15:23:52.582 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 16-Feb-2024 15:23:52.608 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-41553"] 16-Feb-2024 15:23:52.701 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-41553"] 16-Feb-2024 15:23:52.702 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 15:23:52.709 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-41553"] 16-Feb-2024 15:23:52.711 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-41553"] 16-Feb-2024 15:23:52.716 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL]] 16-Feb-2024 15:23:52.750 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] 16-Feb-2024 15:23:52.751 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 16-Feb-2024 15:23:52.755 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 16-Feb-2024 15:23:52.760 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4"] 16-Feb-2024 15:23:52.810 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] 16-Feb-2024 15:23:52.811 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 15:23:52.811 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 16-Feb-2024 15:23:52.847 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-45943"] 16-Feb-2024 15:23:53.020 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-45943"] 16-Feb-2024 15:23:53.021 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 15:23:53.024 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-45943"] 16-Feb-2024 15:23:53.026 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-45943"] 16-Feb-2024 15:23:53.030 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL]] 16-Feb-2024 15:23:53.032 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] 16-Feb-2024 15:23:53.032 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 16-Feb-2024 15:23:53.033 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 16-Feb-2024 15:23:53.034 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5"] 16-Feb-2024 15:23:53.066 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] 16-Feb-2024 15:23:53.067 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 15:23:53.067 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 16-Feb-2024 15:23:53.081 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-37129"] 16-Feb-2024 15:23:53.160 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-37129"] 16-Feb-2024 15:23:53.161 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 15:23:53.163 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-37129"] 16-Feb-2024 15:23:53.164 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-37129"] 16-Feb-2024 15:23:53.172 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL]] 16-Feb-2024 15:23:53.174 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] 16-Feb-2024 15:23:53.174 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 16-Feb-2024 15:23:53.174 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 16-Feb-2024 15:23:53.175 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6"] 16-Feb-2024 15:23:53.206 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] 16-Feb-2024 15:23:53.207 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 15:23:53.207 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 16-Feb-2024 15:23:53.215 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-44063"] 16-Feb-2024 15:23:53.271 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-44063"] 16-Feb-2024 15:23:53.272 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 15:23:53.274 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-44063"] 16-Feb-2024 15:23:53.276 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-44063"] 16-Feb-2024 15:23:53.280 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL-FFM]] 16-Feb-2024 15:23:53.290 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-7"] 16-Feb-2024 15:23:53.298 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL-FFM]] 16-Feb-2024 15:23:53.300 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-8"] 16-Feb-2024 15:23:53.301 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL-FFM]] 16-Feb-2024 15:23:53.303 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-9"] ------------- ---------------- --------------- Testcase: testCustomTrustManagerNone[JSSE] took 4.516 sec Testcase: testCustomTrustManagerCA[JSSE] took 0.382 sec Testcase: testCustomTrustManagerAll[JSSE] took 0.224 sec Testcase: testCustomTrustManagerNone[OpenSSL] took 0.313 sec Testcase: testCustomTrustManagerCA[OpenSSL] took 0.141 sec Testcase: testCustomTrustManagerAll[OpenSSL] took 0.109 sec Testcase: testCustomTrustManagerNone[OpenSSL-FFM] took 0.017 sec SKIPPED: got: , expected: null Testcase: testCustomTrustManagerNone[OpenSSL-FFM] took 0.017 sec Testcase: testCustomTrustManagerCA[OpenSSL-FFM] took 0.003 sec SKIPPED: got: , expected: null Testcase: testCustomTrustManagerCA[OpenSSL-FFM] took 0.003 sec Testcase: testCustomTrustManagerAll[OpenSSL-FFM] took 0.002 sec SKIPPED: got: , expected: null Testcase: testCustomTrustManagerAll[OpenSSL-FFM] took 0.002 sec