Testsuite: org.apache.coyote.http2.TestAsyncError Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.078 sec ------------- Standard Error ----------------- 11-Dec-2024 12:27:24.367 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testError[0: loop [0], useAsyncIO[false]]] 11-Dec-2024 12:27:24.971 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-1"] connector has been configured to support HTTP upgrade to [h2c] 11-Dec-2024 12:27:24.972 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 11-Dec-2024 12:27:25.017 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 12:27:25.017 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 11-Dec-2024 12:27:25.146 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42553"] 11-Dec-2024 12:27:27.389 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42553"] 11-Dec-2024 12:27:27.392 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 12:27:27.404 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [http-nio2-127.0.0.1-auto-1-exec-5] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.base/java.lang.Thread.sleepNanos0(Native Method) java.base/java.lang.Thread.sleepNanos(Thread.java:491) java.base/java.lang.Thread.sleep(Thread.java:522) org.apache.coyote.http2.TestAsyncError$MessageGenerator.run(TestAsyncError.java:132) org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:560) 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) 11-Dec-2024 12:27:27.413 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42553"] 11-Dec-2024 12:27:27.416 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42553"] 11-Dec-2024 12:27:28.293 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testError[1: loop [0], useAsyncIO[true]]] 11-Dec-2024 12:27:28.296 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-2"] connector has been configured to support HTTP upgrade to [h2c] 11-Dec-2024 12:27:28.296 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 11-Dec-2024 12:27:28.309 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 12:27:28.310 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 11-Dec-2024 12:27:28.317 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37301"] 11-Dec-2024 12:27:30.333 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37301"] 11-Dec-2024 12:27:30.334 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 12:27:30.335 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [http-nio2-127.0.0.1-auto-2-exec-8] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.base/java.lang.Thread.sleepNanos0(Native Method) java.base/java.lang.Thread.sleepNanos(Thread.java:491) java.base/java.lang.Thread.sleep(Thread.java:522) org.apache.coyote.http2.TestAsyncError$MessageGenerator.run(TestAsyncError.java:132) org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:560) 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) 11-Dec-2024 12:27:30.337 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37301"] 11-Dec-2024 12:27:30.338 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37301"] ------------- ---------------- --------------- Testcase: testError[0: loop [0], useAsyncIO[false]] took 3.979 sec Testcase: testError[1: loop [0], useAsyncIO[true]] took 3.042 sec