[Bug 1862657] [NEW] systemd autopkgtest 'logind' fails when running with linux-kvm
Dan Streetman
ddstreet at canonical.com
Mon Feb 10 16:12:59 UTC 2020
Public bug reported:
[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.
** Affects: systemd (Ubuntu)
Importance: Low
Assignee: Dan Streetman (ddstreet)
Status: In Progress
** Affects: systemd (Ubuntu Xenial)
Importance: Low
Assignee: Dan Streetman (ddstreet)
Status: In Progress
** Affects: systemd (Ubuntu Bionic)
Importance: Low
Assignee: Dan Streetman (ddstreet)
Status: In Progress
** Affects: systemd (Ubuntu Eoan)
Importance: Low
Assignee: Dan Streetman (ddstreet)
Status: In Progress
** Affects: systemd (Ubuntu Focal)
Importance: Low
Assignee: Dan Streetman (ddstreet)
Status: In Progress
** Also affects: systemd (Ubuntu Focal)
Importance: Undecided
Status: New
** Also affects: systemd (Ubuntu Bionic)
Importance: Undecided
Status: New
** Also affects: systemd (Ubuntu Xenial)
Importance: Undecided
Status: New
** Also affects: systemd (Ubuntu Eoan)
Importance: Undecided
Status: New
** Changed in: systemd (Ubuntu Eoan)
Assignee: (unassigned) => Dan Streetman (ddstreet)
** Changed in: systemd (Ubuntu Focal)
Assignee: (unassigned) => Dan Streetman (ddstreet)
** Changed in: systemd (Ubuntu Eoan)
Importance: Undecided => Low
** Changed in: systemd (Ubuntu Focal)
Status: New => In Progress
** Changed in: systemd (Ubuntu Bionic)
Assignee: (unassigned) => Dan Streetman (ddstreet)
** Changed in: systemd (Ubuntu Bionic)
Importance: Undecided => Low
** Changed in: systemd (Ubuntu Xenial)
Assignee: (unassigned) => Dan Streetman (ddstreet)
** Changed in: systemd (Ubuntu Eoan)
Status: New => In Progress
** Changed in: systemd (Ubuntu Bionic)
Status: New => In Progress
** Changed in: systemd (Ubuntu Xenial)
Importance: Undecided => Low
** Changed in: systemd (Ubuntu Focal)
Importance: Undecided => Low
** Changed in: systemd (Ubuntu Xenial)
Status: New => In Progress
--
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:
In Progress
Status in systemd source package in Xenial:
In Progress
Status in systemd source package in Bionic:
In Progress
Status in systemd source package in Eoan:
In Progress
Status in systemd source package in Focal:
In Progress
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