Source: python-zeroconf Version: 0.25.0-1 Severity: serious Tags: ftbfs Justification: fails to build from source
Hi,
python-zeroconf/experimental FTBFS under pbuilder which defaults to
disable networking during the build. This causes some tests to fail:
======================================================================
ERROR: test_launch_and_close (zeroconf.test.Framework)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/build/python-zeroconf-0.25.0/.pybuild/cpython3_3.8/build/zeroconf/test.py",
line 501, in test_launch_and_close
rv = r.Zeroconf(interfaces=r.InterfaceChoice.Default)
File
"/build/python-zeroconf-0.25.0/.pybuild/cpython3_3.8/build/zeroconf/__init__.py",
line 2135, in __init__
self._listen_socket, self._respond_sockets = create_sockets(
File
"/build/python-zeroconf-0.25.0/.pybuild/cpython3_3.8/build/zeroconf/__init__.py",
line 2064, in create_sockets
respond_socket = add_multicast_member(cast(socket.socket, listen_socket),
i, apple_p2p=apple_p2p)
File
"/build/python-zeroconf-0.25.0/.pybuild/cpython3_3.8/build/zeroconf/__init__.py",
line 2011, in add_multicast_member
listen_socket.setsockopt(socket.IPPROTO_IP, socket.IP_ADD_MEMBERSHIP,
_value)
OSError: [Errno 19] No such device
======================================================================
ERROR: test_launch_and_close_v4_v6 (zeroconf.test.Framework)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/build/python-zeroconf-0.25.0/.pybuild/cpython3_3.8/build/zeroconf/test.py",
line 509, in test_launch_and_close_v4_v6
rv = r.Zeroconf(interfaces=r.InterfaceChoice.Default,
ip_version=r.IPVersion.All)
File
"/build/python-zeroconf-0.25.0/.pybuild/cpython3_3.8/build/zeroconf/__init__.py",
line 2135, in __init__
self._listen_socket, self._respond_sockets = create_sockets(
File
"/build/python-zeroconf-0.25.0/.pybuild/cpython3_3.8/build/zeroconf/__init__.py",
line 2064, in create_sockets
respond_socket = add_multicast_member(cast(socket.socket, listen_socket),
i, apple_p2p=apple_p2p)
File
"/build/python-zeroconf-0.25.0/.pybuild/cpython3_3.8/build/zeroconf/__init__.py",
line 2008, in add_multicast_member
listen_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_JOIN_GROUP, _value)
OSError: [Errno 19] No such device
======================================================================
ERROR: test_launch_and_close_v6_only (zeroconf.test.Framework)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/build/python-zeroconf-0.25.0/.pybuild/cpython3_3.8/build/zeroconf/test.py",
line 517, in test_launch_and_close_v6_only
rv = r.Zeroconf(interfaces=r.InterfaceChoice.Default,
ip_version=r.IPVersion.V6Only)
File
"/build/python-zeroconf-0.25.0/.pybuild/cpython3_3.8/build/zeroconf/__init__.py",
line 2135, in __init__
self._listen_socket, self._respond_sockets = create_sockets(
File
"/build/python-zeroconf-0.25.0/.pybuild/cpython3_3.8/build/zeroconf/__init__.py",
line 2064, in create_sockets
respond_socket = add_multicast_member(cast(socket.socket, listen_socket),
i, apple_p2p=apple_p2p)
File
"/build/python-zeroconf-0.25.0/.pybuild/cpython3_3.8/build/zeroconf/__init__.py",
line 2008, in add_multicast_member
listen_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_JOIN_GROUP, _value)
OSError: [Errno 19] No such device
======================================================================
FAIL: test_integration_with_listener_ipv6 (zeroconf.test.ServiceTypesQuery)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/build/python-zeroconf-0.25.0/.pybuild/cpython3_3.8/build/zeroconf/test.py",
line 907, in test_integration_with_listener_ipv6
assert type_ in service_types, service_types
AssertionError: ()
----------------------------------------------------------------------
Ran 52 tests in 87.246s
FAILED (failures=1, errors=3)
E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd
/build/python-zeroconf-0.25.0/.pybuild/cpython3_3.8/build; python3.8 -m
unittest discover -v
Andreas
python-zeroconf_0.25.0-1.log.gz
Description: application/gzip
_______________________________________________ Python-modules-team mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team
