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.

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
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

ERROR: test_idna (test.test_socket.GeneralModuleTests)
Traceback (most recent call last):
  File "D:\buildarea\3.6.bolen-windows10\build\lib\test\", line 1359, in test_idna
  File "D:\buildarea\3.6.bolen-windows10\build\lib\", 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.
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 :-/
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