Open
Description
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version
)?
1.9.3
Does this issue reproduce with the latest release?
I'm not able to verify this.
What operating system and processor architecture are you using (go env
)?
linux, amd64
What did you do?
In kubernetes e2e we are using ssh to fetch logs from kubernetes nodes.
In kubernetes/kubernetes#66609 we see that it quite frequently hangs for ~90 minutes in client.NewSession call (the stacktrace is there).
Relevant code is available here: https://github.com/kubernetes/kubernetes/blob/master/test/e2e/framework/log_size_monitoring.go#L245
What did you expect to see?
Attempt to create NewSession should finish with error if node doesn't respond to ssh connection.
What did you see instead?
Attempt to create NewSession hung for ~90 minutes.
Relevant stacktraces are available in: