Testsuite fails under lucid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Image Tools |
Invalid
|
Medium
|
Loïc Minier | ||
apt (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Lucid |
Fix Released
|
Medium
|
Loïc Minier |
Bug Description
Hey
I backported various packages to lucid in the ~linaro-
make[1]: Entering directory `/build/
# 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.
-------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/usr/lib/
return fn(*args, **kwargs)
File "/usr/lib/
return self._get_
File "hwpack/
File "/usr/lib/
% (matchee, matcher, mismatch.
AssertionError: Match failed. Matchee: "hwpack_
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_
Differences: [
Differences: [
'foo_1.0_all.deb' != u'foo_1.1_all.deb': filename
u'1.0' != u'1.1': version
578L != 26: size
'47821d6621149a
]
]
: There was 1 mismatch: The content of path "pkgs/Packages" did not match
]
------------
=======
FAIL: hwpack.
-------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/usr/lib/
return fn(*args, **kwargs)
File "/usr/lib/
return self._get_
File "hwpack/
lower_package, fetcher.
File "/usr/lib/
self.
File "/usr/lib/
% (matchee, matcher, mismatch.
AssertionError: Match failed. Matchee: "<FetchedPackage name=foo version=2.0 size=26 md5=cb378af052f
Matcher: Equals(
Difference: !=:
reference = <DummyFetchedPa
actual = <FetchedPackage name=foo version=2.0 size=26 md5=cb378af052f
------------
Ran 388 tests in 5.180s
Bye,
Related branches
Changed in apt (Ubuntu): | |
importance: | Undecided → Low |
importance: | Low → Medium |
Changed in apt (Ubuntu Lucid): | |
importance: | Undecided → Medium |
status: | New → Triaged |
assignee: | nobody → Loïc Minier (lool) |
On Sat, 29 Jan 2011 20:57:11 -0000, Loïc Minier <email address hidden> wrote: maitainers/ tools ======= ======= ======= ======= ======= ======= ======= ======= ======= tests.test_ packages. PackageFetcherT ests.test_ fetch_packages_ fetches_ preferred_ label ------- ------- ------- ------- ------- ------- ------- ------- ------- python2. 6/dist- packages/ testtools/ runtest. py", line 169, in _run_user python2. 6/dist- packages/ testtools/ testcase. py", line 499, in _run_test_method test_method( )() tests/test_ packages. py", line 991, in test_fetch_ packages_ fetches_ preferred_ label fetch_packages( ["foo"] )[0]) python2. 6/dist- packages/ testtools/ testcase. py", line 268, in assertEqual (observed, matcher) python2. 6/dist- packages/ testtools/ testcase. py", line 345, in assertThat describe( ))) 648546d80b046ac 89f4c7 architecture=all depends="None" pre_depends="None" conflicts="None" recommends="None" provides="None" replaces="None" breaks="None" has_content=yes>" <DummyFetchedPa ckage name=foo version=1.0 size=26 md5=ba438032c94 5498b6f186f71f5 ba5b3e architecture=all depends="None" pre_depends="None" conflicts="None" recommends="None" provides="None" replaces="None" breaks="None" has_content=yes>) ckage name=foo version=1.0 size=26 md5=ba438032c94 5498b6f186f71f5 ba5b3e architecture=all depends="None" pre_depends="None" conflicts="None" recommends="None" provides="None" replaces="None" breaks="None" has_content=yes> 648546d80b046ac 89f4c7 architecture=all depends="None" pre_depends="None" conflicts="None" recommends="None" provides="None" replaces="None" breaks="None" has_content=yes>
> Public bug reported:
>
> Hey
>
> I backported various packages to lucid in the ~linaro-
> PPA and in my own ~lool PPA and managed to get the package mostly
> building, but the testsuite fails as follows:
> =======
> FAIL: hwpack.
> -------
> Text attachment: traceback
> ------------
> Traceback (most recent call last):
> File "/usr/lib/
> return fn(*args, **kwargs)
> File "/usr/lib/
> return self._get_
> File "hwpack/
> lower_package, fetcher.
> File "/usr/lib/
> self.assertThat
> File "/usr/lib/
> % (matchee, matcher, mismatch.
> AssertionError: Match failed. Matchee: "<FetchedPackage name=foo version=2.0 size=26 md5=cb378af052f
> Matcher: Equals(
> Difference: !=:
> reference = <DummyFetchedPa
> actual = <FetchedPackage name=foo version=2.0 size=26 md5=cb378af052f
The other failure is likely due the same cause as this one.
It looks to me from the failure as though apt in lucid doesn't support
selecting a preferred repo based on label.
It may be a bug in our code, but if it's not then I don't think we can
support this feature on lucid, and so should make it conditional
somehow.
Thanks,
James