You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by jeking3 <gi...@git.apache.org> on 2018/03/19 16:00:28 UTC

[GitHub] thrift pull request #1509: THRIFT-4515: cross server test improvement: grace...

GitHub user jeking3 opened a pull request:

    https://github.com/apache/thrift/pull/1509

    THRIFT-4515: cross server test improvement: graceful test server shutdown

    ### Problem ###
    Test servers are not shut down gracefully - they are SIGKILLed once the client exits.
    
    ### Solution ###
    Try using SIGINT first, capture the result code and process it properly, SIGKILL if the process seems unresponsive.
    
    ### Also ###
    - Better subprocess management in cross test requires Python 3.3 or later to run the suite.
    - tests.json can declare "stop_signal": <n> in the server stanza to customize this behavior
    - Added signal handling to C++, D, and Perl test servers to stop gracefully.
    - Cleaned up some C++ library compiler warnings.
    - Fixed C++ TSocket error descriptions for domain sockets to use the path instead of host/port.
    - Fixed an intermittent issue in concurrency_test.
    - Perl server had no "stop()" mechanism which was easy to add.
    - Updated SBCL (lisp) to 1.4.5 to try and eliminate these "file not found" sporadic build issues.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jeking3/thrift THRIFT-4515

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/1509.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1509
    
----
commit f1905707c0f7be34e811d2dc4af50a6e06a01364
Author: James E. King III <jk...@...>
Date:   2018-03-16T20:07:42Z

    THRIFT-4515: cross server test improvement: graceful test server shutdown

commit 8e116b9af11dc1533725f7806f73ffadff442524
Author: James E. King III <jk...@...>
Date:   2018-03-19T12:16:51Z

    THRIFT-82: move to SBCL 1.4.5 (hopefully will address 1.4.4 sporadic build errors)

----


---

[GitHub] thrift issue #1509: THRIFT-4515: cross server test improvement: graceful tes...

Posted by jeking3 <gi...@git.apache.org>.
Github user jeking3 commented on the issue:

    https://github.com/apache/thrift/pull/1509
  
    The build failure in the artful check job is in lib/d unit tests and is a sporadic issue that needs to be investigated, but will not hold up this work.


---

[GitHub] thrift pull request #1509: THRIFT-4515: cross server test improvement: grace...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/thrift/pull/1509


---