-
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
Fix subnet checking #15394
Fix subnet checking #15394
Conversation
adding @josedonizetti as reviewer |
/ok-to-test |
kvm2 driver with docker runtime
Times for minikube (PR 15394) start: 56.1s 52.8s 53.1s 53.4s 53.8s Times for minikube ingress: 28.7s 27.6s 24.1s 24.1s 28.1s docker driver with docker runtime
Times for minikube start: 25.0s 26.9s 25.3s 24.8s 28.2s Times for minikube ingress: 26.0s 22.0s 21.5s 21.0s 20.9s docker driver with containerd runtime
Times for minikube ingress: 30.5s 26.4s 36.4s 25.9s 26.4s Times for minikube start: 25.8s 23.4s 20.9s 21.9s 22.6s |
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. |
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.
lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: medyagh, spowelljr 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 |
kvm2 driver with docker runtime
Times for minikube ingress: 27.7s 28.6s 25.1s 23.2s 25.2s Times for minikube start: 54.0s 54.6s 55.3s 58.6s 55.8s docker driver with docker runtime
Times for minikube start: 25.7s 25.5s 26.4s 25.6s 25.9s Times for minikube ingress: 24.5s 20.0s 19.9s 20.9s 21.5s docker driver with containerd runtime
Times for minikube start: 21.2s 22.4s 21.6s 24.8s 21.9s Times for minikube ingress: 26.4s 26.5s 26.4s 26.4s 26.0s |
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. |
Problem:
While checking for a free subnet, if an IPv6 network is found
n.IP
is set to0.0.0.0
, which is then set tostartSubnet
. This will cause an error on the next loop of the check as it add 9 to0.0.0.0
instead of the starting IP, resulting in the second IP to check for being0.9.0.0
.Expected:
Actual:
Solution:
Assign the value returned from
n.IP
to its own variable to not interrupt the checking loop.