systemd autopkgtest 'boot-and-services' fails with linux-kvm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-kvm (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Eoan |
Won't Fix
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
systemd (Ubuntu) |
Won't Fix
|
Low
|
Dan Streetman | ||
Eoan |
Won't Fix
|
Low
|
Dan Streetman | ||
Focal |
Won't Fix
|
Low
|
Dan Streetman |
Bug Description
[impact]
systemd autopkgtest 'boot-and-services' fails when running with linux-kvm kernel, because that kernel does not set CONFIG_
[test case]
check the autopkgtest results, e.g.:
https:/
test_no_failed (__main_
No failed units ... -------- journal for failed service multipathd.service -----------
-- Logs begin at Mon 2020-02-10 03:26:38 UTC, end at Mon 2020-02-10 13:56:23 UTC. --
Feb 10 13:56:07 autopkgtest systemd[1]: Starting Device-Mapper Multipath Device Controller...
Feb 10 13:56:07 autopkgtest modprobe[194]: modprobe: WARNING: Module scsi_dh_alua not found in directory /lib/modules/
Feb 10 13:56:07 autopkgtest modprobe[194]: modprobe: WARNING: Module scsi_dh_emc not found in directory /lib/modules/
Feb 10 13:56:07 autopkgtest modprobe[194]: modprobe: WARNING: Module scsi_dh_rdac not found in directory /lib/modules/
Feb 10 13:56:07 autopkgtest modprobe[194]: modprobe: WARNING: Module dm-multipath not found in directory /lib/modules/
Feb 10 13:56:07 autopkgtest multipathd[195]: --------start up--------
Feb 10 13:56:07 autopkgtest multipathd[195]: read /etc/multipath.conf
Feb 10 13:56:07 autopkgtest multipathd[195]: DM multipath kernel driver not loaded
Feb 10 13:56:07 autopkgtest systemd[1]: multipathd.service: Main process exited, code=exited, status=1/FAILURE
Feb 10 13:56:07 autopkgtest systemd[1]: multipathd.service: Failed with result 'exit-code'.
Feb 10 13:56:07 autopkgtest systemd[1]: Failed to start Device-Mapper Multipath Device Controller.
FAIL
=======
FAIL: test_no_failed (__main_
No failed units
-------
Traceback (most recent call last):
File "/tmp/autopkgte
self.
AssertionError: Lists differ: ['multipathd.
First list contains 1 additional elements.
First extra element 0:
'multipathd.service loaded failed failed Device-Mapper Multipath Device Controller'
+ []
- ['multipathd.
- 'Controller']
[regression potential]
This updates the test case to ignore failure of multipathd.service if it looks like the dm-multipath module isn't available, so any regression would be limited to incorrectly passing or failing test case.
[scope]
This is needed at least in Eoan, and probably Focal.
This doesn't fail on Bionic or Xenial, but that seems to be because the multipath-utils package (which provides multipathd.service) is not installed during the test for those releases.
Changed in systemd (Ubuntu Eoan): | |
status: | New → In Progress |
Changed in systemd (Ubuntu Focal): | |
status: | New → In Progress |
importance: | Undecided → Low |
Changed in systemd (Ubuntu Eoan): | |
importance: | Undecided → Low |
assignee: | nobody → Dan Streetman (ddstreet) |
Changed in systemd (Ubuntu Focal): | |
assignee: | nobody → Dan Streetman (ddstreet) |
description: | updated |
marking as affecting linux-kvm, as I'm not sure the lack of CONFIG_DM_MULTIPATH was intentional or not.