[New-bugs-announce] [issue37895] test_logging hangs on an IPv6-only host
Gregory P. Smith
report at bugs.python.org
Tue Aug 20 14:26:19 EDT 2019
New submission from Gregory P. Smith <greg at krypto.org>:
test_logging hangs when run on an IPv6-only host. (127.0.0.1 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/threading.py", line 938, in _bootstrap_inner
self.run()
File "/home/greg/oss/cpython/Lib/logging/config.py", line 918, in run
server = self.rcvr(port=self.port, handler=self.hdlr,
File "/home/greg/oss/cpython/Lib/logging/config.py", line 885, in __init__
ThreadingTCPServer.__init__(self, (host, port), handler)
File "/home/greg/oss/cpython/Lib/socketserver.py", line 452, in __init__
self.server_bind()
File "/home/greg/oss/cpython/Lib/socketserver.py", line 466, in server_bind
self.socket.bind(self.server_address)
OSError: [Errno 99] Cannot assign requested address
possibly more, but it's hung here.
I'm preparing an IPv6-only buildbot.
----------
assignee: gregory.p.smith
components: Tests
messages: 350031
nosy: gregory.p.smith
priority: normal
severity: normal
stage: needs patch
status: open
title: test_logging hangs on an IPv6-only host
type: behavior
versions: Python 3.7, Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37895>
_______________________________________
More information about the New-bugs-announce
mailing list