duplicate orig for "linux" package in hardy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Julian Edwards |
Bug Description
Today, I encountered the following error from Soyuz when attempting to unembargo the Hardy linux package:
linux 2.6.24-28.80 in hardy (linux_
However, both the PPA and the archive contained the correct hash (e4aad2f8c44550
https:/
It seems the code doing the comparison was sensitive to database sort order, which may have changed during the recent postgresql upgrades.
It seems like this situation needs to be detected for the rest of the package database, and that the orig-hash-checker code probably needs to be updated to deal with this broken state more gracefully.
Related branches
- Julian Edwards (community): Approve
-
Diff: 61 lines (+29/-2)2 files modifiedlib/lp/archiveuploader/dscfile.py (+3/-2)
lib/lp/archiveuploader/tests/test_ppauploadprocessor.py (+26/-0)
Changed in soyuz: | |
status: | New → Confirmed |
Changed in soyuz: | |
status: | Incomplete → Triaged |
tags: | added: soyuz-upload |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in soyuz: | |
status: | Fix Committed → Fix Released |
The issue is that pub 277962's linux_2. 6.24.orig. tar.gz was somehow replaced with a different one. Archive. getFilesAndSha1 s assumes that there is only one hash for a particular file in an archive, and is sensitive to DB ordering when there are multiple.
The best fix is probably to identify and expire all the conflicting files, since none of them should be published any more.