You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Konstantin Kolinko <kn...@gmail.com> on 2016/02/19 22:15:30 UTC

TestSendFile.NIO is failing in Tomcat 8

Hi!

The following test fails at Buildbot in Tomcat 8 for several last runs
(##460, 461):

TEST-org.apache.catalina.connector.TestSendFile.NIO.txt

BIO, NIO2 are OK, Tomcat trunk is OK, Tomcat 7 is OK.

Log file:
https://ci.apache.org/projects/tomcat/tomcat8/logs/logs/1731288/TEST-org.apache.catalina.connector.TestSendFile.NIO.txt

Stdout of NIO test:

Client received 100000 bytes in 177 ms.
------------- ---------------- ---------------

followed by
java.net.SocketTimeoutException: Read timed out


Stdout of same NIO2 test:

Client received 100000 bytes in 182 ms.
Client received 200000 bytes in 6 ms.
Client received 300000 bytes in 6 ms.
Client received 400000 bytes in 4 ms.
Client received 500000 bytes in 6 ms.
Client received 600000 bytes in 6 ms.
Client received 700000 bytes in 8 ms.
Client received 800000 bytes in 10 ms.
Client received 900000 bytes in 11 ms.
Client received 1000000 bytes in 10 ms.
------------- ---------------- ---------------

I guess something is wrong with recent processor recycle fix (I have
not reviewed it yet).

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: TestSendFile.NIO is failing in Tomcat 8

Posted by Mark Thomas <ma...@apache.org>.
On 19/02/2016 21:15, Konstantin Kolinko wrote:
> Hi!
> 
> The following test fails at Buildbot in Tomcat 8 for several last runs
> (##460, 461):

<snip/>

> I guess something is wrong with recent processor recycle fix (I have
> not reviewed it yet).

Yep.

I'm going to have to back-port some more changes. Currently we only
return true/false but we need to return one of:
- in progress
- complete
- error

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org