Source: python-apt
Version: 1.4.0~beta3
Severity: serious

>From my pbuilder build log:

...
   debian/rules override_dh_auto_test
make[1]: Entering directory '/build/python-apt-1.4.0~beta3'
set -e; for python in python2.7 python3.6 python3.5 ; do \
       $python tests/test_all.py -q || [ "linux" = "hurd" ]; \
done;
[tests] Running on 2.7.13+ (default, Jul 19 2017, 18:15:03) [GCC 6.4.0 20170704]
Using library_dir:
'/build/python-apt-1.4.0~beta3/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~beta3/tests/test_auth.py", line 239, in
testAddKeyFromServer
   "hkp://localhost:%d" % self.keyserver_port)
 File "/build/python-apt-1.4.0~beta3/build/lib.linux-x86_64-2.7/apt/auth.py",
line 137, in add_key_from_keyserver
   shutil.rmtree(tmp_keyring_dir)
 File "/usr/lib/python2.7/shutil.py", line 266, in rmtree
   onerror(os.remove, fullname, sys.exc_info())
 File "/usr/lib/python2.7/shutil.py", line 264, in rmtree
   os.remove(fullname)
OSError: [Errno 2] No such file or directory: '/tmp/tmpVdpO4x/S.gpg-agent.extra'

----------------------------------------------------------------------
Ran 97 tests in 21.771s

FAILED (errors=1, skipped=2)
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~beta3'
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 via email to