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_httpservers hangs on an IPv6-only host
Type: behavior Stage: needs patch
Components: Tests Versions: Python 3.9, Python 3.8, Python 3.7
Status: open Resolution:
Dependencies: Superseder:
Assigned To: gregory.p.smith Nosy List: gregory.p.smith
Priority: normal Keywords:

Created on 2019-08-20 18:33 by gregory.p.smith, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg350034 - (view) Author: Gregory P. Smith (gregory.p.smith) * (Python committer) Date: 2019-08-20 18:33
test_err (test.test_httpservers.RequestHandlerLoggingTestCase) ... Exception in thread Thread-1:
Traceback (most recent call last):
  File "/home/greg/oss/cpython/Lib/", line 938, in _bootstrap_inner
  File "/home/greg/oss/cpython/Lib/test/", line 50, in run
    self.server = HTTPServer(('localhost', 0), self.request_handler)
  File "/home/greg/oss/cpython/Lib/", line 452, in __init__
  File "/home/greg/oss/cpython/Lib/http/", line 137, in server_bind
  File "/home/greg/oss/cpython/Lib/", line 466, in server_bind
OSError: [Errno 99] Cannot assign requested address

I'm preparing an IPv6-only buildbot.  There is no IPv4 localhost.
Date User Action Args
2022-04-11 14:59:19adminsetgithub: 82079
2019-08-20 18:33:34gregory.p.smithcreate