tests: remove lvm2 from the fedora-boot test manifest

With lvm2 the generated fedora fc38 boot image boots in degraded
mode with the following error:
```
[root@localhost ~]# journalctl -u lvm2-monitor.service|more
Nov 13 12:52:04 localhost.localdomain lvm[431]:   Failed to create /etc/lvm/devi
ces 2
Nov 13 12:52:04 localhost.localdomain lvm[431]:   Failed to set up devices.
Nov 13 12:52:04 localhost.localdomain systemd[1]: lvm2-monitor.service: Main pro
cess exited, code=exited, status=5/NOTINSTALLED
Nov 13 12:52:04 localhost.localdomain systemd[1]: lvm2-monitor.service: Failed w
ith result 'exit-code'.
Nov 13 12:52:04 localhost.localdomain systemd[1]: Failed to start lvm2-monitor.s
ervice - Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress p
olling.
```
This breaks the `test_boot.py` which expects the system after booting
in `running` state  (from `systemd is-system-running`).

It looks like this is some sort of race with our generated image,
potentially related to selinux, see
https://github.com/lvmteam/lvm2/blob/v2_03_18/lib/device/dev-cache.c#L1842
and note the lines around dm_prepare_selinux_context(). Note
also that `lvm2-monitor.service` runs with `DefaultDependencies=no`
(c.f.
https://github.com/lvmteam/lvm2/blob/v2_03_18/scripts/lvm2_monitoring_systemd_red_hat.service.in#L7)

Given that the official fc38 cloud image does not use lvm2 and that
it's not needed for the boot test this commit simply removes it
from the fedora-boot manifest. This fixes the test.
This commit is contained in:
Michael Vogt 2023-11-13 17:59:28 +01:00 committed by Brian C. Lane
parent 330cd0675b
commit f4f0c8f004
2 changed files with 4 additions and 6 deletions

View file

@ -475,10 +475,7 @@
"sha256:6652f5d40acfaeda20555bdd63e964f123e8ab4a52f8c8890e749e06b6bae3e0": {},
"sha256:19c51da8f7703fae87c656f5312179362367f5c6a20c7de56a64c590254c5e21": {},
"sha256:695aab11fda4b6a396c3ca141fb3ccc48af757a70f36ea3a1be2292e90c40d6f": {},
"sha256:e8c1626c4179f11e3f597ad8e73b2ac80537d51de0181da96c0836614fdb8c0a": {},
"sha256:0e01de6950ca71089aa2240a6b9d762b7def229e5f95d58695c7cf8670e43b1e": {},
"sha256:42e8600a8d7e7109de32df6cb6a619b9805f9335bf467a085009f6b82dda6e22": {},
"sha256:fc593550a01333bc07a6b35002ec85b4de40198887d3237984c4e203526db8f2": {},
"sha256:1144585b7025499770d140cd8f4caf1dec4837fa6315e52c08633b694906937b": {},
"sha256:52906d0ebb311bc648a1e562cc439b4864bba617b73122a295bba317f829b722": {},
"sha256:96ce0a0a45030c369297ee608d57f6025f94d10d8b5fe2c2b721b8af64b540c2": {},
@ -544,7 +541,6 @@
"sha256:487f8391033a854782006c4379e6c4e4914656b5d743199a0661c56880446aa0": {},
"sha256:f606d5be4cefddabe67be0cefac437f15295005d24f6695d7d6e7a23b65d0c67": {},
"sha256:9b093be8a99bfbae03c2f3dd5435fc9508003f7ef21e4280ff72fe814c1d794e": {},
"sha256:8068b025fe7051320d35257c9ef8aef2dbdcd2adf5a5e3af356a49127173c2ec": {},
"sha256:0d0890dba8274458d068b981164111f554b47632bf9c82d1ec41c14697f2b4af": {},
"sha256:dd044973c572e64f505f3d00482249b2b4d71369babb5395a22861fd55b21d79": {},
"sha256:f7bd46a6beac4b68a3dbe746d491687c48e753bf5d605f64e697227a419a3ad9": {},
@ -622,8 +618,6 @@
"sha256:507ffdb912296768699a70c30169077b531b1612e47041551bfe523a4b7b6c7d": {},
"sha256:9f531fbcc52871aace8fdcdb816207c4196d5ab30ba233c71adb41371fa47e19": {},
"sha256:f0a48ec36269d83120425b269e47ba5c86d5a9a44e0de2665c1d55c10732d25b": {},
"sha256:98ca6f23dfcd29089994b48a22bc8703359ad347b868d453df2b3924cb91ddb5": {},
"sha256:c70094904d3b13adfe8bbc8fee9f0761a2ea184b8ec9f5c667b324b789694991": {},
"sha256:96a8f495896c0ff7520c2cc5c9c173d134efc9ef6c6b0364bc7533aefb578d41": {},
"sha256:369636da4a62046386b8c9d1734647ae020e41ad366b3994f264df66e8cc1638": {},
"sha256:af20e4d761c03b50662cd86d0b5b39d9fe6f7e17fd282d1e554ef879562dc0a5": {},

View file

@ -39,6 +39,10 @@ pipelines:
- geolite2-city
- geolite2-country
- plymouth
# excluded because not part of the official fc38 cloud image
# and causing boot errors
- lvm2
- lvm2-libs
options:
gpgkeys:
mpp-eval: gpgkeys