From 32e4e64bc410a19ee0f7a9b98f3e039daa3cf969 Mon Sep 17 00:00:00 2001 From: Thomas Stromberg Date: Wed, 6 May 2020 17:58:21 -0700 Subject: [PATCH] Quiet initial ssh timeout message --- pkg/minikube/node/start.go | 2 +- test/integration/error_spam_test.go | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/pkg/minikube/node/start.go b/pkg/minikube/node/start.go index 689530fda5c4..ac07f5128e2a 100644 --- a/pkg/minikube/node/start.go +++ b/pkg/minikube/node/start.go @@ -438,7 +438,7 @@ func trySSH(h *host.Host, ip string) error { d := net.Dialer{Timeout: 3 * time.Second} conn, err := d.Dial("tcp", sshAddr) if err != nil { - out.WarningT("Unable to verify SSH connectivity: {{.error}}. Will retry...", out.V{"error": err}) + glog.Warningf("dial failed (will retry): %v", err) return err } _ = conn.Close() diff --git a/test/integration/error_spam_test.go b/test/integration/error_spam_test.go index 8b593404a617..1b8f79711d3a 100644 --- a/test/integration/error_spam_test.go +++ b/test/integration/error_spam_test.go @@ -34,9 +34,6 @@ var stderrWhitelist = []string{ `slow|long time|Restarting the docker service may improve`, // don't care if we can't push images to other profiles `cache_images.go:.*error getting status`, - // network flakiness on VirtualBox - // ! Unable to verify SSH connectivity: dial tcp 192.168.99.249:22: i/o timeout. Will retry... - `SSH.*i/o timeout.retry`, } // stderrWhitelistRe combines rootCauses into a single regex