Testsuite: org.apache.coyote.http2.TestHttp2Section_4_2 Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.892 sec ------------- Standard Error ----------------- 20-Nov-2024 17:15:07.976 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsStream[0: loop [0], useAsyncIO[false]]] 20-Nov-2024 17:15:08.812 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] 20-Nov-2024 17:15:08.813 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 20-Nov-2024 17:15:08.900 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Nov-2024 17:15:08.900 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 20-Nov-2024 17:15:09.048 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37535"] 20-Nov-2024 17:15:09.261 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: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) 20-Nov-2024 17:15:09.279 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37535"] 20-Nov-2024 17:15:09.282 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Nov-2024 17:15:09.315 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37535"] 20-Nov-2024 17:15:09.319 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37535"] 20-Nov-2024 17:15:09.340 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsTooBig[0: loop [0], useAsyncIO[false]]] 20-Nov-2024 17:15:09.342 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] 20-Nov-2024 17:15:09.342 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 20-Nov-2024 17:15:09.394 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Nov-2024 17:15:09.395 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 20-Nov-2024 17:15:09.412 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43875"] 20-Nov-2024 17:15:09.440 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43875"] 20-Nov-2024 17:15:09.442 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Nov-2024 17:15:09.445 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43875"] 20-Nov-2024 17:15:09.449 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43875"] 20-Nov-2024 17:15:09.461 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameSizeLimitsTooBig[0: loop [0], useAsyncIO[false]]] 20-Nov-2024 17:15:09.488 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] 20-Nov-2024 17:15:09.492 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 20-Nov-2024 17:15:09.507 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Nov-2024 17:15:09.507 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 20-Nov-2024 17:15:09.512 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44045"] 20-Nov-2024 17:15:09.528 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44045"] 20-Nov-2024 17:15:09.529 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Nov-2024 17:15:09.532 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44045"] 20-Nov-2024 17:15:09.533 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44045"] 20-Nov-2024 17:15:09.537 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsTooSmall[0: loop [0], useAsyncIO[false]]] 20-Nov-2024 17:15:09.539 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] 20-Nov-2024 17:15:09.543 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 20-Nov-2024 17:15:09.571 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Nov-2024 17:15:09.572 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 20-Nov-2024 17:15:09.576 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41353"] 20-Nov-2024 17:15:09.580 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41353"] 20-Nov-2024 17:15:09.583 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Nov-2024 17:15:09.584 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41353"] 20-Nov-2024 17:15:09.585 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41353"] 20-Nov-2024 17:15:09.592 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsStream[1: loop [0], useAsyncIO[true]]] 20-Nov-2024 17:15:09.596 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] 20-Nov-2024 17:15:09.597 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 20-Nov-2024 17:15:09.606 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Nov-2024 17:15:09.606 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 20-Nov-2024 17:15:09.612 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40875"] 20-Nov-2024 17:15:09.629 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:840) 20-Nov-2024 17:15:09.630 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40875"] 20-Nov-2024 17:15:09.630 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Nov-2024 17:15:09.632 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40875"] 20-Nov-2024 17:15:09.633 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40875"] 20-Nov-2024 17:15:09.638 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsTooBig[1: loop [0], useAsyncIO[true]]] 20-Nov-2024 17:15:09.640 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] 20-Nov-2024 17:15:09.642 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 20-Nov-2024 17:15:09.656 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Nov-2024 17:15:09.657 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 20-Nov-2024 17:15:09.660 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36783"] 20-Nov-2024 17:15:09.667 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36783"] 20-Nov-2024 17:15:09.668 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Nov-2024 17:15:09.670 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36783"] 20-Nov-2024 17:15:09.671 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36783"] 20-Nov-2024 17:15:09.673 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameSizeLimitsTooBig[1: loop [0], useAsyncIO[true]]] 20-Nov-2024 17:15:09.675 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] 20-Nov-2024 17:15:09.675 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 20-Nov-2024 17:15:09.701 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Nov-2024 17:15:09.701 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 20-Nov-2024 17:15:09.706 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37159"] 20-Nov-2024 17:15:09.713 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37159"] 20-Nov-2024 17:15:09.714 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Nov-2024 17:15:09.716 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37159"] 20-Nov-2024 17:15:09.717 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37159"] 20-Nov-2024 17:15:09.719 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsTooSmall[1: loop [0], useAsyncIO[true]]] 20-Nov-2024 17:15:09.721 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] 20-Nov-2024 17:15:09.721 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 20-Nov-2024 17:15:09.724 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Nov-2024 17:15:09.724 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 20-Nov-2024 17:15:09.729 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42839"] 20-Nov-2024 17:15:09.735 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42839"] 20-Nov-2024 17:15:09.736 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Nov-2024 17:15:09.738 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42839"] 20-Nov-2024 17:15:09.740 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42839"] ------------- ---------------- --------------- Testcase: testFrameTypeLimitsStream[0: loop [0], useAsyncIO[false]] took 1.436 sec Testcase: testFrameTypeLimitsTooBig[0: loop [0], useAsyncIO[false]] took 0.119 sec Testcase: testFrameSizeLimitsTooBig[0: loop [0], useAsyncIO[false]] took 0.076 sec Testcase: testFrameTypeLimitsTooSmall[0: loop [0], useAsyncIO[false]] took 0.051 sec Testcase: testFrameTypeLimitsStream[1: loop [0], useAsyncIO[true]] took 0.046 sec Testcase: testFrameTypeLimitsTooBig[1: loop [0], useAsyncIO[true]] took 0.036 sec Testcase: testFrameSizeLimitsTooBig[1: loop [0], useAsyncIO[true]] took 0.046 sec Testcase: testFrameTypeLimitsTooSmall[1: loop [0], useAsyncIO[true]] took 0.029 sec