[Bug 709895] Re: Testsuite fails under lucid
Launchpad Bug Tracker
709895 at bugs.launchpad.net
Tue Jun 14 05:44:06 UTC 2011
This bug was fixed in the package apt - 0.7.25.3ubuntu9.5
---------------
apt (0.7.25.3ubuntu9.5) lucid-proposed; urgency=low
[ Michael Vogt ]
* debian/apt.cron.daily:
- source /etc/default/locale (if available) so that the
apt-get update cron job fetches the right translated package
descriptions (LP: #652951)
[ Loïc Minier ]
* Backport r2014.1.2 (see below); fixes bug in APT when running the
linaro-image-tools testsuite; LP: #709895.
[ David Kalnischkies ]
* apt-pkg/acquire-item.cc:
- use also unsigned Release files again (Closes: #596189)
[ Colin Watson ]
* Backport r1327.24.434, 1327.24.437, 1327.76.1 (LP: #787500)
-- Michael Vogt <michael.vogt at ubuntu.com> Tue, 24 May 2011 18:23:29 +0200
** Changed in: apt (Ubuntu Lucid)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/709895
Title:
Testsuite fails under lucid
Status in Linaro Image Tools:
Invalid
Status in “apt” package in Ubuntu:
Fix Released
Status in “apt” source package in Lucid:
Fix Released
Bug description:
Hey
I backported various packages to lucid in the ~linaro-maitainers/tools
PPA and in my own ~lool PPA and managed to get the package mostly
building, but the testsuite fails as follows:
make[1]: Entering directory `/build/buildd/linaro-image-tools-0.4.2'
# XXX: The test-suite currently fails on Lucid. What can we do about
# it?
python -m testtools.run tests.test_suite
tar: Removing leading `/' from member names
Tests running...
======================================================================
FAIL: hwpack.tests.test_builder.HardwarePackBuilderTests.test_prefers_local_debs
----------------------------------------------------------------------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/testtools/runtest.py", line 169, in _run_user
return fn(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 499, in _run_test_method
return self._get_test_method()()
File "hwpack/tests/test_builder.py", line 248, in test_prefers_local_debs
File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 345, in assertThat
% (matchee, matcher, mismatch.describe()))
AssertionError: Match failed. Matchee: "hwpack_ahwpack_1.0_armel.tar.gz"
Matcher: Is a valid hardware pack.
Difference: Differences: [
Differences: [
u'foo=1.0' != 'foo=1.1'
]
: There was 1 mismatch: The content of path "manifest" did not match
"<tarfile.TarFile object at 0x854b0cc>" has no path "pkgs/foo_1.0_all.deb"
Differences: [
Differences: [
'foo_1.0_all.deb' != u'foo_1.1_all.deb': filename
u'1.0' != u'1.1': version
578L != 26: size
'47821d6621149a9aac1fedb4adf7a78b' != u'737e59d917167e7766fd2f17b9a22685': md5
]
]
: There was 1 mismatch: The content of path "pkgs/Packages" did not match
]
------------
======================================================================
FAIL: hwpack.tests.test_packages.PackageFetcherTests.test_fetch_packages_fetches_preferred_label
----------------------------------------------------------------------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/testtools/runtest.py", line 169, in _run_user
return fn(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 499, in _run_test_method
return self._get_test_method()()
File "hwpack/tests/test_packages.py", line 991, in test_fetch_packages_fetches_preferred_label
lower_package, fetcher.fetch_packages(["foo"])[0])
File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 268, in assertEqual
self.assertThat(observed, matcher)
File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 345, in assertThat
% (matchee, matcher, mismatch.describe()))
AssertionError: Match failed. Matchee: "<FetchedPackage name=foo version=2.0 size=26 md5=cb378af052f648546d80b046ac89f4c7 architecture=all depends="None" pre_depends="None" conflicts="None" recommends="None" provides="None" replaces="None" breaks="None" has_content=yes>"
Matcher: Equals(<DummyFetchedPackage name=foo version=1.0 size=26 md5=ba438032c945498b6f186f71f5ba5b3e architecture=all depends="None" pre_depends="None" conflicts="None" recommends="None" provides="None" replaces="None" breaks="None" has_content=yes>)
Difference: !=:
reference = <DummyFetchedPackage name=foo version=1.0 size=26 md5=ba438032c945498b6f186f71f5ba5b3e architecture=all depends="None" pre_depends="None" conflicts="None" recommends="None" provides="None" replaces="None" breaks="None" has_content=yes>
actual = <FetchedPackage name=foo version=2.0 size=26 md5=cb378af052f648546d80b046ac89f4c7 architecture=all depends="None" pre_depends="None" conflicts="None" recommends="None" provides="None" replaces="None" breaks="None" has_content=yes>
------------
Ran 388 tests in 5.180s
Full log:
http://launchpadlibrarian.net/63107950/buildlog_ubuntu-lucid-i386.linaro-image-tools_0.4.2-0ubuntu3~linaro1~dooz2_FAILEDTOBUILD.txt.gz
Bye,
To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro-image-tools/+bug/709895/+subscriptions
More information about the foundations-bugs
mailing list