Testsuite: org.apache.coyote.http2.TestHttp2Section_4_2 Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.111 sec ------------- Standard Error ----------------- 02-Dec-2024 19:37:19.198 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsStream[0: loop [0], useAsyncIO[false]]] 02-Dec-2024 19:37:19.999 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] 02-Dec-2024 19:37:19.999 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 02-Dec-2024 19:37:20.077 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 19:37:20.078 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 19:37:20.200 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37529"] 02-Dec-2024 19:37:20.434 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:683) 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:354) 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:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:637) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:613) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 02-Dec-2024 19:37:20.440 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37529"] 02-Dec-2024 19:37:20.442 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 19:37:20.478 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37529"] 02-Dec-2024 19:37:20.480 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37529"] 02-Dec-2024 19:37:20.491 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsTooBig[0: loop [0], useAsyncIO[false]]] 02-Dec-2024 19:37:20.498 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] 02-Dec-2024 19:37:20.499 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 02-Dec-2024 19:37:20.510 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 19:37:20.510 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 19:37:20.529 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42737"] 02-Dec-2024 19:37:20.554 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42737"] 02-Dec-2024 19:37:20.554 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 19:37:20.557 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42737"] 02-Dec-2024 19:37:20.569 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42737"] 02-Dec-2024 19:37:20.572 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameSizeLimitsTooBig[0: loop [0], useAsyncIO[false]]] 02-Dec-2024 19:37:20.574 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] 02-Dec-2024 19:37:20.575 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 02-Dec-2024 19:37:20.608 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 19:37:20.608 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 19:37:20.616 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43753"] 02-Dec-2024 19:37:20.635 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43753"] 02-Dec-2024 19:37:20.644 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 19:37:20.647 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43753"] 02-Dec-2024 19:37:20.648 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43753"] 02-Dec-2024 19:37:20.651 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsTooSmall[0: loop [0], useAsyncIO[false]]] 02-Dec-2024 19:37:20.654 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] 02-Dec-2024 19:37:20.655 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 02-Dec-2024 19:37:20.659 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 19:37:20.659 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 19:37:20.679 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46033"] 02-Dec-2024 19:37:20.694 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46033"] 02-Dec-2024 19:37:20.695 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 19:37:20.699 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46033"] 02-Dec-2024 19:37:20.701 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46033"] 02-Dec-2024 19:37:20.706 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsStream[1: loop [0], useAsyncIO[true]]] 02-Dec-2024 19:37:20.709 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] 02-Dec-2024 19:37:20.709 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 02-Dec-2024 19:37:20.725 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 19:37:20.725 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 19:37:20.737 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42267"] 02-Dec-2024 19:37:20.772 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:683) 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:1076) at org.apache.tomcat.util.net.SocketWrapperBase$VectoredIOCompletionHandler.completed(SocketWrapperBase.java:1065) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 02-Dec-2024 19:37:20.773 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42267"] 02-Dec-2024 19:37:20.774 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 19:37:20.782 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42267"] 02-Dec-2024 19:37:20.784 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42267"] 02-Dec-2024 19:37:20.788 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsTooBig[1: loop [0], useAsyncIO[true]]] 02-Dec-2024 19:37:20.801 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] 02-Dec-2024 19:37:20.802 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 02-Dec-2024 19:37:20.853 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 19:37:20.853 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 19:37:20.857 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37389"] 02-Dec-2024 19:37:20.905 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37389"] 02-Dec-2024 19:37:20.907 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 19:37:20.911 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37389"] 02-Dec-2024 19:37:20.913 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37389"] 02-Dec-2024 19:37:20.919 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameSizeLimitsTooBig[1: loop [0], useAsyncIO[true]]] 02-Dec-2024 19:37:20.921 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] 02-Dec-2024 19:37:20.921 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 02-Dec-2024 19:37:20.999 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 19:37:20.999 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 19:37:21.021 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-38801"] 02-Dec-2024 19:37:21.033 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-38801"] 02-Dec-2024 19:37:21.036 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 19:37:21.039 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-38801"] 02-Dec-2024 19:37:21.039 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-38801"] 02-Dec-2024 19:37:21.044 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsTooSmall[1: loop [0], useAsyncIO[true]]] 02-Dec-2024 19:37:21.046 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] 02-Dec-2024 19:37:21.046 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 02-Dec-2024 19:37:21.129 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 19:37:21.130 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 19:37:21.141 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38303"] 02-Dec-2024 19:37:21.193 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38303"] 02-Dec-2024 19:37:21.195 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 19:37:21.198 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38303"] 02-Dec-2024 19:37:21.201 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38303"] ------------- ---------------- --------------- Testcase: testFrameTypeLimitsStream[0: loop [0], useAsyncIO[false]] took 1.339 sec Testcase: testFrameTypeLimitsTooBig[0: loop [0], useAsyncIO[false]] took 0.08 sec Testcase: testFrameSizeLimitsTooBig[0: loop [0], useAsyncIO[false]] took 0.079 sec Testcase: testFrameTypeLimitsTooSmall[0: loop [0], useAsyncIO[false]] took 0.054 sec Testcase: testFrameTypeLimitsStream[1: loop [0], useAsyncIO[true]] took 0.082 sec Testcase: testFrameTypeLimitsTooBig[1: loop [0], useAsyncIO[true]] took 0.13 sec Testcase: testFrameSizeLimitsTooBig[1: loop [0], useAsyncIO[true]] took 0.124 sec Testcase: testFrameTypeLimitsTooSmall[1: loop [0], useAsyncIO[true]] took 0.164 sec