Run| Workspace| Log| Issues| Fixes| Pre-reqs| Stats| XRef| Maven Repository Proxy Log Gump Logo

Details

File Contents

Testsuite: org.apache.coyote.http11.upgrade.TestUpgrade
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.523 sec
------------- Standard Error -----------------
02-Jan-2025 14:11:17.520 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testMessagesBlocking]
02-Jan-2025 14:11:18.250 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"]
02-Jan-2025 14:11:18.280 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
02-Jan-2025 14:11:18.280 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.99-dev]
02-Jan-2025 14:11:18.476 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-42909"]
02-Jan-2025 14:11:19.078 SEVERE [http-nio-127.0.0.1-auto-1-exec-1] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored
	java.lang.IllegalStateException: java.io.EOFException
		at org.apache.coyote.http11.upgrade.TestUpgrade$EchoBlocking.init(TestUpgrade.java:283)
		at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:983)
		at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1793)
		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:1575)
	Caused by: java.io.EOFException
		at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1322)
		at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1296)
		at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.read(NioEndpoint.java:1201)
		at org.apache.coyote.http11.upgrade.UpgradeServletInputStream.read(UpgradeServletInputStream.java:155)
		at java.base/java.io.InputStream.read(InputStream.java:220)
		at org.apache.coyote.http11.upgrade.TestUpgrade$EchoBlocking.init(TestUpgrade.java:278)
		... 7 more
02-Jan-2025 14:11:19.079 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-42909"]
02-Jan-2025 14:11:19.080 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
02-Jan-2025 14:11:19.099 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-42909"]
02-Jan-2025 14:11:19.103 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-42909"]
02-Jan-2025 14:11:19.110 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSimpleUpgradeBlocking]
02-Jan-2025 14:11:19.112 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"]
02-Jan-2025 14:11:19.113 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
02-Jan-2025 14:11:19.113 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.99-dev]
02-Jan-2025 14:11:19.118 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-45095"]
02-Jan-2025 14:11:19.131 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-45095"]
02-Jan-2025 14:11:19.132 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
02-Jan-2025 14:11:19.135 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-45095"]
02-Jan-2025 14:11:19.137 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-45095"]
02-Jan-2025 14:11:19.139 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testMessagesNonBlocking]
02-Jan-2025 14:11:19.143 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"]
02-Jan-2025 14:11:19.143 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
02-Jan-2025 14:11:19.144 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.99-dev]
02-Jan-2025 14:11:19.151 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-44941"]
java.io.EOFException
	at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1345)
	at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1296)
	at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.isReadyForRead(NioEndpoint.java:1179)
	at org.apache.coyote.http11.upgrade.UpgradeServletInputStream.isReady(UpgradeServletInputStream.java:81)
	at org.apache.coyote.http11.upgrade.TestUpgrade$EchoNonBlocking$EchoListener.onWritePossible(TestUpgrade.java:336)
	at org.apache.coyote.http11.upgrade.TestUpgrade$EchoNonBlocking$EchoListener.onDataAvailable(TestUpgrade.java:350)
	at org.apache.coyote.http11.upgrade.UpgradeServletInputStream.onDataAvailable(UpgradeServletInputStream.java:223)
	at org.apache.coyote.http11.upgrade.UpgradeProcessorExternal.dispatch(UpgradeProcessorExternal.java:95)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:57)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:937)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1793)
	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:1575)
02-Jan-2025 14:11:19.659 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-44941"]
02-Jan-2025 14:11:19.660 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
02-Jan-2025 14:11:19.664 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-44941"]
02-Jan-2025 14:11:19.670 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-44941"]
02-Jan-2025 14:11:19.673 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSetWriteListenerTwice]
02-Jan-2025 14:11:19.683 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"]
02-Jan-2025 14:11:19.684 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
02-Jan-2025 14:11:19.685 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.99-dev]
02-Jan-2025 14:11:19.698 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-43809"]
02-Jan-2025 14:11:19.709 SEVERE [http-nio-127.0.0.1-auto-4-exec-1] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored
	java.lang.IllegalArgumentException: It is illegal to call setWriteListener() more than once for the same upgraded connection
		at org.apache.coyote.http11.upgrade.UpgradeServletOutputStream.setWriteListener(UpgradeServletOutputStream.java:107)
		at org.apache.coyote.http11.upgrade.TestUpgrade$SetWriteListenerTwice.init(TestUpgrade.java:449)
		at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:983)
		at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1793)
		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:1575)
02-Jan-2025 14:11:19.711 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-43809"]
02-Jan-2025 14:11:19.712 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
02-Jan-2025 14:11:19.715 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-43809"]
02-Jan-2025 14:11:19.718 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-43809"]
02-Jan-2025 14:11:19.720 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFirstCallToOnWritePossible]
02-Jan-2025 14:11:19.723 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"]
02-Jan-2025 14:11:19.724 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
02-Jan-2025 14:11:19.724 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.99-dev]
02-Jan-2025 14:11:19.728 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-35073"]
02-Jan-2025 14:11:19.737 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-35073"]
02-Jan-2025 14:11:19.740 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
02-Jan-2025 14:11:19.743 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-35073"]
02-Jan-2025 14:11:19.745 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-35073"]
02-Jan-2025 14:11:19.747 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSetNullReadListener]
02-Jan-2025 14:11:19.749 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"]
02-Jan-2025 14:11:19.749 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
02-Jan-2025 14:11:19.750 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.99-dev]
02-Jan-2025 14:11:19.754 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-32969"]
02-Jan-2025 14:11:19.760 SEVERE [http-nio-127.0.0.1-auto-6-exec-1] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored
	java.lang.IllegalArgumentException: It is illegal to pass null to setReadListener()
		at org.apache.coyote.http11.upgrade.UpgradeServletInputStream.setReadListener(UpgradeServletInputStream.java:92)
		at org.apache.coyote.http11.upgrade.TestUpgrade$SetNullReadListener.init(TestUpgrade.java:379)
		at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:983)
		at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1793)
		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:1575)
02-Jan-2025 14:11:19.761 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-32969"]
02-Jan-2025 14:11:19.762 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
02-Jan-2025 14:11:19.765 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-32969"]
02-Jan-2025 14:11:19.769 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-32969"]
02-Jan-2025 14:11:19.771 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSetNullWriteListener]
02-Jan-2025 14:11:19.773 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"]
02-Jan-2025 14:11:19.773 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
02-Jan-2025 14:11:19.774 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.99-dev]
02-Jan-2025 14:11:19.779 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-43221"]
02-Jan-2025 14:11:19.789 SEVERE [http-nio-127.0.0.1-auto-7-exec-1] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored
	java.lang.IllegalArgumentException: It is illegal to pass null to setWriteListener()
		at org.apache.coyote.http11.upgrade.UpgradeServletOutputStream.setWriteListener(UpgradeServletOutputStream.java:104)
		at org.apache.coyote.http11.upgrade.TestUpgrade$SetNullWriteListener.init(TestUpgrade.java:399)
		at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:983)
		at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1793)
		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:1575)
02-Jan-2025 14:11:19.791 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-43221"]
02-Jan-2025 14:11:19.795 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
02-Jan-2025 14:11:19.801 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-43221"]
02-Jan-2025 14:11:19.804 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-43221"]
02-Jan-2025 14:11:19.807 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSimpleUpgradeNonBlocking]
02-Jan-2025 14:11:19.809 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"]
02-Jan-2025 14:11:19.810 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
02-Jan-2025 14:11:19.810 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.99-dev]
02-Jan-2025 14:11:19.817 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-38853"]
02-Jan-2025 14:11:19.823 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-38853"]
02-Jan-2025 14:11:19.826 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
02-Jan-2025 14:11:19.829 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-38853"]
02-Jan-2025 14:11:19.832 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-38853"]
02-Jan-2025 14:11:19.835 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSetReadListenerTwice]
02-Jan-2025 14:11:19.838 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"]
02-Jan-2025 14:11:19.839 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
02-Jan-2025 14:11:19.839 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.99-dev]
02-Jan-2025 14:11:19.858 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-38895"]
02-Jan-2025 14:11:19.869 SEVERE [http-nio-127.0.0.1-auto-9-exec-1] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored
	java.lang.IllegalArgumentException: It is illegal to call setReadListener() more than once for the same upgraded connection
		at org.apache.coyote.http11.upgrade.UpgradeServletInputStream.setReadListener(UpgradeServletInputStream.java:95)
		at org.apache.coyote.http11.upgrade.TestUpgrade$SetReadListenerTwice.init(TestUpgrade.java:424)
		at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:983)
		at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1793)
		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:1575)
02-Jan-2025 14:11:19.871 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-38895"]
02-Jan-2025 14:11:19.871 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
02-Jan-2025 14:11:19.874 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-38895"]
02-Jan-2025 14:11:19.876 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-38895"]
------------- ---------------- ---------------

Testcase: testMessagesBlocking took 1.689 sec
Testcase: testSimpleUpgradeBlocking took 0.028 sec
Testcase: testMessagesNonBlocking took 0.534 sec
Testcase: testSetWriteListenerTwice took 0.047 sec
Testcase: testFirstCallToOnWritePossible took 0.027 sec
Testcase: testSetNullReadListener took 0.023 sec
Testcase: testSetNullWriteListener took 0.034 sec
Testcase: testSimpleUpgradeNonBlocking took 0.028 sec
Testcase: testSetReadListenerTwice took 0.043 sec

Apache Gump, Gump, Apache, the Apache feather logo, and the Apache Gump project logos are trademarks of The Apache Software Foundation.

Last Updated: Thu, 02 Jan 2025 12:00:03 ().Python Logo