Testsuite: org.apache.coyote.http2.TestHttp2Section_6_4 Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.823 sec ------------- Standard Error ----------------- 02-May-2024 13:58:44.426 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testResetFrameOnStreamZero[0: loop [0], useAsyncIO[false]]] 02-May-2024 13:58:45.192 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] 02-May-2024 13:58:45.192 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 02-May-2024 13:58:45.252 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2024 13:58:45.252 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 02-May-2024 13:58:45.345 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33331"] 02-May-2024 13:58:45.487 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33331"] 02-May-2024 13:58:45.488 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2024 13:58:45.516 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33331"] 02-May-2024 13:58:45.519 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33331"] 02-May-2024 13:58:45.527 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testResetFrameWrongLength[0: loop [0], useAsyncIO[false]]] 02-May-2024 13:58:45.532 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] 02-May-2024 13:58:45.532 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 02-May-2024 13:58:45.571 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2024 13:58:45.571 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 02-May-2024 13:58:45.594 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37203"] 02-May-2024 13:58:45.616 INFO [http-nio2-127.0.0.1-auto-2-exec-4] org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch Connection [1], Stream [3] Closed due to error Note: further occurrences of HTTP/2 stream errors will be logged at DEBUG level. org.apache.coyote.http2.StreamException: Payload size of [1] is not valid for frame type [RST] at org.apache.coyote.http2.FrameType.check(FrameType.java:82) at org.apache.coyote.http2.Http2Parser.validateFrame(Http2Parser.java:700) at org.apache.coyote.http2.Http2Parser.readFrame(Http2Parser.java:104) at org.apache.coyote.http2.Http2Parser.readFrame(Http2Parser.java:87) at org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch(Http2UpgradeHandler.java:356) at org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:60) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:57) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1685) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1248) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:634) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:610) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:833) 02-May-2024 13:58:45.624 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37203"] 02-May-2024 13:58:45.626 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2024 13:58:45.637 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37203"] 02-May-2024 13:58:45.638 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37203"] 02-May-2024 13:58:45.646 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testResetFrameOnIdleStream[0: loop [0], useAsyncIO[false]]] 02-May-2024 13:58:45.656 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-3"] connector has been configured to support HTTP upgrade to [h2c] 02-May-2024 13:58:45.656 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 02-May-2024 13:58:45.695 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2024 13:58:45.695 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 02-May-2024 13:58:45.701 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38873"] 02-May-2024 13:58:45.750 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38873"] 02-May-2024 13:58:45.753 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2024 13:58:45.756 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38873"] 02-May-2024 13:58:45.758 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38873"] 02-May-2024 13:58:45.766 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testResetFrameOnStreamZero[1: loop [0], useAsyncIO[true]]] 02-May-2024 13:58:45.779 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-4"] connector has been configured to support HTTP upgrade to [h2c] 02-May-2024 13:58:45.779 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 02-May-2024 13:58:45.829 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2024 13:58:45.829 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 02-May-2024 13:58:45.838 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42387"] 02-May-2024 13:58:45.858 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42387"] 02-May-2024 13:58:45.859 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2024 13:58:45.862 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42387"] 02-May-2024 13:58:45.866 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42387"] 02-May-2024 13:58:45.879 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testResetFrameWrongLength[1: loop [0], useAsyncIO[true]]] 02-May-2024 13:58:45.881 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-5"] connector has been configured to support HTTP upgrade to [h2c] 02-May-2024 13:58:45.881 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 02-May-2024 13:58:45.902 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2024 13:58:45.902 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 02-May-2024 13:58:45.914 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42717"] 02-May-2024 13:58:45.928 INFO [http-nio2-127.0.0.1-auto-5-exec-7] org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch Connection [4], Stream [3] Closed due to error Note: further occurrences of HTTP/2 stream errors will be logged at DEBUG level. org.apache.coyote.http2.StreamException: Payload size of [1] is not valid for frame type [RST] at org.apache.coyote.http2.FrameType.check(FrameType.java:82) at org.apache.coyote.http2.Http2Parser.validateFrame(Http2Parser.java:700) at org.apache.coyote.http2.Http2AsyncParser$FrameCompletionHandler.validate(Http2AsyncParser.java:219) at org.apache.coyote.http2.Http2AsyncParser$FrameCompletionHandler.callHandler(Http2AsyncParser.java:197) at org.apache.tomcat.util.net.SocketWrapperBase$VectoredIOCompletionHandler.completed(SocketWrapperBase.java:1077) at org.apache.tomcat.util.net.SocketWrapperBase$VectoredIOCompletionHandler.completed(SocketWrapperBase.java:1066) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:833) 02-May-2024 13:58:45.930 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42717"] 02-May-2024 13:58:45.932 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2024 13:58:45.936 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42717"] 02-May-2024 13:58:45.936 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42717"] 02-May-2024 13:58:45.941 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testResetFrameOnIdleStream[1: loop [0], useAsyncIO[true]]] 02-May-2024 13:58:45.946 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-6"] connector has been configured to support HTTP upgrade to [h2c] 02-May-2024 13:58:45.946 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 02-May-2024 13:58:46.002 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2024 13:58:46.002 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 02-May-2024 13:58:46.026 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39047"] 02-May-2024 13:58:46.075 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39047"] 02-May-2024 13:58:46.089 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2024 13:58:46.092 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39047"] 02-May-2024 13:58:46.100 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39047"] ------------- ---------------- --------------- Testcase: testResetFrameOnStreamZero[0: loop [0], useAsyncIO[false]] took 1.182 sec Testcase: testResetFrameWrongLength[0: loop [0], useAsyncIO[false]] took 0.115 sec Testcase: testResetFrameOnIdleStream[0: loop [0], useAsyncIO[false]] took 0.123 sec Testcase: testResetFrameOnStreamZero[1: loop [0], useAsyncIO[true]] took 0.112 sec Testcase: testResetFrameWrongLength[1: loop [0], useAsyncIO[true]] took 0.063 sec Testcase: testResetFrameOnIdleStream[1: loop [0], useAsyncIO[true]] took 0.17 sec