From issues-reply at bitbucket.org Sat Apr 14 03:00:30 2012 From: issues-reply at bitbucket.org (memedough) Date: Sat, 14 Apr 2012 01:00:30 -0000 Subject: [execnet-dev] [hpk42/execnet] pytest-xdist slave fail on Interrupted system call (issue #6) Message-ID: <36dd45588d22896b5754047f5c8462ed@bitbucket.org> --- you can reply above this line --- New issue 6: pytest-xdist slave fail on Interrupted system call https://bitbucket.org/hpk42/execnet/issue/6/pytest-xdist-slave-fail-on-interrupted memedough on Sat, 14 Apr 2012 03:00:30 +0200: Hi, I get IOError Interrupted system call in pytest-xdist slave. Don't know why, can't see signal anywhere but fail {{{ creating slavegateway on <__main__.Popen2IO instance at 0x20fa2d8> RECEIVERTHREAD: starting to run received received execution starts[1]: "\nimport os\npath, nice, env = channel.receive()\ execution finished sent 1 sent channel close message received 1 channel.__del__ execution starts[3]: '\nimport sys, os\nchannel.send(dict(\n executa sent execution finished sent 3 sent channel close message received 3 channel.__del__ execution starts[5]: '"""\n This module is executed in remote subpro received RECEIVERTHREAD Traceback (most recent call last): File "", line 622, in _thread_receiver File "", line 802, in load File "", line 86, in read IOError: [Errno 4] Interrupted system call RECEIVERTHREAD entering finalization RECEIVERTHREAD leaving finalization sent sent sent sent sent sent }}} gateway_base.Unserializer.load(self) can be made work by retry if get IOError with errno == 4 {{{ while True: opcode = self.stream.read(1) # Retry this if IOError raised here if not opcode: raise EOFError }}} -- This is an issue notification from bitbucket.org. You are receiving this either because you are the owner of the issue, or you are following the issue.