-
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
wip: add new wait components "node_ready" and "no_pressure" #7611
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: medyagh 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 |
Travis tests have failedHey @medyagh, TravisBuddy Request Identifier: 79028670-7be4-11ea-a6ea-cf6f0436e876 |
Travis tests have failedHey @medyagh, TravisBuddy Request Identifier: e4bb1110-7bea-11ea-a6ea-cf6f0436e876 |
Travis tests have failedHey @medyagh, TravisBuddy Request Identifier: 2d0d2a70-7beb-11ea-a6ea-cf6f0436e876 |
Travis tests have failedHey @medyagh, TravisBuddy Request Identifier: a51b4420-7beb-11ea-a6ea-cf6f0436e876 |
Travis tests have failedHey @medyagh, TravisBuddy Request Identifier: f163ec10-7beb-11ea-a6ea-cf6f0436e876 |
Travis tests have failedHey @medyagh, TravisBuddy Request Identifier: a7170560-7bf1-11ea-a6ea-cf6f0436e876 |
/ok-to-test |
kvm2 Driver |
/re-test-this-please |
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.
Good work! It doesn't look too painful after all.
Added some comments because I would really love to see us allow for some sort of automatic cleanup if minikube start
encounters disk pressure.
Two comments on the output:
This line is overly verbose:
Instead, perhaps just:
That is assuming the reasons make sense. |
This PR adds support for running: ./out/mkcmp pr://1000 which downloads the minikube binary generated by Jenkins for PR 1000 before running mkcmp.
@medyagh: PR needs rebase. 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. |
kvm2 Driver Times for Minikube (PR 7611): [63.513170417999994 65.143545664 56.62860894599999] Averages Time Per Log
docker Driver Times for Minikube (PR 7611): [25.774788335000004 33.53963895300001 25.423349158999997] Averages Time Per Log
|
closes #7610 and #6820
Before this PR:
when we were waiting for different components we didn't communicate to the user what we were waiting on.
After this PR :
(note the errors belllow are dummy errors, I filpped the if statements to make them produce errors)
default start (doesnt check for node pressure on first start but it does on a soft start)
--wait=true with no pressure
Imperfection: (need suggestion how to fix)
enabling addons talks over verifying in parallel.
--wait=true with pressure errors
Soft start (bare no flags) (warns and ends in 4s)
note 1:
I tried to cheat and defer the enable addons to be printed later, that might be okay for many cases but sometimes it might print while it saying verifying ...
but I actually fix it for real in this other PR #7705
aditional notes
on my machine the 'no_pressure' flag does NOT add any significat time to minikube start.
I suggest after this PR has some miles on it, we could make it a default wait