Testsuite: org.apache.coyote.http2.TestHttp2Section_4_2 Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.117 sec ------------- Standard Error ----------------- 05-Jul-2024 08:11:38.851 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsStream[0: loop [0], useAsyncIO[false]]] 05-Jul-2024 08:11:39.668 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-Jul-2024 08:11:39.671 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 05-Jul-2024 08:11:39.833 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Jul-2024 08:11:39.846 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 05-Jul-2024 08:11:40.076 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43435"] 05-Jul-2024 08:11:40.344 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) 05-Jul-2024 08:11:40.350 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43435"] 05-Jul-2024 08:11:40.353 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Jul-2024 08:11:40.382 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43435"] 05-Jul-2024 08:11:40.400 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43435"] 05-Jul-2024 08:11:40.425 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsTooBig[0: loop [0], useAsyncIO[false]]] 05-Jul-2024 08:11:40.428 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-Jul-2024 08:11:40.428 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 05-Jul-2024 08:11:40.458 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Jul-2024 08:11:40.458 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 05-Jul-2024 08:11:40.472 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33951"] 05-Jul-2024 08:11:40.490 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33951"] 05-Jul-2024 08:11:40.491 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Jul-2024 08:11:40.494 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33951"] 05-Jul-2024 08:11:40.495 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33951"] 05-Jul-2024 08:11:40.498 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameSizeLimitsTooBig[0: loop [0], useAsyncIO[false]]] 05-Jul-2024 08:11:40.501 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-Jul-2024 08:11:40.501 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 05-Jul-2024 08:11:40.526 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Jul-2024 08:11:40.527 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 05-Jul-2024 08:11:40.537 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-40701"] 05-Jul-2024 08:11:40.555 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-40701"] 05-Jul-2024 08:11:40.558 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Jul-2024 08:11:40.560 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-40701"] 05-Jul-2024 08:11:40.561 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-40701"] 05-Jul-2024 08:11:40.565 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsTooSmall[0: loop [0], useAsyncIO[false]]] 05-Jul-2024 08:11:40.572 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-Jul-2024 08:11:40.572 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 05-Jul-2024 08:11:40.575 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Jul-2024 08:11:40.575 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 05-Jul-2024 08:11:40.593 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-45291"] 05-Jul-2024 08:11:40.642 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-45291"] 05-Jul-2024 08:11:40.643 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Jul-2024 08:11:40.645 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-45291"] 05-Jul-2024 08:11:40.645 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-45291"] 05-Jul-2024 08:11:40.649 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsStream[1: loop [0], useAsyncIO[true]]] 05-Jul-2024 08:11:40.651 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-Jul-2024 08:11:40.651 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 05-Jul-2024 08:11:40.664 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Jul-2024 08:11:40.664 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 05-Jul-2024 08:11:40.668 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43417"] 05-Jul-2024 08:11:40.726 INFO [http-nio2-127.0.0.1-auto-5-exec-7] 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) 05-Jul-2024 08:11:40.727 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43417"] 05-Jul-2024 08:11:40.728 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Jul-2024 08:11:40.731 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43417"] 05-Jul-2024 08:11:40.732 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43417"] 05-Jul-2024 08:11:40.733 SEVERE [http-nio2-127.0.0.1-auto-5-exec-9] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored java.nio.channels.ShutdownChannelGroupException at java.base/sun.nio.ch.Invoker.invokeIndirectly(Invoker.java:225) at java.base/sun.nio.ch.Invoker.invoke(Invoker.java:191) at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:369) at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:416) at org.apache.tomcat.util.net.Nio2Channel.write(Nio2Channel.java:184) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$Nio2OperationState.run(Nio2Endpoint.java:1109) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$Nio2OperationState.start(Nio2Endpoint.java:1054) at org.apache.tomcat.util.net.SocketWrapperBase.vectoredOperation(SocketWrapperBase.java:1440) at org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:1366) at org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:1337) at org.apache.coyote.http2.Http2AsyncUpgradeHandler.writeGoAwayFrame(Http2AsyncUpgradeHandler.java:189) at org.apache.coyote.http2.Http2UpgradeHandler.closeConnection(Http2UpgradeHandler.java:624) at org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch(Http2UpgradeHandler.java:431) at org.apache.coyote.http2.Http2AsyncUpgradeHandler.upgradeDispatch(Http2AsyncUpgradeHandler.java:43) 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.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) 05-Jul-2024 08:11:40.737 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsTooBig[1: loop [0], useAsyncIO[true]]] 05-Jul-2024 08:11:40.739 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-Jul-2024 08:11:40.739 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 05-Jul-2024 08:11:40.744 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Jul-2024 08:11:40.744 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 05-Jul-2024 08:11:40.749 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40409"] 05-Jul-2024 08:11:40.754 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40409"] 05-Jul-2024 08:11:40.757 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Jul-2024 08:11:40.759 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40409"] 05-Jul-2024 08:11:40.760 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40409"] 05-Jul-2024 08:11:40.764 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameSizeLimitsTooBig[1: loop [0], useAsyncIO[true]]] 05-Jul-2024 08:11:40.765 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] 05-Jul-2024 08:11:40.766 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 05-Jul-2024 08:11:40.773 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Jul-2024 08:11:40.773 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 05-Jul-2024 08:11:40.776 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43505"] 05-Jul-2024 08:11:40.788 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43505"] 05-Jul-2024 08:11:40.790 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Jul-2024 08:11:40.792 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43505"] 05-Jul-2024 08:11:40.793 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43505"] 05-Jul-2024 08:11:40.796 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsTooSmall[1: loop [0], useAsyncIO[true]]] 05-Jul-2024 08:11:40.797 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] 05-Jul-2024 08:11:40.798 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 05-Jul-2024 08:11:40.804 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Jul-2024 08:11:40.804 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 05-Jul-2024 08:11:40.810 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34841"] 05-Jul-2024 08:11:40.866 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34841"] 05-Jul-2024 08:11:40.869 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Jul-2024 08:11:40.871 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34841"] 05-Jul-2024 08:11:40.872 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34841"] ------------- ---------------- --------------- Testcase: testFrameTypeLimitsStream[0: loop [0], useAsyncIO[false]] took 1.594 sec Testcase: testFrameTypeLimitsTooBig[0: loop [0], useAsyncIO[false]] took 0.09 sec Testcase: testFrameSizeLimitsTooBig[0: loop [0], useAsyncIO[false]] took 0.066 sec Testcase: testFrameTypeLimitsTooSmall[0: loop [0], useAsyncIO[false]] took 0.083 sec Testcase: testFrameTypeLimitsStream[1: loop [0], useAsyncIO[true]] took 0.087 sec Testcase: testFrameTypeLimitsTooBig[1: loop [0], useAsyncIO[true]] took 0.027 sec Testcase: testFrameSizeLimitsTooBig[1: loop [0], useAsyncIO[true]] took 0.032 sec Testcase: testFrameTypeLimitsTooSmall[1: loop [0], useAsyncIO[true]] took 0.08 sec