classification
Title: test_asyncore: test_handle_expt() fails on macOS Sierra
Type: Stage: resolved
Components: macOS, Tests Versions: Python 3.7
process
Status: closed Resolution: duplicate
Dependencies: Superseder: macOS 12 poll syscall returns prematurely
View: 28087
Assigned To: Nosy List: ned.deily, ronaldoussoren, vstinner
Priority: normal Keywords:

Created on 2017-05-03 00:07 by vstinner, last changed 2017-05-03 09:36 by vstinner. This issue is now closed.

Messages (4)
msg292824 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-05-03 00:07
http://buildbot.python.org/all/builders/x86-64%20Sierra%203.5/builds/39/steps/test/logs/stdio

======================================================================
FAIL: test_handle_expt (test.test_asyncore.TestAPI_UseIPv4Poll)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.5.billenstein-sierra/build/Lib/test/test_asyncore.py", line 671, in test_handle_expt
    self.loop_waiting_for_flag(client)
  File "/Users/buildbot/buildarea/3.5.billenstein-sierra/build/Lib/test/test_asyncore.py", line 511, in loop_waiting_for_flag
    self.fail("flag not set")
AssertionError: flag not set

======================================================================
FAIL: test_handle_expt (test.test_asyncore.TestAPI_UseIPv6Poll)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.5.billenstein-sierra/build/Lib/test/test_asyncore.py", line 671, in test_handle_expt
    self.loop_waiting_for_flag(client)
  File "/Users/buildbot/buildarea/3.5.billenstein-sierra/build/Lib/test/test_asyncore.py", line 511, in loop_waiting_for_flag
    self.fail("flag not set")
AssertionError: flag not set
msg292825 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-05-03 00:10
See also issue #30201:
 [3.5] RecvmsgIntoSCMRightsStreamTest fails with "OSError: [Errno 12] Cannot allocate memory" on macOS El Capitan.
msg292863 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-05-03 08:55
This issue seems similar to issue #28087.
msg292868 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-05-03 09:36
> This issue seems similar to issue #28087.

Aaaah, it's not just similar, it's exactly the same bug: it's just that the 3.5 branch wasn't fixed yet. I proposed a backport:
https://github.com/python/cpython/pull/1424
History
Date User Action Args
2017-05-03 09:36:30vstinnersetstatus: open -> closed
superseder: macOS 12 poll syscall returns prematurely
messages: + msg292868

resolution: duplicate
stage: resolved
2017-05-03 08:55:42vstinnersetmessages: + msg292863
2017-05-03 00:10:28vstinnersetmessages: + msg292825
2017-05-03 00:07:31vstinnercreate