-
Notifications
You must be signed in to change notification settings - Fork 390
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
e2e kind test AntreaPolicyExtendedNamespaces
fail on older/less powerful/less resource rich laptops
#7067
Labels
kind/bug
Categorizes issue or PR as related to a bug.
Comments
petertran-avgo
added a commit
to petertran-avgo/antrea
that referenced
this issue
Mar 18, 2025
* On older machines, the tests `AntreaPolicyExtendedNamespaces` would fail but not on CI * The failure was due to the 1k+ simultaneous probes that the api-server would not handle * For that test the number of probes were ~1800: * n^2 x m * n = 5 namespace x 3 pods * squared for the nested for loop validating all pod to pod connections * m = 8 ports * Using waitgroups, the probing is rate limited by doing them in batches of n
petertran-avgo
added a commit
to petertran-avgo/antrea
that referenced
this issue
Mar 18, 2025
* On older machines, the tests `AntreaPolicyExtendedNamespaces` would fail but not on CI * The failure was due to the 1k+ simultaneous probes that the api-server would not handle * For that test the number of probes were ~1800: * n^2 x m * n = 5 namespace x 3 pods * squared for the nested for loop validating all pod to pod connections * m = 8 ports * Using waitgroups, the probing is rate limited by doing them in batches of n Signed-off-by: Peter Tran <peter-pt.tran@broadcom.com>
petertran-avgo
added a commit
to petertran-avgo/antrea
that referenced
this issue
Mar 20, 2025
* On older machines, the tests `AntreaPolicyExtendedNamespaces` would fail but not on CI * The failure was due to the 1k+ simultaneous probes that the api-server would not handle * For that test the number of probes were ~1800: * n^2 x m * n = 5 namespace x 3 pods * squared for the nested for loop validating all pod to pod connections * m = 8 ports * Using waitgroups, the probing is rate limited by doing them in batches of n Signed-off-by: Peter Tran <peter-pt.tran@broadcom.com>
petertran-avgo
added a commit
to petertran-avgo/antrea
that referenced
this issue
Mar 20, 2025
* On older machines, the tests `AntreaPolicyExtendedNamespaces` would fail but not on CI * The failure was due to the 1k+ simultaneous probes that the api-server would not handle * For that test the number of probes were ~1800: * n^2 x m * n = 5 namespace x 3 pods * squared for the nested for loop validating all pod to pod connections * m = 8 ports * Using waitgroups, the probing is rate limited by doing them in batches of n Signed-off-by: Peter Tran <peter-pt.tran@broadcom.com>
petertran-avgo
added a commit
to petertran-avgo/antrea
that referenced
this issue
Mar 20, 2025
* On older machines, the tests `AntreaPolicyExtendedNamespaces` would fail but not on CI * The failure was due to the 1k+ simultaneous probes from all pods to a single pod which could not handle it * For that test the number of probes were ~1800: * n^2 x m * n = 5 namespace x 3 pods * squared for the nested for loop validating all pod to pod connections * m = 8 ports * By randomizing the probing, the probing against any one pod is spread out and allows older laptops to complete the environment setup before testing Signed-off-by: Peter Tran <peter-pt.tran@broadcom.com>
petertran-avgo
added a commit
to petertran-avgo/antrea
that referenced
this issue
Mar 20, 2025
* On older machines, the tests `AntreaPolicyExtendedNamespaces` would fail but not on CI * The failure was due to the 1k+ simultaneous probes from all pods to a single pod which could not handle it * For that test the number of probes were ~1800: * n^2 x m * n = 5 namespace x 3 pods * squared for the nested for loop validating all pod to pod connections * m = 8 ports * By randomizing the probing, the probing against any one pod is spread out and allows older laptops to complete the environment setup before testing Signed-off-by: Peter Tran <peter-pt.tran@broadcom.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When running the e2e kind tests on older laptops (~3+ years) there is consistent failures for the test
AntreaPolicyExtendedNamespaces
.Notable log outputs include
And
From the api-server one will see
To Reproduce
Expected
Actual behavior
Versions:
main
0.27.0
Additional context
The text was updated successfully, but these errors were encountered: