Testsuite: org.apache.coyote.http2.TestHttp2Section_6_3 Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.982 sec ------------- Standard Error ----------------- 09-Nov-2024 10:06:50.224 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriorityFrameWrongLength[0: loop [0], useAsyncIO[false]]] 09-Nov-2024 10:06:51.046 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] 09-Nov-2024 10:06:51.046 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 09-Nov-2024 10:06:51.103 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Nov-2024 10:06:51.103 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 09-Nov-2024 10:06:51.307 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43361"] 09-Nov-2024 10:06:51.478 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: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: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: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:840) 09-Nov-2024 10:06:51.486 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43361"] 09-Nov-2024 10:06:51.489 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Nov-2024 10:06:51.533 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43361"] 09-Nov-2024 10:06:51.535 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43361"] 09-Nov-2024 10:06:51.543 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriorityFrameOnStreamZero[0: loop [0], useAsyncIO[false]]] 09-Nov-2024 10:06:51.548 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] 09-Nov-2024 10:06:51.556 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 09-Nov-2024 10:06:51.601 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Nov-2024 10:06:51.602 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 09-Nov-2024 10:06:51.608 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36305"] 09-Nov-2024 10:06:51.644 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36305"] 09-Nov-2024 10:06:51.646 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Nov-2024 10:06:51.659 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36305"] 09-Nov-2024 10:06:51.660 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36305"] 09-Nov-2024 10:06:51.668 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriorityFrameBetweenHeaderFrames[0: loop [0], useAsyncIO[false]]] 09-Nov-2024 10:06:51.670 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] 09-Nov-2024 10:06:51.671 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 09-Nov-2024 10:06:51.760 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Nov-2024 10:06:51.760 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 09-Nov-2024 10:06:51.795 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44999"] 09-Nov-2024 10:06:51.869 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44999"] 09-Nov-2024 10:06:51.870 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Nov-2024 10:06:51.873 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44999"] 09-Nov-2024 10:06:51.874 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44999"] 09-Nov-2024 10:06:51.880 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriorityFrameWrongLength[1: loop [0], useAsyncIO[true]]] 09-Nov-2024 10:06:51.882 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] 09-Nov-2024 10:06:51.884 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 09-Nov-2024 10:06:51.888 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Nov-2024 10:06:51.889 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 09-Nov-2024 10:06:51.896 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34495"] 09-Nov-2024 10:06:51.911 INFO [http-nio2-127.0.0.1-auto-4-exec-7] 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:840) 09-Nov-2024 10:06:51.912 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34495"] 09-Nov-2024 10:06:51.915 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Nov-2024 10:06:51.922 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34495"] 09-Nov-2024 10:06:51.924 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34495"] 09-Nov-2024 10:06:51.929 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriorityFrameOnStreamZero[1: loop [0], useAsyncIO[true]]] 09-Nov-2024 10:06:51.931 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] 09-Nov-2024 10:06:51.932 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 09-Nov-2024 10:06:51.974 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Nov-2024 10:06:51.974 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 09-Nov-2024 10:06:51.979 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-34143"] 09-Nov-2024 10:06:51.995 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-34143"] 09-Nov-2024 10:06:51.998 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Nov-2024 10:06:52.000 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-34143"] 09-Nov-2024 10:06:52.001 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-34143"] 09-Nov-2024 10:06:52.004 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriorityFrameBetweenHeaderFrames[1: loop [0], useAsyncIO[true]]] 09-Nov-2024 10:06:52.006 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] 09-Nov-2024 10:06:52.007 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 09-Nov-2024 10:06:52.037 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Nov-2024 10:06:52.037 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 09-Nov-2024 10:06:52.045 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43429"] 09-Nov-2024 10:06:52.097 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43429"] 09-Nov-2024 10:06:52.099 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Nov-2024 10:06:52.102 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43429"] 09-Nov-2024 10:06:52.102 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43429"] ------------- ---------------- --------------- Testcase: testPriorityFrameWrongLength[0: loop [0], useAsyncIO[false]] took 1.365 sec Testcase: testPriorityFrameOnStreamZero[0: loop [0], useAsyncIO[false]] took 0.124 sec Testcase: testPriorityFrameBetweenHeaderFrames[0: loop [0], useAsyncIO[false]] took 0.211 sec Testcase: testPriorityFrameWrongLength[1: loop [0], useAsyncIO[true]] took 0.047 sec Testcase: testPriorityFrameOnStreamZero[1: loop [0], useAsyncIO[true]] took 0.077 sec Testcase: testPriorityFrameBetweenHeaderFrames[1: loop [0], useAsyncIO[true]] took 0.104 sec