Testsuite: org.apache.tomcat.util.net.TestCustomSslTrustManager Tests run: 9, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 5.249 sec ------------- Standard Error ----------------- 06-Dec-2024 16:56:25.001 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[JSSE]] 06-Dec-2024 16:56:26.390 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1"] 06-Dec-2024 16:56:26.871 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] 06-Dec-2024 16:56:26.915 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Dec-2024 16:56:26.928 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 06-Dec-2024 16:56:27.167 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-43235"] 06-Dec-2024 16:56:28.081 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-43235"] 06-Dec-2024 16:56:28.083 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Dec-2024 16:56:28.109 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-43235"] 06-Dec-2024 16:56:28.112 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-43235"] 06-Dec-2024 16:56:28.132 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[JSSE]] 06-Dec-2024 16:56:28.153 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2"] 06-Dec-2024 16:56:28.264 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] 06-Dec-2024 16:56:28.270 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Dec-2024 16:56:28.271 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 06-Dec-2024 16:56:28.308 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-36309"] 06-Dec-2024 16:56:28.526 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-36309"] 06-Dec-2024 16:56:28.535 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Dec-2024 16:56:28.549 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-36309"] 06-Dec-2024 16:56:28.551 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-36309"] 06-Dec-2024 16:56:28.556 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[JSSE]] 06-Dec-2024 16:56:28.571 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3"] 06-Dec-2024 16:56:28.665 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] 06-Dec-2024 16:56:28.671 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Dec-2024 16:56:28.671 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 06-Dec-2024 16:56:28.679 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-36601"] 06-Dec-2024 16:56:28.815 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-36601"] 06-Dec-2024 16:56:28.816 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Dec-2024 16:56:28.825 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-36601"] 06-Dec-2024 16:56:28.827 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-36601"] 06-Dec-2024 16:56:28.837 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL]] 06-Dec-2024 16:56:28.844 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] 06-Dec-2024 16:56:28.844 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 06-Dec-2024 16:56:28.847 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 06-Dec-2024 16:56:28.851 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4"] 06-Dec-2024 16:56:29.026 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] 06-Dec-2024 16:56:29.029 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Dec-2024 16:56:29.032 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 06-Dec-2024 16:56:29.059 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-44849"] 06-Dec-2024 16:56:29.250 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-44849"] 06-Dec-2024 16:56:29.251 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Dec-2024 16:56:29.259 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-44849"] 06-Dec-2024 16:56:29.260 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-44849"] 06-Dec-2024 16:56:29.319 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL]] 06-Dec-2024 16:56:29.321 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] 06-Dec-2024 16:56:29.321 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 06-Dec-2024 16:56:29.321 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 06-Dec-2024 16:56:29.322 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5"] 06-Dec-2024 16:56:29.472 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] 06-Dec-2024 16:56:29.472 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Dec-2024 16:56:29.473 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 06-Dec-2024 16:56:29.495 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-46087"] 06-Dec-2024 16:56:29.605 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-46087"] 06-Dec-2024 16:56:29.606 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Dec-2024 16:56:29.609 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-46087"] 06-Dec-2024 16:56:29.610 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-46087"] 06-Dec-2024 16:56:29.650 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL]] 06-Dec-2024 16:56:29.652 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] 06-Dec-2024 16:56:29.653 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 06-Dec-2024 16:56:29.653 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 06-Dec-2024 16:56:29.654 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6"] 06-Dec-2024 16:56:29.779 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] 06-Dec-2024 16:56:29.780 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Dec-2024 16:56:29.782 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 06-Dec-2024 16:56:29.798 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-38257"] 06-Dec-2024 16:56:29.907 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-38257"] 06-Dec-2024 16:56:29.908 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Dec-2024 16:56:29.913 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-38257"] 06-Dec-2024 16:56:29.914 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-38257"] 06-Dec-2024 16:56:29.952 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL-FFM]] 06-Dec-2024 16:56:29.955 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-7"] 06-Dec-2024 16:56:29.962 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL-FFM]] 06-Dec-2024 16:56:29.964 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-8"] 06-Dec-2024 16:56:29.965 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL-FFM]] 06-Dec-2024 16:56:30.001 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-9"] ------------- ---------------- --------------- Testcase: testCustomTrustManagerNone[JSSE] took 3.292 sec Testcase: testCustomTrustManagerCA[JSSE] took 0.423 sec Testcase: testCustomTrustManagerAll[JSSE] took 0.274 sec Testcase: testCustomTrustManagerNone[OpenSSL] took 0.487 sec Testcase: testCustomTrustManagerCA[OpenSSL] took 0.332 sec Testcase: testCustomTrustManagerAll[OpenSSL] took 0.3 sec Testcase: testCustomTrustManagerNone[OpenSSL-FFM] took 0.011 sec SKIPPED: got: , expected: is Testcase: testCustomTrustManagerNone[OpenSSL-FFM] took 0.011 sec Testcase: testCustomTrustManagerCA[OpenSSL-FFM] took 0.002 sec SKIPPED: got: , expected: is Testcase: testCustomTrustManagerCA[OpenSSL-FFM] took 0.002 sec Testcase: testCustomTrustManagerAll[OpenSSL-FFM] took 0.037 sec SKIPPED: got: , expected: is Testcase: testCustomTrustManagerAll[OpenSSL-FFM] took 0.037 sec