From 65b4d923442225365be27f1af21a1f815fc6bb35 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Fri, 25 Aug 2023 11:18:11 +0200 Subject: [PATCH 1/2] Packit: Restrict cockpit tests to recent Fedoras The cockpit team only ever supports two parallel Fedora releases, and will soon discontinue updating Fedora 37. So, instead of risking testing against an obsolete Fedora, test against the most recent stable and all development series. These are often fewer than we support, but that's totally sufficient for this purpose. [NO NEW TESTS NEEDED] - This is test configuration. Signed-off-by: Martin Pitt --- .packit.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.packit.yaml b/.packit.yaml index 27c772765d..fb8aefa147 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -35,7 +35,8 @@ jobs: identifier: cockpit-revdeps trigger: pull_request targets: - - fedora-all + - fedora-latest-stable + - fedora-development tf_extra_params: environments: - artifacts: From 3f9c9d0b20ecbe8a297fd487019bb5e2ce0b41d1 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Fri, 25 Aug 2023 17:44:47 +0200 Subject: [PATCH 2/2] Packit: Disable unexpected journal message check for cockpit-podman These are relevant when validating upstream or selinux-policy changes, but not podman ones. This makes the revdeps tests more robust against random (non-fatal) SELinux denials or messages from other system components. [NO NEW TESTS NEEDED] - This is test configuration. Signed-off-by: Martin Pitt --- plans/cockpit-podman.fmf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plans/cockpit-podman.fmf b/plans/cockpit-podman.fmf index 86ed20c5ea..ca3626b1a4 100644 --- a/plans/cockpit-podman.fmf +++ b/plans/cockpit-podman.fmf @@ -15,6 +15,11 @@ discover: execute: how: tmt +# not relevant for testing podman +environment: + TEST_AUDIT_NO_SELINUX: 1 + TEST_ALLOW_JOURNAL_MESSAGES: ".*" + # This has to duplicate cockpit-podman's plan structure; see https://github.com/teemtee/tmt/issues/1770 /podman-system: summary: Run cockpit-podman system tests