Testsuite: org.apache.coyote.http2.TestHttp2Section_6_4 Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.502 sec ------------- Standard Error ----------------- 26-Apr-2024 18:22:12.240 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testResetFrameOnStreamZero[0: loop [0], useAsyncIO[false]]] 26-Apr-2024 18:22:12.866 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] 26-Apr-2024 18:22:12.866 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 26-Apr-2024 18:22:12.923 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Apr-2024 18:22:12.923 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.89-dev] 26-Apr-2024 18:22:13.045 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35855"] 26-Apr-2024 18:22:13.205 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35855"] 26-Apr-2024 18:22:13.207 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Apr-2024 18:22:13.223 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35855"] 26-Apr-2024 18:22:13.226 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35855"] 26-Apr-2024 18:22:13.233 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testResetFrameWrongLength[0: loop [0], useAsyncIO[false]]] 26-Apr-2024 18:22:13.236 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] 26-Apr-2024 18:22:13.236 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 26-Apr-2024 18:22:13.294 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Apr-2024 18:22:13.294 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.89-dev] 26-Apr-2024 18:22:13.300 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34965"] 26-Apr-2024 18:22:13.314 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:353) 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:928) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1734) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1317) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:645) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:621) 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) 26-Apr-2024 18:22:13.316 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34965"] 26-Apr-2024 18:22:13.319 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Apr-2024 18:22:13.322 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34965"] 26-Apr-2024 18:22:13.323 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34965"] 26-Apr-2024 18:22:13.325 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testResetFrameOnIdleStream[0: loop [0], useAsyncIO[false]]] 26-Apr-2024 18:22:13.328 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] 26-Apr-2024 18:22:13.328 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 26-Apr-2024 18:22:13.331 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Apr-2024 18:22:13.332 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.89-dev] 26-Apr-2024 18:22:13.337 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44485"] 26-Apr-2024 18:22:13.391 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44485"] 26-Apr-2024 18:22:13.393 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Apr-2024 18:22:13.399 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44485"] 26-Apr-2024 18:22:13.401 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44485"] 26-Apr-2024 18:22:13.409 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testResetFrameOnStreamZero[1: loop [0], useAsyncIO[true]]] 26-Apr-2024 18:22:13.417 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] 26-Apr-2024 18:22:13.417 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 26-Apr-2024 18:22:13.436 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Apr-2024 18:22:13.436 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.89-dev] 26-Apr-2024 18:22:13.458 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-33799"] 26-Apr-2024 18:22:13.490 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-33799"] 26-Apr-2024 18:22:13.491 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Apr-2024 18:22:13.493 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-33799"] 26-Apr-2024 18:22:13.495 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-33799"] 26-Apr-2024 18:22:13.497 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testResetFrameWrongLength[1: loop [0], useAsyncIO[true]]] 26-Apr-2024 18:22:13.499 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] 26-Apr-2024 18:22:13.500 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 26-Apr-2024 18:22:13.527 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Apr-2024 18:22:13.527 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.89-dev] 26-Apr-2024 18:22:13.532 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-44727"] 26-Apr-2024 18:22:13.539 INFO [http-nio2-127.0.0.1-auto-5-exec-8] 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:1103) at org.apache.tomcat.util.net.SocketWrapperBase$VectoredIOCompletionHandler.completed(SocketWrapperBase.java:1092) 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) 26-Apr-2024 18:22:13.541 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-44727"] 26-Apr-2024 18:22:13.544 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Apr-2024 18:22:13.546 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-44727"] 26-Apr-2024 18:22:13.547 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-44727"] 26-Apr-2024 18:22:13.552 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testResetFrameOnIdleStream[1: loop [0], useAsyncIO[true]]] 26-Apr-2024 18:22:13.556 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] 26-Apr-2024 18:22:13.557 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 26-Apr-2024 18:22:13.562 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Apr-2024 18:22:13.562 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.89-dev] 26-Apr-2024 18:22:13.568 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36301"] 26-Apr-2024 18:22:13.628 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36301"] 26-Apr-2024 18:22:13.631 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Apr-2024 18:22:13.633 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36301"] 26-Apr-2024 18:22:13.641 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36301"] ------------- ---------------- --------------- Testcase: testResetFrameOnStreamZero[0: loop [0], useAsyncIO[false]] took 1.037 sec Testcase: testResetFrameWrongLength[0: loop [0], useAsyncIO[false]] took 0.092 sec Testcase: testResetFrameOnIdleStream[0: loop [0], useAsyncIO[false]] took 0.083 sec Testcase: testResetFrameOnStreamZero[1: loop [0], useAsyncIO[true]] took 0.089 sec Testcase: testResetFrameWrongLength[1: loop [0], useAsyncIO[true]] took 0.053 sec Testcase: testResetFrameOnIdleStream[1: loop [0], useAsyncIO[true]] took 0.096 sec