group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #30685
[Bug 1825997] Re: boot-smoke fails due to running jobs
This bug was fixed in the package systemd - 239-7ubuntu10.14
---------------
systemd (239-7ubuntu10.14) cosmic; urgency=medium
* d/p/resolved-rework-how-we-determine-which-scope-to-send.patch
- fix DNS leakage (LP: 1754671)
* d/t/boot-and-services:
- skip test_no_failed if gdm failed to start (LP: #1830484)
* d/p/ask-password-prevent-buffer-overrow-when-reading-fro.patch:
- prevent buffer overflow when reading keyring (LP: #1814373)
* d/t/boot-smoke:
- Fix false negative checking for running jobs after boot
(LP: #1825997)
-- Dan Streetman <ddstreet@xxxxxxxxxxxxx> Wed, 24 Apr 2019 17:08:26
-0400
** Changed in: systemd (Ubuntu Cosmic)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1825997
Title:
boot-smoke fails due to running jobs
Status in systemd package in Ubuntu:
Fix Released
Status in systemd source package in Xenial:
Invalid
Status in systemd source package in Bionic:
Fix Released
Status in systemd source package in Cosmic:
Fix Released
Status in systemd source package in Disco:
Fix Released
Status in systemd source package in Eoan:
Fix Released
Bug description:
[impact]
boot-smoke test reboots 5 times and verifies systemd is fully started
up after each boot, including checking if there are any running jobs
(with list-jobs). However, this test makes the assumption that no
further jobs will be started after systemd reaches 'running' (or
'degraded') state, which is a false assumption.
[test case]
see various boot-smoke failures in autopkgtest.ubuntu.com
[regression potential]
possible false-positive or false-negative autopkgtest results.
[other info]
Note: This patch is not required for debian, because debian's boot-
smoke does not include the wait for systemctl is-system-running.
The problem appears to be that systemd reaches 'running' (or 'degraded') state, and then other systemd services are started. This confuses the boot-smoke test, because it sees that 'is-system-running' is done, but then it sees running jobs, which fails the test.
What is starting jobs after systemd reaches running state appears to
be X inside the test system. There are various services started by
gnome-session and dbus-daemon. Additionally, from the artifacts of
one example:
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
/autopkgtest-
bionic/bionic/i386/s/systemd/20190416_171327_478f6@/artifacts.tar.gz
the artifacts/journal.txt shows that after the boot-smoke test causes
the reboot and then re-ssh into the system after the reboot, it only
gives the test system 9 seconds before deciding it has failed, and
only 4 seconds after ssh'ing into the rebooted test system.
Another wait is needed when checking for remaining running jobs. Or,
the running jobs check could be removed entirely, and we can just
trust that systemd correctly knows when it has reached
running|degraded state.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1825997/+subscriptions