Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

virtualbox: Quiet initial ssh timeout warning #8027

Merged
merged 2 commits into from
May 8, 2020

Conversation

tstromberg
Copy link
Contributor

On VirtualBox, this issue is apparently a lot more common than I thought.

Fixes #8011

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 7, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tstromberg

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels May 7, 2020
@@ -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)
Copy link
Member

@medyagh medyagh May 7, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if this only causes UI trouble on virtualbox what if we supress UI error only for virtualbox driver? and let other drivers bug us if that happens?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like adding another branch would be over-complicating things with little benefit. If it fails later, an error will be emitted by the ssh runner.

@codecov-io
Copy link

Codecov Report

Merging #8027 into master will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #8027   +/-   ##
=======================================
  Coverage   35.78%   35.78%           
=======================================
  Files         143      143           
  Lines        9171     9171           
=======================================
  Hits         3282     3282           
  Misses       5489     5489           
  Partials      400      400           
Impacted Files Coverage Δ
cmd/minikube/cmd/stop.go 0.00% <0.00%> (ø)

@medyagh medyagh merged commit 34e8335 into kubernetes:master May 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TestErrorSpam: SSH connectivity: dial tcp 192.168.99.249:22: i/o timeout. Will retry
4 participants