Quiet initial ssh timeout message

pull/8027/head
Thomas Stromberg 2020-05-06 17:58:21 -07:00
parent 80c3324b6f
commit 32e4e64bc4
2 changed files with 1 additions and 4 deletions

View File

@ -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()

View File

@ -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