From 849530c5630f497d03e0aff5848e89c8c9a894eb Mon Sep 17 00:00:00 2001 From: Andrea Panattoni Date: Mon, 25 Nov 2024 10:58:59 +0100 Subject: [PATCH] debug Signed-off-by: Andrea Panattoni --- .../tests/test_policy_configuration.go | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/test/conformance/tests/test_policy_configuration.go b/test/conformance/tests/test_policy_configuration.go index 94b78eba6..71b1654fa 100644 --- a/test/conformance/tests/test_policy_configuration.go +++ b/test/conformance/tests/test_policy_configuration.go @@ -621,7 +621,7 @@ var _ = Describe("[sriov] operator", Ordered, func() { }) // 27662 - It("Should support jumbo frames", func() { + FIt("Should support jumbo frames", func() { podDefinition := pod.DefineWithNetworks([]string{"test-mtuvolnetwork"}) firstPod, err := clients.Pods(namespaces.Test).Create(context.Background(), podDefinition, metav1.CreateOptions{}) Expect(err).ToNot(HaveOccurred()) @@ -657,6 +657,22 @@ var _ = Describe("[sriov] operator", Ordered, func() { secondPod = waitForPodRunning(secondPod) + + stdout, _, _ = pod.ExecCommand(clients, firstPod, []string{"ip", "link"}...) + fmt.Println(stdout) + stdout, _, _ = pod.ExecCommand(clients, firstPod, []string{"ip", "route"}...) + fmt.Println(stdout) + stdout, _, _ = pod.ExecCommand(clients, firstPod, []string{"ip", "address"}...) + fmt.Println(stdout) + + stdout, _, _ = pod.ExecCommand(clients, secondPod, []string{"ip", "link"}...) + fmt.Println(stdout) + stdout, _, _ = pod.ExecCommand(clients, secondPod, []string{"ip", "route"}...) + fmt.Println(stdout) + stdout, _, _ = pod.ExecCommand(clients, secondPod, []string{"ip", "address"}...) + fmt.Println(stdout) + + pingCommand := []string{"ping", firstPodIPs[0], "-s", "8972", "-M", "do", "-c", "2"} stdout, stderr, err = pod.ExecCommand(clients, secondPod, pingCommand...) Expect(err).ToNot(HaveOccurred(), "Failed to ping first pod. cmd%v stdout[%s] stderr[%s]", pingCommand, stdout, stderr)