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.test_create_connection() failed with EADDRNOTAVAIL (err 99) #76091
Traceback (most recent call last):
File "/home/travis/build/python/cpython/Lib/test/test_socket.py", line 4537, in test_create_connectionself.assertIn(cm.exception.errno, expected_errnos)
AssertionError: 99 not found in [111, 101]
I'm not a networking but it seems reasonable. If I understand correctly, EADDRNOTAVAIL can be raised on the Travis CI when a large number of network connections are created simultaneously by other CI tests.
Or maybe just repeat the test if EADDRNOTAVAIL is raised?
I don't see this failure on Travis for a while now. Can this issue be closed?
Since the failure occurred randomly, we cannot make sure that the bug is really fixed. Usually in this case, I close the issue, but reopen it if the bug comes back.
Activity
vstinner commentedon Oct 31, 2017
On my PR 4200 which is unrelated to networking, the following test failed once.
FAIL: test_create_connection (test.test_socket.NetworkConnectionNoServer)
----------------------------------------------------------------------
With error codes:
Maybe we shold include EADDRNOTAVAIL in the expected error codes?
serhiy-storchaka commentedon Oct 31, 2017
I'm not a networking but it seems reasonable. If I understand correctly, EADDRNOTAVAIL can be raised on the Travis CI when a large number of network connections are created simultaneously by other CI tests.
Or maybe just repeat the test if EADDRNOTAVAIL is raised?
vstinner commentedon Nov 1, 2017
I don't think that it's worth it.
vstinner commentedon Nov 1, 2017
New changeset 280c22a by Victor Stinner in branch 'master':
Fix test_socket.test_create_connection() (bpo-4206)
280c22a
vstinner commentedon Nov 1, 2017
New changeset 89b84b0 by Victor Stinner (Miss Islington (bot)) in branch '3.6':
Fix test_socket.test_create_connection() (GH-4206) (bpo-4208)
89b84b0
vstinner commentedon Nov 1, 2017
New changeset 4b73a79 by Victor Stinner (Miss Islington (bot)) in branch '2.7':
Fix test_socket.test_create_connection() (GH-4206) (bpo-4209)
4b73a79
berkerpeksag commentedon Nov 8, 2017
I don't see this failure on Travis for a while now. Can this issue be closed?
vstinner commentedon Nov 8, 2017
Since the failure occurred randomly, we cannot make sure that the bug is really fixed. Usually in this case, I close the issue, but reopen it if the bug comes back.
So yes, I close the issue right now.