ci: more debug
When we give up on waiting for the pod to be running which describe it to see what's wrong. Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
1 parent
3a2921e747
commit
eccea9fa05
1 file changed
+2
@@ -597,6 +597,8 @@ func (k8sh *K8sHelper) IsPodRunning(name string, namespace string) bool {
|
||||
logger.Infof("waiting for pod %s in namespace %s to be running", name, namespace)
|
||||
|
||||
}
|
||||
pod, _ := k8sh.Clientset.CoreV1().Pods(namespace).Get(name, getOpts)
|
||||
k8sh.PrintPodDescribe(namespace, pod.Name)
|
||||
logger.Infof("Giving up waiting for pod %s in namespace %s to be running", name, namespace)
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user