Testsuite: org.apache.coyote.http2.TestHttp2Section_6_3 Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.64 sec ------------- Standard Error ----------------- 26-Sep-2024 13:29:35.144 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriorityFrameWrongLength[0: loop [0], useAsyncIO[false]]] 26-Sep-2024 13:29:35.733 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-Sep-2024 13:29:35.734 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 26-Sep-2024 13:29:35.859 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:29:35.860 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:29:35.964 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39665"] 26-Sep-2024 13:29:36.120 INFO [http-nio2-127.0.0.1-auto-1-exec-5] org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch Connection [0], 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 [PRIORITY] 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:358) 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:905) 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:1266) 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) 26-Sep-2024 13:29:36.126 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39665"] 26-Sep-2024 13:29:36.127 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:29:36.144 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39665"] 26-Sep-2024 13:29:36.146 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39665"] 26-Sep-2024 13:29:36.169 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriorityFrameOnStreamZero[0: loop [0], useAsyncIO[false]]] 26-Sep-2024 13:29:36.172 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-Sep-2024 13:29:36.172 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 26-Sep-2024 13:29:36.241 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:29:36.241 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:29:36.253 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43645"] 26-Sep-2024 13:29:36.275 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43645"] 26-Sep-2024 13:29:36.276 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:29:36.280 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43645"] 26-Sep-2024 13:29:36.284 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43645"] 26-Sep-2024 13:29:36.292 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriorityFrameBetweenHeaderFrames[0: loop [0], useAsyncIO[false]]] 26-Sep-2024 13:29:36.296 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-Sep-2024 13:29:36.296 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 26-Sep-2024 13:29:36.330 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:29:36.331 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:29:36.334 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38367"] 26-Sep-2024 13:29:36.400 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38367"] 26-Sep-2024 13:29:36.403 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:29:36.406 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38367"] 26-Sep-2024 13:29:36.409 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38367"] 26-Sep-2024 13:29:36.417 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriorityFrameWrongLength[1: loop [0], useAsyncIO[true]]] 26-Sep-2024 13:29:36.419 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-Sep-2024 13:29:36.419 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 26-Sep-2024 13:29:36.441 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:29:36.441 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:29:36.455 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43185"] 26-Sep-2024 13:29:36.476 INFO [http-nio2-127.0.0.1-auto-4-exec-6] org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch Connection [3], 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 [PRIORITY] 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) 26-Sep-2024 13:29:36.477 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43185"] 26-Sep-2024 13:29:36.480 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:29:36.485 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43185"] 26-Sep-2024 13:29:36.488 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43185"] 26-Sep-2024 13:29:36.498 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriorityFrameOnStreamZero[1: loop [0], useAsyncIO[true]]] 26-Sep-2024 13:29:36.502 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-Sep-2024 13:29:36.502 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 26-Sep-2024 13:29:36.516 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:29:36.517 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:29:36.527 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37601"] 26-Sep-2024 13:29:36.580 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37601"] 26-Sep-2024 13:29:36.580 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:29:36.583 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37601"] 26-Sep-2024 13:29:36.584 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37601"] 26-Sep-2024 13:29:36.589 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriorityFrameBetweenHeaderFrames[1: loop [0], useAsyncIO[true]]] 26-Sep-2024 13:29:36.592 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-Sep-2024 13:29:36.592 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 26-Sep-2024 13:29:36.607 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:29:36.607 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:29:36.614 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-42357"] 26-Sep-2024 13:29:36.669 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-42357"] 26-Sep-2024 13:29:36.671 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:29:36.677 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-42357"] 26-Sep-2024 13:29:36.678 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-42357"] ------------- ---------------- --------------- Testcase: testPriorityFrameWrongLength[0: loop [0], useAsyncIO[false]] took 1.068 sec Testcase: testPriorityFrameOnStreamZero[0: loop [0], useAsyncIO[false]] took 0.123 sec Testcase: testPriorityFrameBetweenHeaderFrames[0: loop [0], useAsyncIO[false]] took 0.125 sec Testcase: testPriorityFrameWrongLength[1: loop [0], useAsyncIO[true]] took 0.08 sec Testcase: testPriorityFrameOnStreamZero[1: loop [0], useAsyncIO[true]] took 0.092 sec Testcase: testPriorityFrameBetweenHeaderFrames[1: loop [0], useAsyncIO[true]] took 0.093 sec