You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Benoit Sigoure (JIRA)" <ji...@apache.org> on 2014/04/14 04:31:17 UTC
[jira] [Updated] (THRIFT-2463) test/py/RunClientServer.py fails
sometimes
[ https://issues.apache.org/jira/browse/THRIFT-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Sigoure updated THRIFT-2463:
-----------------------------------
Attachment: THRIFT-2463-Fix-a-timing-bug-by-properly-waiting-for-the-server.patch
Patch that I believe fixes the issue. Need the patch of THRIFT-2466 first, otherwise this patch will cause the test to run into that bug.
> test/py/RunClientServer.py fails sometimes
> ------------------------------------------
>
> Key: THRIFT-2463
> URL: https://issues.apache.org/jira/browse/THRIFT-2463
> Project: Thrift
> Issue Type: Bug
> Components: Python - Library
> Affects Versions: 0.9.1
> Reporter: Benoit Sigoure
> Attachments: THRIFT-2463-Fix-a-timing-bug-by-properly-waiting-for-the-server.patch
>
>
> This test is flaky in our CI system and the flakiness is also visible on Jenkins (see examples of failed builds [here|http://mail-archives.apache.org/mod_mbox/thrift-dev/201309.mbox/%3C1012268498.737.1378727603714.JavaMail.hudson@aegis%3E] and [here|https://www.mail-archive.com/dev@thrift.apache.org/msg10124.html]).
> All the test cases of {{AcceleratedBinaryTest}} fail with this signature:
> {code}
> ======================================================================
> ERROR: testByte (__main__.AcceleratedBinaryTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "./TestClient.py", line 85, in setUp
> self.transport.open()
> File "./../../lib/py/build/lib.linux-i686-2.7/thrift/transport/TTransport.py", line 149, in open
> return self.__trans.open()
> File "./../../lib/py/build/lib.linux-i686-2.7/thrift/transport/TSocket.py", line 99, in open
> message=message)
> TTransportException: Could not connect to localhost:9090
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)