test-sleep now fails in lxc/lxd container

Bug #1782538 reported by Dimitri John Ledkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Invalid
Undecided
Unassigned

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.

Revision history for this message
Dan Streetman (ddstreet) wrote :

please reopen if this is still an issue

Changed in systemd (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.