Spurious test failure in lp.hardwaredb.scripts.tests.test_hwdb_submission_processing
Bug #1300543 reported by
Celso Providelo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
William Grant |
Bug Description
Lately LP test suite has failed sporadically (~ 25%) with:
{{{
Traceback (most recent call last):
File "/srv/buildbot/
'Unexpected set of valid submissions: %r' % valid_submissio
MismatchError: !=:
reference = [u'sample-
actual = [u'test_
u'sample-
u'submission-6',
u'private-
: Unexpected set of valid submissions: [u'sample-
}}}
It should be investigated.
Related branches
lp:~wgrant/launchpad/testfix
- William Grant: Approve
-
Diff: 41 lines (+4/-4)3 files modifiedlib/lp/bugs/model/tests/test_bugtask.py (+2/-2)
lib/lp/bugs/tests/test_structuralsubscription.py (+1/-1)
lib/lp/codehosting/scanner/tests/test_buglinks.py (+1/-1)
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
After hacking in some extra checks, it turns out that the test sometimes gets a truncated file from the librarian. The truncated data is 123 bytes long, which happens to match LibraryFileCont ent.filesize. Perhaps the librarian sometimes uses filesize.