You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_socket: SendmsgSCTPStreamTest.testSendmsgTimeout() failed on Travis CI with: [Errno 12] Cannot allocate memory #78118
Traceback (most recent call last):
File "/home/travis/build/python/cpython/Lib/test/test_socket.py", line 281, in _tearDownraise exc
File "/home/travis/build/python/cpython/Lib/test/test_socket.py", line 299, in clientRun
test_func()
File "/home/travis/build/python/cpython/Lib/test/test_socket.py", line 2319, in _testSendmsgTimeoutself.sendmsgToServer([b"a"*512])
File "/home/travis/build/python/cpython/Lib/test/test_socket.py", line 2008, in sendmsgToServer*(args +self.sendmsg_to_server_defaults[len(args):]))
OSError: [Errno 12] Cannot allocate memory
Traceback (most recent call last):
File "/home/travis/build/python/cpython/Lib/test/test_socket.py", line 281, in _tearDownraise exc
File "/home/travis/build/python/cpython/Lib/test/test_socket.py", line 299, in clientRun
test_func()
File "/home/travis/build/python/cpython/Lib/test/test_socket.py", line 2343, in _testSendmsgDontWait
(errno.EAGAIN, errno.EWOULDBLOCK))
AssertionError: 12 not found in (11, 11)
test_socket failed when run in parallel, but also when the test has been re-run sequentially in verbose mode.
== Tests result: FAILURE then FAILURE ==
393 tests OK.
10 slowest tests:
changed the title [-][3.6] test_socket: testSendmsgTimeout() failed on Travis CI[/-][+][3.6] test_socket: SendmsgSCTPStreamTest.testSendmsgTimeout() failed on Travis CI[/+]on Jun 27, 2018
Traceback (most recent call last):
File "/home/travis/build/python/cpython/Lib/test/test_socket.py", line 314, in _tearDownraise exc
File "/home/travis/build/python/cpython/Lib/test/test_socket.py", line 332, in clientRun
test_func()
File "/home/travis/build/python/cpython/Lib/test/test_socket.py", line 2648, in _testSendmsgTimeoutself.sendmsgToServer([b"a"*512])
File "/home/travis/build/python/cpython/Lib/test/test_socket.py", line 2337, in sendmsgToServer*(args +self.sendmsg_to_server_defaults[len(args):]))
OSError: [Errno 12] Cannot allocate memory
Traceback (most recent call last):
File "/home/travis/build/python/cpython/Lib/test/test_socket.py", line 314, in _tearDownraise exc
File "/home/travis/build/python/cpython/Lib/test/test_socket.py", line 332, in clientRun
test_func()
File "/home/travis/build/python/cpython/Lib/test/test_socket.py", line 2672, in _testSendmsgDontWait
(errno.EAGAIN, errno.EWOULDBLOCK))
AssertionError: 12 not found in (11, 11)
changed the title [-][3.6] test_socket: SendmsgSCTPStreamTest.testSendmsgTimeout() failed on Travis CI[/-][+]test_socket: SendmsgSCTPStreamTest.testSendmsgTimeout() failed on Travis CI with: [Errno 12] Cannot allocate memory[/+]on Jul 11, 2018
Activity
vstinner commentedon Jun 22, 2018
https://travis-ci.org/python/cpython/jobs/395349473
======================================================================
ERROR: testSendmsgTimeout (test.test_socket.SendmsgSCTPStreamTest)
----------------------------------------------------------------------
======================================================================
FAIL: testSendmsgDontWait (test.test_socket.SendmsgSCTPStreamTest)
----------------------------------------------------------------------
test_socket failed when run in parallel, but also when the test has been re-run sequentially in verbose mode.
== Tests result: FAILURE then FAILURE ==
393 tests OK.
10 slowest tests:
1 test failed:
test_socket
13 tests skipped:
test_devpoll test_gdb test_kqueue test_msilib test_ossaudiodev
test_startfile test_tix test_tk test_ttk_guionly test_winconsoleio
test_winreg test_winsound test_zipfile64
1 re-run test:
test_socket
[-][3.6] test_socket: testSendmsgTimeout() failed on Travis CI[/-][+][3.6] test_socket: SendmsgSCTPStreamTest.testSendmsgTimeout() failed on Travis CI[/+]vstinner commentedon Jul 11, 2018
Recent failure (17 days ago) on the master branch:
https://travis-ci.org/python/cpython/jobs/396258134
======================================================================
ERROR: testSendmsgTimeout (test.test_socket.SendmsgSCTPStreamTest)
----------------------------------------------------------------------
======================================================================
FAIL: testSendmsgDontWait (test.test_socket.SendmsgSCTPStreamTest)
----------------------------------------------------------------------
[-][3.6] test_socket: SendmsgSCTPStreamTest.testSendmsgTimeout() failed on Travis CI[/-][+]test_socket: SendmsgSCTPStreamTest.testSendmsgTimeout() failed on Travis CI with: [Errno 12] Cannot allocate memory[/+]vstinner commentedon Sep 19, 2018
This issue just occurred on a 3.7 PR:
#9416 (review)
https://travis-ci.org/python/cpython/jobs/430490176
vstinner commentedon Sep 25, 2018
I wrote PR 9557 to fix the issue. test_socket fails frequently on Travis CI, on the three Python 3.x branches.
vstinner commentedon Sep 25, 2018
New changeset 46f40be by Victor Stinner in branch 'master':
bpo-33937: Catch ENOMEM error in test_socket (bpo-9557)
46f40be
miss-islington commentedon Sep 25, 2018
New changeset ef1173a by Miss Islington (bot) in branch '3.7':
bpo-33937: Catch ENOMEM error in test_socket (GH-9557)
ef1173a
miss-islington commentedon Sep 25, 2018
New changeset 857b002 by Miss Islington (bot) in branch '3.6':
bpo-33937: Catch ENOMEM error in test_socket (GH-9557)
857b002
vstinner commentedon Sep 25, 2018
The issue should now be fixed. Reopen it if it is not the case.
vstinner commentedon Sep 25, 2018
Thanks for the review Pablo.