Testsuite: org.apache.tomcat.util.net.TestCustomSslTrustManager Tests run: 9, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 5.607 sec ------------- Standard Error ----------------- 28-Nov-2024 11:36:47.661 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[JSSE]] 28-Nov-2024 11:36:49.106 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1"] 28-Nov-2024 11:36:49.617 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] 28-Nov-2024 11:36:49.680 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:36:49.684 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:36:49.874 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-35517"] 28-Nov-2024 11:36:51.060 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-35517"] 28-Nov-2024 11:36:51.076 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:36:51.144 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-35517"] 28-Nov-2024 11:36:51.147 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-35517"] 28-Nov-2024 11:36:51.184 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[JSSE]] 28-Nov-2024 11:36:51.202 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2"] 28-Nov-2024 11:36:51.319 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] 28-Nov-2024 11:36:51.320 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:36:51.328 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:36:51.337 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-45827"] 28-Nov-2024 11:36:51.552 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-45827"] 28-Nov-2024 11:36:51.555 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:36:51.558 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-45827"] 28-Nov-2024 11:36:51.559 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-45827"] 28-Nov-2024 11:36:51.565 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[JSSE]] 28-Nov-2024 11:36:51.568 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3"] 28-Nov-2024 11:36:51.638 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] 28-Nov-2024 11:36:51.638 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:36:51.639 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:36:51.665 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-43013"] 28-Nov-2024 11:36:51.790 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-43013"] 28-Nov-2024 11:36:51.791 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:36:51.794 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-43013"] 28-Nov-2024 11:36:51.795 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-43013"] 28-Nov-2024 11:36:51.802 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL]] 28-Nov-2024 11:36:51.821 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] 28-Nov-2024 11:36:51.831 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 28-Nov-2024 11:36:51.834 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 28-Nov-2024 11:36:51.840 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4"] 28-Nov-2024 11:36:52.020 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] 28-Nov-2024 11:36:52.025 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:36:52.027 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:36:52.064 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-41503"] 28-Nov-2024 11:36:52.244 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-41503"] 28-Nov-2024 11:36:52.246 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:36:52.263 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-41503"] 28-Nov-2024 11:36:52.265 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-41503"] 28-Nov-2024 11:36:52.332 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL]] 28-Nov-2024 11:36:52.334 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] 28-Nov-2024 11:36:52.334 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 28-Nov-2024 11:36:52.335 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 28-Nov-2024 11:36:52.335 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5"] 28-Nov-2024 11:36:52.506 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] 28-Nov-2024 11:36:52.507 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:36:52.508 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:36:52.521 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-40239"] 28-Nov-2024 11:36:52.621 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-40239"] 28-Nov-2024 11:36:52.622 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:36:52.632 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-40239"] 28-Nov-2024 11:36:52.634 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-40239"] 28-Nov-2024 11:36:52.676 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL]] 28-Nov-2024 11:36:52.678 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] 28-Nov-2024 11:36:52.678 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 28-Nov-2024 11:36:52.678 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 28-Nov-2024 11:36:52.679 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6"] 28-Nov-2024 11:36:52.785 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] 28-Nov-2024 11:36:52.786 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:36:52.786 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:36:52.819 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-34217"] 28-Nov-2024 11:36:52.935 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-34217"] 28-Nov-2024 11:36:52.936 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:36:52.941 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-34217"] 28-Nov-2024 11:36:52.944 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-34217"] 28-Nov-2024 11:36:52.982 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL-FFM]] 28-Nov-2024 11:36:52.985 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-7"] 28-Nov-2024 11:36:52.995 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL-FFM]] 28-Nov-2024 11:36:53.024 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-8"] 28-Nov-2024 11:36:53.029 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL-FFM]] 28-Nov-2024 11:36:53.037 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-9"] ------------- ---------------- --------------- Testcase: testCustomTrustManagerNone[JSSE] took 3.634 sec Testcase: testCustomTrustManagerCA[JSSE] took 0.389 sec Testcase: testCustomTrustManagerAll[JSSE] took 0.237 sec Testcase: testCustomTrustManagerNone[OpenSSL] took 0.53 sec Testcase: testCustomTrustManagerCA[OpenSSL] took 0.34 sec Testcase: testCustomTrustManagerAll[OpenSSL] took 0.306 sec Testcase: testCustomTrustManagerNone[OpenSSL-FFM] took 0.016 sec SKIPPED: got: , expected: is Testcase: testCustomTrustManagerNone[OpenSSL-FFM] took 0.016 sec Testcase: testCustomTrustManagerCA[OpenSSL-FFM] took 0.032 sec SKIPPED: got: , expected: is Testcase: testCustomTrustManagerCA[OpenSSL-FFM] took 0.035 sec Testcase: testCustomTrustManagerAll[OpenSSL-FFM] took 0.011 sec SKIPPED: got: , expected: is Testcase: testCustomTrustManagerAll[OpenSSL-FFM] took 0.011 sec