-
Notifications
You must be signed in to change notification settings - Fork 376
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
TestClusterIPv4 is flaky in Kind e2e test #2860
Labels
area/test
Issues or PRs related to unit and integration tests.
kind/bug
Categorizes issue or PR as related to a bug.
kind/failing-test
Categorizes issue or PR as related to a consistently or frequently failing test.
Comments
Yes, I have seen this. Sometimes only one of the tests fails. |
Saw it for a few times in different PRs. |
antoninbas
added
kind/failing-test
Categorizes issue or PR as related to a consistently or frequently failing test.
area/test
Issues or PRs related to unit and integration tests.
labels
Oct 5, 2021
I'll take a look at this |
antoninbas
added a commit
to antoninbas/antrea
that referenced
this issue
Oct 6, 2021
The tests checking access from the Node / hostNetwork were broken on Kind clusters: wget is used to check connectivity, but wget is not installed on the Kind Node image. This issue was going unnoticed however because the tests were not checking for errors properly. The tests checking access from the Pod network were flaky (at least with kube-proxy) because no more than one connection was attempted, with little delay between Service creation and the connectivity test. Instead, we replace wget with agnhost, and we make up to 5 connection attempts. Fixes antrea-io#2860 Signed-off-by: Antonin Bas <[email protected]>
antoninbas
added a commit
to antoninbas/antrea
that referenced
this issue
Oct 13, 2021
The tests checking access from the Node / hostNetwork were broken on Kind clusters: wget is used to check connectivity, but wget is not installed on the Kind Node image. This issue was going unnoticed however because the tests were not checking for errors properly. The tests checking access from the Pod network were flaky (at least with kube-proxy) because no more than one connection was attempted, with little delay between Service creation and the connectivity test. Instead, we replace wget with agnhost, and we make up to 5 connection attempts. Fixes antrea-io#2860 Signed-off-by: Antonin Bas <[email protected]>
antoninbas
added a commit
that referenced
this issue
Oct 14, 2021
The tests checking access from the Node / hostNetwork were broken on Kind clusters: wget is used to check connectivity, but wget is not installed on the Kind Node image. This issue was going unnoticed however because the tests were not checking for errors properly. The tests checking access from the Pod network were flaky (at least with kube-proxy) because no more than one connection was attempted, with little delay between Service creation and the connectivity test. Instead, we replace wget with agnhost, and we make up to 5 connection attempts. Fixes #2860 Signed-off-by: Antonin Bas <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/test
Issues or PRs related to unit and integration tests.
kind/bug
Categorizes issue or PR as related to a bug.
kind/failing-test
Categorizes issue or PR as related to a consistently or frequently failing test.
Describe the bug
TestClusterIPv4/Non-HostNetwork_Endpoints/Pods_from_all_Nodes_can_access_Service_ClusterIP
andTestClusterIPv4/HostNetwork_Endpoints/Pods_from_all_Nodes_can_access_Service_ClusterIP
are flaky in Kind e2e test when Antrea-proxy is disabled and Antrea-native policy is disabled.The text was updated successfully, but these errors were encountered: