[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#830995: marked as done (python-apt: FTBFS: Test failures)



Your message dated Sat, 16 Jul 2016 00:20:47 +0000
with message-id <E1bODLb-00006s-EA@franck.debian.org>
and subject line Bug#830995: fixed in python-apt 1.1.0~beta4
has caused the Debian Bug report #830995,
regarding python-apt: FTBFS: Test failures
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
830995: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830995
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Source: python-apt
Source-Version: 1.1.0~beta4

We believe that the bug you reported is fixed in the latest version of
python-apt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 830995@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Andres Klode <jak@debian.org> (supplier of updated python-apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 16 Jul 2016 02:05:35 +0200
Source: python-apt
Binary: python-apt python-apt-doc python-apt-dbg python-apt-dev python-apt-common python3-apt python3-apt-dbg
Architecture: source
Version: 1.1.0~beta4
Distribution: unstable
Urgency: medium
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Julian Andres Klode <jak@debian.org>
Description:
 python-apt - Python interface to libapt-pkg
 python-apt-common - Python interface to libapt-pkg (locales)
 python-apt-dbg - Python interface to libapt-pkg (debug extension)
 python-apt-dev - Python interface to libapt-pkg (development files)
 python-apt-doc - Python interface to libapt-pkg (API documentation)
 python3-apt - Python 3 interface to libapt-pkg
 python3-apt-dbg - Python 3 interface to libapt-pkg (debug extension)
Closes: 830995
Changes:
 python-apt (1.1.0~beta4) unstable; urgency=medium
 .
   * Fix test failures causing FTBFS (Closes: #830995)
     - tests/test_lp659438.py: Set allow-insecure
     - tests: Completely reset config environment in setUp
Checksums-Sha1:
 d72d62ee24e1db96942418c584aa38060fd0850b 2350 python-apt_1.1.0~beta4.dsc
 943e6ef4a01c1268996da4238b3805afe5fb7990 317112 python-apt_1.1.0~beta4.tar.xz
Checksums-Sha256:
 b0f1b1afad1349f9425db9ccddd98f79639570b8aa9693e4bcba2207ac739bab 2350 python-apt_1.1.0~beta4.dsc
 19c6939c34e1ecae2a5932e9c112eb275d89b4f46bebfa58f08383d87f7353d8 317112 python-apt_1.1.0~beta4.tar.xz
Files:
 c4db8a7db11dd718c585659a12db31ab 2350 python standard python-apt_1.1.0~beta4.dsc
 8699ee143c7bfc82e53da9c79c7a67e3 317112 python standard python-apt_1.1.0~beta4.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXiXwlAAoJENc8OeVlgLOG4lcP/0aRFsPzcgMf4pZKtniUGn1P
wHCk75sHcatngErxdB0S474bWqALx/c9dLDW+86AJH4WqyNPFhpJBfOGPSS0X1M+
Cpiicr15FsSL59kx6wfeJVnnzWH1NAM6VBFshifrCCX6TMHYKVGKXL/RJhAVfGR3
oC9750jywc37hvQv9XGqyxDknXLEfqCkGB5KeuRw9mEjWdbu5lPGI6ZhANNn3d4I
AfH+8oAQ3HEAziEArf4H260gQMI8oMw6mkZFiHs77jowBn+RbH/sULIZ7pcZAtkO
2qPLJ9jRwBKRtjAHro/dEPknJxzA6NqzhSbFyJ+MfWs8ISyjrQJW5X+Czidyj4Bv
KQgZF6qtkMeL9o7jcy5LynJxU0gxfQJrxbS6e+EcH3AVNrSNa85qsfzM8DDrGLLs
91cy0XKe+2Jz6LlYXAhjcx6bIqf3/n42MCov5gjA7Li9jW1PxZy2gYD0ASktPOay
nO4DLCfgS3Jfj6x1v/0I+mq36a7y1NL18ec3dEn8J3G6pTYlH0MWm1n/dXyGrJCk
Sj+dRAs2bdjEJXpZeuY01vCDB2p1SHoYUuwDevQaWywfHervk6LNYJ8EhVq/2VEq
XIXCZk/n/ZcOB+dhG8lptWA44iQ4AdwfaRkzoXDMLY38sEwIHi3z4LD3WtnEI6xc
imjHTFMLtFDQR6ybgev+
=U/Fr
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: