[New-bugs-announce] [issue37897] test_asyncio hangs on an IPv6-only host

Gregory P. Smith report at bugs.python.org
Tue Aug 20 14:32:15 EDT 2019


New submission from Gregory P. Smith <greg at krypto.org>:

test_drain_raises (test.test_asyncio.test_streams.StreamTests) ... Exception in thread Thread-20:
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/threading.py", line 876, in run
    self._target(*self._args, **self._kwargs)
  File "/home/greg/oss/cpython/Lib/test/test_asyncio/test_streams.py", line 951, in server
    with socket.create_server(('localhost', 0)) as sock:
  File "/home/greg/oss/cpython/Lib/socket.py", line 804, in create_server
    raise error(err.errno, msg) from None
OSError: [Errno 99] Cannot assign requested address (while attempting to bind on address ('localhost', 0))

I'm preparing an IPv6-only buildbot.  (there is no IPv4 localhost)

----------
assignee: gregory.p.smith
components: Tests
messages: 350033
nosy: gregory.p.smith
priority: normal
severity: normal
stage: needs patch
status: open
title: test_asyncio hangs on an IPv6-only host
versions: Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37897>
_______________________________________


More information about the New-bugs-announce mailing list