From 063e4f35983394c047dd8e669de0191c026fa0cc Mon Sep 17 00:00:00 2001 From: Cameron Meadors Date: Fri, 31 Jul 2026 11:06:56 -0400 Subject: [PATCH] OCPBUGS-100392: Exclude openshift-debug-* namespaces from CPU Partitioning annotation check The CPU Partitioning test checks that all openshift-* namespaces have the workload.openshift.io/allowed:management annotation. Ephemeral openshift-debug-* namespaces created by "oc debug node/" (from parallel SecurityPenetration tests) lack this annotation, causing consistent test failures. Exclude openshift-debug-* namespaces from the check, matching the existing openshift-e2e-* exclusion. Co-Authored-By: Claude Opus 4.6 --- test/extended/cpu_partitioning/platform.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/extended/cpu_partitioning/platform.go b/test/extended/cpu_partitioning/platform.go index 4f10e70585a3..4e8112bc4a6c 100644 --- a/test/extended/cpu_partitioning/platform.go +++ b/test/extended/cpu_partitioning/platform.go @@ -81,7 +81,7 @@ var _ = g.Describe("[sig-node][apigroup:config.openshift.io] CPU Partitioning cl if ignoreNamespaces.Has(project.Name) { continue } - if strings.HasPrefix(project.Name, "openshift-") && !strings.HasPrefix(project.Name, "openshift-e2e-") { + if strings.HasPrefix(project.Name, "openshift-") && !strings.HasPrefix(project.Name, "openshift-e2e-") && !strings.HasPrefix(project.Name, "openshift-debug-") { if v, ok := project.Annotations[namespaceAnnotationKey]; !ok || v != "management" { invalidNamespaces = append(invalidNamespaces, project.Name) }