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.