Testsuite: org.apache.coyote.http2.TestHttp2Section_3_2 Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.23 sec ------------- Standard Error ----------------- 12-Dec-2024 19:54:57.595 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectionUpgradeFirstResponse[0: loop [0], useAsyncIO[false]]] 12-Dec-2024 19:54:58.643 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] 12-Dec-2024 19:54:58.644 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 12-Dec-2024 19:54:58.710 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 19:54:58.711 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 19:54:58.795 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41803"] 12-Dec-2024 19:54:58.928 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41803"] 12-Dec-2024 19:54:58.930 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 19:54:58.944 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41803"] 12-Dec-2024 19:54:58.946 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41803"] 12-Dec-2024 19:54:58.952 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectionInvalidPrefaceStart[0: loop [0], useAsyncIO[false]]] 12-Dec-2024 19:54:58.955 INFO [Time-limited test] 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] 12-Dec-2024 19:54:58.955 INFO [Time-limited test] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 12-Dec-2024 19:54:58.958 INFO [Time-limited test] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 19:54:58.958 INFO [Time-limited test] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 19:54:58.963 INFO [Time-limited test] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40665"] 12-Dec-2024 19:54:58.970 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40665"] 12-Dec-2024 19:54:58.970 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 19:54:58.973 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40665"] 12-Dec-2024 19:54:58.974 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40665"] 12-Dec-2024 19:54:58.977 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSplitConnectionValue01[0: loop [0], useAsyncIO[false]]] 12-Dec-2024 19:54:58.979 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] 12-Dec-2024 19:54:58.980 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 12-Dec-2024 19:54:58.999 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 19:54:58.999 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 19:54:59.005 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-36423"] 12-Dec-2024 19:54:59.011 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-36423"] 12-Dec-2024 19:54:59.012 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 19:54:59.025 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-36423"] 12-Dec-2024 19:54:59.026 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-36423"] 12-Dec-2024 19:54:59.030 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSplitConnectionValue02[0: loop [0], useAsyncIO[false]]] 12-Dec-2024 19:54:59.032 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] 12-Dec-2024 19:54:59.032 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 12-Dec-2024 19:54:59.043 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 19:54:59.043 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 19:54:59.050 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-45179"] 12-Dec-2024 19:54:59.057 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-45179"] 12-Dec-2024 19:54:59.060 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 19:54:59.062 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-45179"] 12-Dec-2024 19:54:59.063 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-45179"] 12-Dec-2024 19:54:59.071 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testMissingConnectionValue[0: loop [0], useAsyncIO[false]]] 12-Dec-2024 19:54:59.073 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] 12-Dec-2024 19:54:59.074 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 12-Dec-2024 19:54:59.089 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 19:54:59.089 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 19:54:59.097 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43657"] 12-Dec-2024 19:54:59.111 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43657"] 12-Dec-2024 19:54:59.113 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 19:54:59.116 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43657"] 12-Dec-2024 19:54:59.117 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43657"] 12-Dec-2024 19:54:59.119 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectionNoHttp2Support[0: loop [0], useAsyncIO[false]]] 12-Dec-2024 19:54:59.121 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 12-Dec-2024 19:54:59.123 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 19:54:59.123 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 19:54:59.127 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45811"] 12-Dec-2024 19:54:59.132 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45811"] 12-Dec-2024 19:54:59.133 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 19:54:59.136 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45811"] 12-Dec-2024 19:54:59.137 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45811"] 12-Dec-2024 19:54:59.140 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectionNoPreface[0: loop [0], useAsyncIO[false]]] 12-Dec-2024 19:54:59.142 INFO [Time-limited test] 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] 12-Dec-2024 19:54:59.143 INFO [Time-limited test] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 12-Dec-2024 19:54:59.149 INFO [Time-limited test] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 19:54:59.149 INFO [Time-limited test] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 19:54:59.159 INFO [Time-limited test] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42771"] 12-Dec-2024 19:54:59.167 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42771"] 12-Dec-2024 19:54:59.168 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 19:54:59.170 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42771"] 12-Dec-2024 19:54:59.171 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42771"] 12-Dec-2024 19:54:59.175 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testZeroHttp2Settings[0: loop [0], useAsyncIO[false]]] 12-Dec-2024 19:54:59.177 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] 12-Dec-2024 19:54:59.178 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 12-Dec-2024 19:54:59.185 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 19:54:59.185 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 19:54:59.188 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-32827"] 12-Dec-2024 19:54:59.192 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-32827"] 12-Dec-2024 19:54:59.193 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 19:54:59.198 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-32827"] 12-Dec-2024 19:54:59.202 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-32827"] 12-Dec-2024 19:54:59.204 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectionIncompletePrefaceStart[0: loop [0], useAsyncIO[false]]] 12-Dec-2024 19:54:59.206 INFO [Time-limited test] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-9"] connector has been configured to support HTTP upgrade to [h2c] 12-Dec-2024 19:54:59.206 INFO [Time-limited test] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 12-Dec-2024 19:54:59.225 INFO [Time-limited test] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 19:54:59.226 INFO [Time-limited test] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 19:54:59.232 INFO [Time-limited test] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35209"] 12-Dec-2024 19:54:59.241 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35209"] 12-Dec-2024 19:54:59.242 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 19:54:59.251 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35209"] 12-Dec-2024 19:54:59.252 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35209"] 12-Dec-2024 19:54:59.256 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testMultipleHttp2Settings[0: loop [0], useAsyncIO[false]]] 12-Dec-2024 19:54:59.259 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-10"] connector has been configured to support HTTP upgrade to [h2c] 12-Dec-2024 19:54:59.259 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 12-Dec-2024 19:54:59.264 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 19:54:59.264 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 19:54:59.268 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-35577"] 12-Dec-2024 19:54:59.274 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-35577"] 12-Dec-2024 19:54:59.278 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 19:54:59.281 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-35577"] 12-Dec-2024 19:54:59.285 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-35577"] 12-Dec-2024 19:54:59.289 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectionUpgradeWrongProtocol[0: loop [0], useAsyncIO[false]]] 12-Dec-2024 19:54:59.291 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-11"] connector has been configured to support HTTP upgrade to [h2c] 12-Dec-2024 19:54:59.291 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 12-Dec-2024 19:54:59.308 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 19:54:59.308 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 19:54:59.312 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36857"] 12-Dec-2024 19:54:59.318 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36857"] 12-Dec-2024 19:54:59.319 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 19:54:59.321 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36857"] 12-Dec-2024 19:54:59.322 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36857"] 12-Dec-2024 19:54:59.325 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectionUpgradeFirstResponse[1: loop [0], useAsyncIO[true]]] 12-Dec-2024 19:54:59.327 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-12"] connector has been configured to support HTTP upgrade to [h2c] 12-Dec-2024 19:54:59.327 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 12-Dec-2024 19:54:59.356 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 19:54:59.356 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 19:54:59.361 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-12-34499"] 12-Dec-2024 19:54:59.377 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-12-34499"] 12-Dec-2024 19:54:59.380 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 19:54:59.382 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-12-34499"] 12-Dec-2024 19:54:59.384 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12-34499"] 12-Dec-2024 19:54:59.390 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectionInvalidPrefaceStart[1: loop [0], useAsyncIO[true]]] 12-Dec-2024 19:54:59.395 INFO [Time-limited test] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-13"] connector has been configured to support HTTP upgrade to [h2c] 12-Dec-2024 19:54:59.396 INFO [Time-limited test] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 12-Dec-2024 19:54:59.400 INFO [Time-limited test] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 19:54:59.401 INFO [Time-limited test] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 19:54:59.405 INFO [Time-limited test] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40413"] 12-Dec-2024 19:54:59.408 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40413"] Exception in thread "http-nio2-127.0.0.1-auto-13-exec-4" org.apache.coyote.ProtocolException: Invalid connection preface presented at org.apache.coyote.http2.Http2AsyncParser$PrefaceCompletionHandler.callHandler(Http2AsyncParser.java:96) 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) 12-Dec-2024 19:54:59.411 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 19:54:59.414 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40413"] 12-Dec-2024 19:54:59.414 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40413"] 12-Dec-2024 19:54:59.417 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSplitConnectionValue01[1: loop [0], useAsyncIO[true]]] 12-Dec-2024 19:54:59.419 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-14"] connector has been configured to support HTTP upgrade to [h2c] 12-Dec-2024 19:54:59.419 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 12-Dec-2024 19:54:59.428 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 19:54:59.428 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 19:54:59.434 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-40133"] 12-Dec-2024 19:54:59.443 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-40133"] 12-Dec-2024 19:54:59.446 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 19:54:59.449 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-40133"] 12-Dec-2024 19:54:59.451 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-40133"] 12-Dec-2024 19:54:59.454 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSplitConnectionValue02[1: loop [0], useAsyncIO[true]]] 12-Dec-2024 19:54:59.456 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-15"] connector has been configured to support HTTP upgrade to [h2c] 12-Dec-2024 19:54:59.456 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 12-Dec-2024 19:54:59.465 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 19:54:59.465 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 19:54:59.477 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-44559"] 12-Dec-2024 19:54:59.483 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-44559"] 12-Dec-2024 19:54:59.485 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 19:54:59.487 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-44559"] 12-Dec-2024 19:54:59.488 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-44559"] 12-Dec-2024 19:54:59.491 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testMissingConnectionValue[1: loop [0], useAsyncIO[true]]] 12-Dec-2024 19:54:59.493 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-16"] connector has been configured to support HTTP upgrade to [h2c] 12-Dec-2024 19:54:59.493 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-16"] 12-Dec-2024 19:54:59.496 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 19:54:59.496 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 19:54:59.504 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-16-36127"] 12-Dec-2024 19:54:59.508 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-16-36127"] 12-Dec-2024 19:54:59.509 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 19:54:59.511 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-16-36127"] 12-Dec-2024 19:54:59.512 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-16-36127"] 12-Dec-2024 19:54:59.515 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectionNoHttp2Support[1: loop [0], useAsyncIO[true]]] 12-Dec-2024 19:54:59.516 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-17"] 12-Dec-2024 19:54:59.518 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 19:54:59.518 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 19:54:59.521 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-17-40653"] 12-Dec-2024 19:54:59.524 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-17-40653"] 12-Dec-2024 19:54:59.525 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 19:54:59.527 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-17-40653"] 12-Dec-2024 19:54:59.527 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-17-40653"] 12-Dec-2024 19:54:59.529 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectionNoPreface[1: loop [0], useAsyncIO[true]]] 12-Dec-2024 19:54:59.531 INFO [Time-limited test] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-18"] connector has been configured to support HTTP upgrade to [h2c] 12-Dec-2024 19:54:59.531 INFO [Time-limited test] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-18"] 12-Dec-2024 19:54:59.533 INFO [Time-limited test] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 19:54:59.533 INFO [Time-limited test] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 19:54:59.535 INFO [Time-limited test] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-18-36673"] 12-Dec-2024 19:54:59.538 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-18-36673"] 12-Dec-2024 19:54:59.538 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 19:54:59.540 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-18-36673"] 12-Dec-2024 19:54:59.540 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-18-36673"] 12-Dec-2024 19:54:59.543 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testZeroHttp2Settings[1: loop [0], useAsyncIO[true]]] 12-Dec-2024 19:54:59.544 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-19"] connector has been configured to support HTTP upgrade to [h2c] 12-Dec-2024 19:54:59.545 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-19"] 12-Dec-2024 19:54:59.551 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 19:54:59.551 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 19:54:59.554 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-19-34111"] 12-Dec-2024 19:54:59.556 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-19-34111"] 12-Dec-2024 19:54:59.557 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 19:54:59.559 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-19-34111"] 12-Dec-2024 19:54:59.560 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-19-34111"] 12-Dec-2024 19:54:59.561 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectionIncompletePrefaceStart[1: loop [0], useAsyncIO[true]]] 12-Dec-2024 19:54:59.563 INFO [Time-limited test] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-20"] connector has been configured to support HTTP upgrade to [h2c] 12-Dec-2024 19:54:59.563 INFO [Time-limited test] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-20"] 12-Dec-2024 19:54:59.570 INFO [Time-limited test] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 19:54:59.570 INFO [Time-limited test] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 19:54:59.573 INFO [Time-limited test] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-20-37713"] 12-Dec-2024 19:54:59.576 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-20-37713"] 12-Dec-2024 19:54:59.577 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 19:54:59.578 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-20-37713"] 12-Dec-2024 19:54:59.579 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-20-37713"] Exception in thread "http-nio2-127.0.0.1-auto-20-exec-8" org.apache.coyote.ProtocolException: Invalid connection preface presented at org.apache.coyote.http2.Http2AsyncParser$PrefaceCompletionHandler.callHandler(Http2AsyncParser.java:96) 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) 12-Dec-2024 19:54:59.582 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testMultipleHttp2Settings[1: loop [0], useAsyncIO[true]]] 12-Dec-2024 19:54:59.583 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-21"] connector has been configured to support HTTP upgrade to [h2c] 12-Dec-2024 19:54:59.584 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-21"] 12-Dec-2024 19:54:59.589 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 19:54:59.589 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 19:54:59.591 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-21-43371"] 12-Dec-2024 19:54:59.594 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-21-43371"] 12-Dec-2024 19:54:59.599 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 19:54:59.600 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-21-43371"] 12-Dec-2024 19:54:59.601 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-21-43371"] 12-Dec-2024 19:54:59.604 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectionUpgradeWrongProtocol[1: loop [0], useAsyncIO[true]]] 12-Dec-2024 19:54:59.605 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-22"] connector has been configured to support HTTP upgrade to [h2c] 12-Dec-2024 19:54:59.605 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-22"] 12-Dec-2024 19:54:59.607 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 19:54:59.607 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 19:54:59.610 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-22-42135"] 12-Dec-2024 19:54:59.613 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-22-42135"] 12-Dec-2024 19:54:59.613 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 19:54:59.615 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-22-42135"] 12-Dec-2024 19:54:59.615 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-22-42135"] ------------- ---------------- --------------- Testcase: testConnectionUpgradeFirstResponse[0: loop [0], useAsyncIO[false]] took 1.436 sec Testcase: testConnectionInvalidPrefaceStart[0: loop [0], useAsyncIO[false]] took 0.026 sec Testcase: testSplitConnectionValue01[0: loop [0], useAsyncIO[false]] took 0.052 sec Testcase: testSplitConnectionValue02[0: loop [0], useAsyncIO[false]] took 0.04 sec Testcase: testMissingConnectionValue[0: loop [0], useAsyncIO[false]] took 0.049 sec Testcase: testConnectionNoHttp2Support[0: loop [0], useAsyncIO[false]] took 0.02 sec Testcase: testConnectionNoPreface[0: loop [0], useAsyncIO[false]] took 0.035 sec Testcase: testZeroHttp2Settings[0: loop [0], useAsyncIO[false]] took 0.028 sec Testcase: testConnectionIncompletePrefaceStart[0: loop [0], useAsyncIO[false]] took 0.053 sec Testcase: testMultipleHttp2Settings[0: loop [0], useAsyncIO[false]] took 0.033 sec Testcase: testConnectionUpgradeWrongProtocol[0: loop [0], useAsyncIO[false]] took 0.035 sec Testcase: testConnectionUpgradeFirstResponse[1: loop [0], useAsyncIO[true]] took 0.064 sec Testcase: testConnectionInvalidPrefaceStart[1: loop [0], useAsyncIO[true]] took 0.027 sec Testcase: testSplitConnectionValue01[1: loop [0], useAsyncIO[true]] took 0.037 sec Testcase: testSplitConnectionValue02[1: loop [0], useAsyncIO[true]] took 0.037 sec Testcase: testMissingConnectionValue[1: loop [0], useAsyncIO[true]] took 0.023 sec Testcase: testConnectionNoHttp2Support[1: loop [0], useAsyncIO[true]] took 0.015 sec Testcase: testConnectionNoPreface[1: loop [0], useAsyncIO[true]] took 0.013 sec Testcase: testZeroHttp2Settings[1: loop [0], useAsyncIO[true]] took 0.018 sec Testcase: testConnectionIncompletePrefaceStart[1: loop [0], useAsyncIO[true]] took 0.02 sec Testcase: testMultipleHttp2Settings[1: loop [0], useAsyncIO[true]] took 0.021 sec Testcase: testConnectionUpgradeWrongProtocol[1: loop [0], useAsyncIO[true]] took 0.015 sec