Bug#1000268: ros-ros-comm FTBFS on IPV6-only buildds

Adrian Bunk bunk at debian.org
Sat Nov 20 17:22:51 GMT 2021


Source: ros-ros-comm
Version: 1.15.13+ds1-5
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=ros-ros-comm&arch=amd64&ver=1.15.13%2Bds1-5%2Bb1&stamp=1637417945&raw=0

...
[roswtf.rosunit-roswtf_command_line_online/test_cmd_help][passed]
[roswtf.rosunit-roswtf_command_line_online/test_offline][FAILURE]---------------
False is not true : CMD[roswtf] OUTPUT[Package: roswtf
]
stderr[Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/devel/bin/roswtf", line 15, in <module>
    exec(compile(fh.read(), python_script, 'exec'), context)
  File "/<<PKGBUILDDIR>>/utilities/roswtf/scripts/roswtf", line 35, in <module>
    roswtf.roswtf_main()
  File "<string>", line 89, in roswtf_main
  File "<string>", line 175, in _roswtf_main
  File "/<<PKGBUILDDIR>>/utilities/roswtf/src/roswtf/network.py", line 120, in wtf_check
    error_rule(r, r[0](ctx), ctx)
  File "/<<PKGBUILDDIR>>/utilities/roswtf/src/roswtf/network.py", line 54, in ip_check
    resolved_ips = [host[4][0] for host in socket.getaddrinfo(socket.gethostname(), 0, socket.AF_INET, 0, socket.SOL_TCP)]
  File "/usr/lib/python3.9/socket.py", line 954, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -5] No address associated with hostname
]
  File "/usr/lib/python3.9/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/usr/lib/python3.9/unittest/case.py", line 592, in run
    self._callTestMethod(testMethod)
  File "/usr/lib/python3.9/unittest/case.py", line 550, in _callTestMethod
    method()
  File "/<<PKGBUILDDIR>>/utilities/roswtf/test/check_roswtf_command_line_online.py", line 120, in test_offline
    self._check_output([cmd], output.decode(), err.decode())
  File "/<<PKGBUILDDIR>>/utilities/roswtf/test/check_roswtf_command_line_online.py", line 130, in _check_output
    self.assert_(
  File "/usr/lib/python3.9/unittest/case.py", line 1335, in deprecated_func
    return original_func(*args, **kwargs)
  File "/usr/lib/python3.9/unittest/case.py", line 688, in assertTrue
    raise self.failureException(msg)
--------------------------------------------------------------------------------


SUMMARY
 * RESULT: FAIL
 * TESTS: 2
 * ERRORS: 0
 * FAILURES: 1
...
dh_auto_test: error: pybuild --test -i python{version} -p "3.10 3.9" --before-test "PYTHONPATH={build_dir}/build/devel/lib/python*/dist-packages make -C {build_dir} run_tests" --after-test "catkin_test_results {build_dir}" returned exit code 13
make[1]: *** [debian/rules:21: override_dh_auto_test] Error 25



More information about the debian-science-maintainers mailing list