Testsuite: org.apache.tomcat.util.net.TestCustomSslTrustManager Tests run: 9, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 5.633 sec ------------- Standard Error ----------------- 05-Mar-2024 13:22:48.477 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[JSSE]] 05-Mar-2024 13:22:50.275 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1"] 05-Mar-2024 13:22:50.918 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] 05-Mar-2024 13:22:51.005 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Mar-2024 13:22:51.007 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 05-Mar-2024 13:22:51.267 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-38281"] 05-Mar-2024 13:22:52.563 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-38281"] 05-Mar-2024 13:22:52.566 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Mar-2024 13:22:52.587 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-38281"] 05-Mar-2024 13:22:52.591 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-38281"] 05-Mar-2024 13:22:52.622 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[JSSE]] 05-Mar-2024 13:22:52.625 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2"] 05-Mar-2024 13:22:52.788 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] 05-Mar-2024 13:22:52.789 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Mar-2024 13:22:52.789 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 05-Mar-2024 13:22:52.797 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-43149"] 05-Mar-2024 13:22:52.926 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-43149"] 05-Mar-2024 13:22:52.928 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Mar-2024 13:22:52.932 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-43149"] 05-Mar-2024 13:22:52.932 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-43149"] 05-Mar-2024 13:22:52.940 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[JSSE]] 05-Mar-2024 13:22:52.944 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3"] 05-Mar-2024 13:22:53.005 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] 05-Mar-2024 13:22:53.014 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Mar-2024 13:22:53.014 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 05-Mar-2024 13:22:53.029 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-33611"] 05-Mar-2024 13:22:53.176 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-33611"] 05-Mar-2024 13:22:53.177 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Mar-2024 13:22:53.184 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-33611"] 05-Mar-2024 13:22:53.187 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-33611"] 05-Mar-2024 13:22:53.196 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL]] 05-Mar-2024 13:22:53.202 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] 05-Mar-2024 13:22:53.202 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 05-Mar-2024 13:22:53.204 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 05-Mar-2024 13:22:53.208 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4"] 05-Mar-2024 13:22:53.276 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] 05-Mar-2024 13:22:53.277 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Mar-2024 13:22:53.277 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 05-Mar-2024 13:22:53.288 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-34933"] 05-Mar-2024 13:22:53.489 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-34933"] 05-Mar-2024 13:22:53.490 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Mar-2024 13:22:53.494 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-34933"] 05-Mar-2024 13:22:53.495 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-34933"] 05-Mar-2024 13:22:53.505 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL]] 05-Mar-2024 13:22:53.512 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] 05-Mar-2024 13:22:53.514 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 05-Mar-2024 13:22:53.515 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 05-Mar-2024 13:22:53.516 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5"] 05-Mar-2024 13:22:53.558 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] 05-Mar-2024 13:22:53.558 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Mar-2024 13:22:53.558 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 05-Mar-2024 13:22:53.568 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-43763"] 05-Mar-2024 13:22:53.678 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-43763"] 05-Mar-2024 13:22:53.679 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Mar-2024 13:22:53.681 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-43763"] 05-Mar-2024 13:22:53.682 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-43763"] 05-Mar-2024 13:22:53.688 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL]] 05-Mar-2024 13:22:53.690 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] 05-Mar-2024 13:22:53.690 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 05-Mar-2024 13:22:53.690 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 05-Mar-2024 13:22:53.691 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6"] 05-Mar-2024 13:22:53.736 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] 05-Mar-2024 13:22:53.739 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Mar-2024 13:22:53.739 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 05-Mar-2024 13:22:53.747 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-46579"] 05-Mar-2024 13:22:53.800 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-46579"] 05-Mar-2024 13:22:53.810 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Mar-2024 13:22:53.812 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-46579"] 05-Mar-2024 13:22:53.813 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-46579"] 05-Mar-2024 13:22:53.817 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL-FFM]] 05-Mar-2024 13:22:53.819 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-7"] 05-Mar-2024 13:22:53.831 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL-FFM]] 05-Mar-2024 13:22:53.833 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-8"] 05-Mar-2024 13:22:53.834 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL-FFM]] 05-Mar-2024 13:22:53.835 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-9"] ------------- ---------------- --------------- Testcase: testCustomTrustManagerNone[JSSE] took 4.373 sec Testcase: testCustomTrustManagerCA[JSSE] took 0.317 sec Testcase: testCustomTrustManagerAll[JSSE] took 0.256 sec Testcase: testCustomTrustManagerNone[OpenSSL] took 0.306 sec Testcase: testCustomTrustManagerCA[OpenSSL] took 0.184 sec Testcase: testCustomTrustManagerAll[OpenSSL] took 0.13 sec Testcase: testCustomTrustManagerNone[OpenSSL-FFM] took 0.005 sec SKIPPED: got: , expected: null Testcase: testCustomTrustManagerNone[OpenSSL-FFM] took 0.005 sec Testcase: testCustomTrustManagerCA[OpenSSL-FFM] took 0.01 sec SKIPPED: got: , expected: null Testcase: testCustomTrustManagerCA[OpenSSL-FFM] took 0.01 sec Testcase: testCustomTrustManagerAll[OpenSSL-FFM] took 0.002 sec SKIPPED: got: , expected: null Testcase: testCustomTrustManagerAll[OpenSSL-FFM] took 0.002 sec