Testsuite: org.apache.tomcat.util.net.TestCustomSslTrustManager Tests run: 9, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 5.756 sec ------------- Standard Error ----------------- 28-Dec-2023 12:57:10.747 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[JSSE]] 28-Dec-2023 12:57:12.243 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1"] 28-Dec-2023 12:57:12.879 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-Dec-2023 12:57:12.960 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Dec-2023 12:57:12.961 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 28-Dec-2023 12:57:13.208 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-42335"] 28-Dec-2023 12:57:14.555 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-42335"] 28-Dec-2023 12:57:14.557 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Dec-2023 12:57:14.619 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-42335"] 28-Dec-2023 12:57:14.652 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-42335"] 28-Dec-2023 12:57:14.682 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[JSSE]] 28-Dec-2023 12:57:14.702 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2"] 28-Dec-2023 12:57:14.786 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-Dec-2023 12:57:14.788 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Dec-2023 12:57:14.789 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 28-Dec-2023 12:57:14.838 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-35645"] 28-Dec-2023 12:57:15.092 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-35645"] 28-Dec-2023 12:57:15.093 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Dec-2023 12:57:15.100 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-35645"] 28-Dec-2023 12:57:15.110 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-35645"] 28-Dec-2023 12:57:15.114 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[JSSE]] 28-Dec-2023 12:57:15.133 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3"] 28-Dec-2023 12:57:15.202 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-Dec-2023 12:57:15.205 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Dec-2023 12:57:15.209 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 28-Dec-2023 12:57:15.217 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-41249"] 28-Dec-2023 12:57:15.366 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-41249"] 28-Dec-2023 12:57:15.367 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Dec-2023 12:57:15.369 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-41249"] 28-Dec-2023 12:57:15.371 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-41249"] 28-Dec-2023 12:57:15.375 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL]] 28-Dec-2023 12:57:15.383 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-Dec-2023 12:57:15.388 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 28-Dec-2023 12:57:15.390 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 28-Dec-2023 12:57:15.391 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4"] 28-Dec-2023 12:57:15.452 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-Dec-2023 12:57:15.453 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Dec-2023 12:57:15.453 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 28-Dec-2023 12:57:15.459 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-46671"] 28-Dec-2023 12:57:15.636 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-46671"] 28-Dec-2023 12:57:15.637 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Dec-2023 12:57:15.641 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-46671"] 28-Dec-2023 12:57:15.642 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-46671"] 28-Dec-2023 12:57:15.645 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL]] 28-Dec-2023 12:57:15.649 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-Dec-2023 12:57:15.654 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 28-Dec-2023 12:57:15.655 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 28-Dec-2023 12:57:15.656 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5"] 28-Dec-2023 12:57:15.698 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-Dec-2023 12:57:15.699 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Dec-2023 12:57:15.699 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 28-Dec-2023 12:57:15.739 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-46029"] 28-Dec-2023 12:57:15.819 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-46029"] 28-Dec-2023 12:57:15.820 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Dec-2023 12:57:15.822 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-46029"] 28-Dec-2023 12:57:15.823 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-46029"] 28-Dec-2023 12:57:15.833 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL]] 28-Dec-2023 12:57:15.837 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-Dec-2023 12:57:15.838 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 28-Dec-2023 12:57:15.838 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 28-Dec-2023 12:57:15.853 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6"] 28-Dec-2023 12:57:15.921 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-Dec-2023 12:57:15.922 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Dec-2023 12:57:15.922 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 28-Dec-2023 12:57:15.926 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-41023"] 28-Dec-2023 12:57:15.998 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-41023"] 28-Dec-2023 12:57:16.002 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Dec-2023 12:57:16.005 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-41023"] 28-Dec-2023 12:57:16.008 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-41023"] 28-Dec-2023 12:57:16.011 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL-FFM]] 28-Dec-2023 12:57:16.014 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-7"] 28-Dec-2023 12:57:16.018 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL-FFM]] 28-Dec-2023 12:57:16.019 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-8"] 28-Dec-2023 12:57:16.020 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL-FFM]] 28-Dec-2023 12:57:16.022 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-9"] ------------- ---------------- --------------- Testcase: testCustomTrustManagerNone[JSSE] took 4.34 sec Testcase: testCustomTrustManagerCA[JSSE] took 0.432 sec Testcase: testCustomTrustManagerAll[JSSE] took 0.26 sec Testcase: testCustomTrustManagerNone[OpenSSL] took 0.269 sec Testcase: testCustomTrustManagerCA[OpenSSL] took 0.188 sec Testcase: testCustomTrustManagerAll[OpenSSL] took 0.178 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