From e51e34f1d00c673d7cab25db541c00efe849e85b Mon Sep 17 00:00:00 2001 From: Jarno Rajahalme Date: Mon, 19 Jul 2021 23:19:18 +0300 Subject: [PATCH] test: Add error detail to ipcache check failures Add error to the debug output for ipcache check failures. This should help solve #361. Signed-off-by: Jarno Rajahalme --- connectivity/check/deployment.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connectivity/check/deployment.go b/connectivity/check/deployment.go index 31e35eae63..66246509dc 100644 --- a/connectivity/check/deployment.go +++ b/connectivity/check/deployment.go @@ -550,14 +550,14 @@ func (ct *ConnectivityTest) waitForIPCache(ctx context.Context, pod Pod) error { for _, client := range ct.clientPods { if _, err := ic.findPodID(client); err != nil { - ct.Debugf("Couldn't find client Pod %v in ipcache, retrying...", client) + ct.Debugf("Couldn't find client Pod %v in ipcache (%s), retrying...", client, err) goto retry } } for _, echo := range ct.echoPods { if _, err := ic.findPodID(echo); err != nil { - ct.Debugf("Couldn't find echo Pod %v in ipcache, retrying...", echo) + ct.Debugf("Couldn't find echo Pod %v in ipcache (%s), retrying...", echo, err) goto retry } }