Testsuite: org.apache.tomcat.util.net.TestCustomSslTrustManager Tests run: 9, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 5.505 sec ------------- Standard Error ----------------- 15-Jan-2024 14:17:37.587 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[JSSE]] 15-Jan-2024 14:17:39.086 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1"] 15-Jan-2024 14:17:39.640 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] 15-Jan-2024 14:17:39.702 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Jan-2024 14:17:39.703 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 15-Jan-2024 14:17:40.015 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-34637"] 15-Jan-2024 14:17:41.297 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-34637"] 15-Jan-2024 14:17:41.302 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Jan-2024 14:17:41.358 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-34637"] 15-Jan-2024 14:17:41.369 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-34637"] 15-Jan-2024 14:17:41.386 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[JSSE]] 15-Jan-2024 14:17:41.395 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2"] 15-Jan-2024 14:17:41.517 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] 15-Jan-2024 14:17:41.518 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Jan-2024 14:17:41.518 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 15-Jan-2024 14:17:41.553 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-34675"] 15-Jan-2024 14:17:41.674 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-34675"] 15-Jan-2024 14:17:41.677 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Jan-2024 14:17:41.680 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-34675"] 15-Jan-2024 14:17:41.681 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-34675"] 15-Jan-2024 14:17:41.686 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[JSSE]] 15-Jan-2024 14:17:41.691 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3"] 15-Jan-2024 14:17:41.769 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] 15-Jan-2024 14:17:41.771 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Jan-2024 14:17:41.772 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 15-Jan-2024 14:17:41.785 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-41845"] 15-Jan-2024 14:17:41.915 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-41845"] 15-Jan-2024 14:17:41.916 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Jan-2024 14:17:41.919 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-41845"] 15-Jan-2024 14:17:41.920 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-41845"] 15-Jan-2024 14:17:41.932 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL]] 15-Jan-2024 14:17:41.939 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] 15-Jan-2024 14:17:41.939 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 15-Jan-2024 14:17:41.942 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 15-Jan-2024 14:17:41.950 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4"] 15-Jan-2024 14:17:42.021 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] 15-Jan-2024 14:17:42.022 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Jan-2024 14:17:42.022 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 15-Jan-2024 14:17:42.036 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-35283"] 15-Jan-2024 14:17:42.332 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-35283"] 15-Jan-2024 14:17:42.333 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Jan-2024 14:17:42.343 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-35283"] 15-Jan-2024 14:17:42.346 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-35283"] 15-Jan-2024 14:17:42.388 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL]] 15-Jan-2024 14:17:42.392 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] 15-Jan-2024 14:17:42.393 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 15-Jan-2024 14:17:42.393 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 15-Jan-2024 14:17:42.396 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5"] 15-Jan-2024 14:17:42.482 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] 15-Jan-2024 14:17:42.483 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Jan-2024 14:17:42.483 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 15-Jan-2024 14:17:42.498 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-42343"] 15-Jan-2024 14:17:42.565 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-42343"] 15-Jan-2024 14:17:42.567 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Jan-2024 14:17:42.575 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-42343"] 15-Jan-2024 14:17:42.578 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-42343"] 15-Jan-2024 14:17:42.583 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL]] 15-Jan-2024 14:17:42.585 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] 15-Jan-2024 14:17:42.586 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 15-Jan-2024 14:17:42.586 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 15-Jan-2024 14:17:42.587 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6"] 15-Jan-2024 14:17:42.603 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] 15-Jan-2024 14:17:42.604 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Jan-2024 14:17:42.604 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 15-Jan-2024 14:17:42.616 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-45111"] 15-Jan-2024 14:17:42.699 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-45111"] 15-Jan-2024 14:17:42.702 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Jan-2024 14:17:42.704 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-45111"] 15-Jan-2024 14:17:42.705 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-45111"] 15-Jan-2024 14:17:42.718 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL-FFM]] 15-Jan-2024 14:17:42.728 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-7"] 15-Jan-2024 14:17:42.732 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL-FFM]] 15-Jan-2024 14:17:42.733 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-8"] 15-Jan-2024 14:17:42.738 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL-FFM]] 15-Jan-2024 14:17:42.740 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-9"] ------------- ---------------- --------------- Testcase: testCustomTrustManagerNone[JSSE] took 4.082 sec Testcase: testCustomTrustManagerCA[JSSE] took 0.3 sec Testcase: testCustomTrustManagerAll[JSSE] took 0.246 sec Testcase: testCustomTrustManagerNone[OpenSSL] took 0.446 sec Testcase: testCustomTrustManagerCA[OpenSSL] took 0.204 sec Testcase: testCustomTrustManagerAll[OpenSSL] took 0.134 sec Testcase: testCustomTrustManagerNone[OpenSSL-FFM] took 0.015 sec SKIPPED: got: , expected: null Testcase: testCustomTrustManagerNone[OpenSSL-FFM] took 0.015 sec Testcase: testCustomTrustManagerCA[OpenSSL-FFM] took 0.005 sec SKIPPED: got: , expected: null Testcase: testCustomTrustManagerCA[OpenSSL-FFM] took 0.005 sec Testcase: testCustomTrustManagerAll[OpenSSL-FFM] took 0.005 sec SKIPPED: got: , expected: null Testcase: testCustomTrustManagerAll[OpenSSL-FFM] took 0.005 sec