[Bug 1782538] [NEW] test-sleep now fails in lxc/lxd container

Dimitri John Ledkov launchpad at surgut.co.uk
Thu Jul 19 09:07:24 UTC 2018


Public bug reported:

====== test-sleep =======
Hibernation configured and possible: no
Hybrid-sleep configured and possible: no
Suspend-then-Hibernate configured and possible: no
Unable to read extent map for '/usr/lib/systemd/tests/test-sleep': Inappropriate ioctl for device
Assertion 'test_fiemap(argv[0]) == 0' failed at ../src/test/test-sleep.c:96, function main(). Aborting.
Aborted (core dumped)
FAIL: test-sleep (code: 134)

This is introduced with the hybernate offset patchset.

Specifically, the last assertion introduced in test-sleep.c should be
guarded against lxc/lxd containers `test_fiemap`. This is to be improved
in a subsequent SRU.

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/1782538

Title:
  test-sleep now fails in lxc/lxd container

Status in systemd package in Ubuntu:
  New

Bug description:
  ====== test-sleep =======
  Hibernation configured and possible: no
  Hybrid-sleep configured and possible: no
  Suspend-then-Hibernate configured and possible: no
  Unable to read extent map for '/usr/lib/systemd/tests/test-sleep': Inappropriate ioctl for device
  Assertion 'test_fiemap(argv[0]) == 0' failed at ../src/test/test-sleep.c:96, function main(). Aborting.
  Aborted (core dumped)
  FAIL: test-sleep (code: 134)

  This is introduced with the hybernate offset patchset.

  Specifically, the last assertion introduced in test-sleep.c should be
  guarded against lxc/lxd containers `test_fiemap`. This is to be
  improved in a subsequent SRU.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1782538/+subscriptions



More information about the foundations-bugs mailing list