From 1bdb34e8800d20ae09739845e2de2be544805c6d Mon Sep 17 00:00:00 2001 From: Hyounggyu Choi Date: Wed, 5 Feb 2025 15:25:47 +0100 Subject: [PATCH] tests: Skip trusted storage tests for IBM SE Let's skip all tests for trusted storage until #10838 is resolved. Signed-off-by: Hyounggyu Choi --- tests/integration/kubernetes/k8s-guest-pull-image.bats | 3 +++ tests/integration/kubernetes/k8s-measured-rootfs.bats | 3 +++ 2 files changed, 6 insertions(+) diff --git a/tests/integration/kubernetes/k8s-guest-pull-image.bats b/tests/integration/kubernetes/k8s-guest-pull-image.bats index dff148785e..9bd6bbc3f8 100644 --- a/tests/integration/kubernetes/k8s-guest-pull-image.bats +++ b/tests/integration/kubernetes/k8s-guest-pull-image.bats @@ -89,6 +89,7 @@ setup() { } @test "Test we can pull an image inside the guest using trusted storage" { + [ "$(uname -m)" == "s390x" ] && skip "See: https://github.com/kata-containers/kata-containers/issues/10838" # The image pulled in the guest will be downloaded and unpacked in the `/run/kata-containers/image` directory. # The tests will use `cryptsetup` to encrypt a block device and mount it at `/run/kata-containers/image`. @@ -136,6 +137,7 @@ setup() { } @test "Test we cannot pull a large image that pull time exceeds createcontainer timeout inside the guest" { + [ "$(uname -m)" == "s390x" ] && skip "See: https://github.com/kata-containers/kata-containers/issues/10838" storage_config=$(mktemp "${BATS_FILE_TMPDIR}/$(basename "${storage_config_template}").XXX") local_device=$(create_loop_device) @@ -178,6 +180,7 @@ setup() { } @test "Test we can pull a large image inside the guest with large createcontainer timeout" { + [ "$(uname -m)" == "s390x" ] && skip "See: https://github.com/kata-containers/kata-containers/issues/10838" if [ "${KATA_HYPERVISOR}" = "qemu-coco-dev" ] && [ "${KBS_INGRESS}" = "aks" ]; then skip "skip this specific one due to issue https://github.com/kata-containers/kata-containers/issues/10299" diff --git a/tests/integration/kubernetes/k8s-measured-rootfs.bats b/tests/integration/kubernetes/k8s-measured-rootfs.bats index afa31ae6b8..d84f365230 100644 --- a/tests/integration/kubernetes/k8s-measured-rootfs.bats +++ b/tests/integration/kubernetes/k8s-measured-rootfs.bats @@ -12,6 +12,9 @@ load "${BATS_TEST_DIRNAME}/tests_common.sh" check_and_skip() { case "${KATA_HYPERVISOR}" in qemu-tdx|qemu-coco-dev) + if [ "$(uname -m)" == "s390x" ]; then + skip "measured rootfs tests not implemented for s390x" + fi return ;; *)