From 9529951c993df5ab030d908d87bb9a0b89630376 Mon Sep 17 00:00:00 2001 From: Salvador Fuentes Date: Thu, 26 Mar 2020 18:34:03 -0600 Subject: [PATCH] containerd-shimv2: do not run under opensuse 15 containerd cannot be build with seccomp enabled in Opensuse 15, and trying to remove `seccomp` from `BUILDTAGS` variable is not working correctly. Skip tests while investigation continues. Related: https://github.com/kata-containers/tests/issues/1251 Depends-on: github.com/kata-containers/runtime#2536 Signed-off-by: Salvador Fuentes --- integration/containerd/shimv2/shimv2-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/containerd/shimv2/shimv2-tests.sh b/integration/containerd/shimv2/shimv2-tests.sh index 92d49201da..69c7b245b8 100755 --- a/integration/containerd/shimv2/shimv2-tests.sh +++ b/integration/containerd/shimv2/shimv2-tests.sh @@ -10,7 +10,7 @@ source /etc/os-release || source /usr/lib/os-release SCRIPT_PATH=$(dirname "$(readlink -f "$0")") -if [ "$ID" == "centos" ] || [ "$ID" == sles ]; then +if [ "$ID" == "centos" ] || [ "$ID" == sles ] || [[ "$ID" =~ ^opensuse.*$ ]]; then issue="https://github.com/kata-containers/tests/issues/1251" echo "Skip shimv2 on $ID, see: $issue" exit