Testsuite: org.apache.tomcat.websocket.TestWsWebSocketContainerSSL Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.978 sec ------------- Standard Error ----------------- 17-Dec-2024 15:34:15.128 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectToServerEndpointSSL[JSSE]] 17-Dec-2024 15:34:15.697 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1"] 17-Dec-2024 15:34:15.878 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-11.0.x/build/test/org/apache/tomcat/util/net/localhost-rsa.jks] using alias [tomcat] with trust store [/home/buildslave/slave/tomcat-11.0.x/build/test/org/apache/tomcat/util/net/ca.jks] 17-Dec-2024 15:34:15.894 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 17-Dec-2024 15:34:15.895 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 17-Dec-2024 15:34:16.014 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-46227"] 17-Dec-2024 15:34:16.413 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-46227"] 17-Dec-2024 15:34:16.415 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 17-Dec-2024 15:34:16.433 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-46227"] 17-Dec-2024 15:34:16.435 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-46227"] 17-Dec-2024 15:34:16.442 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectToServerEndpointSSL[OpenSSL]] 17-Dec-2024 15:34:16.449 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] 17-Dec-2024 15:34:16.450 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 17-Dec-2024 15:34:16.453 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 17-Dec-2024 15:34:16.454 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-2"] 17-Dec-2024 15:34:16.466 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-openssl-nio2-127.0.0.1-auto-2], TLS virtual host [_default_], certificate type [UNDEFINED] configured from keystore [/home/buildslave/slave/tomcat-11.0.x/build/test/org/apache/tomcat/util/net/localhost-rsa.jks] using alias [tomcat] with trust store [/home/buildslave/slave/tomcat-11.0.x/build/test/org/apache/tomcat/util/net/ca.jks] 17-Dec-2024 15:34:16.466 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 17-Dec-2024 15:34:16.467 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 17-Dec-2024 15:34:16.471 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-2-44781"] 17-Dec-2024 15:34:16.533 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-2-44781"] 17-Dec-2024 15:34:16.534 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 17-Dec-2024 15:34:16.537 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-2-44781"] 17-Dec-2024 15:34:16.538 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-2-44781"] 17-Dec-2024 15:34:16.567 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectToServerEndpointSSL[OpenSSL-FFM]] 17-Dec-2024 15:34:16.721 INFO [main] org.apache.tomcat.util.net.openssl.panama.OpenSSLLibrary.init OpenSSL successfully initialized using FFM [OpenSSL 1.1.1f 31 Mar 2020] 17-Dec-2024 15:34:16.723 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-3"] 17-Dec-2024 15:34:16.860 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-opensslffm-nio2-127.0.0.1-auto-3], TLS virtual host [_default_], certificate type [UNDEFINED] configured from keystore [/home/buildslave/slave/tomcat-11.0.x/build/test/org/apache/tomcat/util/net/localhost-rsa.jks] using alias [tomcat] with trust store [/home/buildslave/slave/tomcat-11.0.x/build/test/org/apache/tomcat/util/net/ca.jks] 17-Dec-2024 15:34:16.860 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 17-Dec-2024 15:34:16.861 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 17-Dec-2024 15:34:16.866 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-3-46079"] 17-Dec-2024 15:34:16.960 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-3-46079"] 17-Dec-2024 15:34:16.961 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 17-Dec-2024 15:34:16.966 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [https-opensslffm-nio2-127.0.0.1-auto-3-exec-5] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.base/jdk.internal.misc.ScopedMemoryAccess.closeScope0(Native Method) java.base/jdk.internal.misc.ScopedMemoryAccess.closeScope(ScopedMemoryAccess.java:87) java.base/jdk.internal.foreign.SharedSession.justClose(SharedSession.java:86) java.base/jdk.internal.foreign.MemorySessionImpl.close(MemorySessionImpl.java:232) java.base/jdk.internal.foreign.ArenaImpl.close(ArenaImpl.java:50) org.apache.tomcat.util.net.openssl.panama.OpenSSLEngine$EngineState.run(OpenSSLEngine.java:1695) java.base/jdk.internal.ref.CleanerImpl$PhantomCleanableRef.performCleanup(CleanerImpl.java:178) java.base/jdk.internal.ref.PhantomCleanable.clean(PhantomCleanable.java:133) org.apache.tomcat.util.net.openssl.panama.OpenSSLEngine.shutdown(OpenSSLEngine.java:224) org.apache.tomcat.util.net.openssl.panama.OpenSSLEngine.wrap(OpenSSLEngine.java:375) java.base/javax.net.ssl.SSLEngine.wrap(SSLEngine.java:524) org.apache.tomcat.util.net.SecureNio2Channel.close(SecureNio2Channel.java:650) org.apache.tomcat.util.net.SecureNio2Channel.close(SecureNio2Channel.java:686) org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper.doClose(Nio2Endpoint.java:973) org.apache.tomcat.util.net.SocketWrapperBase.close(SocketWrapperBase.java:424) org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.doClose(WsRemoteEndpointImplServer.java:298) org.apache.tomcat.websocket.WsRemoteEndpointImplBase.close(WsRemoteEndpointImplBase.java:753) org.apache.tomcat.websocket.WsSession.closeConnection(WsSession.java:669) org.apache.tomcat.websocket.WsSession.onClose(WsSession.java:659) org.apache.tomcat.websocket.WsFrameBase.processDataControl(WsFrameBase.java:347) org.apache.tomcat.websocket.WsFrameBase.processData(WsFrameBase.java:279) org.apache.tomcat.websocket.WsFrameBase.processInputBuffer(WsFrameBase.java:130) org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:85) org.apache.tomcat.websocket.server.WsFrameServer.doOnDataAvailable(WsFrameServer.java:184) org.apache.tomcat.websocket.server.WsFrameServer.notifyDataAvailable(WsFrameServer.java:164) org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDispatch(WsHttpUpgradeHandler.java:152) org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:60) org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:57) org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) org.apache.tomcat.util.net.SecureNio2Channel$HandshakeWriteCompletionHandler.completed(SecureNio2Channel.java:129) org.apache.tomcat.util.net.SecureNio2Channel$HandshakeWriteCompletionHandler.completed(SecureNio2Channel.java:122) java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) java.base/sun.nio.ch.Invoker.invokeDirect(Invoker.java:156) java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.implWrite(UnixAsynchronousSocketChannelImpl.java:759) java.base/sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:382) java.base/sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:399) org.apache.tomcat.util.net.SecureNio2Channel.handshakeInternal(SecureNio2Channel.java:310) org.apache.tomcat.util.net.SecureNio2Channel.handshake(SecureNio2Channel.java:231) org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1665) org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) org.apache.tomcat.util.net.SecureNio2Channel$HandshakeReadCompletionHandler.completed(SecureNio2Channel.java:112) org.apache.tomcat.util.net.SecureNio2Channel$HandshakeReadCompletionHandler.completed(SecureNio2Channel.java:105) java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) java.base/java.lang.Thread.run(Thread.java:1570) 17-Dec-2024 15:34:16.969 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-3-46079"] 17-Dec-2024 15:34:16.970 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-3-46079"] ------------- ---------------- --------------- Testcase: testConnectToServerEndpointSSL[JSSE] took 1.398 sec Testcase: testConnectToServerEndpointSSL[OpenSSL] took 0.124 sec Testcase: testConnectToServerEndpointSSL[OpenSSL-FFM] took 0.407 sec