[issue19612] test_subprocess: sporadic failure of test_communicate_epipe() on Windows 8
STINNER Victor
report at bugs.python.org
Wed Mar 5 00:15:07 CET 2014
STINNER Victor added the comment:
Oh, it looks like my patch is not enough: the test still fails sometimes :-/ It looks like the process was still running (poll() didn't return None) whereas stdin.write() got an OSError(errno.EINVAL).
http://buildbot.python.org/all/builders/x86%20Windows%20Server%202008%20%5BSB%5D%203.x/builds/2408/steps/test/logs/stdio
======================================================================
ERROR: test_communicate_epipe (test.test_subprocess.ProcessTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\home\cpython\buildslave\x86\3.x.snakebite-win2k8r2sp1-x86\build\lib\test\test_subprocess.py", line 1095, in test_communicate_epipe
p.communicate(b"x" * 2**20)
File "E:\home\cpython\buildslave\x86\3.x.snakebite-win2k8r2sp1-x86\build\lib\subprocess.py", line 951, in communicate
stdout, stderr = self._communicate(input, endtime, timeout)
File "E:\home\cpython\buildslave\x86\3.x.snakebite-win2k8r2sp1-x86\build\lib\subprocess.py", line 1187, in _communicate
self.stdin.write(input)
OSError: [Errno 22] Invalid argument
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19612>
_______________________________________
More information about the Python-bugs-list
mailing list