X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=cmd%2Fbpa-operator%2Fe2etest%2Fbpa_vm_verifier.sh;h=271935eb51959ae04f98c70ce52b9d2c858826a3;hb=refs%2Fchanges%2F52%2F4352%2F1;hp=d22ccae07363e68845329e6506e9a7cbfa73b9e6;hpb=3fc14a5eaf37abd47c8ae725342e7fa4d6747aa5;p=icn.git diff --git a/cmd/bpa-operator/e2etest/bpa_vm_verifier.sh b/cmd/bpa-operator/e2etest/bpa_vm_verifier.sh index d22ccae..271935e 100755 --- a/cmd/bpa-operator/e2etest/bpa_vm_verifier.sh +++ b/cmd/bpa-operator/e2etest/bpa_vm_verifier.sh @@ -173,8 +173,15 @@ done printf "Testing KUD addons\n" pushd /opt/kud/multi-cluster/addons/tests failed_kud_tests="" -for addon in multus ovn4nfv nfd sriov-network qat cmk; do - KUBECONFIG=${CLUSTER_KUBECONFIG} bash ${addon}.sh || failed_kud_tests="${failed_kud_tests} ${addon}" +container_runtime=$(KUBECONFIG=${CLUSTER_KUBECONFIG} kubectl get nodes -o jsonpath='{.items[].status.nodeInfo.containerRuntimeVersion}') +if [[ "${container_runtime}" == "containerd://1.2.13" ]]; then + #With containerd 1.2.13, the qat test container image fails to unpack. + kud_tests="topology-manager-sriov multus ovn4nfv nfd sriov-network cmk" +else + kud_tests="topology-manager-sriov multus ovn4nfv nfd sriov-network qat cmk" +fi +for test in ${kud_tests}; do + KUBECONFIG=${CLUSTER_KUBECONFIG} bash ${test}.sh || failed_kud_tests="${failed_kud_tests} ${test}" done if [[ ! -z "$failed_kud_tests" ]]; then printf "Test cases failed:${failed_kud_tests}\n"