From 60585da68f69a3c6168a565df1157823f4e1a242 Mon Sep 17 00:00:00 2001 From: Francesco Romani Date: Wed, 2 Feb 2022 13:48:00 +0100 Subject: [PATCH] e2e: node: {cpu,top}omgr: report node capacity/allocatable Make sure to log out the cpu capacity and allocatable for the node running the tests, to make the troubleshooting of test failures easier. Signed-off-by: Francesco Romani --- test/e2e_node/topology_manager_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/test/e2e_node/topology_manager_test.go b/test/e2e_node/topology_manager_test.go index 913fa8501f9..705545b87b0 100644 --- a/test/e2e_node/topology_manager_test.go +++ b/test/e2e_node/topology_manager_test.go @@ -340,6 +340,7 @@ func runTopologyManagerPolicySuiteTests(f *framework.Framework) { var cpuCap, cpuAlloc int64 cpuCap, cpuAlloc, _ = getLocalNodeCPUDetails(f) + ginkgo.By(fmt.Sprintf("checking node CPU capacity (%d) and allocatable CPUs (%d)", cpuCap, cpuAlloc)) ginkgo.By("running a non-Gu pod") runNonGuPodTest(f, cpuCap)