← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1862657] Re: systemd autopkgtest 'logind' fails when running with linux-kvm

 

** Changed in: systemd (Ubuntu Focal)
       Status: In Progress => 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/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:
  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:
  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