This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: [3.5] RecvmsgIntoSCMRightsStreamTest fails with "OSError: [Errno 12] Cannot allocate memory" on macOS El Capitan
Type: Stage: resolved
Components: macOS, Tests Versions: Python 3.5
process
Status: closed Resolution: duplicate
Dependencies: Superseder: test_socket testFDPassEmpty fails on OS X 10.11+ with "Cannot allocate memory"
View: 24725
Assigned To: Nosy List: ned.deily, ronaldoussoren, vstinner
Priority: normal Keywords:

Created on 2017-04-28 16:20 by vstinner, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg292538 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-04-28 16:20
The test fails on Python 3.5 but pass on Python 3.6, I don't know why.

http://buildbot.python.org/all/builders/x86-64%20El%20Capitan%203.5/builds/31/steps/test/logs/stdio

======================================================================
ERROR: testFDPassEmpty (test.test_socket.RecvmsgSCMRightsStreamTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.5.billenstein-elcapitan/build/Lib/test/test_socket.py", line 2851, in testFDPassEmpty
    len(MSG), 10240),
  File "/Users/buildbot/buildarea/3.5.billenstein-elcapitan/build/Lib/test/test_socket.py", line 1955, in doRecvmsg
    result = sock.recvmsg(bufsize, *args)
OSError: [Errno 12] Cannot allocate memory

======================================================================
ERROR: testFDPassEmpty (test.test_socket.RecvmsgIntoSCMRightsStreamTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.5.billenstein-elcapitan/build/Lib/test/test_socket.py", line 2851, in testFDPassEmpty
    len(MSG), 10240),
  File "/Users/buildbot/buildarea/3.5.billenstein-elcapitan/build/Lib/test/test_socket.py", line 2046, in doRecvmsg
    result = sock.recvmsg_into([buf], *args)
OSError: [Errno 12] Cannot allocate memory
msg292880 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-05-03 10:17
Duplicate of issue #24725, I proposed a backport to 3.5:
https://github.com/python/cpython/pull/1427
History
Date User Action Args
2022-04-11 14:58:45adminsetgithub: 74387
2017-05-03 10:17:00vstinnersetstatus: open -> closed
superseder: test_socket testFDPassEmpty fails on OS X 10.11+ with "Cannot allocate memory"
messages: + msg292880

resolution: duplicate
stage: resolved
2017-04-28 16:20:49vstinnercreate