Skip to content
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

drivers/kvm: Use ARP for retrieving interface ip addresses #13482

Merged
merged 1 commit into from
Feb 1, 2022
Merged

drivers/kvm: Use ARP for retrieving interface ip addresses #13482

merged 1 commit into from
Feb 1, 2022

Conversation

anoopcs9
Copy link
Contributor

On platforms where dhcp lease status is not updated immediately after domain creation it fails to list ip addresses until next refresh happens resulting in the following error:

🔥  Creating kvm2 VM (CPUs=2, Memory=4096MB, Disk=20480MB) ...
🔥  Deleting "minikube" in kvm2 ...
🤦  StartHost failed, but will try again: creating host: create: Error creating machine: Error in driver during machine creation: IP not available after waiting: machine minikube didn't return IP after 1 minute
🔥  Creating kvm2 VM (CPUs=2, Memory=4096MB, Disk=20480MB) ...
😿  Failed to start kvm2 VM. Running "minikube delete" may fix it: creating host: create: Error creating machine: Error in driver during machine creation: IP not available after waiting: machine minikube didn't return IP after 1 minute

❌  Exiting due to GUEST_PROVISION: Failed to start host: creating host: create: Error creating machine: Error in driver during machine creation: IP not available after waiting: machine minikube didn't return IP after 1 minute

Using ARP instead of LEASE for ip address query is justifiable as listing is done following the domain creation.

fixes #11459

@k8s-ci-robot k8s-ci-robot added the do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. label Jan 25, 2022
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jan 25, 2022

CLA Signed

The committers are authorized under a signed CLA.

@k8s-ci-robot
Copy link
Contributor

Welcome @anoopcs9!

It looks like this is your first PR to kubernetes/minikube 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes/minikube has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot
Copy link
Contributor

Hi @anoopcs9. 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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

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.

@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Jan 25, 2022
@minikube-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@k8s-ci-robot
Copy link
Contributor

Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA.

It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.


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. I understand the commands that are listed here.

@k8s-ci-robot k8s-ci-robot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 25, 2022
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. label Jan 25, 2022
@anoopcs9
Copy link
Contributor Author

anoopcs9 commented Jan 25, 2022

/unassign @prezha

@spowelljr
Copy link
Member

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jan 25, 2022
@minikube-pr-bot
Copy link

kvm2 driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 13482) |
+----------------+----------+---------------------+
| minikube start | 64.5s    | 62.6s               |
| enable ingress | 28.3s    | 27.8s               |
+----------------+----------+---------------------+

Times for minikube (PR 13482) start: 62.3s 62.7s 61.7s 62.8s 63.2s
Times for minikube start: 64.2s 68.8s 63.0s 63.7s 63.0s

Times for minikube ingress: 28.1s 29.6s 28.5s 26.1s 29.0s
Times for minikube (PR 13482) ingress: 29.0s 26.0s 26.0s 29.0s 29.1s

docker driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 13482) |
+----------------+----------+---------------------+
| minikube start | 39.7s    | 39.4s               |
| enable ingress | 22.9s    | 21.8s               |
+----------------+----------+---------------------+

Times for minikube start: 40.5s 39.8s 38.8s 40.0s 39.5s
Times for minikube (PR 13482) start: 39.4s 38.9s 39.1s 39.7s 39.7s

Times for minikube ingress: 21.9s 22.0s 22.9s 22.9s 24.9s
Times for minikube (PR 13482) ingress: 21.0s 23.0s 21.9s 21.4s 21.9s

docker driver with containerd runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 13482) |
+----------------+----------+---------------------+
| minikube start | 46.9s    | 46.9s               |
| enable ingress | 29.9s    | 30.5s               |
+----------------+----------+---------------------+

Times for minikube ingress: 29.9s 29.9s 29.9s 29.9s 29.9s
Times for minikube (PR 13482) ingress: 30.0s 32.9s 29.9s 29.9s 29.9s

Times for minikube start: 47.1s 47.3s 46.4s 46.3s 47.1s
Times for minikube (PR 13482) start: 47.9s 44.2s 47.9s 46.9s 47.7s

@medyagh
Copy link
Member

medyagh commented Jan 25, 2022

@anoopcs9 I an curious do u mind listing what platfroms are like that ?

and should we fall back to the old system in case this one fails as a fail over?

@medyagh
Copy link
Member

medyagh commented Jan 25, 2022

@anoopcs9 Thank you for this PR, do u mind sigining the CLA so we could accept contributions?

@minikube-pr-bot
Copy link

These are the flake rates of all failed tests.

Environment Failed Tests Flake Rate (%)
Docker_Linux TestRunningBinaryUpgrade (gopogh) 0.00 (chart)
Docker_Windows TestStartStop/group/old-k8s-version/serial/Pause (gopogh) 0.00 (chart)
Docker_macOS TestNetworkPlugins/group/bridge/Start (gopogh) 14.29 (chart)
Docker_macOS TestNetworkPlugins/group/custom-weave/Start (gopogh) 16.67 (chart)
Docker_macOS TestNetworkPlugins/group/false/DNS (gopogh) 16.67 (chart)
Docker_Linux TestNetworkPlugins/group/calico/NetCatPod (gopogh) 25.00 (chart)
Docker_Windows TestNetworkPlugins/group/bridge/Start (gopogh) 25.00 (chart)
Docker_Windows TestNetworkPlugins/group/kindnet/Start (gopogh) 25.00 (chart)
Docker_Windows TestNetworkPlugins/group/kubenet/Start (gopogh) 25.00 (chart)
Docker_Windows TestRunningBinaryUpgrade (gopogh) 25.00 (chart)
Docker_Cloud_Shell TestAddons/parallel/MetricsServer (gopogh) 33.33 (chart)
Docker_Windows TestNetworkPlugins/group/enable-default-cni/DNS (gopogh) 33.33 (chart)
Docker_macOS TestNetworkPlugins/group/calico/DNS (gopogh) 50.00 (chart)
Docker_Linux TestNetworkPlugins/group/custom-weave/Start (gopogh) 62.50 (chart)
Docker_macOS TestNetworkPlugins/group/enable-default-cni/DNS (gopogh) 66.67 (chart)
Docker_macOS TestNetworkPlugins/group/kindnet/Start (gopogh) 66.67 (chart)
Docker_macOS TestNetworkPlugins/group/kubenet/Start (gopogh) 66.67 (chart)
Docker_Linux TestNetworkPlugins/group/kindnet/DNS (gopogh) 75.00 (chart)
Docker_Windows TestNetworkPlugins/group/calico/Start (gopogh) 75.00 (chart)
Docker_Windows TestNetworkPlugins/group/custom-weave/Start (gopogh) 75.00 (chart)
Hyperkit_macOS TestSkaffold (gopogh) 77.78 (chart)
Docker_Linux TestDownloadOnlyKic (gopogh) 87.50 (chart)
Docker_Linux TestNetworkPlugins/group/bridge/DNS (gopogh) 87.50 (chart)
Docker_Linux TestNetworkPlugins/group/enable-default-cni/DNS (gopogh) 87.50 (chart)
Docker_Linux TestNetworkPlugins/group/kubenet/DNS (gopogh) 87.50 (chart)
Docker_macOS TestDownloadOnlyKic (gopogh) 87.50 (chart)
Docker_macOS TestSkaffold (gopogh) 87.50 (chart)
Docker_Cloud_Shell TestFunctional/parallel/TunnelCmd/serial/AccessDirect (gopogh) 100.00 (chart)
Docker_Cloud_Shell TestFunctional/parallel/TunnelCmd/serial/WaitService/IngressIP (gopogh) 100.00 (chart)
Docker_Windows TestAddons/parallel/MetricsServer (gopogh) 100.00 (chart)
More tests... Continued...

Too many tests failed - See test logs for more details.

To see the flake rates of all tests by environment, click here.

@anoopcs9
Copy link
Contributor Author

@anoopcs9 I an curious do u mind listing what platfroms are like that ?

I was facing problems with CentOS 8(8.5) as mentioned in linked issue #11459. I have also shared my findings as a comment on the issue.

and should we fall back to the old system in case this one fails as a fail over?

see my inline reply

@anoopcs9
Copy link
Contributor Author

@anoopcs9 Thank you for this PR, do u mind sigining the CLA so we could accept contributions?

I think I did as soon as bot told me its missing(see above comment). It says COVERED. May be CLA check is not (re)run afterwards??

@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 27, 2022
@anoopcs9
Copy link
Contributor Author

Too many tests failed - See test logs for more details.

@medyagh, What to do with these failures? I hope the change from this PR is not the culprit :-/

@minikube-pr-bot
Copy link

kvm2 driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 13482) |
+----------------+----------+---------------------+
| minikube start | 45.0s    | 45.0s               |
| enable ingress | 29.5s    | 29.1s               |
+----------------+----------+---------------------+

Times for minikube start: 48.5s 44.4s 44.1s 44.4s 44.0s
Times for minikube (PR 13482) start: 44.9s 44.6s 44.4s 45.4s 45.6s

Times for minikube ingress: 31.1s 29.6s 29.6s 30.6s 26.6s
Times for minikube (PR 13482) ingress: 29.1s 30.1s 26.6s 30.1s 29.6s

docker driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 13482) |
+----------------+----------+---------------------+
| minikube start | 26.8s    | 26.8s               |
| enable ingress | 28.5s    | 27.5s               |
+----------------+----------+---------------------+

Times for minikube start: 27.8s 26.6s 26.3s 27.1s 26.4s
Times for minikube (PR 13482) start: 26.3s 27.5s 26.5s 26.6s 27.0s

Times for minikube ingress: 27.4s 26.5s 32.9s 24.9s 30.9s
Times for minikube (PR 13482) ingress: 24.4s 26.0s 28.9s 28.4s 30.0s

docker driver with containerd runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 13482) |
+----------------+----------+---------------------+
| minikube start | 42.9s    | 45.3s               |
| enable ingress | 25.8s    | 25.3s               |
+----------------+----------+---------------------+

Times for minikube start: 36.4s 45.0s 45.6s 42.3s 45.4s
Times for minikube (PR 13482) start: 45.8s 46.5s 45.6s 42.2s 46.4s

Times for minikube ingress: 39.9s 27.0s 19.4s 22.9s 19.9s
Times for minikube (PR 13482) ingress: 28.0s 26.0s 28.9s 24.4s 19.5s

@minikube-pr-bot
Copy link

These are the flake rates of all failed tests.

Environment Failed Tests Flake Rate (%)
Docker_Windows TestNetworkPlugins/group/bridge/DNS (gopogh) 0.00 (chart)
Docker_Windows TestNetworkPlugins/group/kubenet/DNS (gopogh) 0.00 (chart)
Docker_macOS TestMissingContainerUpgrade (gopogh) 4.00 (chart)
Docker_Windows TestCertExpiration (gopogh) 5.88 (chart)
Docker_Linux TestRunningBinaryUpgrade (gopogh) 12.50 (chart)
Docker_macOS TestKubernetesUpgrade (gopogh) 16.00 (chart)
Docker_macOS TestNoKubernetes/serial/StartWithK8s (gopogh) 20.00 (chart)
Docker_macOS TestPause/serial/Start (gopogh) 20.00 (chart)
Docker_macOS TestStoppedBinaryUpgrade/MinikubeLogs (gopogh) 20.00 (chart)
Docker_macOS TestStoppedBinaryUpgrade/Upgrade (gopogh) 20.00 (chart)
Docker_Windows TestPause/serial/Pause (gopogh) 20.00 (chart)
Docker_macOS TestNetworkPlugins/group/auto/Start (gopogh) 21.74 (chart)
Docker_macOS TestNetworkPlugins/group/cilium/Start (gopogh) 21.74 (chart)
Docker_macOS TestNetworkPlugins/group/enable-default-cni/Start (gopogh) 21.74 (chart)
Docker_macOS TestNetworkPlugins/group/false/Start (gopogh) 21.74 (chart)
Docker_macOS TestNoKubernetes/serial/ProfileList (gopogh) 21.74 (chart)
Docker_macOS TestNoKubernetes/serial/StartNoArgs (gopogh) 21.74 (chart)
Docker_macOS TestNoKubernetes/serial/Stop (gopogh) 21.74 (chart)
Docker_Cloud_Shell TestStartStop/group/cloud-shell/serial/SecondStart (gopogh) 22.22 (chart)
Docker_macOS TestStartStop/group/default-k8s-different-port/serial/AddonExistsAfterStop (gopogh) 22.73 (chart)
Docker_macOS TestStartStop/group/default-k8s-different-port/serial/DeployApp (gopogh) 22.73 (chart)
Docker_macOS TestStartStop/group/default-k8s-different-port/serial/EnableAddonAfterStop (gopogh) 22.73 (chart)
Docker_macOS TestStartStop/group/default-k8s-different-port/serial/EnableAddonWhileActive (gopogh) 22.73 (chart)
Docker_macOS TestStartStop/group/default-k8s-different-port/serial/FirstStart (gopogh) 22.73 (chart)
Docker_macOS TestStartStop/group/default-k8s-different-port/serial/Pause (gopogh) 22.73 (chart)
Docker_macOS TestStartStop/group/default-k8s-different-port/serial/SecondStart (gopogh) 22.73 (chart)
Docker_macOS TestStartStop/group/default-k8s-different-port/serial/Stop (gopogh) 22.73 (chart)
Docker_macOS TestStartStop/group/default-k8s-different-port/serial/UserAppExistsAfterStop (gopogh) 22.73 (chart)
Docker_macOS TestStartStop/group/default-k8s-different-port/serial/VerifyKubernetesImages (gopogh) 22.73 (chart)
Docker_macOS TestStartStop/group/embed-certs/serial/AddonExistsAfterStop (gopogh) 22.73 (chart)
More tests... Continued...

Too many tests failed - See test logs for more details.

To see the flake rates of all tests by environment, click here.

@spowelljr
Copy link
Member

Too many tests failed - See test logs for more details.

@medyagh, What to do with these failures? I hope the change from this PR is not the culprit :-/

The failures are not unexpected, the rightmost column is what % of the time they fail.

pkg/drivers/kvm/network.go Outdated Show resolved Hide resolved
@medyagh
Copy link
Member

medyagh commented Jan 27, 2022

thank you very much @anoopcs9 for improving the KVM driver, just a minor spelling error then we are good to go !

@medyagh
Copy link
Member

medyagh commented Jan 27, 2022

/check-cla

@minikube-pr-bot
Copy link

kvm2 driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 13482) |
+----------------+----------+---------------------+
| minikube start | 44.2s    | 44.2s               |
| enable ingress | 28.7s    | 28.8s               |
+----------------+----------+---------------------+

Times for minikube start: 45.7s 43.7s 44.2s 43.6s 44.0s
Times for minikube (PR 13482) start: 44.8s 43.2s 44.2s 44.4s 44.3s

Times for minikube ingress: 25.5s 30.0s 29.1s 28.6s 30.5s
Times for minikube (PR 13482) ingress: 30.0s 30.1s 29.0s 28.6s 26.1s

docker driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 13482) |
+----------------+----------+---------------------+
| minikube start | 27.1s    | 25.6s               |
| enable ingress | 34.3s    | 22.9s               |
+----------------+----------+---------------------+

Times for minikube start: 30.9s 25.0s 26.2s 26.6s 26.5s
Times for minikube (PR 13482) start: 26.5s 26.2s 24.8s 25.2s 25.1s

Times for minikube ingress: 19.9s 22.4s 22.9s 22.9s 83.4s
Times for minikube (PR 13482) ingress: 23.4s 22.9s 21.9s 23.5s 22.9s

docker driver with containerd runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 13482) |
+----------------+----------+---------------------+
| minikube start | 41.3s    | 44.5s               |
| enable ingress | 21.1s    | 28.7s               |
+----------------+----------+---------------------+

Times for minikube start: 30.1s 45.6s 44.5s 41.4s 44.8s
Times for minikube (PR 13482) start: 46.0s 44.8s 45.5s 44.8s 41.5s

Times for minikube ingress: 23.4s 19.4s 19.9s 23.4s 19.4s
Times for minikube (PR 13482) ingress: 22.4s 18.9s 18.9s 60.4s 22.9s

@minikube-pr-bot
Copy link

These are the flake rates of all failed tests.

Environment Failed Tests Flake Rate (%)
Docker_Linux TestDockerFlags (gopogh) 0.00 (chart)
Docker_Linux TestNoKubernetes/serial/StartWithK8s (gopogh) 0.00 (chart)
Docker_Linux TestNoKubernetes/serial/StartWithStopK8s (gopogh) 0.00 (chart)
Hyper-V_Windows TestNetworkPlugins/group/calico/NetCatPod (gopogh) 0.00 (chart)
Hyper-V_Windows TestNetworkPlugins/group/custom-weave/NetCatPod (gopogh) 0.00 (chart)
Docker_Linux TestAddons/parallel/MetricsServer (gopogh) 3.70 (chart)
Docker_Windows TestCertExpiration (gopogh) 5.00 (chart)
Hyper-V_Windows TestErrorSpam/setup (gopogh) 9.09 (chart)
Docker_macOS TestAddons/parallel/MetricsServer (gopogh) 10.34 (chart)
Docker_macOS TestJSONOutput/pause/Command (gopogh) 10.34 (chart)
Docker_Linux_containerd TestNoKubernetes/serial/Start (gopogh) 11.11 (chart)
Docker_Linux TestRunningBinaryUpgrade (gopogh) 11.11 (chart)
Docker_Windows TestNetworkPlugins/group/bridge/DNS (gopogh) 12.50 (chart)
Docker_Linux_containerd TestStoppedBinaryUpgrade/MinikubeLogs (gopogh) 15.00 (chart)
Docker_Linux_containerd TestStoppedBinaryUpgrade/Upgrade (gopogh) 15.00 (chart)
Docker_Linux_containerd TestNetworkPlugins/group/custom-weave/Start (gopogh) 22.22 (chart)
Docker_Windows TestStartStop/group/default-k8s-different-port/serial/DeployApp (gopogh) 22.22 (chart)
Docker_Windows TestStartStop/group/default-k8s-different-port/serial/EnableAddonAfterStop (gopogh) 22.22 (chart)
Docker_Windows TestStartStop/group/default-k8s-different-port/serial/EnableAddonWhileActive (gopogh) 22.22 (chart)
Docker_Windows TestStartStop/group/default-k8s-different-port/serial/FirstStart (gopogh) 22.22 (chart)
Docker_Windows TestStartStop/group/default-k8s-different-port/serial/Stop (gopogh) 22.22 (chart)
Docker_macOS TestStartStop/group/default-k8s-different-port/serial/SecondStart (gopogh) 26.92 (chart)
Docker_macOS TestNetworkPlugins/group/false/DNS (gopogh) 30.00 (chart)
Docker_macOS TestRunningBinaryUpgrade (gopogh) 34.48 (chart)
Docker_Linux_containerd TestStartStop/group/no-preload/serial/AddonExistsAfterStop (gopogh) 35.71 (chart)
Docker_Linux_containerd TestStartStop/group/no-preload/serial/DeployApp (gopogh) 35.71 (chart)
Docker_Linux_containerd TestStartStop/group/no-preload/serial/FirstStart (gopogh) 35.71 (chart)
Docker_Linux_containerd TestStartStop/group/no-preload/serial/SecondStart (gopogh) 35.71 (chart)
Docker_Linux_containerd TestStartStop/group/no-preload/serial/UserAppExistsAfterStop (gopogh) 35.71 (chart)
Docker_Windows TestNetworkPlugins/group/enable-default-cni/DNS (gopogh) 35.71 (chart)
More tests... Continued...

Too many tests failed - See test logs for more details.

To see the flake rates of all tests by environment, click here.

@anoopcs9 anoopcs9 requested a review from medyagh January 28, 2022 04:47
@minikube-pr-bot
Copy link

kvm2 driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 13482) |
+----------------+----------+---------------------+
| minikube start | 45.6s    | 44.0s               |
| enable ingress | 29.0s    | 27.5s               |
+----------------+----------+---------------------+

Times for minikube start: 44.6s 44.5s 50.0s 43.8s 45.1s
Times for minikube (PR 13482) start: 43.4s 44.3s 44.0s 44.7s 43.5s

Times for minikube ingress: 29.5s 30.1s 30.6s 26.0s 28.5s
Times for minikube (PR 13482) ingress: 25.6s 29.1s 25.5s 26.0s 31.1s

docker driver with docker runtime
error collecting results for docker driver: timing run 0 with minikube (PR 13482): timing cmd: [/home/jenkins/.minikube/minikube-binaries/13482/minikube start --driver=docker --container-runtime=docker]: waiting for minikube: exit status 2
docker driver with containerd runtime
error collecting results for docker driver: timing run 0 with minikube: timing cmd: [out/minikube start --driver=docker --container-runtime=containerd]: waiting for minikube: exit status 81

@anoopcs9
Copy link
Contributor Author

@anoopcs9 Thank you for this PR, do u mind sigining the CLA so we could accept contributions?

I think I did as soon as bot told me its missing(see above comment). It says COVERED. May be CLA check is not (re)run afterwards??

My bad. I had accidentally revoked authorization for Linux Foundation: EasyCLA OAuth App. I have reauthorized and it passes now.

@minikube-pr-bot
Copy link

These are the flake rates of all failed tests.

Environment Failed Tests Flake Rate (%)
Docker_Linux TestPause/serial/Pause (gopogh) 0.00 (chart)
Docker_Linux_containerd TestPause/serial/Start (gopogh) 19.05 (chart)
Hyper-V_Windows TestNetworkPlugins/group/kubenet/Start (gopogh) 29.17 (chart)
Docker_Linux_containerd TestStartStop/group/no-preload/serial/DeployApp (gopogh) 35.71 (chart)
Docker_Linux_containerd TestStartStop/group/no-preload/serial/FirstStart (gopogh) 35.71 (chart)
Docker_Linux_containerd TestStartStop/group/no-preload/serial/SecondStart (gopogh) 35.71 (chart)
Docker_Linux_containerd TestStartStop/group/no-preload/serial/UserAppExistsAfterStop (gopogh) 35.71 (chart)
Docker_Linux_containerd TestStartStop/group/no-preload/serial/AddonExistsAfterStop (gopogh) 40.00 (chart)
Docker_Linux_containerd TestStartStop/group/embed-certs/serial/AddonExistsAfterStop (gopogh) 42.86 (chart)
Docker_Linux_containerd TestStartStop/group/embed-certs/serial/FirstStart (gopogh) 42.86 (chart)
Docker_Linux_containerd TestStartStop/group/embed-certs/serial/SecondStart (gopogh) 42.86 (chart)
Docker_Linux_containerd TestStartStop/group/embed-certs/serial/UserAppExistsAfterStop (gopogh) 42.86 (chart)
Docker_Linux_containerd TestStartStop/group/embed-certs/serial/DeployApp (gopogh) 46.67 (chart)
Docker_macOS TestNetworkPlugins/group/custom-weave/Start (gopogh) 50.00 (chart)
Docker_Linux TestNetworkPlugins/group/calico/Start (gopogh) 55.17 (chart)
KVM_Linux_containerd TestRunningBinaryUpgrade (gopogh) 66.67 (chart)
Docker_Linux TestNetworkPlugins/group/custom-weave/Start (gopogh) 68.97 (chart)
Docker_Linux_containerd TestStartStop/group/default-k8s-different-port/serial/DeployApp (gopogh) 71.43 (chart)
Docker_Linux_containerd TestStartStop/group/default-k8s-different-port/serial/FirstStart (gopogh) 71.43 (chart)
Docker_Linux_containerd TestStartStop/group/default-k8s-different-port/serial/SecondStart (gopogh) 71.43 (chart)
Docker_Linux_containerd TestStartStop/group/default-k8s-different-port/serial/UserAppExistsAfterStop (gopogh) 71.43 (chart)
Docker_Linux_containerd TestStartStop/group/default-k8s-different-port/serial/AddonExistsAfterStop (gopogh) 73.33 (chart)
Docker_Linux_containerd TestNetworkPlugins/group/calico/Start (gopogh) 73.68 (chart)
Docker_Linux_containerd TestNetworkPlugins/group/kindnet/DNS (gopogh) 80.00 (chart)
Docker_Linux TestNetworkPlugins/group/kindnet/DNS (gopogh) 80.00 (chart)
Docker_Linux_containerd TestNetworkPlugins/group/bridge/DNS (gopogh) 88.24 (chart)
Docker_Linux_containerd TestNetworkPlugins/group/enable-default-cni/DNS (gopogh) 89.47 (chart)
Docker_Linux TestNetworkPlugins/group/bridge/DNS (gopogh) 93.10 (chart)
Docker_Linux TestNetworkPlugins/group/enable-default-cni/DNS (gopogh) 93.10 (chart)
Docker_Linux TestNetworkPlugins/group/kubenet/DNS (gopogh) 93.10 (chart)
More tests... Continued...

Too many tests failed - See test logs for more details.

To see the flake rates of all tests by environment, click here.

@spowelljr
Copy link
Member

/check-cla

@medyagh
Copy link
Member

medyagh commented Jan 28, 2022

@anoopcs9 I am curious hve u signed the CLA with the same email in your git config from the time u did "git commit"

do u mind checking ?

 cat ~/.gitconfig | grep email

On platforms where dhcp lease status is not updated immediately after
domain creation it fails to list ip addresses until next refresh
happens resulting in the following error:

8<----------8<----------8<----------8<----------8<----------8<----------

Creating kvm2 VM (CPUs=2, Memory=4096MB, Disk=20480MB) ...
Failed to start kvm2 VM. Running "minikube delete" may fix it: creating
  host: create: Error creating machine: Error in driver during machine
  creation: IP not available after waiting: machine minikube didn't
  return IP after 1 minute

Exiting due to GUEST_PROVISION: Failed to start host: creating host:
  create: Error creating machine: Error in driver during machine
  creation: IP not available after waiting: machine minikube didn't
  return IP after 1 minute

8<----------8<----------8<----------8<----------8<----------8<----------

Using ARP instead of LEASE for ip address query is justifiable as
listing is done following the domain creation. In case of failure we
fallback to listing via LEASE source.

Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
@anoopcs9
Copy link
Contributor Author

anoopcs9 commented Jan 29, 2022

/check-cla

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Jan 29, 2022
@minikube-pr-bot
Copy link

kvm2 driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 13482) |
+----------------+----------+---------------------+
| minikube start | 44.7s    | 45.5s               |
| enable ingress | 27.4s    | 29.0s               |
+----------------+----------+---------------------+

Times for minikube ingress: 29.1s 25.6s 30.5s 25.5s 26.6s
Times for minikube (PR 13482) ingress: 30.1s 29.5s 30.1s 29.0s 26.1s

Times for minikube (PR 13482) start: 43.7s 50.4s 44.4s 45.1s 43.9s
Times for minikube start: 46.0s 44.5s 43.4s 45.0s 44.3s

docker driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 13482) |
+----------------+----------+---------------------+
| minikube start | 26.2s    | 25.7s               |
| enable ingress | 22.9s    | 34.1s               |
+----------------+----------+---------------------+

Times for minikube start: 26.6s 26.0s 26.1s 25.7s 26.8s
Times for minikube (PR 13482) start: 26.5s 24.9s 26.0s 25.4s 25.6s

Times for minikube ingress: 24.0s 21.9s 22.9s 22.9s 22.9s
Times for minikube (PR 13482) ingress: 83.9s 23.0s 21.4s 21.9s 20.5s

docker driver with containerd runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 13482) |
+----------------+----------+---------------------+
| minikube start | 41.8s    | 42.9s               |
| enable ingress | 22.9s    | 21.5s               |
+----------------+----------+---------------------+

Times for minikube start: 30.5s 42.5s 44.7s 45.5s 45.8s
Times for minikube (PR 13482) start: 45.1s 41.9s 45.4s 41.3s 40.6s

Times for minikube ingress: 23.4s 23.4s 28.9s 19.4s 19.4s
Times for minikube (PR 13482) ingress: 19.4s 22.9s 18.9s 22.9s 23.4s

@anoopcs9
Copy link
Contributor Author

@anoopcs9 I am curious hve u signed the CLA with the same email in your git config from the time u did "git commit"

do u mind checking ?

 cat ~/.gitconfig | grep email

It was to do with my LF account.
Finally. after fiddling with LF account-username-email modifications, CLA check now passes.

@minikube-pr-bot
Copy link

These are the flake rates of all failed tests.

Environment Failed Tests Flake Rate (%)
Docker_Linux TestPause/serial/PauseAgain (gopogh) 0.00 (chart)
Hyper-V_Windows TestPause/serial/PauseAgain (gopogh) 3.33 (chart)
Docker_Windows TestStartStop/group/no-preload/serial/AddonExistsAfterStop (gopogh) 11.11 (chart)
Docker_Windows TestStartStop/group/no-preload/serial/SecondStart (gopogh) 11.11 (chart)
Docker_Windows TestStartStop/group/no-preload/serial/UserAppExistsAfterStop (gopogh) 11.11 (chart)
Docker_Windows TestStartStop/group/no-preload/serial/VerifyKubernetesImages (gopogh) 11.11 (chart)
KVM_Linux_containerd TestCertOptions (gopogh) 13.95 (chart)
Docker_Windows TestStartStop/group/embed-certs/serial/FirstStart (gopogh) 14.81 (chart)
Docker_Windows TestStartStop/group/no-preload/serial/Pause (gopogh) 14.81 (chart)
Docker_Windows TestStartStop/group/old-k8s-version/serial/AddonExistsAfterStop (gopogh) 14.81 (chart)
Docker_Windows TestStartStop/group/old-k8s-version/serial/SecondStart (gopogh) 14.81 (chart)
Docker_Windows TestStartStop/group/old-k8s-version/serial/UserAppExistsAfterStop (gopogh) 14.81 (chart)
Docker_Windows TestStartStop/group/old-k8s-version/serial/VerifyKubernetesImages (gopogh) 14.81 (chart)
KVM_Linux_containerd TestNetworkPlugins/group/enable-default-cni/Start (gopogh) 18.60 (chart)
Docker_macOS TestNoKubernetes/serial/StartWithStopK8s (gopogh) 22.73 (chart)
KVM_Linux_containerd TestNetworkPlugins/group/flannel/Start (gopogh) 23.26 (chart)
Docker_Windows TestStartStop/group/old-k8s-version/serial/Pause (gopogh) 44.44 (chart)
Docker_Windows TestNetworkPlugins/group/bridge/Start (gopogh) 55.17 (chart)
Docker_Windows TestStartStop/group/default-k8s-different-port/serial/Pause (gopogh) 55.56 (chart)
Hyper-V_Windows TestNoKubernetes/serial/StartWithK8s (gopogh) 55.88 (chart)
Docker_macOS TestNetworkPlugins/group/calico/Start (gopogh) 57.14 (chart)
Docker_Linux TestNetworkPlugins/group/kindnet/Start (gopogh) 58.54 (chart)
Docker_Cloud_Shell TestAddons/parallel/MetricsServer (gopogh) 58.97 (chart)
Docker_Linux TestNetworkPlugins/group/calico/Start (gopogh) 63.41 (chart)
Docker_Linux TestNetworkPlugins/group/custom-weave/Start (gopogh) 63.41 (chart)
Docker_macOS TestNetworkPlugins/group/kindnet/Start (gopogh) 66.67 (chart)
Docker_macOS TestNetworkPlugins/group/kubenet/Start (gopogh) 71.43 (chart)
Docker_macOS TestNetworkPlugins/group/bridge/DNS (gopogh) 72.00 (chart)
KVM_Linux_containerd TestRunningBinaryUpgrade (gopogh) 76.74 (chart)
Docker_Windows TestAddons/parallel/MetricsServer (gopogh) 79.31 (chart)
More tests... Continued...

Too many tests failed - See test logs for more details.

To see the flake rates of all tests by environment, click here.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: anoopcs9, sharifelgamal

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 1, 2022
@sharifelgamal
Copy link
Collaborator

Thank you for your contribution!

@sharifelgamal sharifelgamal merged commit 2cbe070 into kubernetes:master Feb 1, 2022
@anoopcs9 anoopcs9 deleted the libvirt-use-src-arp branch February 3, 2022 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Minikube start failure in CentOS
8 participants