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: test_socket.test_idna(): socket.gaierror: [Errno 11001] getaddrinfo failed on AMD64 Windows10 3.6
Type: Stage: resolved
Components: Tests, Windows Versions: Python 3.6
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Priority: normal Keywords: buildbot

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

Messages (4)
msg293412 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-05-10 12:28
http://buildbot.python.org/all/builders/AMD64%20Windows10%203.6/builds/356/steps/test/logs/stdio

======================================================================
ERROR: test_idna (test.test_socket.GeneralModuleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\buildarea\3.6.bolen-windows10\build\lib\test\test_socket.py", line 1359, in test_idna
    socket.getaddrinfo(domain,0,socket.AF_UNSPEC,socket.SOCK_STREAM)
  File "D:\buildarea\3.6.bolen-windows10\build\lib\socket.py", line 743, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11001] getaddrinfo failed

----------------------------------------------------------------------
msg293413 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-05-10 12:28
In the same build, a retry of the DNS request later succeeded:

test_idna (test.test_socket.GeneralModuleTests) ... ok
msg293436 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-05-10 16:42
I checked the last 50 builds of AMD64 Windows10 3.5, AMD64 Windows10 3.6 and AMD64 Windows10 3.x (total: 150 builds): the bug only occurred once.

http://buildbot.python.org/all/builders/AMD64%20Windows10%203.6/builds/356/
msg297582 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-07-03 13:28
I didn't see this failure recently, so I consider that it was a DNS failure which only occurred once :-/
History
Date User Action Args
2022-04-11 14:58:46adminsetgithub: 74515
2017-07-03 13:28:43vstinnersetstatus: open -> closed
resolution: out of date
messages: + msg297582

stage: resolved
2017-05-10 16:42:46vstinnersetmessages: + msg293436
2017-05-10 12:28:47vstinnersetmessages: + msg293413
2017-05-10 12:28:02vstinnercreate