Activity log for bug #1967576

Date Who What changed Old value New value Message
2022-04-01 20:28:09 Nick Rosbrook bug added bug
2022-04-01 21:00:59 Nick Rosbrook attachment added systemd-lp-1967576.debdiff https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1967576/+attachment/5575869/+files/systemd-lp-1967576.debdiff
2022-04-01 21:38:35 Brian Murray systemd (Ubuntu Impish): status New Fix Committed
2022-04-01 21:38:37 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2022-04-01 21:38:39 Brian Murray bug added subscriber SRU Verification
2022-04-01 21:38:42 Brian Murray tags verification-needed verification-needed-impish
2022-04-05 18:09:07 Nick Rosbrook tags verification-needed verification-needed-impish verification-done-impish verification-needed
2022-04-05 18:13:07 Nick Rosbrook tags verification-done-impish verification-needed verification-done verification-needed-impish
2022-04-05 18:13:42 Nick Rosbrook tags verification-done verification-needed-impish verification-done verification-done-impish
2022-04-13 22:51:09 Launchpad Janitor systemd (Ubuntu Impish): status Fix Committed Fix Released
2022-04-13 22:51:33 Brian Murray removed subscriber Ubuntu Stable Release Updates Team
2022-04-14 00:22:00 Ubuntu Foundations Team Bug Bot tags verification-done verification-done-impish patch verification-done verification-done-impish
2022-04-14 00:22:07 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Sponsors Team
2022-06-07 09:57:37 Lukas Märdian description This build log provides an example of the problem: https://autopkgtest.ubuntu.com/results/autopkgtest-impish/impish/ppc64el/s/systemd/20220331_190433_fdbbe@/log.gz. During setup for tests-in-lxd, an attempt is made to purge snapd, but this fails: [ ... ] Purging configuration files for snapd (2.54.3+21.10.1ubuntu0.2) ... Stopping snap.lxd.activate.service Stopping unit snap.lxd.activate.service Waiting until unit snap.lxd.activate.service is stopped [attempt 1] snap.lxd.activate.service is stopped. Removing snap.lxd.activate.service Stopping snap.lxd.daemon.service Stopping unit snap.lxd.daemon.service Waiting until unit snap.lxd.daemon.service is stopped [attempt 1] snap.lxd.daemon.service is stopped. Removing snap.lxd.daemon.service Stopping snap.lxd.user-daemon.service Stopping unit snap.lxd.user-daemon.service Waiting until unit snap.lxd.user-daemon.service is stopped [attempt 1] snap.lxd.user-daemon.service is stopped. Removing snap.lxd.user-daemon.service Stopping snap-core20-1378.mount Stopping unit snap-core20-1378.mount Waiting until unit snap-core20-1378.mount is stopped [attempt 1] snap-core20-1378.mount is stopped. Removing snap core20 and revision 1378 Removing snap-core20-1378.mount Stopping snap-lxd-22672.mount Stopping unit snap-lxd-22672.mount Waiting until unit snap-lxd-22672.mount is stopped [attempt 1] snap-lxd-22672.mount is stopped. Removing snap lxd and revision 22672 rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/proc/cpuinfo': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/proc/meminfo': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/proc/stat': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/proc/uptime': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/proc/diskstats': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/proc/swaps': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/proc/loadavg': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/proc/slabinfo': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/cpu0': Operation not permitted rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/cpuidle': Operation not permitted rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/uevent': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/svm': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/hotplug': Operation not permitted rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/offline': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/present': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/power': Operation not permitted rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/dscr_default': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/probe': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/smt': Operation not permitted rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/vulnerabilities': Operation not permitted rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/cpufreq': Operation not permitted rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/isolated': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/kernel_max': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/modalias': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/cgroup': Input/output error dpkg: error processing package snapd (--purge): installed snapd package post-removal script subprocess returned error exit status 1 [ ... ] This appears to result in some snap .mount units being left over in /etc/systemd/system. These leftover mount units will now always fail because snapd etc. is no longer installed. Thus, the 'test_no_failed' test, which checks for any failed units after boot, will fail: [ ... ] ====================================================================== FAIL: test_no_failed (__main__.ServicesTest) No failed units ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/autopkgtest.s5bwuE/build.2Vb/real-tree/debian/tests/boot-and-services", line 69, in test_no_failed self.assertEqual(failed, []) AssertionError: Lists differ: ['snap-lxd-22672.mount loaded failed fai[119 chars]180'] != [] First list contains 2 additional elements. First extra element 0: 'snap-lxd-22672.mount loaded failed failed Mount unit for lxd, revision 22672' + [] - ['snap-lxd-22672.mount loaded failed failed Mount unit for lxd, revision ' - '22672', - 'snap-snapd-15180.mount loaded failed failed Mount unit for snapd, revision ' - '15180'] ---------------------------------------------------------------------- Ran 23 tests in 3.771s FAILED (failures=1, skipped=7) autopkgtest [18:16:43]: test boot-and-services: -----------------------] autopkgtest [18:16:44]: test boot-and-services: - - - - - - - - - - results - - - - - - - - - - boot-and-services FAIL non-zero exit status 1 autopkgtest [18:16:44]: @@@@@@@@@@@@@@@@@@@@ summary boot-and-services FAIL non-zero exit status 1 autopkgtest [18:16:52]: test tests-in-lxd: -----------------------] autopkgtest [18:16:54]: test tests-in-lxd: - - - - - - - - - - results - - - - - - - - - - tests-in-lxd FAIL non-zero exit status 1 [ ... ] The underlying snapd bug appears to be related to bug 1903967 and bug 1950864. In the mean time, the test should be fixed so this does not block systemd autopktests. [Impact] * The "tests-in-lxd/boot-and-services/test_no_failed" autopkgtest fails * it did not stand out due to LP: #1976607 * we want to have proper autopkgtest coverage for systemd in Jammy LTS [Test Plan] * check autopkgtest logs on autopkgtest.ubuntu.com and make sure all instances of "boot-and-services" PASS (especially the "test_no_failed" test case. This includes running the test natively in autopkgtest and inside the "tests-in-lxd" container. [Where problems could occur] * other/new snapd-*.mount regressions could be hidden. * but snapd is being removed during systemd's tests anyway (introducing this failure) [Other Info] * The issue was not visible up to now, as the whole tests-in-lxd autopkgtests has been skipped: LP: #1976607 === original description === This build log provides an example of the problem: https://autopkgtest.ubuntu.com/results/autopkgtest-impish/impish/ppc64el/s/systemd/20220331_190433_fdbbe@/log.gz. During setup for tests-in-lxd, an attempt is made to purge snapd, but this fails: [ ... ] Purging configuration files for snapd (2.54.3+21.10.1ubuntu0.2) ... Stopping snap.lxd.activate.service Stopping unit snap.lxd.activate.service Waiting until unit snap.lxd.activate.service is stopped [attempt 1] snap.lxd.activate.service is stopped. Removing snap.lxd.activate.service Stopping snap.lxd.daemon.service Stopping unit snap.lxd.daemon.service Waiting until unit snap.lxd.daemon.service is stopped [attempt 1] snap.lxd.daemon.service is stopped. Removing snap.lxd.daemon.service Stopping snap.lxd.user-daemon.service Stopping unit snap.lxd.user-daemon.service Waiting until unit snap.lxd.user-daemon.service is stopped [attempt 1] snap.lxd.user-daemon.service is stopped. Removing snap.lxd.user-daemon.service Stopping snap-core20-1378.mount Stopping unit snap-core20-1378.mount Waiting until unit snap-core20-1378.mount is stopped [attempt 1] snap-core20-1378.mount is stopped. Removing snap core20 and revision 1378 Removing snap-core20-1378.mount Stopping snap-lxd-22672.mount Stopping unit snap-lxd-22672.mount Waiting until unit snap-lxd-22672.mount is stopped [attempt 1] snap-lxd-22672.mount is stopped. Removing snap lxd and revision 22672 rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/proc/cpuinfo': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/proc/meminfo': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/proc/stat': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/proc/uptime': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/proc/diskstats': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/proc/swaps': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/proc/loadavg': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/proc/slabinfo': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/cpu0': Operation not permitted rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/cpuidle': Operation not permitted rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/uevent': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/svm': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/hotplug': Operation not permitted rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/offline': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/present': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/power': Operation not permitted rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/dscr_default': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/probe': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/smt': Operation not permitted rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/vulnerabilities': Operation not permitted rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/cpufreq': Operation not permitted rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/isolated': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/kernel_max': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/sys/devices/system/cpu/modalias': Function not implemented rm: cannot remove '/var/snap/lxd/common/var/lib/lxcfs/cgroup': Input/output error dpkg: error processing package snapd (--purge):  installed snapd package post-removal script subprocess returned error exit status 1 [ ... ] This appears to result in some snap .mount units being left over in /etc/systemd/system. These leftover mount units will now always fail because snapd etc. is no longer installed. Thus, the 'test_no_failed' test, which checks for any failed units after boot, will fail: [ ... ] ====================================================================== FAIL: test_no_failed (__main__.ServicesTest) No failed units ---------------------------------------------------------------------- Traceback (most recent call last):   File "/tmp/autopkgtest.s5bwuE/build.2Vb/real-tree/debian/tests/boot-and-services", line 69, in test_no_failed     self.assertEqual(failed, []) AssertionError: Lists differ: ['snap-lxd-22672.mount loaded failed fai[119 chars]180'] != [] First list contains 2 additional elements. First extra element 0: 'snap-lxd-22672.mount loaded failed failed Mount unit for lxd, revision 22672' + [] - ['snap-lxd-22672.mount loaded failed failed Mount unit for lxd, revision ' - '22672', - 'snap-snapd-15180.mount loaded failed failed Mount unit for snapd, revision ' - '15180'] ---------------------------------------------------------------------- Ran 23 tests in 3.771s FAILED (failures=1, skipped=7) autopkgtest [18:16:43]: test boot-and-services: -----------------------] autopkgtest [18:16:44]: test boot-and-services: - - - - - - - - - - results - - - - - - - - - - boot-and-services FAIL non-zero exit status 1 autopkgtest [18:16:44]: @@@@@@@@@@@@@@@@@@@@ summary boot-and-services FAIL non-zero exit status 1 autopkgtest [18:16:52]: test tests-in-lxd: -----------------------] autopkgtest [18:16:54]: test tests-in-lxd: - - - - - - - - - - results - - - - - - - - - - tests-in-lxd FAIL non-zero exit status 1 [ ... ] The underlying snapd bug appears to be related to bug 1903967 and bug 1950864. In the mean time, the test should be fixed so this does not block systemd autopktests.
2022-06-07 09:57:51 Lukas Märdian nominated for series Ubuntu Jammy
2022-06-07 09:57:51 Lukas Märdian bug task added systemd (Ubuntu Jammy)
2022-06-08 12:32:31 Lukas Märdian systemd (Ubuntu Jammy): status New In Progress
2022-06-08 12:32:33 Lukas Märdian systemd (Ubuntu Jammy): assignee Lukas Märdian (slyon)
2022-06-09 16:00:47 Lukas Märdian systemd (Ubuntu): status New In Progress
2022-06-09 16:00:53 Lukas Märdian systemd (Ubuntu): assignee Nick Rosbrook (enr0n)
2022-06-10 16:53:58 Steve Langasek systemd (Ubuntu Jammy): status In Progress Fix Committed
2022-06-10 16:53:59 Steve Langasek bug added subscriber Ubuntu Stable Release Updates Team
2022-06-10 16:54:04 Steve Langasek tags patch verification-done verification-done-impish patch verification-done-impish verification-needed verification-needed-jammy
2022-06-14 07:05:32 Lukas Märdian tags patch verification-done-impish verification-needed verification-needed-jammy patch verification-done-impish verification-done-jammy verification-needed
2022-06-21 14:39:18 Launchpad Janitor merge proposal linked https://code.launchpad.net/~enr0n/ubuntu/+source/systemd/+git/systemd/+merge/425169
2022-06-21 14:40:14 Launchpad Janitor merge proposal linked https://code.launchpad.net/~enr0n/ubuntu/+source/systemd/+git/systemd/+merge/425171
2022-06-22 12:33:40 Launchpad Janitor systemd (Ubuntu Jammy): status Fix Committed Fix Released
2022-06-27 20:44:51 Launchpad Janitor merge proposal unlinked https://code.launchpad.net/~enr0n/ubuntu/+source/systemd/+git/systemd/+merge/425171
2022-07-02 16:58:47 Launchpad Janitor systemd (Ubuntu): status In Progress Fix Released
2022-07-02 16:58:47 Launchpad Janitor bug watch added https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746463
2022-07-02 16:58:47 Launchpad Janitor bug watch added https://github.com/systemd/systemd/issues/22635
2022-07-02 16:58:47 Launchpad Janitor bug watch added https://github.com/systemd/systemd/issues/22991
2022-07-02 16:58:47 Launchpad Janitor bug watch added https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=969568
2022-07-02 16:58:47 Launchpad Janitor bug watch added https://github.com/systemd/systemd/issues/21975
2022-07-02 16:58:47 Launchpad Janitor cve linked 2021-3997