From 6ad5d7112e02baafdb3b02c48b78cdab6f686157 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Wed, 26 Jul 2023 21:45:39 +0200 Subject: [PATCH] ci: k8s: Do not gather node info before running the tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's been proven to not be useful, and ends up making things more confusing due to the amount of logs printed. Signed-off-by: Fabiano FidĂȘncio --- tests/integration/kubernetes/gha-run.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/integration/kubernetes/gha-run.sh b/tests/integration/kubernetes/gha-run.sh index c702e62df..353dc3ba2 100755 --- a/tests/integration/kubernetes/gha-run.sh +++ b/tests/integration/kubernetes/gha-run.sh @@ -93,9 +93,6 @@ function deploy_kata() { fi kubectl -n kube-system wait --timeout=10m --for=condition=Ready -l name=kata-deploy pod - echo "Gather information about the nodes and pods after having kata-deploy ready" - get_nodes_and_pods_info - # This is needed as the kata-deploy pod will be set to "Ready" when it starts running, # which may cause issues like not having the node properly labeled or the artefacts # properly deployed when the tests actually start running. @@ -122,9 +119,6 @@ function run_tests() { kubectl apply -f ${kubernetes_dir}/runtimeclass_workloads/tests-namespace.yaml kubectl config set-context --current --namespace=kata-containers-k8s-tests - echo "Gather information about the nodes and pods just before starting the tests" - get_nodes_and_pods_info - pushd "${kubernetes_dir}" bash setup.sh bash run_kubernetes_tests.sh