public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: kernel/synflood: require at least 64 cores and 2 NUMA nodes
@ 2026-09-11 13:18 Ondrej Mosnacek
  0 siblings, 0 replies; only message in thread
From: Ondrej Mosnacek @ 2026-09-11 13:18 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : tests/selinux
            Branch : pr775-checkpolicy-revdeps
            Commit : 5e0275eb2fd18c8ff40ae839ee668a44d50a447a
            Author : Ondrej Mosnacek <omosnace@redhat.com>
            Date   : 2021-01-19T14:04:27+01:00
            Stats  : +5/-3 in 2 file(s)
            URL    : https://src.fedoraproject.org/tests/selinux/c/5e0275eb2fd18c8ff40ae839ee668a44d50a447a?branch=pr775-checkpolicy-revdeps

            Log:
            kernel/synflood: require at least 64 cores and 2 NUMA nodes

Based on several runs in Beaker, these seem to be the best conditions
for distinguishing the bug. Currently, legacy Beaker HW filters are used
in the metadata. Once TMT introduces support for generic HW
requirements, they will need to be converted to the new format.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>

---
diff --git a/kernel/synflood/main.fmf b/kernel/synflood/main.fmf
index f69d6ef..94c46d0 100644
--- a/kernel/synflood/main.fmf
+++ b/kernel/synflood/main.fmf
@@ -24,4 +24,6 @@ adjust:
     enabled: false
     when: distro < rhel-8
     because: The test doesn't work well on RHEL-7
-extra-hardware: 'keyvalue = PROCESSORS >= 8'
+extra-hardware: |
+    keyvalue = PROCESSORS >= 64
+    hostrequire = <system><numanodes op="&gt;" value="1"/></system>

diff --git a/kernel/synflood/runtest.sh b/kernel/synflood/runtest.sh
index db5a080..aaaf8ab 100755
--- a/kernel/synflood/runtest.sh
+++ b/kernel/synflood/runtest.sh
@@ -20,9 +20,9 @@ function isBefore() {
 }
 
 rlJournalStart
-if [ $(nproc) -lt 8 ]; then
+if [ $(nproc) -lt 64 ]; then
     rlPhaseStartTest "SKIP"
-        rlLog "At least 8 cores needed to run this test, skipping..."
+        rlLog "At least 64 cores needed to run this test, skipping..."
     rlPhaseEnd
 else
     rlPhaseStartSetup

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

only message in thread, other threads:[~2026-09-11 13:18 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:18 [tests/selinux] pr775-checkpolicy-revdeps: kernel/synflood: require at least 64 cores and 2 NUMA nodes Ondrej Mosnacek

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