[issue19293] test_asyncio failures on AIX

2013-10-19 Thread Stefan Krah
Stefan Krah added the comment: I think the failure is not only on AIX. The FreeBSD bots had similar failures, and here is one on PPC Linux: http://buildbot.python.org/all/builders/PPC64%20PowerLinux%203.x/builds/881/steps/test/logs/stdio Timeout (1:00:00)! Thread 0x008074e46670: File "/h

[issue19293] test_asyncio failures on AIX

2013-10-19 Thread Charles-François Natali
Charles-François Natali added the comment: Does AIX have an equivalent to Linux's strace? If yes, having a sample output would be helpful. Otherwise, maybe just adding manual debug traces to PollSelector.select() would help to see which events are reported. -- nosy: +neologix

[issue19293] test_asyncio failures on AIX

2013-10-19 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks for the investigation and the patch. As to the deeper issue, I'm not sure I understand what's going on -- is this a bug in Python or in AIX? Is there a better work-around than disabling the test? The issue 18238 that you mention seems to be closed b

[issue19293] test_asyncio failures on AIX

2013-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 41a841fac7fb by Guido van Rossum in branch 'default': Disable some subprocess tests that hang on AIX. http://hg.python.org/cpython/rev/41a841fac7fb -- nosy: +python-dev ___ Python tracker

[issue19293] test_asyncio failures on AIX

2013-10-19 Thread David Edelsohn
David Edelsohn added the comment: Commenting out poll in selectors.py does not help. AIX has its own epoll/kqueue efficient I/O event polling feature "pollset", which I will open as a separate enhancement request issue. Some of the subprocess tests in test_asyncio/test_events.py related to sig

[issue19293] test_asyncio failures on AIX

2013-10-18 Thread Guido van Rossum
Guido van Rossum added the comment: Assuming it is, it is hanging in the poll() syscall, here: http://hg.python.org/cpython/file/f3a2dab1623b/Lib/selectors.py#265 Could you see if it works better with select()? Comment out lines 402, 403 in that file. -- __

[issue19293] test_asyncio failures on AIX

2013-10-18 Thread Guido van Rossum
Guido van Rossum added the comment: Is that traceback upside down compared to normal Python tracebacks? -- nosy: +gvanrossum ___ Python tracker ___ __

[issue19293] test_asyncio failures on AIX

2013-10-18 Thread David Edelsohn
New submission from David Edelsohn: test_asyncio times out after one hour on AIX and leaves a process consuming 100% of a thread. [145/382/3] test_asyncio Timeout (1:00:00)! Thread 0x0001: File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/selectors.py", line 265 in s