updates-available uses wrong body for kernel snaps
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
review-tools |
Fix Released
|
Medium
|
Emilia Torino |
Bug Description
With the addition of the snapcraft build package checks in the review-tools, the subject and body handling for kernel snaps is wrong when built with an affected snapcraft. Eg,
"
Subject: dragonboard-kernel built from outdated Ubuntu kernel
A scan of this snap shows that it was built using sources based on a kernel
from the Ubuntu archive that has since received security updates. The
following lists new USNs for the Ubuntu kernel that the snap is based on in
each snap revision:
Updating the snap's git tree, adjusting the version in the snapcraft.yaml
to match that of the Ubuntu kernel this snap is based on and rebuilding the
snap should pull in the new security updates and resolve this.
Thank you for your snap and for attending to this matter.
References:
* https:/
"
The reference correctly mentions the snapcraft USN, but the subject is wrong and there are no affected revisions.
I suspect that LP: 1906827 is a contributing factor (though clearly there is something that is kernel snap-specific as well, hence the separate bug).
Related branches
- Jamie Strandboge (community): Approve
-
Diff: 19647 lines (+19129/-72)7 files modifiedreviewtools/available.py (+54/-16)
reviewtools/tests/test_available.py (+54/-5)
reviewtools/tests/test_store.py (+17/-17)
tests/test-store-kernel.db (+1/-1)
tests/test-updates-available.sh (+73/-15)
tests/test-updates-available.sh.expected (+666/-18)
tests/test-usn-kernel-and-build-pkgs.db (+18264/-0)
Changed in review-tools: | |
assignee: | nobody → Emilia Torino (emitorino) |
status: | New → In Progress |
importance: | Undecided → Medium |
description: | updated |
description: | updated |
Changed in review-tools: | |
status: | In Progress → Fix Released |