Testsuite: org.apache.coyote.http2.TestHttp2Section_6_3 Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.9 sec ------------- Standard Error ----------------- 05-Dec-2024 09:59:24.674 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriorityFrameWrongLength[0: loop [0], useAsyncIO[false]]] 05-Dec-2024 09:59:25.735 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] 05-Dec-2024 09:59:25.736 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 05-Dec-2024 09:59:25.795 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Dec-2024 09:59:25.795 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 05-Dec-2024 09:59:25.915 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45521"] 05-Dec-2024 09:59:26.044 INFO [http-nio2-127.0.0.1-auto-1-exec-4] 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:683) at org.apache.coyote.http2.Http2Parser.readFrame(Http2Parser.java:87) at org.apache.coyote.http2.Http2Parser.readFrame(Http2Parser.java:70) at org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch(Http2UpgradeHandler.java:354) 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:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:637) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:613) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 05-Dec-2024 09:59:26.051 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45521"] 05-Dec-2024 09:59:26.052 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Dec-2024 09:59:26.070 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45521"] 05-Dec-2024 09:59:26.075 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45521"] 05-Dec-2024 09:59:26.082 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriorityFrameOnStreamZero[0: loop [0], useAsyncIO[false]]] 05-Dec-2024 09:59:26.089 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] 05-Dec-2024 09:59:26.090 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 05-Dec-2024 09:59:26.112 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Dec-2024 09:59:26.112 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 05-Dec-2024 09:59:26.118 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46073"] 05-Dec-2024 09:59:26.135 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46073"] 05-Dec-2024 09:59:26.136 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Dec-2024 09:59:26.139 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46073"] 05-Dec-2024 09:59:26.140 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46073"] 05-Dec-2024 09:59:26.146 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriorityFrameBetweenHeaderFrames[0: loop [0], useAsyncIO[false]]] 05-Dec-2024 09:59:26.149 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] 05-Dec-2024 09:59:26.149 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 05-Dec-2024 09:59:26.159 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Dec-2024 09:59:26.160 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 05-Dec-2024 09:59:26.164 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-45079"] 05-Dec-2024 09:59:26.222 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-45079"] 05-Dec-2024 09:59:26.223 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Dec-2024 09:59:26.227 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-45079"] 05-Dec-2024 09:59:26.228 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-45079"] 05-Dec-2024 09:59:26.231 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriorityFrameWrongLength[1: loop [0], useAsyncIO[true]]] 05-Dec-2024 09:59:26.233 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] 05-Dec-2024 09:59:26.233 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 05-Dec-2024 09:59:26.247 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Dec-2024 09:59:26.247 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 05-Dec-2024 09:59:26.261 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41873"] 05-Dec-2024 09:59:26.279 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:683) 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:1076) at org.apache.tomcat.util.net.SocketWrapperBase$VectoredIOCompletionHandler.completed(SocketWrapperBase.java:1065) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 05-Dec-2024 09:59:26.280 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41873"] 05-Dec-2024 09:59:26.282 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Dec-2024 09:59:26.285 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41873"] 05-Dec-2024 09:59:26.286 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41873"] 05-Dec-2024 09:59:26.295 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriorityFrameOnStreamZero[1: loop [0], useAsyncIO[true]]] 05-Dec-2024 09:59:26.297 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] 05-Dec-2024 09:59:26.298 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 05-Dec-2024 09:59:26.310 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Dec-2024 09:59:26.310 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 05-Dec-2024 09:59:26.314 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33013"] 05-Dec-2024 09:59:26.323 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33013"] 05-Dec-2024 09:59:26.326 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Dec-2024 09:59:26.330 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33013"] 05-Dec-2024 09:59:26.331 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33013"] 05-Dec-2024 09:59:26.334 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriorityFrameBetweenHeaderFrames[1: loop [0], useAsyncIO[true]]] 05-Dec-2024 09:59:26.336 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] 05-Dec-2024 09:59:26.337 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 05-Dec-2024 09:59:26.354 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Dec-2024 09:59:26.354 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 05-Dec-2024 09:59:26.358 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45835"] 05-Dec-2024 09:59:26.410 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45835"] 05-Dec-2024 09:59:26.413 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Dec-2024 09:59:26.428 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45835"] 05-Dec-2024 09:59:26.429 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45835"] ------------- ---------------- --------------- Testcase: testPriorityFrameWrongLength[0: loop [0], useAsyncIO[false]] took 1.473 sec Testcase: testPriorityFrameOnStreamZero[0: loop [0], useAsyncIO[false]] took 0.063 sec Testcase: testPriorityFrameBetweenHeaderFrames[0: loop [0], useAsyncIO[false]] took 0.084 sec Testcase: testPriorityFrameWrongLength[1: loop [0], useAsyncIO[true]] took 0.061 sec Testcase: testPriorityFrameOnStreamZero[1: loop [0], useAsyncIO[true]] took 0.041 sec Testcase: testPriorityFrameBetweenHeaderFrames[1: loop [0], useAsyncIO[true]] took 0.1 sec