Testsuite: org.apache.coyote.http2.TestHttp2Section_4_2 Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.19 sec ------------- Standard Error ----------------- 23-Jul-2024 12:29:39.285 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsStream[0: loop [0], useAsyncIO[false]]] 23-Jul-2024 12:29:40.406 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] 23-Jul-2024 12:29:40.408 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 23-Jul-2024 12:29:40.503 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jul-2024 12:29:40.505 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 23-Jul-2024 12:29:40.686 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45723"] 23-Jul-2024 12:29:40.920 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 [0] 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:356) 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:904) 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) 23-Jul-2024 12:29:40.931 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45723"] 23-Jul-2024 12:29:40.933 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jul-2024 12:29:40.956 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45723"] 23-Jul-2024 12:29:40.959 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45723"] 23-Jul-2024 12:29:40.966 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsTooBig[0: loop [0], useAsyncIO[false]]] 23-Jul-2024 12:29:40.969 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] 23-Jul-2024 12:29:40.969 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 23-Jul-2024 12:29:40.977 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jul-2024 12:29:40.977 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 23-Jul-2024 12:29:40.991 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42847"] 23-Jul-2024 12:29:41.044 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42847"] 23-Jul-2024 12:29:41.045 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jul-2024 12:29:41.049 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42847"] 23-Jul-2024 12:29:41.050 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42847"] 23-Jul-2024 12:29:41.054 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameSizeLimitsTooBig[0: loop [0], useAsyncIO[false]]] 23-Jul-2024 12:29:41.057 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] 23-Jul-2024 12:29:41.057 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 23-Jul-2024 12:29:41.068 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jul-2024 12:29:41.068 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 23-Jul-2024 12:29:41.079 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42687"] 23-Jul-2024 12:29:41.090 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42687"] 23-Jul-2024 12:29:41.093 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jul-2024 12:29:41.103 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42687"] 23-Jul-2024 12:29:41.106 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42687"] 23-Jul-2024 12:29:41.109 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsTooSmall[0: loop [0], useAsyncIO[false]]] 23-Jul-2024 12:29:41.111 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] 23-Jul-2024 12:29:41.112 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 23-Jul-2024 12:29:41.132 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jul-2024 12:29:41.132 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 23-Jul-2024 12:29:41.141 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36263"] 23-Jul-2024 12:29:41.154 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36263"] 23-Jul-2024 12:29:41.155 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jul-2024 12:29:41.157 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36263"] 23-Jul-2024 12:29:41.160 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36263"] 23-Jul-2024 12:29:41.165 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsStream[1: loop [0], useAsyncIO[true]]] 23-Jul-2024 12:29:41.170 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] 23-Jul-2024 12:29:41.172 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 23-Jul-2024 12:29:41.187 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jul-2024 12:29:41.187 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 23-Jul-2024 12:29:41.192 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42061"] 23-Jul-2024 12:29:41.207 INFO [http-nio2-127.0.0.1-auto-5-exec-6] 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 [0] 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) 23-Jul-2024 12:29:41.208 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42061"] 23-Jul-2024 12:29:41.209 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jul-2024 12:29:41.211 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42061"] 23-Jul-2024 12:29:41.212 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42061"] 23-Jul-2024 12:29:41.215 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsTooBig[1: loop [0], useAsyncIO[true]]] 23-Jul-2024 12:29:41.217 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] 23-Jul-2024 12:29:41.217 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 23-Jul-2024 12:29:41.225 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jul-2024 12:29:41.225 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 23-Jul-2024 12:29:41.231 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40891"] 23-Jul-2024 12:29:41.237 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40891"] 23-Jul-2024 12:29:41.240 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jul-2024 12:29:41.242 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40891"] 23-Jul-2024 12:29:41.243 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40891"] 23-Jul-2024 12:29:41.245 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameSizeLimitsTooBig[1: loop [0], useAsyncIO[true]]] 23-Jul-2024 12:29:41.247 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-7"] connector has been configured to support HTTP upgrade to [h2c] 23-Jul-2024 12:29:41.247 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 23-Jul-2024 12:29:41.250 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jul-2024 12:29:41.250 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 23-Jul-2024 12:29:41.259 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36309"] 23-Jul-2024 12:29:41.268 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36309"] 23-Jul-2024 12:29:41.271 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jul-2024 12:29:41.273 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36309"] 23-Jul-2024 12:29:41.274 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36309"] 23-Jul-2024 12:29:41.277 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsTooSmall[1: loop [0], useAsyncIO[true]]] 23-Jul-2024 12:29:41.279 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-8"] connector has been configured to support HTTP upgrade to [h2c] 23-Jul-2024 12:29:41.279 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 23-Jul-2024 12:29:41.282 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jul-2024 12:29:41.282 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 23-Jul-2024 12:29:41.295 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36237"] 23-Jul-2024 12:29:41.348 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36237"] 23-Jul-2024 12:29:41.350 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jul-2024 12:29:41.352 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36237"] 23-Jul-2024 12:29:41.353 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36237"] ------------- ---------------- --------------- Testcase: testFrameTypeLimitsStream[0: loop [0], useAsyncIO[false]] took 1.742 sec Testcase: testFrameTypeLimitsTooBig[0: loop [0], useAsyncIO[false]] took 0.088 sec Testcase: testFrameSizeLimitsTooBig[0: loop [0], useAsyncIO[false]] took 0.054 sec Testcase: testFrameTypeLimitsTooSmall[0: loop [0], useAsyncIO[false]] took 0.055 sec Testcase: testFrameTypeLimitsStream[1: loop [0], useAsyncIO[true]] took 0.05 sec Testcase: testFrameTypeLimitsTooBig[1: loop [0], useAsyncIO[true]] took 0.03 sec Testcase: testFrameSizeLimitsTooBig[1: loop [0], useAsyncIO[true]] took 0.032 sec Testcase: testFrameTypeLimitsTooSmall[1: loop [0], useAsyncIO[true]] took 0.078 sec