New submission from Sébastien Sablé <[email protected]>:
On AIX, the test test_communicate_pipe_buf in test_subprocess will hang forever
(in py3k and py27):
test_communicate_pipe_buf (__main__.ProcessTestCase) ...
File "Lib/test/test_subprocess.py", line 386, in test_communicate_pipe_buf
(stdout, stderr) = p.communicate(string_to_write)
File
"/san_cis/home/cis/data/bamboo-home-agent-runtime/xml-data/build-dir/RTAIX30-SUP/Python-2.7-svn/Lib/subprocess.py",
line 740, in communicate
return self._communicate(input)
File
"/san_cis/home/cis/data/bamboo-home-agent-runtime/xml-data/build-dir/RTAIX30-SUP/Python-2.7-svn/Lib/subprocess.py",
line 1257, in _communicate
stdout, stderr = self._communicate_with_poll(input)
File
"/san_cis/home/cis/data/bamboo-home-agent-runtime/xml-data/build-dir/RTAIX30-SUP/Python-2.7-svn/Lib/subprocess.py",
line 1320, in _communicate_with_poll
input_offset += os.write(fd, chunk)
KeyboardInterrupt
The comment in this test indicates:
# communicate() with writes larger than pipe_buf
# This test will probably deadlock rather than fail, if
# communicate() does not work properly.
So I guess it means communicate() does not work properly on AIX.
----------
components: Library (Lib)
messages: 116467
nosy: sable
priority: normal
severity: normal
status: open
title: test_subprocess hangs on AIX
versions: Python 2.7, Python 3.2
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue9862>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com