-
Notifications
You must be signed in to change notification settings - Fork 5k
Fix KVM driver (tests) timeouts #20852
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
base: master
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: prezha 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 |
Rewrite KVM driver waiting logic for domain start, getting ip address and shutting domain down. Add more config/state outputs to aid future debugging. Bump go/libvirt to v1.11002.0 and set the minimum memory required for running all tests to 3GB to avoid some really weird system behaviour.
/ok-to-test |
This comment has been minimized.
This comment has been minimized.
sha256 6924efde5de86fe277676e929dc9917d466efa02fb934197bc2eba35d5680971 go1.23.4.linux-amd64.tar.gz |
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.
are you intending to build go ISO in this PR?
@@ -1098,8 +1098,8 @@ func suggestMemoryAllocation(sysLimit, containerLimit, nodes int) int { | |||
return mem | |||
} | |||
|
|||
const fallback = 2200 | |||
maximum := 6000 | |||
const fallback = 3072 |
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.
I believe this means, we are bumping the mininum required memory for minikube ? if yes and if needed how about be done in an explicit separate PR that can get attention (since affects all drivers)
all other refactors seems to be doing good by unifying the error message wording
</features> | ||
<cpu mode='host-passthrough'> | ||
{{if gt .NUMANodeCount 1}} | ||
{{- if gt .NUMANodeCount 1}} |
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.
was this not working in past ? seems to be a new syntax ?
kvm2 driver with docker runtime
Times for minikube start: 42.7s 45.0s 41.7s 44.6s 49.5s Times for minikube ingress: 15.0s 14.5s 15.0s 14.5s 15.0s docker driver with docker runtime
Times for minikube start: 26.5s 22.5s 25.2s 22.7s 25.4s Times for minikube ingress: 12.3s 12.8s 13.3s 13.3s 13.8s docker driver with containerd runtime
Times for minikube ingress: 39.0s 39.3s 22.8s 28.3s 38.8s Times for minikube start: 22.0s 21.8s 24.7s 21.9s 21.4s |
Refactor KVM driver waiting logic for domain start, getting ip address and shutting domain down. Add more config/state outputs to aid future debugging.
Bump go/libvirt to v1.11002.0 and set the minimum memory required for running all tests to 3GB to avoid some really weird system behaviour.
fixes #20818
closes #20770