containers / qm

QM is a containerized environment for running Functional Safety qm (Quality Management) software
https://github.com/containers/qm
GNU General Public License v2.0
23 stars 26 forks source link

[Fedora] Create a test for setup script #642

Closed dougsland closed 2 weeks ago

dougsland commented 3 weeks ago

Verify tmt flow is working on CloudBase Fedora 41

Yarboa commented 2 weeks ago

Working on it manually related to #647

Running on fedora41 cloud image

tmt -c distro=fedora-41 -c run=manual  run -e PACKIT_COPR_PROJECT=packit/containers-qm-647 -a provision --how connect -u root -p <password> -P <port> -g localhost  plans -n /plans/e2e/tier-0

Note there should be a treatment on btrfs filesystem

Yarboa commented 2 weeks ago

Applied this change p0.log

Now setup script is failing on that

 dnf -y install --releasever=41 --installroot /usr/lib/qm/rootfs selinux-policy-targeted podman systemd bluechi-agent procps-ng iptables-nft jq
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
No match for argument: selinux-policy-targeted
No match for argument: podman
No match for argument: systemd
No match for argument: bluechi-agent
No match for argument: procps-ng
No match for argument: iptables-nft
No match for argument: jq
No repositories were loaded from the installroot. To use the configuration and repositories of the host system, pass --use-host-config.

@dougsland did you run setup script on Fedora41?

dougsland commented 2 weeks ago

Solved by me and @Yarboa via: https://github.com/containers/qm/commit/c409c8bde538f99eec8b3bed37c0fd6f93914d78 and https://github.com/containers/qm/commit/5826e1c7588d51e5a21f75b73869b4dd1e0f2fa7

dougsland commented 2 weeks ago

Maybe @Yarboa will have more patches with improvements in the future.