From 188d37badca9c11988b941a688c6a2191bcbe375 Mon Sep 17 00:00:00 2001 From: Archana Shinde Date: Tue, 6 Sep 2022 13:14:44 -0700 Subject: [PATCH] kata-deploy: Add debug statement Adding this so that we can see the status of running pods in case of failure. Fixes: #5126 Signed-off-by: Archana Shinde --- tools/packaging/kata-deploy/action/test-kata.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/packaging/kata-deploy/action/test-kata.sh b/tools/packaging/kata-deploy/action/test-kata.sh index 7484ee36d..96d41fbc6 100755 --- a/tools/packaging/kata-deploy/action/test-kata.sh +++ b/tools/packaging/kata-deploy/action/test-kata.sh @@ -75,7 +75,7 @@ function run_test() { # our 'wait' for deployment status will fail to find the deployment at all sleep 3 - kubectl wait --timeout=5m --for=condition=Available deployment/${deployment} + kubectl wait --timeout=5m --for=condition=Available deployment/${deployment} || kubectl describe pods kubectl expose deployment/${deployment} # test pod connectivity: