Activity log for bug #1396787

Date Who What changed Old value New value Message
2014-11-26 21:04:37 Ernst Kloppenburg bug added bug
2016-04-20 11:19:31 umiyosh attachment added dstat result https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1396787/+attachment/4640632/+files/unattended-upgrades-dstat.txt
2016-08-18 21:43:44 Jarno Suni bug added subscriber Jarno Suni
2017-12-28 00:08:32 Swistak attachment added unatended-upgrade-profile https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1396787/+attachment/5028172/+files/unatended-upgrade-profile
2018-07-04 12:33:08 Francis Ginther tags amd64 apport-bug trusty amd64 apport-bug id-5acfd3863b9f75d6e6f2a6df trusty
2018-07-06 15:38:27 Launchpad Janitor unattended-upgrades (Ubuntu): status New Fix Released
2018-07-11 19:34:38 Balint Reczey description (System: Ubuntu 14.04, up to date packages) I noticed that unattended-upgrades spends a significant amount of time in phases where it runs at 100% cpu. On a slower machine (core 2 t7200 2GHz) this goes on for minutes rather than seconds. This interferes with using the machine for other tasks. Using the --debug option to unattended-upgrades shows that the program outputs a lot of lines like the following during these 100% cpu phases: matching 'a'='trusty-updates' against '<Origin component:'universe' archive:'trusty-updates' origin:'Ubuntu' label:'Ubuntu' site:'de.archive.ubuntu.com' isTrusted:True> From this output I guess the operation executed is not so complicated that it should require so much cpu power. ?? ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: unattended-upgrades 0.82.1ubuntu2 ProcVersionSignature: Ubuntu 3.13.0-40.69-generic 3.13.11.10 Uname: Linux 3.13.0-40-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.5 Architecture: amd64 Date: Wed Nov 26 21:53:57 2014 InstallationDate: Installed on 2014-08-28 (90 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.1) PackageArchitecture: all ProcEnviron: TERM=xterm PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=de_DE.UTF-8 SHELL=/bin/bash SourcePackage: unattended-upgrades UpgradeStatus: No upgrade log present (probably fresh install) [Impact] * Unattended-upgrades consumes tens of seconds or even minutes of CPU time to verify the origin of the packages * Using excessive amount of CPU is unpleasant for desktop/laptop users and also wastes computation time on servers/cloud instances. * Unattended-upgrades' algorithm for checking and adjusting package origins is redesigned to visit and adjust less packages. [Test Case] * The added upgrade-all-security autopkgtest measure the time u-u needs for upgrading security updates on the tested release starting with no security updates applied to the point where all security updates are applied but all packages are left upgradable from <release>-updates. The test also measures the time needed for --dry-run to find no updates to be installed unattended. * Please run autopkgtests and look for the to time results: ... All upgrades installed 44.41user 3.06system 0:48.35elapsed 98%CPU (0avgtext+0avgdata 164872maxresident)k 208inputs+192376outputs (0major+642657minor)pagefaults 0swaps ... No packages found that can be upgraded unattended and no pending auto-removals 2.83user 0.11system 0:02.98elapsed 98%CPU (0avgtext+0avgdata 79308maxresident)k [Regression Potential] * Due to algorithm redesign there is a risk that packages from allowed origins are not upgraded. There were unit tests for testing the selection of the right packages to upgrade already, but a new autopkgtest is also introduce to verify u-u's behavior on current real-life security-updates. [Original bug text] (System: Ubuntu 14.04, up to date packages) I noticed that unattended-upgrades spends a significant amount of time in phases where it runs at 100% cpu. On a slower machine (core 2 t7200 2GHz) this goes on for minutes rather than seconds. This interferes with using the machine for other tasks. Using the --debug option to unattended-upgrades shows that the program outputs a lot of lines like the following during these 100% cpu phases: matching 'a'='trusty-updates' against '<Origin component:'universe' archive:'trusty-updates' origin:'Ubuntu' label:'Ubuntu' site:'de.archive.ubuntu.com' isTrusted:True> From this output I guess the operation executed is not so complicated that it should require so much cpu power. ?? ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: unattended-upgrades 0.82.1ubuntu2 ProcVersionSignature: Ubuntu 3.13.0-40.69-generic 3.13.11.10 Uname: Linux 3.13.0-40-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.5 Architecture: amd64 Date: Wed Nov 26 21:53:57 2014 InstallationDate: Installed on 2014-08-28 (90 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.1) PackageArchitecture: all ProcEnviron:  TERM=xterm  PATH=(custom, no user)  XDG_RUNTIME_DIR=<set>  LANG=de_DE.UTF-8  SHELL=/bin/bash SourcePackage: unattended-upgrades UpgradeStatus: No upgrade log present (probably fresh install)
2018-07-12 13:00:54 Łukasz Zemczak unattended-upgrades (Ubuntu Bionic): status New Fix Committed
2018-07-12 13:00:55 Łukasz Zemczak bug added subscriber Ubuntu Stable Release Updates Team
2018-07-12 13:00:57 Łukasz Zemczak bug added subscriber SRU Verification
2018-07-12 13:01:00 Łukasz Zemczak tags amd64 apport-bug id-5acfd3863b9f75d6e6f2a6df trusty amd64 apport-bug id-5acfd3863b9f75d6e6f2a6df trusty verification-needed verification-needed-bionic
2018-07-18 20:46:50 Balint Reczey tags amd64 apport-bug id-5acfd3863b9f75d6e6f2a6df trusty verification-needed verification-needed-bionic amd64 apport-bug id-5acfd3863b9f75d6e6f2a6df trusty verification-done verification-done-bionic
2018-07-19 09:45:34 Launchpad Janitor unattended-upgrades (Ubuntu Bionic): status Fix Committed Fix Released
2018-07-19 09:45:45 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2018-12-03 19:12:41 Brian Murray unattended-upgrades (Ubuntu Xenial): status New Fix Committed
2018-12-03 19:12:45 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2018-12-03 19:12:52 Brian Murray tags amd64 apport-bug id-5acfd3863b9f75d6e6f2a6df trusty verification-done verification-done-bionic amd64 apport-bug id-5acfd3863b9f75d6e6f2a6df trusty verification-done-bionic verification-needed verification-needed-xenial
2019-02-07 14:22:16 Balint Reczey tags amd64 apport-bug id-5acfd3863b9f75d6e6f2a6df trusty verification-done-bionic verification-needed verification-needed-xenial amd64 apport-bug id-5acfd3863b9f75d6e6f2a6df trusty verification-done verification-done-bionic verification-done-xenial
2019-02-28 12:56:28 Łukasz Zemczak tags amd64 apport-bug id-5acfd3863b9f75d6e6f2a6df trusty verification-done verification-done-bionic verification-done-xenial amd64 apport-bug id-5acfd3863b9f75d6e6f2a6df trusty verification-done-bionic verification-needed verification-needed-xenial
2019-03-13 14:33:04 Balint Reczey tags amd64 apport-bug id-5acfd3863b9f75d6e6f2a6df trusty verification-done-bionic verification-needed verification-needed-xenial amd64 apport-bug id-5acfd3863b9f75d6e6f2a6df trusty verification-done verification-done-bionic verification-done-xenial
2019-04-14 08:09:13 Pavel attachment added top-screenshot.png https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1396787/+attachment/5255628/+files/top-screenshot.png
2019-04-15 11:28:17 Pavel attachment added uu.zip https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1396787/+attachment/5255891/+files/uu.zip
2019-04-25 10:50:00 Launchpad Janitor unattended-upgrades (Ubuntu Xenial): status Fix Committed Fix Released