-
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
Fixes mount cleaning mechanism #15782
Conversation
Hi @x7upLime. 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. |
Can one of the admins verify this patch? |
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.
Thank you for this pr, could you please add more comments on pid and how this pr adds new mechanisms to record pids
/ok-to-test |
Let’s also add integration test |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Done. |
Sure. From master
That .mount-process file gets also created by pkg/minikube/node.configureMounts:
subsequent calls of this would overwrite the previously written pid. What I'm proposing is... from fix-minikube_mount
That brings us to the new mechanism:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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.
overall looks like a good PR just minor changes requested, thank you for this PR @x7upLime
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
43e0e57
to
3605dee
Compare
I clicked on something I definitely shouldn't have.. |
Adds a helper function to check that the executable name is minikube.
What happened in the failed integration tests was that the starting process was not "minikube", it was "minikube-linux-" and "minikube-darwin-" instead.
The integration test error was due to the fact that multiple pids were written to the file without spaces between them, breaking the pid-kill logic
Otherway I see no obvious way to pass this check during (say) unit testing
3ea179f
to
aab0cb6
Compare
the last commit is just duplicated logic from the one used in the delete command... |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
kvm2 driver with docker runtime
Times for minikube start: 48.8s 52.7s 49.3s 50.3s 51.1s Times for minikube ingress: 25.7s 27.2s 25.2s 23.8s 27.7s docker driver with docker runtime
Times for minikube start: 24.7s 22.4s 25.1s 22.1s 22.5s Times for minikube ingress: 21.0s 20.0s 49.5s 50.5s 21.0s docker driver with containerd runtime
Times for minikube start: 24.0s 20.4s 19.4s 23.1s 23.1s Times for minikube (PR 15782) ingress: 31.5s 34.0s 31.5s 33.0s 31.5s |
These are the flake rates of all failed tests.
Too many tests failed - See test logs for more details. To see the flake rates of all tests by environment, click here. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: spowelljr, x7upLime 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 |
MASTER:
FIX:
fixes #15778