From a6f2f58547ec09bf7dec6b976979cdc8aeb06ab1 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Fri, 25 Aug 2023 11:18:11 +0200 Subject: [PATCH 1/2] [CI:BUILD] 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 49c42527b569..5194695518d9 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -37,7 +37,8 @@ jobs: identifier: cockpit-revdeps trigger: pull_request targets: - - fedora-all + - fedora-latest-stable + - fedora-development tf_extra_params: environments: - artifacts: From b8146a8a2cb30be919e05fdee1a1e80ffbd262b6 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Fri, 25 Aug 2023 17:44:47 +0200 Subject: [PATCH 2/2] [CI:BUILD] 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 86ed20c5eabf..ca3626b1a425 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