[ 
https://issues.apache.org/jira/browse/THRIFT-3861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15360353#comment-15360353
 ] 

James E. King, III commented on THRIFT-3861:
--------------------------------------------

Very odd behavior... This test occasionally does not register two clients 
connecting:

{noformat}
jking@dvm-4:~/thrift-build$ bin/TServerIntegrationTest --log_level=all 
--run_test="*/test_stop_with_interruptable_clients_connected"
Running 1 test case...
Entering test suite "TServerIntegrationTest"
Entering test suite "constructors"
Leaving test suite "constructors"
Entering test suite "TServerIntegrationTest"
Entering test case "test_stop_with_interruptable_clients_connected"
server is listening
server has accepted 2
server stop completed
server thread joined
/home/jking/thrift/lib/cpp/test/TServerIntegrationTest.cpp(357): info: check 0 
== pClientSock1->read(&buf[0], 1) passed
/home/jking/thrift/lib/cpp/test/TServerIntegrationTest.cpp(358): info: check 0 
== pClientSock2->read(&buf[0], 1) passed
Leaving test case "test_stop_with_interruptable_clients_connected"
Leaving test suite "TServerIntegrationTest"
Leaving test suite "TServerIntegrationTest"

*** No errors detected
jking@dvm-4:~/thrift-build$ bin/TServerIntegrationTest --log_level=all 
--run_test="*/test_stop_with_interruptable_clients_connected"
Running 1 test case...
Entering test suite "TServerIntegrationTest"
Entering test suite "constructors"
Leaving test suite "constructors"
Entering test suite "TServerIntegrationTest"
Entering test case "test_stop_with_interruptable_clients_connected"
server is listening
server has accepted 2
server stop completed
server thread joined
/home/jking/thrift/lib/cpp/test/TServerIntegrationTest.cpp(357): info: check 0 
== pClientSock1->read(&buf[0], 1) passed
/home/jking/thrift/lib/cpp/test/TServerIntegrationTest.cpp(358): info: check 0 
== pClientSock2->read(&buf[0], 1) passed
Leaving test case "test_stop_with_interruptable_clients_connected"
Leaving test suite "TServerIntegrationTest"
Leaving test suite "TServerIntegrationTest"

*** No errors detected
jking@dvm-4:~/thrift-build$ bin/TServerIntegrationTest --log_level=all 
--run_test="*/test_stop_with_interruptable_clients_connected"
Running 1 test case...
Entering test suite "TServerIntegrationTest"
Entering test suite "constructors"
Leaving test suite "constructors"
Entering test suite "TServerIntegrationTest"
Entering test case "test_stop_with_interruptable_clients_connected"
server is listening
... hangs ...
{noformat}

In the debugger, one client is accepted and has a processing thread, and the 
other server thread is waiting to be notified of an accept.

> Travis CI builds are timing out - C++TServerIntegrationTest appears to be 
> hanging
> ---------------------------------------------------------------------------------
>
>                 Key: THRIFT-3861
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3861
>             Project: Thrift
>          Issue Type: Bug
>          Components: Build Process
>    Affects Versions: 0.10.0
>            Reporter: James E. King, III
>            Assignee: James E. King, III
>            Priority: Blocker
>
> The last two pull requests that I submitted had very small changes, however 
> many Travis CI builds timed out.  It looks like the maximum job time is 30 
> minutes.  Did that change recently?
> See:
> https://github.com/apache/thrift/pull/1032
> https://github.com/apache/thrift/pull/1033
> Going back just a couple more it looks like some builds run for 44 minutes:
> https://travis-ci.org/apache/thrift/builds/138350252
> If Travis changed their maximum timeout we're in deep trouble...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to