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_logging 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:26 by gregory.p.smith, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg350031 - (view) Author: Gregory P. Smith (gregory.p.smith) * (Python committer) Date: 2019-08-20 18:26
test_logging hangs when run on an IPv6-only host.  ( isn't even available)

test_listen_config_10_ok (test.test_logging.ConfigDictTest) ... Exception in thread Thread-3:
Traceback (most recent call last):
  File "/home/greg/oss/cpython/Lib/", line 938, in _bootstrap_inner
  File "/home/greg/oss/cpython/Lib/logging/", line 918, in run
    server = self.rcvr(port=self.port, handler=self.hdlr,
  File "/home/greg/oss/cpython/Lib/logging/", line 885, in __init__
    ThreadingTCPServer.__init__(self, (host, port), handler)
  File "/home/greg/oss/cpython/Lib/", line 452, in __init__
  File "/home/greg/oss/cpython/Lib/", line 466, in server_bind
OSError: [Errno 99] Cannot assign requested address

possibly more, but it's hung here.

I'm preparing an IPv6-only buildbot.
Date User Action Args
2022-04-11 14:59:19adminsetgithub: 82076
2019-08-20 18:26:19gregory.p.smithcreate