Testsuite: org.apache.tomcat.util.net.TestSsl Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.048 sec ------------- Standard Output --------------- ContextListener: attributeAdded('javax.websocket.server.ServerContainer', 'org.apache.tomcat.websocket.server.WsServerContainer@62010f5c') ContextListener: attributeAdded('javax.websocket.server.ServerContainer', 'org.apache.tomcat.websocket.server.WsServerContainer@1698fc68') ContextListener: attributeAdded('javax.websocket.server.ServerContainer', 'org.apache.tomcat.websocket.server.WsServerContainer@150ab4ed') ------------- ---------------- --------------- ------------- Standard Error ----------------- 08-Jul-2024 15:43:41.652 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSimpleSsl] 08-Jul-2024 15:43:42.232 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 [1.3.0] 08-Jul-2024 15:43:42.233 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 08-Jul-2024 15:43:42.233 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [true]. 08-Jul-2024 15:43:42.234 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 08-Jul-2024 15:43:42.238 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 08-Jul-2024 15:43:43.360 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-apr-127.0.0.1-auto-1"] 08-Jul-2024 15:43:43.593 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-openssl-apr-127.0.0.1-auto-1], TLS virtual host [_default_], certificate type [UNDEFINED] configured from key [/home/buildslave/slave/tomcat-9.0.x/build/test/org/apache/tomcat/util/net/localhost-rsa-key.pem], certificate [/home/buildslave/slave/tomcat-9.0.x/build/test/org/apache/tomcat/util/net/localhost-rsa-cert.pem] and certificate chain [null] with trust store [/home/buildslave/slave/tomcat-9.0.x/build/test/org/apache/tomcat/util/net/ca-cert.pem] 08-Jul-2024 15:43:43.650 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Jul-2024 15:43:43.651 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.92-dev] 08-Jul-2024 15:43:44.000 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 08-Jul-2024 15:43:44.616 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 08-Jul-2024 15:43:44.735 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized() 08-Jul-2024 15:43:44.735 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized() 08-Jul-2024 15:43:44.736 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: attributeAdded('StockTicker', 'async.Stockticker@31ff43be') 08-Jul-2024 15:43:44.837 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-apr-127.0.0.1-auto-1-39049"] 08-Jul-2024 15:43:45.874 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-apr-127.0.0.1-auto-1-39049"] 08-Jul-2024 15:43:45.878 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Jul-2024 15:43:45.885 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextDestroyed() 08-Jul-2024 15:43:45.885 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextDestroyed() 08-Jul-2024 15:43:45.931 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-apr-127.0.0.1-auto-1-39049"] 08-Jul-2024 15:43:45.947 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-apr-127.0.0.1-auto-1-39049"] 08-Jul-2024 15:43:45.954 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testKeyPass] 08-Jul-2024 15:43:45.989 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 [1.3.0] 08-Jul-2024 15:43:45.989 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 08-Jul-2024 15:43:45.989 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [true]. 08-Jul-2024 15:43:45.989 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 08-Jul-2024 15:43:45.990 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 08-Jul-2024 15:43:45.991 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-apr-127.0.0.1-auto-2"] 08-Jul-2024 15:43:45.998 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-openssl-apr-127.0.0.1-auto-2], TLS virtual host [_default_], certificate type [UNDEFINED] configured from key [/home/buildslave/slave/tomcat-9.0.x/build/test/org/apache/tomcat/util/net/localhost-rsa-key.pem], certificate [/home/buildslave/slave/tomcat-9.0.x/build/test/org/apache/tomcat/util/net/localhost-rsa-cert.pem] and certificate chain [null] with trust store [/home/buildslave/slave/tomcat-9.0.x/build/test/org/apache/tomcat/util/net/ca-cert.pem] 08-Jul-2024 15:43:45.999 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Jul-2024 15:43:45.999 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.92-dev] 08-Jul-2024 15:43:46.032 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 08-Jul-2024 15:43:46.283 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 08-Jul-2024 15:43:46.293 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized() 08-Jul-2024 15:43:46.294 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized() 08-Jul-2024 15:43:46.295 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: attributeAdded('StockTicker', 'async.Stockticker@207b8649') 08-Jul-2024 15:43:46.299 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-apr-127.0.0.1-auto-2-33487"] 08-Jul-2024 15:43:46.469 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-apr-127.0.0.1-auto-2-33487"] 08-Jul-2024 15:43:46.471 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Jul-2024 15:43:46.473 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextDestroyed() 08-Jul-2024 15:43:46.473 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextDestroyed() 08-Jul-2024 15:43:46.477 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-apr-127.0.0.1-auto-2-33487"] 08-Jul-2024 15:43:46.495 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-apr-127.0.0.1-auto-2-33487"] 08-Jul-2024 15:43:46.498 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPost] 08-Jul-2024 15:43:46.514 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 [1.3.0] 08-Jul-2024 15:43:46.514 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 08-Jul-2024 15:43:46.514 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [true]. 08-Jul-2024 15:43:46.514 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 08-Jul-2024 15:43:46.515 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 08-Jul-2024 15:43:46.516 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-apr-127.0.0.1-auto-3"] 08-Jul-2024 15:43:46.522 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-openssl-apr-127.0.0.1-auto-3], TLS virtual host [_default_], certificate type [UNDEFINED] configured from key [/home/buildslave/slave/tomcat-9.0.x/build/test/org/apache/tomcat/util/net/localhost-rsa-key.pem], certificate [/home/buildslave/slave/tomcat-9.0.x/build/test/org/apache/tomcat/util/net/localhost-rsa-cert.pem] and certificate chain [null] with trust store [/home/buildslave/slave/tomcat-9.0.x/build/test/org/apache/tomcat/util/net/ca-cert.pem] 08-Jul-2024 15:43:46.522 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Jul-2024 15:43:46.523 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.92-dev] 08-Jul-2024 15:43:46.551 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-apr-127.0.0.1-auto-3-37907"] 08-Jul-2024 15:43:53.296 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-apr-127.0.0.1-auto-3-37907"] 08-Jul-2024 15:43:53.298 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Jul-2024 15:43:53.303 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-apr-127.0.0.1-auto-3-37907"] 08-Jul-2024 15:43:53.311 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-apr-127.0.0.1-auto-3-37907"] 08-Jul-2024 15:43:53.313 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testKeyPassFile] 08-Jul-2024 15:43:53.335 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 [1.3.0] 08-Jul-2024 15:43:53.336 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 08-Jul-2024 15:43:53.336 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [true]. 08-Jul-2024 15:43:53.336 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 08-Jul-2024 15:43:53.336 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 08-Jul-2024 15:43:53.337 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-apr-127.0.0.1-auto-4"] 08-Jul-2024 15:43:53.343 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-openssl-apr-127.0.0.1-auto-4], TLS virtual host [_default_], certificate type [UNDEFINED] configured from key [/home/buildslave/slave/tomcat-9.0.x/build/test/org/apache/tomcat/util/net/localhost-rsa-key.pem], certificate [/home/buildslave/slave/tomcat-9.0.x/build/test/org/apache/tomcat/util/net/localhost-rsa-cert.pem] and certificate chain [null] with trust store [/home/buildslave/slave/tomcat-9.0.x/build/test/org/apache/tomcat/util/net/ca-cert.pem] 08-Jul-2024 15:43:53.343 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Jul-2024 15:43:53.343 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.92-dev] 08-Jul-2024 15:43:53.366 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 08-Jul-2024 15:43:53.561 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 08-Jul-2024 15:43:53.587 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized() 08-Jul-2024 15:43:53.588 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized() 08-Jul-2024 15:43:53.591 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: attributeAdded('StockTicker', 'async.Stockticker@50fe837a') 08-Jul-2024 15:43:53.603 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-apr-127.0.0.1-auto-4-39875"] 08-Jul-2024 15:43:53.769 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-apr-127.0.0.1-auto-4-39875"] 08-Jul-2024 15:43:53.769 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Jul-2024 15:43:53.771 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextDestroyed() 08-Jul-2024 15:43:53.771 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextDestroyed() 08-Jul-2024 15:43:53.775 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-apr-127.0.0.1-auto-4-39875"] 08-Jul-2024 15:43:53.779 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-apr-127.0.0.1-auto-4-39875"] 08-Jul-2024 15:43:53.781 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testClientInitiatedRenegotiation] 08-Jul-2024 15:43:53.783 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 [1.3.0] 08-Jul-2024 15:43:53.783 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 08-Jul-2024 15:43:53.783 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [true]. 08-Jul-2024 15:43:53.783 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 08-Jul-2024 15:43:53.783 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 08-Jul-2024 15:43:53.784 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-apr-127.0.0.1-auto-5"] 08-Jul-2024 15:43:53.805 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-openssl-apr-127.0.0.1-auto-5], TLS virtual host [_default_], certificate type [UNDEFINED] configured from key [/home/buildslave/slave/tomcat-9.0.x/build/test/org/apache/tomcat/util/net/localhost-rsa-key.pem], certificate [/home/buildslave/slave/tomcat-9.0.x/build/test/org/apache/tomcat/util/net/localhost-rsa-cert.pem] and certificate chain [null] with trust store [/home/buildslave/slave/tomcat-9.0.x/build/test/org/apache/tomcat/util/net/ca-cert.pem] 08-Jul-2024 15:43:53.805 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Jul-2024 15:43:53.805 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.92-dev] 08-Jul-2024 15:43:53.811 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-apr-127.0.0.1-auto-5-36011"] 08-Jul-2024 15:43:53.972 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-apr-127.0.0.1-auto-5-36011"] 08-Jul-2024 15:43:53.974 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Jul-2024 15:43:53.985 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-apr-127.0.0.1-auto-5-36011"] 08-Jul-2024 15:43:54.003 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-apr-127.0.0.1-auto-5-36011"] ------------- ---------------- --------------- Testcase: testSimpleSsl took 4.835 sec Testcase: testKeyPass took 0.543 sec Testcase: testPost took 6.816 sec Testcase: testKeyPassFile took 0.467 sec Testcase: testClientInitiatedRenegotiation took 0.223 sec