Bug#856152: python-apt: FTBFS: Testsuite failure
Source: python-apt
Version: 1.4.0~beta2
Severity: serious
>From my pbuilder build log:
...
debian/rules override_dh_auto_test
make[1]: Entering directory '/build/python-apt-1.4.0~beta2'
set -e; for python in python2.7 python3.5 ; do \
$python tests/test_all.py -q || [ "linux" = "hurd" ]; \
done;
[tests] Running on 2.7.13 (default, Feb 9 2017, 10:00:34) [GCC 6.3.0 20170205]
Using library_dir:
'/build/python-apt-1.4.0~beta2/build/lib.linux-x86_64-2.7'WARNING:
Failed to read mirror file
WARNING: Failed to read mirror file
WARNING: Failed to read mirror file
WARNING: Failed to read mirror file
WARNING: Failed to read mirror file
WARNING: Failed to read mirror file
WARNING: Failed to read mirror file
WARNING: Failed to read mirror file
======================================================================
ERROR: testAddKeyFromServer (test_auth.TestAuthKeys)
Install a GnuPG key from a remote server.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/python-apt-1.4.0~beta2/tests/test_auth.py", line 230,
in testAddKeyFromServer
"hkp://localhost:%d" % self.keyserver_port)
File "/build/python-apt-1.4.0~beta2/build/lib.linux-x86_64-2.7/apt/auth.py",
line 129, in add_key_from_keyserver
_add_key_from_keyserver(keyid, keyserver, tmp_keyring_dir)
File "/build/python-apt-1.4.0~beta2/build/lib.linux-x86_64-2.7/apt/auth.py",
line 157, in _add_key_from_keyserver
keyserver, keyid))
AptKeyError: recv from 'hkp://localhost:19191' failed for
'0xa1bD8E9D78F7FE5C3E65D8AF8B48AD6246925553'
----------------------------------------------------------------------
Ran 94 tests in 11.363s
FAILED (errors=1, skipped=3)
debian/rules:50: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/build/python-apt-1.4.0~beta2'
debian/rules:16: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
--
Daniel Schepler
Reply to: