From 32b248fdbcf78bf9b8f815fa6fe928c3b6e64724 Mon Sep 17 00:00:00 2001 From: Marcin Wielgus Date: Thu, 16 Jun 2016 12:00:55 +0200 Subject: [PATCH] More debug in Cluster Autoscaler e2e test --- test/e2e/cluster_size_autoscaling.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/e2e/cluster_size_autoscaling.go b/test/e2e/cluster_size_autoscaling.go index f3b40ddecb..d9bdcbe74c 100644 --- a/test/e2e/cluster_size_autoscaling.go +++ b/test/e2e/cluster_size_autoscaling.go @@ -437,6 +437,10 @@ func waitForAllCaPodsReadyInNamespace(f *framework.Framework, c *client.Client) } glog.Infof("Some pods are not ready yet: %v", notready) } + glog.Info("Timeout on waiting for pods being ready") + glog.Info(framework.RunKubectlOrDie("get", "pods", "-o json", "--all-namespaces")) + glog.Info(framework.RunKubectlOrDie("get", "nodes", "-o json")) + // Some pods are still not running. return fmt.Errorf("Some pods are still not running: %v", notready) }