From a8c1688017f87ae7d20660be93b443927c1f3f40 Mon Sep 17 00:00:00 2001 From: Frank Hamand Date: Thu, 19 Oct 2023 10:01:24 +0100 Subject: [PATCH] logs --- ci/kubetest/helpers/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci/kubetest/helpers/utils.py b/ci/kubetest/helpers/utils.py index 75c71f29..8787bd28 100644 --- a/ci/kubetest/helpers/utils.py +++ b/ci/kubetest/helpers/utils.py @@ -110,7 +110,9 @@ def wait_for_pods_to_be_ready(kube, labels=None, expected_count=None, namespace= # NOTE 2: the test is currently a bit flaky likely due to # liveness/readiness checks. I'm bumping the expected restart # count from 0 to 2 for now. + print("container logs start") print([c.get_logs() for c in pod.get_containers()]) + print("container logs finish") assert get_pod_restart_count(pod) < 2, f"Detected too many restarts in pod {pod.obj.metadata.name}" # Note we assume that if "job-name" is a label then it is a job pod.