The kubevirt self-test requires AllowTcpForwarding to be enabled in
sshd's config, which is not compatible with the OS hardening required
by Bluval. The test needs to be rewritten to run in-cluster.
In the meantime, kubevirt will be tested indirectly with the
plugin_fw_v2.sh test.
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ia2de90bd6e740b66b6a0a71fd53a1b52d784d80c
pushd ${KUDPATH}/kud/tests
failed_kud_tests=""
container_runtime=$(KUBECONFIG=${cluster_kubeconfig} kubectl get nodes -o jsonpath='{.items[].status.nodeInfo.containerRuntimeVersion}')
pushd ${KUDPATH}/kud/tests
failed_kud_tests=""
container_runtime=$(KUBECONFIG=${cluster_kubeconfig} kubectl get nodes -o jsonpath='{.items[].status.nodeInfo.containerRuntimeVersion}')
+ # TODO Temporarily remove kubevirt from kud_tests below. The
+ # kubevirt self-test needs AllowTcpForwarding yes in
+ # /etc/ssh/sshd_config which is currently disabled by the OS
+ # security hardening.
if [[ "${container_runtime}" == "containerd://1.2.13" ]]; then
# With containerd 1.2.13, the qat test container image fails to unpack.
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 kubevirt multus ovn4nfv nfd sriov-network cmk"
+ kud_tests="topology-manager-sriov multus ovn4nfv nfd sriov-network cmk"
- kud_tests="topology-manager-sriov kubevirt multus ovn4nfv nfd sriov-network qat cmk"
+ 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}"
fi
for test in ${kud_tests}; do
KUBECONFIG=${cluster_kubeconfig} bash ${test}.sh || failed_kud_tests="${failed_kud_tests} ${test}"