Skip to content

Commit

Permalink
Merge pull request #8027 from tstromberg/quiet-ssh2
Browse files Browse the repository at this point in the history
virtualbox: Quiet initial ssh timeout warning
  • Loading branch information
medyagh authored May 8, 2020
2 parents 294a5c3 + 68cd6f9 commit 34e8335
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/minikube/node/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
3 changes: 0 additions & 3 deletions test/integration/error_spam_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 34e8335

Please sign in to comment.