Source: python-anyio
Version: 3.3.0-4
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/logs.php?pkg=python-anyio&arch=all

...
_________________ TestTLSListener.test_handshake_fail[asyncio] _________________
tests/streams/test_tls.py:328: in test_handshake_fail
    listener = await create_tcp_listener(local_host='127.0.0.1')
anyio/_core/_sockets.py:236: in create_tcp_listener
    gai_res = await getaddrinfo(local_host, local_port, family=family,  # type: 
ignore[arg-type]
anyio/_core/_sockets.py:419: in getaddrinfo
    gai_res = await get_asynclib().getaddrinfo(encoded_host, port, 
family=family, type=type,
anyio/_backends/_asyncio.py:1570: in getaddrinfo
    result = await get_running_loop().getaddrinfo(
/usr/lib/python3.9/asyncio/base_events.py:856: in getaddrinfo
    return await self.run_in_executor(
/usr/lib/python3.9/concurrent/futures/thread.py:58: in run
    result = self.fn(*self.args, **self.kwargs)
/usr/lib/python3.9/asyncio/base_events.py:839: in _getaddrinfo_debug
    addrinfo = socket.getaddrinfo(host, port, family, type, proto, flags)
/usr/lib/python3.9/socket.py:954: in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
E   socket.gaierror: [Errno -9] Address family for hostname not supported
=========================== short test summary info ============================
SKIPPED [1] tests/test_taskgroups.py:57: could not import 'trio': No module 
named 'trio'
SKIPPED [1] tests/test_fileio.py:119: Drive only makes sense on Windows
SKIPPED [1] tests/test_fileio.py:159: Only makes sense on Windows
SKIPPED [2] tests/test_fileio.py:318: os.lchmod() is not available
=========== 57 failed, 696 passed, 5 skipped, 2 deselected in 28.27s ===========
E: pybuild pybuild:367: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest --verbose -W 
ignore -k "not test_is_block_device"
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 
--before-test "{interpreter} {dir}/setup.py egg_info 
--egg-base={dir}/.pybuild/egg" --test-pytest --test-args "--verbose -W ignore 
-k \"not test_is_block_device\"" returned exit code 13
make[1]: *** [debian/rules:14: override_dh_auto_test] Error 25

Reply via email to