Testsuite: org.apache.coyote.http2.TestRfc9218 Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.869 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 ----------------- 01-Nov-2023 16:08:53.542 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriority[0: loop [0], useAsyncIO[false]]] 01-Nov-2023 16:08:53.949 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] 01-Nov-2023 16:08:53.950 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 01-Nov-2023 16:08:53.984 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Nov-2023 16:08:53.985 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 01-Nov-2023 16:08:54.058 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37441"] 01-Nov-2023 16:08:54.688 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37441"] 01-Nov-2023 16:08:54.690 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Nov-2023 16:08:54.716 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37441"] 01-Nov-2023 16:08:54.719 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37441"] 01-Nov-2023 16:08:54.727 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriority[1: loop [0], useAsyncIO[true]]] 01-Nov-2023 16:08:54.738 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] 01-Nov-2023 16:08:54.739 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 01-Nov-2023 16:08:54.779 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Nov-2023 16:08:54.780 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 01-Nov-2023 16:08:54.786 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46821"] java.io.IOException: End of input stream with [9] bytes left to read at org.apache.coyote.http2.Http2TestBase$TestInput.fill(Http2TestBase.java:1046) at org.apache.coyote.http2.Http2Parser$Input.fill(Http2Parser.java:749) 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:568) 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) 01-Nov-2023 16:08:55.345 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46821"] 01-Nov-2023 16:08:55.348 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Nov-2023 16:08:55.352 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46821"] 01-Nov-2023 16:08:55.353 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46821"] ------------- ---------------- --------------- Testcase: testPriority[0: loop [0], useAsyncIO[false]] took 1.211 sec Testcase: testPriority[1: loop [0], useAsyncIO[true]] took 0.632 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)