Source: python-apt Version: 1.1.0~beta3 Severity: serious >From my pbuilder build log:
... debian/rules override_dh_auto_test make[1]: Entering directory '/build/python-apt-1.1.0~beta3' set -e; for python in python2.7 python3.5 ; do \ $python tests/test_all.py -q || [ "linux" = "hurd" ]; \ done; Warning: apt-key output should not be parsed (stdout is not a terminal) Warning: apt-key output should not be parsed (stdout is not a terminal) Warning: apt-key output should not be parsed (stdout is not a terminal) Warning: apt-key output should not be parsed (stdout is not a terminal) Warning: apt-key output should not be parsed (stdout is not a terminal) Warning: apt-key output should not be parsed (stdout is not a terminal) Warning: apt-key output should not be parsed (stdout is not a terminal) [tests] Running on 2.7.12 (default, Jun 30 2016, 00:12:23) [GCC 6.1.1 20160620] Using library_dir: '/build/python-apt-1.1.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: test_survive_reqreinst (test_lp659438.RegressionTestCase) Test that we survive a package in require reinstallation state ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/python-apt-1.1.0~beta3/tests/test_lp659438.py", line 60, in setUp self.cache.update(sources_list=sources_list_path) File "/build/python-apt-1.1.0~beta3/build/lib.linux-x86_64-2.7/apt/cache.py", line 464, in update raise FetchFailedException(e) FetchFailedException: E:The repository 'copy:/build/python-apt-1.1.0~beta3/tests/data/test-repo Release' does not have a Release file. ====================================================================== ERROR: test_apt_cache (test_apt_cache.TestAptCache) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/python-apt-1.1.0~beta3/tests/test_apt_cache.py", line 32, in wrapper f(*args, **kwargs) File "/build/python-apt-1.1.0~beta3/tests/test_apt_cache.py", line 68, in test_apt_cache cache = apt.Cache() File "/build/python-apt-1.1.0~beta3/build/lib.linux-x86_64-2.7/apt/cache.py", line 113, in __init__ self.open(progress) File "/build/python-apt-1.1.0~beta3/build/lib.linux-x86_64-2.7/apt/cache.py", line 165, in open self._depcache = apt_pkg.DepCache(self._cache) Error: W:Unable to read /tmp/tmp2qVmxI/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory), E:The package abrowser needs to be reinstalled, but I can't find an archive for it. ====================================================================== ERROR: test_apt_update (test_apt_cache.TestAptCache) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/python-apt-1.1.0~beta3/tests/test_apt_cache.py", line 32, in wrapper f(*args, **kwargs) File "/build/python-apt-1.1.0~beta3/tests/test_apt_cache.py", line 209, in test_apt_update cache = apt.Cache() File "/build/python-apt-1.1.0~beta3/build/lib.linux-x86_64-2.7/apt/cache.py", line 113, in __init__ self.open(progress) File "/build/python-apt-1.1.0~beta3/build/lib.linux-x86_64-2.7/apt/cache.py", line 165, in open self._depcache = apt_pkg.DepCache(self._cache) Error: W:Unable to read /tmp/tmp2qVmxI/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory), E:The package abrowser needs to be reinstalled, but I can't find an archive for it. ====================================================================== ERROR: test_cache_close_download_fails (test_apt_cache.TestAptCache) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/python-apt-1.1.0~beta3/tests/test_apt_cache.py", line 32, in wrapper f(*args, **kwargs) File "/build/python-apt-1.1.0~beta3/tests/test_apt_cache.py", line 112, in test_cache_close_download_fails cache = apt.Cache() File "/build/python-apt-1.1.0~beta3/build/lib.linux-x86_64-2.7/apt/cache.py", line 113, in __init__ self.open(progress) File "/build/python-apt-1.1.0~beta3/build/lib.linux-x86_64-2.7/apt/cache.py", line 165, in open self._depcache = apt_pkg.DepCache(self._cache) Error: W:Unable to read /tmp/tmp2qVmxI/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory), E:The package abrowser needs to be reinstalled, but I can't find an archive for it. ====================================================================== ERROR: test_cache_close_leak_fd (test_apt_cache.TestAptCache) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/python-apt-1.1.0~beta3/tests/test_apt_cache.py", line 32, in wrapper f(*args, **kwargs) File "/build/python-apt-1.1.0~beta3/tests/test_apt_cache.py", line 95, in test_cache_close_leak_fd cache = apt.Cache() File "/build/python-apt-1.1.0~beta3/build/lib.linux-x86_64-2.7/apt/cache.py", line 113, in __init__ self.open(progress) File "/build/python-apt-1.1.0~beta3/build/lib.linux-x86_64-2.7/apt/cache.py", line 165, in open self._depcache = apt_pkg.DepCache(self._cache) Error: W:Unable to read /tmp/tmp2qVmxI/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory), E:The package abrowser needs to be reinstalled, but I can't find an archive for it. ====================================================================== ERROR: test_cache_open_twice_leaks_fds (test_apt_cache.TestAptCache) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/python-apt-1.1.0~beta3/tests/test_apt_cache.py", line 104, in test_cache_open_twice_leaks_fds cache = apt.Cache() File "/build/python-apt-1.1.0~beta3/build/lib.linux-x86_64-2.7/apt/cache.py", line 113, in __init__ self.open(progress) File "/build/python-apt-1.1.0~beta3/build/lib.linux-x86_64-2.7/apt/cache.py", line 165, in open self._depcache = apt_pkg.DepCache(self._cache) Error: W:Unable to read /tmp/tmp2qVmxI/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory), E:The package abrowser needs to be reinstalled, but I can't find an archive for it. ====================================================================== ERROR: test_dpkg_journal_dirty (test_apt_cache.TestAptCache) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/python-apt-1.1.0~beta3/tests/test_apt_cache.py", line 32, in wrapper f(*args, **kwargs) File "/build/python-apt-1.1.0~beta3/tests/test_apt_cache.py", line 162, in test_dpkg_journal_dirty cache = apt.Cache() File "/build/python-apt-1.1.0~beta3/build/lib.linux-x86_64-2.7/apt/cache.py", line 113, in __init__ self.open(progress) File "/build/python-apt-1.1.0~beta3/build/lib.linux-x86_64-2.7/apt/cache.py", line 165, in open self._depcache = apt_pkg.DepCache(self._cache) Error: W:Unable to read /tmp/tmp2qVmxI/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory), E:The package abrowser needs to be reinstalled, but I can't find an archive for it. ====================================================================== ERROR: test_proper_invocation (test_cache_invocation.TestCache) cache_invocation: Test correct invocation. ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/python-apt-1.1.0~beta3/tests/test_cache_invocation.py", line 27, in test_proper_invocation apt_depcache = apt_pkg.DepCache(apt_cache) Error: W:Unable to read /build/python-apt-1.1.0~beta3/tests/data/aptsources_ports/preferences.d/ - DirectoryExists (2: No such file or directory), E:The package abrowser needs to be reinstalled, but I can't find an archive for it. ====================================================================== ERROR: test_lp707416 (test_configuration.TestConfiguration) configuration: Test empty arguments (LP: #707416) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/python-apt-1.1.0~beta3/tests/test_configuration.py", line 18, in setUp apt_pkg.init_config() Error: W:Unable to read /build/python-apt-1.1.0~beta3/tests/data/aptsources_ports/preferences.d/ - DirectoryExists (2: No such file or directory), E:The package abrowser needs to be reinstalled, but I can't find an archive for it., W:Unable to read /build/python-apt-1.1.0~beta3/tests/data/aptsources_ports/apt.conf.d/ - DirectoryExists (2: No such file or directory) ---------------------------------------------------------------------- Ran 93 tests in 4.954s FAILED (errors=9, skipped=1) 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.1.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