Testsuite: org.apache.coyote.http2.TestRfc9218 Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.249 sec ------------- Standard Output --------------- 3-HeadersStart 3-Header-[:status]-[200] 3-Header-[content-type]-[application/octet-stream] 3-Header-[content-length]-[8192] 3-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 3-HeadersEnd 3-Body-8192 3-EndOfStream 5-HeadersStart 5-Header-[:status]-[200] 5-Header-[content-type]-[application/octet-stream] 5-Header-[content-length]-[8192] 5-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 5-HeadersEnd 5-Body-8192 5-EndOfStream 7-HeadersStart 7-Header-[:status]-[200] 7-Header-[content-type]-[application/octet-stream] 7-Header-[content-length]-[8192] 7-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 7-HeadersEnd 7-Body-8192 7-EndOfStream 9-HeadersStart 9-Header-[:status]-[200] 9-Header-[content-type]-[application/octet-stream] 9-Header-[content-length]-[8192] 9-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 9-HeadersEnd 9-Body-8192 9-EndOfStream 11-HeadersStart 11-Header-[:status]-[200] 11-Header-[content-type]-[application/octet-stream] 11-Header-[content-length]-[8192] 11-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 11-HeadersEnd 11-Body-8192 11-EndOfStream 13-HeadersStart 13-Header-[:status]-[200] 13-Header-[content-type]-[application/octet-stream] 13-Header-[content-length]-[8192] 13-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 13-HeadersEnd 13-Body-8192 13-EndOfStream 15-HeadersStart 15-Header-[:status]-[200] 15-Header-[content-type]-[application/octet-stream] 15-Header-[content-length]-[8192] 15-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 15-HeadersEnd 15-Body-8192 15-EndOfStream 17-HeadersStart 17-Header-[:status]-[200] 17-Header-[content-type]-[application/octet-stream] 17-Header-[content-length]-[8192] 17-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 17-HeadersEnd 17-Body-1024 19-HeadersStart 19-Header-[:status]-[200] 19-Header-[content-type]-[application/octet-stream] 19-Header-[content-length]-[8192] 19-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 19-HeadersEnd 21-HeadersStart 21-Header-[:status]-[200] 21-Header-[content-type]-[application/octet-stream] 21-Header-[content-length]-[8192] 21-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 21-HeadersEnd 17-Body-5266 17-EndOfStream 21-Body-1365 19-Body-1560 3-HeadersStart 3-Header-[:status]-[200] 3-Header-[content-type]-[application/octet-stream] 3-Header-[content-length]-[8192] 3-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 3-HeadersEnd 3-Body-8192 3-EndOfStream 5-HeadersStart 5-Header-[:status]-[200] 5-Header-[content-type]-[application/octet-stream] 5-Header-[content-length]-[8192] 5-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 5-HeadersEnd 5-Body-8192 5-EndOfStream 7-HeadersStart 7-Header-[:status]-[200] 7-Header-[content-type]-[application/octet-stream] 7-Header-[content-length]-[8192] 7-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 7-HeadersEnd 7-Body-8192 7-EndOfStream 9-HeadersStart 9-Header-[:status]-[200] 9-Header-[content-type]-[application/octet-stream] 9-Header-[content-length]-[8192] 9-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 9-HeadersEnd 9-Body-8192 9-EndOfStream 11-HeadersStart 11-Header-[:status]-[200] 11-Header-[content-type]-[application/octet-stream] 11-Header-[content-length]-[8192] 11-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 11-HeadersEnd 11-Body-8192 11-EndOfStream 13-HeadersStart 13-Header-[:status]-[200] 13-Header-[content-type]-[application/octet-stream] 13-Header-[content-length]-[8192] 13-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 13-HeadersEnd 13-Body-8192 13-EndOfStream 15-HeadersStart 15-Header-[:status]-[200] 15-Header-[content-type]-[application/octet-stream] 15-Header-[content-length]-[8192] 15-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 15-HeadersEnd 15-Body-8192 15-EndOfStream 17-HeadersStart 17-Header-[:status]-[200] 17-Header-[content-type]-[application/octet-stream] 17-Header-[content-length]-[8192] 17-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 17-HeadersEnd 17-Body-1024 19-HeadersStart 19-Header-[:status]-[200] 19-Header-[content-type]-[application/octet-stream] 19-Header-[content-length]-[8192] 19-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 19-HeadersEnd 21-HeadersStart 21-Header-[:status]-[200] 21-Header-[content-type]-[application/octet-stream] 21-Header-[content-length]-[8192] 21-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 21-HeadersEnd ------------- ---------------- --------------- ------------- Standard Error ----------------- 11-Dec-2024 13:06:29.535 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriority[0: loop [0], useAsyncIO[false]]] 11-Dec-2024 13:06:29.969 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] 11-Dec-2024 13:06:29.970 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 11-Dec-2024 13:06:30.014 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 13:06:30.014 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 13:06:30.107 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36621"] 11-Dec-2024 13:06:30.410 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36621"] 11-Dec-2024 13:06:30.411 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 13:06:30.423 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36621"] 11-Dec-2024 13:06:30.424 SEVERE [http-nio2-127.0.0.1-auto-1-exec-8] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored java.util.concurrent.RejectedExecutionException at org.apache.tomcat.util.net.SocketWrapperBase.execute(SocketWrapperBase.java:187) at org.apache.coyote.http2.Http2UpgradeHandler.processStreamOnContainerThread(Http2UpgradeHandler.java:305) at org.apache.coyote.http2.StreamProcessor.processSocketEvent(StreamProcessor.java:333) at org.apache.coyote.http2.StreamProcessor.executeDispatches(StreamProcessor.java:383) at org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:610) at org.apache.coyote.Request.action(Request.java:521) at org.apache.coyote.http2.Stream$StandardStreamInputBuffer.receiveReset(Stream.java:1518) at org.apache.coyote.http2.Stream.receiveReset(Stream.java:224) at org.apache.coyote.http2.Http2UpgradeHandler.close(Http2UpgradeHandler.java:1305) at org.apache.coyote.http2.Http2UpgradeHandler.closeConnection(Http2UpgradeHandler.java:628) at org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch(Http2UpgradeHandler.java:430) 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.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) 11-Dec-2024 13:06:30.425 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36621"] 11-Dec-2024 13:06:35.427 WARNING [main] org.apache.tomcat.util.net.Nio2Endpoint.shutdownExecutor The executor associated with thread pool [http-nio2-127.0.0.1-auto-1] has not fully shutdown. Some application threads may still be running. 11-Dec-2024 13:06:35.434 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriority[1: loop [0], useAsyncIO[true]]] 11-Dec-2024 13:06:35.448 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] 11-Dec-2024 13:06:35.449 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 11-Dec-2024 13:06:35.481 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 13:06:35.481 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 13:06:35.500 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39853"] java.io.IOException: End of input stream with [9] bytes left to read at org.apache.coyote.http2.Http2TestBase$TestInput.fill(Http2TestBase.java:1049) at org.apache.coyote.http2.Http2Parser$Input.fill(Http2Parser.java:750) at org.apache.coyote.http2.Http2Parser.readFrame(Http2Parser.java:93) at org.apache.coyote.http2.Http2Parser.readFrame(Http2Parser.java:87) at org.apache.coyote.http2.TesterHttp2Parser.readFrame(TesterHttp2Parser.java:44) at org.apache.coyote.http2.TestRfc9218.testPriority(TestRfc9218.java:159) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:50) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1197) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1042) 11-Dec-2024 13:06:35.679 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39853"] 11-Dec-2024 13:06:35.684 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 13:06:35.689 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39853"] 11-Dec-2024 13:06:35.691 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39853"] ------------- ---------------- --------------- Testcase: testPriority[0: loop [0], useAsyncIO[false]] took 5.937 sec Testcase: testPriority[1: loop [0], useAsyncIO[true]] took 0.264 sec FAILED null junit.framework.AssertionFailedError at org.apache.coyote.http2.TestRfc9218.testPriority(TestRfc9218.java:170) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)