From d429c8b17d4012cdb522667187c0d6151734823c Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Mon, 24 Mar 2025 14:16:43 -0400 Subject: [PATCH] debug cpu_manager_test failure Signed-off-by: Davanum Srinivas --- test/e2e_node/cpu_manager_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e_node/cpu_manager_test.go b/test/e2e_node/cpu_manager_test.go index 50f29c36915..f8aa404ef0b 100644 --- a/test/e2e_node/cpu_manager_test.go +++ b/test/e2e_node/cpu_manager_test.go @@ -644,7 +644,7 @@ func runCfsQuotaGuPods(ctx context.Context, f *framework.Framework, disabledCPUQ deletePodsAsync(ctx2, f, podsToClean) }) - podCFSCheckCommand := []string{"sh", "-c", `cat $(find /sysfscgroup | grep "$(cat /podinfo/uid | sed 's/-/_/g').slice/cpu.max$") && sleep 1d`} + podCFSCheckCommand := []string{"sh", "-c", `cat $(find /sysfscgroup | grep -E "($(cat /podinfo/uid)|$(cat /podinfo/uid | sed 's/-/_/g'))(/|\.slice/)cpu.max$") && sleep 1d`} cfsCheckCommand := []string{"sh", "-c", "cat /sys/fs/cgroup/cpu.max && sleep 1d"} defaultPeriod := "100000"