[Bug 1821376] Re: Report packages kept back by origins
Balint Reczey
balint.reczey at canonical.com
Fri Oct 18 09:48:06 UTC 2019
** Description changed:
- Packages kept back are listed in the email report, but it is not clear
+ [Impact]
+
+ * Packages kept back are listed in the email report, but it is not clear
from which origins they are installable. This information may help
administrators to decide if the packages need to be manually upgraded.
+
+ [Test Case]
+
+ * test_mail.py test is updated to check if the kept back packages are
+ reported per origin and this is checked at build time.
+
+ * For manual testing:
+ 1. Configure u-u to allow upgrades from the -updates pocket and send email with the upgrade report.
+ 2. Set up the system to have a few packages upgradable from both the -security and -updates pockets.
+ 3. Mark a subset of packages which are upgradable as held, marking packages from each of the pockets.
+ 4. Run u-u and observe the kept packages listed in the email. Each package is listed only in the allowed origin providing the highest version. (LP: #1848697 covers listing them in all origins from which the packages could be upgraded to.)
+
+ [Regression Potential]
+
+ * Unattended upgrades may crash while trying to perform updates or while
+ trying to send the summary email. Build-time tests and autopkgtests
+ include testing both functions.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unattended-upgrades in Ubuntu.
https://bugs.launchpad.net/bugs/1821376
Title:
Report packages kept back by origins
Status in unattended-upgrades package in Ubuntu:
Fix Released
Bug description:
[Impact]
* Packages kept back are listed in the email report, but it is not
clear from which origins they are installable. This information may
help administrators to decide if the packages need to be manually
upgraded.
[Test Case]
* test_mail.py test is updated to check if the kept back packages are
reported per origin and this is checked at build time.
* For manual testing:
1. Configure u-u to allow upgrades from the -updates pocket and send email with the upgrade report.
2. Set up the system to have a few packages upgradable from both the -security and -updates pockets.
3. Mark a subset of packages which are upgradable as held, marking packages from each of the pockets.
4. Run u-u and observe the kept packages listed in the email. Each package is listed only in the allowed origin providing the highest version. (LP: #1848697 covers listing them in all origins from which the packages could be upgraded to.)
[Regression Potential]
* Unattended upgrades may crash while trying to perform updates or
while trying to send the summary email. Build-time tests and
autopkgtests include testing both functions.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1821376/+subscriptions
More information about the foundations-bugs
mailing list