[New-bugs-announce] [issue37898] test_httpservers hangs on an IPv6-only host
Gregory P. Smith
report at bugs.python.org
Tue Aug 20 14:33:34 EDT 2019
New submission from Gregory P. Smith <greg at krypto.org>:
test_err (test.test_httpservers.RequestHandlerLoggingTestCase) ... Exception in thread Thread-1:
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/test/test_httpservers.py", line 50, in run
self.server = HTTPServer(('localhost', 0), self.request_handler)
File "/home/greg/oss/cpython/Lib/socketserver.py", line 452, in __init__
self.server_bind()
File "/home/greg/oss/cpython/Lib/http/server.py", line 137, in server_bind
socketserver.TCPServer.server_bind(self)
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
I'm preparing an IPv6-only buildbot. There is no IPv4 localhost.
----------
assignee: gregory.p.smith
components: Tests
messages: 350034
nosy: gregory.p.smith
priority: normal
severity: normal
stage: needs patch
status: open
title: test_httpservers 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/issue37898>
_______________________________________
More information about the New-bugs-announce
mailing list