From 3e18fe7805d948233556fff9aaca5da57b309a91 Mon Sep 17 00:00:00 2001 From: Wainer dos Santos Moschetta Date: Thu, 30 May 2024 14:50:59 -0300 Subject: [PATCH] tests/k8s: skip file volume tests for qemu-coco-dev This test fails with qemu-coco-dev configuration and guest-pull image pull. Issue: #9667 Signed-off-by: Wainer dos Santos Moschetta --- tests/integration/kubernetes/k8s-file-volume.bats | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/integration/kubernetes/k8s-file-volume.bats b/tests/integration/kubernetes/k8s-file-volume.bats index f794c6e3db..6b770a1993 100644 --- a/tests/integration/kubernetes/k8s-file-volume.bats +++ b/tests/integration/kubernetes/k8s-file-volume.bats @@ -12,7 +12,8 @@ TEST_INITRD="${TEST_INITRD:-no}" setup() { [ "${KATA_HYPERVISOR}" == "firecracker" ] && skip "test not working see: ${fc_limitations}" [ "${KATA_HYPERVISOR}" == "fc" ] && skip "test not working see: ${fc_limitations}" - [ "${KATA_HYPERVISOR}" == "qemu-tdx" ] && skip "See: https://github.com/kata-containers/kata-containers/issues/9667" + [[ "${KATA_HYPERVISOR}" == "qemu-tdx" || "${KATA_HYPERVISOR}" == "qemu-coco-dev" ]] && \ + skip "See: https://github.com/kata-containers/kata-containers/issues/9667" pod_name="test-file-volume" container_name="busybox-file-volume-container" @@ -59,7 +60,8 @@ setup() { teardown() { [ "${KATA_HYPERVISOR}" == "firecracker" ] && skip "test not working see: ${fc_limitations}" [ "${KATA_HYPERVISOR}" == "fc" ] && skip "test not working see: ${fc_limitations}" - [ "${KATA_HYPERVISOR}" == "qemu-tdx" ] && skip "See: https://github.com/kata-containers/kata-containers/issues/9667" + [[ "${KATA_HYPERVISOR}" == "qemu-tdx" || "${KATA_HYPERVISOR}" == "qemu-coco-dev" ]] && \ + skip "See: https://github.com/kata-containers/kata-containers/issues/9667" kubectl describe pod "$pod_name"