From 48808ae177e4a632436c603d977cd83992ad6b75 Mon Sep 17 00:00:00 2001 From: Sebastian Sch Date: Thu, 25 Jan 2024 15:50:18 +0200 Subject: [PATCH 1/2] re-enable mtu test on virtual cluster QEMU 8.2.0 introduce a fix to the kernel panic when allocation jumbo MTU so we can re-enable the test Signed-off-by: Sebastian Sch --- test/conformance/tests/test_sriov_operator.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/conformance/tests/test_sriov_operator.go b/test/conformance/tests/test_sriov_operator.go index 5b387cc5a..7d13d3ae3 100644 --- a/test/conformance/tests/test_sriov_operator.go +++ b/test/conformance/tests/test_sriov_operator.go @@ -1446,10 +1446,6 @@ var _ = Describe("[sriov] operator", func() { Context("MTU", func() { BeforeEach(func() { - if cluster.VirtualCluster() { - // https://bugzilla.redhat.com/show_bug.cgi?id=2214977 - Skip("Bug in IGB driver") - } var node string resourceName := "mturesource" From eaa81ce27bd5e457163d7add28debea58fd2fec6 Mon Sep 17 00:00:00 2001 From: Sebastian Sch Date: Sun, 28 Jan 2024 15:58:04 +0200 Subject: [PATCH 2/2] add NET_RAW to allow pods to ping Signed-off-by: Sebastian Sch --- test/util/pod/pod.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/util/pod/pod.go b/test/util/pod/pod.go index 32a1549b9..4963ba3f7 100644 --- a/test/util/pod/pod.go +++ b/test/util/pod/pod.go @@ -29,7 +29,11 @@ func GetDefinition() *corev1.Pod { Spec: corev1.PodSpec{ TerminationGracePeriodSeconds: pointer.Int64Ptr(0), Containers: []corev1.Container{{Name: "test", - Image: images.Test(), + Image: images.Test(), + SecurityContext: &corev1.SecurityContext{ + Capabilities: &corev1.Capabilities{ + Add: []corev1.Capability{"NET_RAW"}, + }}, Command: []string{"/bin/bash", "-c", "sleep INF"}}}}} return podObject