group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #30638
[Bug 1825997] Re: boot-smoke fails due to running jobs
This bug was fixed in the package systemd - 240-6ubuntu9
---------------
systemd (240-6ubuntu9) eoan; urgency=medium
* Fix typpo in storage test.
File: debian/tests/storage
https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=f28aa5fe4ab175b99b6ea702559c59ca473b4ca8
* Fix bashism
File: debian/extra/dhclient-enter-resolved-hook
https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=0725c1169ddde4f41cacba7af3e546704e2206be
systemd (240-6ubuntu8) eoan; urgency=medium
* Only restart resolved on changes in dhclient enter hook.
This prevents spurious restarts of resolved on rebounds when
the addresses did not change. (LP: #1805183)
Author: Julian Andres Klode
File: debian/extra/dhclient-enter-resolved-hook
https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=258893bae8cbb12670e4807636fe8f7e9fb5407a
* Wait for cryptsetup unit to start, before stopping.
Patch from cascardo. Plus small refactor for readability. (LP: #1814373)
File: debian/tests/storage
https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=b65aa350be7e61c65927fbc0921a750fcfaa51cd
* Wait for systemctl is-system-running state.
File: debian/tests/boot-smoke
https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=776998f1f55c445b6e385cab69a4219c42d00838
systemd (240-6ubuntu7) eoan; urgency=medium
* Revert "Add check to switch VTs only between K_XLATE or K_UNICODE"
This reverts commit 60407728a1a453104e3975ecfdf25a254dd7cc44.
Files:
- debian/patches/Add-check-to-switch-VTs-only-between-K_XLATE-or-K_UNICODE.patch
- debian/patches/Move-verify_vc_kbmode-to-terminal-util.c-as-vt_verify_kbm.patch
https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=18029ab5ff436bfb3b401f24cd1e3a4cf2a1579c
* Cherrypick missing systemd-stable patches to unbreak wireguard peer endpoints.
Signed-off-by: Dimitri John Ledkov <xnox@xxxxxxxxxx> (LP: #1825378)
Author: Dan Streetman
Files:
- debian/patches/network-wireguard-fixes-sending-wireguard-peer-setti.patch
- debian/patches/network-wireguard-use-sd_netlink_message_append_sock.patch
- debian/patches/sd-netlink-introduce-sd_netlink_message_append_socka.patch
- debian/patches/test-network-add-more-checks-in-NetworkdNetDevTests..patch
https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=4046f515e40c4dc80d18d2303466737f1f451f11
* Remove expected failure from passing test.
Signed-off-by: Dimitri John Ledkov <xnox@xxxxxxxxxx> (LP: #1829450)
Author: Dan Streetman
File: debian/tests/systemd-fsckd
https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=c43b12037d08555dc1d26593307726d7c7992df0
* Fix false negative checking for running jobs after boot.
Signed-off-by: Dimitri John Ledkov <xnox@xxxxxxxxxx> (LP: #1825997)
Author: Dan Streetman
File: debian/tests/boot-smoke
https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=aeb01631efbaf3fe851dee15d496e0b66b5c347f
* Cherrypick ask-password: prevent buffer overrow when reading from keyring.
Signed-off-by: Dimitri John Ledkov <xnox@xxxxxxxxxx> (LP: #1814373)
Author: Dan Streetman
File: debian/patches/ask-password-prevent-buffer-overrow-when-reading-fro.patch
https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=6d6e9cbd4fc6e018031a4762e88f2c3aa19e24e8
-- Dimitri John Ledkov <xnox@xxxxxxxxxx> Thu, 30 May 2019 21:45:50
+0100
** Changed in: systemd (Ubuntu Eoan)
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 Committed
Status in systemd source package in Cosmic:
Fix Committed
Status in systemd source package in Disco:
Fix Committed
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