[Bug 1862657] Re: systemd autopkgtest 'logind' fails when running with linux-kvm
Dan Streetman
ddstreet at canonical.com
Wed May 6 00:05:56 UTC 2020
x, b, and e autopkgtests now pass test 'logind'.
(b and e still fail overall with linux-meta-kvm, but at least the specific logind test passes now).
** Tags removed: verification-needed verification-needed-bionic verification-needed-eoan verification-needed-xenial
** Tags added: verification-done verification-done-bionic verification-done-eoan verification-done-xenial
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1862657
Title:
systemd autopkgtest 'logind' fails when running with linux-kvm
Status in systemd package in Ubuntu:
Fix Released
Status in systemd source package in Xenial:
Fix Committed
Status in systemd source package in Bionic:
Fix Committed
Status in systemd source package in Eoan:
Fix Committed
Status in systemd source package in Focal:
Fix Released
Bug description:
[impact]
the logind autopkgtest tries to access /sys/power/state, but because
linux-kvm has CONFIG_PM unset, there is no /sys/power/state file
[test case]
check autopkgtest, e.g.:
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-eoan/eoan/amd64/s/systemd/20200210_144351_da247@/log.gz
autopkgtest [13:48:53]: test logind: -----------------------]
autopkgtest [13:48:53]: test logind: - - - - - - - - - - results - - - - - - - - - -
logind FAIL stderr: grep: /sys/power/state: No such file or directory
autopkgtest [13:48:53]: test logind: - - - - - - - - - - stderr - - - - - - - - - -
grep: /sys/power/state: No such file or directory
[regression potential]
regressions would likely involve incorrectly skipped logind test.
[scope]
this fails for all releases; Xenial, Bionic, Eoan, and Focal.
[other info]
it's unclear if linux-kvm should have CONFIG_PM (and other config)
enabled or not.
However, it's not the intention of systemd's autopkgtests to look for
missing config in the kernel; the test already skips if 'mem' isn't in
/sys/power/state, so it should also skip if /sys/power/state isn't
present at all.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1862657/+subscriptions
More information about the foundations-bugs
mailing list