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

Bug#623960: python-apt: FTBFS: Test failure



severity 623960 normal
tags 623960 unreproducible moreinfo
thanks

On So, 2011-04-24 at 13:00 -0700, Daniel Schepler wrote:
> Source: python-apt
> Version: 0.7.100.3
> Severity: serious
> 
> From my pbuilder build log:
> 
> ...
>    debian/rules override_dh_auto_test
> make[1]: Entering directory `/tmp/buildd/python-apt-0.7.100.3'
> set -e; for python in python2.7 python2.6 python3.2 ; do \
>                 $python tests/test_all.py -q || [ "linux" = "hurd" ]; \
>         done;
> [tests] Running on 2.7.1+ (default, Apr 20 2011, 14:51:56) [GCC 4.5.2]
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> ======================================================================
> FAIL: test_get_provided_packages (test_apt_cache.TestAptCache)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/tmp/buildd/python-apt-0.7.100.3/tests/test_apt_cache.py", line 68, in 
> test_get_provided_packages
>     self.assertEqual([p.name for p in l], ["git"])
> AssertionError: Lists differ: [] != ['git']
> 
> Second list contains 1 additional elements.
> First extra element 0:
> git
> 
> - []
> + ['git']
> 
> ----------------------------------------------------------------------
> Ran 35 tests in 6.267s
> 
> FAILED (failures=1)
> make[1]: *** [override_dh_auto_test] Error 1
> make[1]: Leaving directory `/tmp/buildd/python-apt-0.7.100.3'
> make: *** [build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> -- 
> Daniel Schepler

In what hell of broken environment do you build packages in? git still
provides git-core, thus the test cannot fail yet (and does not fail in
an up-to-date sid sbuild environment or the buildds).

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.





Reply to: