public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: separate failing tests from no-tier tests
@ 2026-09-11 13:22 Milos Malik
  0 siblings, 0 replies; only message in thread
From: Milos Malik @ 2026-09-11 13:22 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : tests/selinux
            Branch : pr775-checkpolicy-revdeps
            Commit : a7b41e8ca1dd0dfabafe7f9d41c83d4198d02918
            Author : Milos Malik <mmalik@redhat.com>
            Date   : 2025-04-01T08:28:41+02:00
            Stats  : +37/-6 in 21 file(s)
            URL    : https://src.fedoraproject.org/tests/selinux/c/a7b41e8ca1dd0dfabafe7f9d41c83d4198d02918?branch=pr775-checkpolicy-revdeps

            Log:
            separate failing tests from no-tier tests

Apply the failinfedora tag to the tests which fail on Fedora rawhide.
Add a special test plan for regular runs of these failing tests.

Make sure that the no-tier test plan contains tests which succeed on
Fedora rawhide.

---
diff --git a/kernel/connect_AF_UNSPEC/runtest.sh b/kernel/connect_AF_UNSPEC/runtest.sh
index bc63688..99f4ed2 100755
--- a/kernel/connect_AF_UNSPEC/runtest.sh
+++ b/kernel/connect_AF_UNSPEC/runtest.sh
@@ -33,7 +33,7 @@ rlJournalStart
         rlRun "rm -f $EXE6" 0 "Removing the IPv6 reproducer binary"
         rlRun "kill %1" 0 "Kill the IPv4 server"
         rlRun "kill %2" 0 "Kill the IPv6 server"
-        rlRun "wait $(jobs -p)" 0 "Wait for the servers to terminate"
+        rlRun "wait $(jobs -p | tr '\n' ' ')" 0,143 "Wait for the servers to terminate"
     rlPhaseEnd
 rlJournalPrintText
 rlJournalEnd

diff --git a/kernel/journald_performance/main.fmf b/kernel/journald_performance/main.fmf
index 755f41a..3f9f019 100644
--- a/kernel/journald_performance/main.fmf
+++ b/kernel/journald_performance/main.fmf
@@ -22,3 +22,5 @@ adjust:
     because: RHEL-8.2 and below are not expected to have the bug fixed
 link:
   - verifies: https://bugzilla.redhat.com/show_bug.cgi?id=1733259
+tag:
+  - failinfedora

diff --git a/kernel/labeled-cephfs/main.fmf b/kernel/labeled-cephfs/main.fmf
index 3d3c68e..c25a15c 100644
--- a/kernel/labeled-cephfs/main.fmf
+++ b/kernel/labeled-cephfs/main.fmf
@@ -5,6 +5,8 @@ description: |
     This TC verifies that CephFS security label support works as expected.
 duration: 30m
 tier: 2
+tag:
+  - failinfedora
 adjust:
 -   enabled: false
     when: distro < rhel-8

diff --git a/other/mounting/main.fmf b/other/mounting/main.fmf
index 05fb64f..b7ac025 100644
--- a/other/mounting/main.fmf
+++ b/other/mounting/main.fmf
@@ -14,6 +14,7 @@ tag:
   - NoRHEL4
   - NoRHEL5
   - NoRHEL6
+  - failinfedora
   - targeted
 adjust:
   - enabled: false

diff --git a/plans/failing.fmf b/plans/failing.fmf
new file mode 100644
index 0000000..defea7e
--- /dev/null
+++ b/plans/failing.fmf
@@ -0,0 +1,11 @@
+summary: test plan which contains failing tests
+adjust:
+- when: trigger == commit
+  enabled: false
+  because: do not run this plan on changes caused by a PR/MR
+discover:
+  how: fmf
+  filter: "tag:failinfedora"
+execute:
+  how: tmt
+

diff --git a/plans/notier.fmf b/plans/notier.fmf
index 4191bf5..638f579 100644
--- a/plans/notier.fmf
+++ b/plans/notier.fmf
@@ -8,4 +8,8 @@ discover:
   filter: "tag:-Tier1 & tag:-Tier2 & tag:-Tier3 & tag:-CI-Tier-1 & tag:-failinfedora"
 execute:
   how: tmt
+provision:
+  hardware:
+    cpu:
+      cores: '>= 2'
 

diff --git a/policycoreutils/sepolicy-generate-application/main.fmf b/policycoreutils/sepolicy-generate-application/main.fmf
index 4096a38..3b95b9c 100644
--- a/policycoreutils/sepolicy-generate-application/main.fmf
+++ b/policycoreutils/sepolicy-generate-application/main.fmf
@@ -10,5 +10,7 @@ require:
 recommend:
   - abrt
 tier: '3'
+tag:
+  - failinfedora
 enabled: true
 extra-nitrate: TC#0615932

diff --git a/selinux-policy/fapolicyd-and-similar/main.fmf b/selinux-policy/fapolicyd-and-similar/main.fmf
index 5ffec17..b3fed85 100644
--- a/selinux-policy/fapolicyd-and-similar/main.fmf
+++ b/selinux-policy/fapolicyd-and-similar/main.fmf
@@ -10,7 +10,7 @@ require:
   - library(selinux-policy/common)
 recommend:
   - audit
-  - initscripts
+  - /usr/sbin/service
   - libselinux
   - libselinux-utils
   - policycoreutils
@@ -29,6 +29,7 @@ tag:
   - NoRHEL6
   - NoRHEL7
   - fedora-wanted
+  - failinfedora
   - targeted
   - NoRHIVOS
 link:

diff --git a/selinux-policy/iio-sensor-proxy-and-similar/main.fmf b/selinux-policy/iio-sensor-proxy-and-similar/main.fmf
index 7a59d93..ad25712 100644
--- a/selinux-policy/iio-sensor-proxy-and-similar/main.fmf
+++ b/selinux-policy/iio-sensor-proxy-and-similar/main.fmf
@@ -30,6 +30,7 @@ tag:
   - NoRHEL7
   - NoRHEL8
   - targeted
+  - failinfedora
   - NoRHIVOS
 link:
   - verifies: https://issues.redhat.com/browse/RHEL-17346

diff --git a/selinux-policy/nasd-and-similar/main.fmf b/selinux-policy/nasd-and-similar/main.fmf
index ef1a288..d29086e 100644
--- a/selinux-policy/nasd-and-similar/main.fmf
+++ b/selinux-policy/nasd-and-similar/main.fmf
@@ -33,4 +33,5 @@ extra-task: /CoreOS/selinux-policy/Regression/nasd-and-similar
 extra-nitrate: TC#0614607
 id: ad784a9d-5cf4-4aac-b583-68458860acd9
 tag:
+  - failinfedora
   - NoRHIVOS

diff --git a/selinux-policy/nfsdcld-and-similar/main.fmf b/selinux-policy/nfsdcld-and-similar/main.fmf
index 313d93f..b53c0bb 100644
--- a/selinux-policy/nfsdcld-and-similar/main.fmf
+++ b/selinux-policy/nfsdcld-and-similar/main.fmf
@@ -27,6 +27,7 @@ tag:
   - NoRHEL6
   - NoRHEL7
   - targeted
+  - failinfedora
   - NoRHIVOS
 link:
   - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1834234

diff --git a/selinux-policy/nvme-stas-and-similar/main.fmf b/selinux-policy/nvme-stas-and-similar/main.fmf
index e5b5cf7..d8408e2 100644
--- a/selinux-policy/nvme-stas-and-similar/main.fmf
+++ b/selinux-policy/nvme-stas-and-similar/main.fmf
@@ -30,6 +30,7 @@ tag:
   - NoRHEL7
   - NoRHEL8
   - targeted
+  - failinfedora
   - NoRHIVOS
 link:
   - verifies: https://bugzilla.redhat.com/show_bug.cgi?id=2111414

diff --git a/selinux-policy/pam_limits-and-related/main.fmf b/selinux-policy/pam_limits-and-related/main.fmf
index c7f1024..aecf466 100644
--- a/selinux-policy/pam_limits-and-related/main.fmf
+++ b/selinux-policy/pam_limits-and-related/main.fmf
@@ -35,6 +35,7 @@ tag:
   - NoRHEL6
   - NoRHEL7
   - targeted
+  - failinfedora
   - NoRHIVOS
 link:
   - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1958819

diff --git a/selinux-policy/pcm-sensor-server-and-similar/main.fmf b/selinux-policy/pcm-sensor-server-and-similar/main.fmf
index 146de4e..cea7e6f 100644
--- a/selinux-policy/pcm-sensor-server-and-similar/main.fmf
+++ b/selinux-policy/pcm-sensor-server-and-similar/main.fmf
@@ -31,6 +31,7 @@ tag:
   - NoRHEL8
   - NoRHEL9
   - targeted
+  - failinfedora
   - NoRHIVOS
 link:
   - verifies: https://issues.redhat.com/browse/RHEL-52838

diff --git a/selinux-policy/perf_event-and-related/main.fmf b/selinux-policy/perf_event-and-related/main.fmf
index 2191e90..256d414 100644
--- a/selinux-policy/perf_event-and-related/main.fmf
+++ b/selinux-policy/perf_event-and-related/main.fmf
@@ -29,6 +29,7 @@ tag:
   - NoRHEL6
   - NoRHEL7
   - targeted
+  - failinfedora
   - NoRHIVOS
 link:
   - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1901957

diff --git a/selinux-policy/stalld-and-similar/main.fmf b/selinux-policy/stalld-and-similar/main.fmf
index 8f566d3..ed7a6da 100644
--- a/selinux-policy/stalld-and-similar/main.fmf
+++ b/selinux-policy/stalld-and-similar/main.fmf
@@ -31,7 +31,6 @@ tag:
   - Tier2
   - Tier2se
   - targeted
-  - failinfedora
   - NoRHIVOS
 tier: '2'
 link:

diff --git a/selinux-policy/systemd-homed/main.fmf b/selinux-policy/systemd-homed/main.fmf
index f98dce0..25edf64 100644
--- a/selinux-policy/systemd-homed/main.fmf
+++ b/selinux-policy/systemd-homed/main.fmf
@@ -34,4 +34,5 @@ extra-task: /CoreOS/selinux-policy/Regression/systemd-homed
 extra-nitrate: TC#0614608
 id: 880ecade-0976-4303-a521-aead43e7f8c7
 tag:
+  - failinfedora
   - NoRHIVOS

diff --git a/selinux-policy/systemd-modules-load-and-similar/main.fmf b/selinux-policy/systemd-modules-load-and-similar/main.fmf
index fd3339c..c4cf5f5 100644
--- a/selinux-policy/systemd-modules-load-and-similar/main.fmf
+++ b/selinux-policy/systemd-modules-load-and-similar/main.fmf
@@ -30,7 +30,6 @@ tag:
   - NoRHEL7
   - f33friendly
   - targeted
-  - failinfedora
   - NoRHIVOS
 link:
   - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1358526

diff --git a/selinux-policy/systemd-userdbd-and-similar/main.fmf b/selinux-policy/systemd-userdbd-and-similar/main.fmf
index 6bf7f84..2b2ff9a 100644
--- a/selinux-policy/systemd-userdbd-and-similar/main.fmf
+++ b/selinux-policy/systemd-userdbd-and-similar/main.fmf
@@ -19,7 +19,7 @@ recommend:
   - expect
   - openssh-clients
   - systemd
-  - initscripts
+  - /usr/sbin/service
   - shadow-utils
 environment:
     AVC_ERROR: +no_avc_check
@@ -32,8 +32,8 @@ tag:
   - NoRHEL7
   - NoRHEL8
   - NoRHEL9
-  - failinfedora
   - targeted
+  - failinfedora
   - NoRHIVOS
 link:
   - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1835630

diff --git a/selinux-policy/tlshd-and-similar/main.fmf b/selinux-policy/tlshd-and-similar/main.fmf
index 34a61bc..a22b550 100644
--- a/selinux-policy/tlshd-and-similar/main.fmf
+++ b/selinux-policy/tlshd-and-similar/main.fmf
@@ -27,6 +27,7 @@ tag:
   - NoRHEL6
   - NoRHEL7
   - NoRHEL8
+  - failinfedora
   - NoRHIVOS
 link:
   - verifies: https://issues.redhat.com/browse/RHEL-29439

diff --git a/selinux-policy/virt-install-additional/main.fmf b/selinux-policy/virt-install-additional/main.fmf
index b7ba19a..06da58a 100644
--- a/selinux-policy/virt-install-additional/main.fmf
+++ b/selinux-policy/virt-install-additional/main.fmf
@@ -35,6 +35,7 @@ tag:
   - NoRHEL6
   - NoRHEL7
   - targeted
+  - failinfedora
   - NoRHIVOS
 link:
   - verifies: https://issues.redhat.com/browse/RHEL-56029

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-11 13:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 13:22 [tests/selinux] pr775-checkpolicy-revdeps: separate failing tests from no-tier tests Milos Malik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox