Testsuite: org.apache.catalina.connector.TestSendFile Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.94 sec ------------- Standard Output --------------- Created file:/tmp/testSendFile-1720204745156.txt with 100000 bytes. Created file:/tmp/testSendFile-1720204746709-0.txt with 100000 bytes. Created file:/tmp/testSendFile-1720204746710-1.txt with 200000 bytes. Created file:/tmp/testSendFile-1720204746713-2.txt with 300000 bytes. Created file:/tmp/testSendFile-1720204746718-3.txt with 400000 bytes. Created file:/tmp/testSendFile-1720204746724-4.txt with 500000 bytes. Created file:/tmp/testSendFile-1720204746736-5.txt with 600000 bytes. Created file:/tmp/testSendFile-1720204746742-6.txt with 700000 bytes. Created file:/tmp/testSendFile-1720204746744-7.txt with 800000 bytes. Created file:/tmp/testSendFile-1720204746745-8.txt with 900000 bytes. Created file:/tmp/testSendFile-1720204746747-9.txt with 1000000 bytes. Client received 100000 bytes in 3 ms. Client received 200000 bytes in 4 ms. Client received 300000 bytes in 3 ms. Client received 400000 bytes in 2 ms. Client received 500000 bytes in 3 ms. Client received 600000 bytes in 2 ms. Client received 700000 bytes in 2 ms. Client received 800000 bytes in 5 ms. Client received 900000 bytes in 4 ms. Client received 1000000 bytes in 3 ms. ------------- ---------------- --------------- ------------- Standard Error ----------------- 05-Jul-2024 18:39:05.049 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug60409] 05-Jul-2024 18:39:05.178 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent An older version [1.2.38] of the Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of [1.3.0] 05-Jul-2024 18:39:05.178 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 05-Jul-2024 18:39:05.178 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [true]. 05-Jul-2024 18:39:05.178 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 05-Jul-2024 18:39:05.180 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 05-Jul-2024 18:39:05.481 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-1"] 05-Jul-2024 18:39:05.503 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Jul-2024 18:39:05.503 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.92-dev] 05-Jul-2024 18:39:05.594 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-1-33987"] 05-Jul-2024 18:39:05.661 WARNING [http-apr-127.0.0.1-auto-1-exec-1] org.apache.tomcat.util.net.AprEndpoint$Sendfile.add Unexpected sendfile error org.apache.tomcat.jni.Error: 2: No such file or directory at org.apache.tomcat.jni.File.open(Native Method) at org.apache.tomcat.util.net.AprEndpoint$Sendfile.add(AprEndpoint.java:1863) at org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper.processSendfile(AprEndpoint.java:2604) at org.apache.coyote.http11.Http11Processor.processSendfile(Http11Processor.java:1395) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:457) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:936) at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2134) 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:833) 05-Jul-2024 18:39:06.670 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-1-33987"] 05-Jul-2024 18:39:06.672 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Jul-2024 18:39:06.683 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-1-33987"] 05-Jul-2024 18:39:06.697 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-1-33987"] 05-Jul-2024 18:39:06.708 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendFile] 05-Jul-2024 18:39:06.750 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent An older version [1.2.38] of the Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of [1.3.0] 05-Jul-2024 18:39:06.750 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 05-Jul-2024 18:39:06.750 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [true]. 05-Jul-2024 18:39:06.751 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 05-Jul-2024 18:39:06.751 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 05-Jul-2024 18:39:06.752 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-2"] 05-Jul-2024 18:39:06.752 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Jul-2024 18:39:06.752 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.92-dev] 05-Jul-2024 18:39:06.758 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-2-35385"] 05-Jul-2024 18:39:06.797 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-2-35385"] 05-Jul-2024 18:39:06.799 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Jul-2024 18:39:06.803 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-2-35385"] 05-Jul-2024 18:39:06.806 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-2-35385"] ------------- ---------------- --------------- Testcase: testBug60409 took 1.799 sec Testcase: testSendFile took 0.102 sec