-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add retry to SSH connectivity check #5848
Conversation
Can one of the admins verify this patch? |
Welcome @hypnoglow! |
Hi @hypnoglow. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/assign @medyagh |
Codecov Report
@@ Coverage Diff @@
## master #5848 +/- ##
==========================================
- Coverage 36.49% 36.47% -0.03%
==========================================
Files 110 110
Lines 8124 8129 +5
==========================================
Hits 2965 2965
- Misses 4770 4775 +5
Partials 389 389
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this quick PR, just minor knits.
/ok-to-test |
5759504
to
b61dd14
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: hypnoglow The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
All Times minikube: [ 183.309209 176.651170 200.426672] Average minikube: 186.795684 Averages Time Per Log
|
b61dd14
to
7a1420d
Compare
7a1420d
to
33293ed
Compare
All Times minikube: [ 124.147198 123.410258 124.486849] Average minikube: 124.014768 Averages Time Per Log
|
/retest this please |
@hypnoglow this PR seems to have significally added to the start time of minikube ! check #5848 (comment) |
@hypnoglow I am curious, can we investigate if the Retry Logic, waits First the initial delay time, Before even starting ? or does it do the Wait after first try ? (admitibly I refactored that part of code but I haven't had chance to verify it's behaviour) |
How can we be sure that this PR is related?
Am I understanding this correctly? BTW why there is no log time for
I think retry logic is fine since the initial delay is for the first retry, not the first call. |
/ok-to-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thank you!
/ok-to-test |
/retest |
Thank you! |
Added retry to the SSH connectivity check on "start", starting from 1 second and up to a total of 10 seconds of attempts. Also added the 3-second timeout to dialer.
Fixes #5834