Testsuite: org.apache.coyote.http2.TestHttp2Section_6_3 Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.09 sec ------------- Standard Error ----------------- 04-Dec-2023 16:34:51.529 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriorityFrameWrongLength[0: loop [0], useAsyncIO[false]]] 04-Dec-2023 16:34:52.848 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio-127.0.0.1-auto-1"] connector has been configured to support HTTP upgrade to [h2c] 04-Dec-2023 16:34:52.849 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 04-Dec-2023 16:34:52.903 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2023 16:34:52.911 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M15-dev] 04-Dec-2023 16:34:53.150 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-33933"] 04-Dec-2023 16:34:53.478 INFO [http-nio-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:682) 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:355) 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.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1749) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:1570) 04-Dec-2023 16:34:53.484 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-33933"] 04-Dec-2023 16:34:53.487 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2023 16:34:53.546 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-33933"] 04-Dec-2023 16:34:53.552 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-33933"] 04-Dec-2023 16:34:53.572 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriorityFrameOnStreamZero[0: loop [0], useAsyncIO[false]]] 04-Dec-2023 16:34:53.574 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio-127.0.0.1-auto-2"] connector has been configured to support HTTP upgrade to [h2c] 04-Dec-2023 16:34:53.575 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 04-Dec-2023 16:34:53.576 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2023 16:34:53.576 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M15-dev] 04-Dec-2023 16:34:53.594 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-42887"] 04-Dec-2023 16:34:53.799 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-42887"] 04-Dec-2023 16:34:53.801 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2023 16:34:53.813 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-42887"] 04-Dec-2023 16:34:53.824 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-42887"] 04-Dec-2023 16:34:53.827 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriorityFrameBetweenHeaderFrames[0: loop [0], useAsyncIO[false]]] 04-Dec-2023 16:34:53.830 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio-127.0.0.1-auto-3"] connector has been configured to support HTTP upgrade to [h2c] 04-Dec-2023 16:34:53.830 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 04-Dec-2023 16:34:53.831 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2023 16:34:53.831 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M15-dev] 04-Dec-2023 16:34:53.836 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-44023"] 04-Dec-2023 16:34:53.962 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-44023"] 04-Dec-2023 16:34:53.965 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2023 16:34:53.968 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-44023"] 04-Dec-2023 16:34:53.972 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-44023"] 04-Dec-2023 16:34:53.974 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriorityFrameWrongLength[1: loop [0], useAsyncIO[true]]] 04-Dec-2023 16:34:53.976 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio-127.0.0.1-auto-4"] connector has been configured to support HTTP upgrade to [h2c] 04-Dec-2023 16:34:53.982 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 04-Dec-2023 16:34:53.988 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2023 16:34:53.988 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M15-dev] 04-Dec-2023 16:34:54.006 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-45993"] 04-Dec-2023 16:34:54.104 INFO [http-nio-127.0.0.1-auto-4-exec-1] 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:682) at org.apache.coyote.http2.Http2AsyncParser$FrameCompletionHandler.completed(Http2AsyncParser.java:302) at org.apache.coyote.http2.Http2AsyncParser$FrameCompletionHandler.completed(Http2AsyncParser.java:167) at org.apache.tomcat.util.net.SocketWrapperBase$VectoredIOCompletionHandler.completed(SocketWrapperBase.java:1102) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper$NioOperationState.run(NioEndpoint.java:1662) at org.apache.tomcat.util.net.SocketWrapperBase$OperationState.start(SocketWrapperBase.java:1050) at org.apache.tomcat.util.net.SocketWrapperBase.vectoredOperation(SocketWrapperBase.java:1439) at org.apache.tomcat.util.net.SocketWrapperBase.read(SocketWrapperBase.java:1282) at org.apache.tomcat.util.net.SocketWrapperBase.read(SocketWrapperBase.java:1254) at org.apache.coyote.http2.Http2AsyncParser.readFrame(Http2AsyncParser.java:140) at org.apache.coyote.http2.Http2Parser.readFrame(Http2Parser.java:70) at org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch(Http2UpgradeHandler.java:355) at org.apache.coyote.http2.Http2AsyncUpgradeHandler.upgradeDispatch(Http2AsyncUpgradeHandler.java:43) at org.apache.coyote.http2.Http2AsyncParser$PrefaceCompletionHandler.completed(Http2AsyncParser.java:130) at org.apache.coyote.http2.Http2AsyncParser$PrefaceCompletionHandler.completed(Http2AsyncParser.java:62) at org.apache.tomcat.util.net.SocketWrapperBase$VectoredIOCompletionHandler.completed(SocketWrapperBase.java:1102) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper$NioOperationState.run(NioEndpoint.java:1662) at org.apache.tomcat.util.net.SocketWrapperBase$OperationState.start(SocketWrapperBase.java:1050) at org.apache.tomcat.util.net.SocketWrapperBase.vectoredOperation(SocketWrapperBase.java:1439) at org.apache.tomcat.util.net.SocketWrapperBase.read(SocketWrapperBase.java:1282) at org.apache.tomcat.util.net.SocketWrapperBase.read(SocketWrapperBase.java:1254) at org.apache.coyote.http2.Http2AsyncParser.readConnectionPreface(Http2AsyncParser.java:57) at org.apache.coyote.http2.Http2UpgradeHandler.init(Http2UpgradeHandler.java:249) at org.apache.coyote.http2.Http2AsyncUpgradeHandler.init(Http2AsyncUpgradeHandler.java:43) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:938) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1749) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:1570) 04-Dec-2023 16:34:54.105 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-45993"] 04-Dec-2023 16:34:54.108 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2023 16:34:54.111 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-45993"] 04-Dec-2023 16:34:54.115 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-45993"] 04-Dec-2023 16:34:54.116 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriorityFrameOnStreamZero[1: loop [0], useAsyncIO[true]]] 04-Dec-2023 16:34:54.118 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio-127.0.0.1-auto-5"] connector has been configured to support HTTP upgrade to [h2c] 04-Dec-2023 16:34:54.118 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 04-Dec-2023 16:34:54.119 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2023 16:34:54.120 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M15-dev] 04-Dec-2023 16:34:54.126 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-33541"] 04-Dec-2023 16:34:54.225 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-33541"] 04-Dec-2023 16:34:54.230 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2023 16:34:54.237 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-33541"] 04-Dec-2023 16:34:54.241 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-33541"] 04-Dec-2023 16:34:54.243 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriorityFrameBetweenHeaderFrames[1: loop [0], useAsyncIO[true]]] 04-Dec-2023 16:34:54.249 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio-127.0.0.1-auto-6"] connector has been configured to support HTTP upgrade to [h2c] 04-Dec-2023 16:34:54.250 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 04-Dec-2023 16:34:54.250 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2023 16:34:54.261 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M15-dev] 04-Dec-2023 16:34:54.278 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-34563"] 04-Dec-2023 16:34:54.491 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-34563"] 04-Dec-2023 16:34:54.492 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2023 16:34:54.496 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-34563"] 04-Dec-2023 16:34:54.499 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-34563"] ------------- ---------------- --------------- Testcase: testPriorityFrameWrongLength[0: loop [0], useAsyncIO[false]] took 2.115 sec Testcase: testPriorityFrameOnStreamZero[0: loop [0], useAsyncIO[false]] took 0.255 sec Testcase: testPriorityFrameBetweenHeaderFrames[0: loop [0], useAsyncIO[false]] took 0.147 sec Testcase: testPriorityFrameWrongLength[1: loop [0], useAsyncIO[true]] took 0.142 sec Testcase: testPriorityFrameOnStreamZero[1: loop [0], useAsyncIO[true]] took 0.126 sec Testcase: testPriorityFrameBetweenHeaderFrames[1: loop [0], useAsyncIO[true]] took 0.258 sec