[New-bugs-announce] [issue33937] [3.6] test_socket: testSendmsgTimeout() failed on Travis CI

STINNER Victor report at bugs.python.org
Fri Jun 22 03:32:56 EDT 2018


New submission from STINNER Victor <vstinner at redhat.com>:

https://travis-ci.org/python/cpython/jobs/395349473

======================================================================
ERROR: testSendmsgTimeout (test.test_socket.SendmsgSCTPStreamTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/python/cpython/Lib/test/test_socket.py", line 281, in _tearDown
    raise 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 _testSendmsgTimeout
    self.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
======================================================================
FAIL: testSendmsgDontWait (test.test_socket.SendmsgSCTPStreamTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/python/cpython/Lib/test/test_socket.py", line 281, in _tearDown
    raise 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:
- test_multiprocessing_spawn: 2 min 36 sec
- test_multiprocessing_forkserver: 1 min 41 sec
- test_multiprocessing_fork: 1 min 26 sec
- test_asyncio: 1 min 8 sec
- test_concurrent_futures: 1 min 7 sec
- test_subprocess: 59 sec
- test_zipfile: 47 sec
- test_io: 42 sec
- test_lib2to3: 33 sec
- test_lzma: 29 sec
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

----------
components: Tests
messages: 320217
nosy: vstinner
priority: normal
severity: normal
status: open
title: [3.6] test_socket: testSendmsgTimeout() failed on Travis CI
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33937>
_______________________________________


More information about the New-bugs-announce mailing list