-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Add concurrency to test-ipsec-upgrade #35362
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
Conversation
/ci-ipsec-upgrade |
99db928
to
190fab5
Compare
/test |
190fab5
to
4731fd4
Compare
/test |
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.
Looks good, but I'm quite confused about how egress gateway tests could be an issue in the IPsec workflow... given we don't run them there.
cilium-cli/connectivity/builder/egress_gateway_with_l7_policy.go
Outdated
Show resolved
Hide resolved
Ok, if we don't run them here then I can drop this commit. I wasn't sure about it as I copied this commit from a similar concurrent PR (#34806) and it didn't matter which PR would be merged first. |
4731fd4
to
9fbf7a1
Compare
/test |
Ack for the egress gateway tests, but the |
Hm, the failure in the IPsec upgrade tests feels a bit suspicious:
I haven't seen this failure before, so wondering if it could be related to the changes made here. Isn't it possible we're trying to flush the CT map in parallel and therefore failing? |
9fbf7a1
to
a2927f7
Compare
/ci-ipsec-upgrade |
Adding concurrency to tests-e2e upgrade workflow helps to decrease the time it takes to run the tests on our CI. | Name | Before | After | Time Decreased | |-----------|-----------|-----------|----------------| | Test 1 | 00:49:48 | 00:29:54 | -39.96% | | Test 2 | 00:00:23 | 00:00:19 | -17.39% | | Test 3 | 00:49:08 | 00:25:04 | -48.98% | | Test 4 | 00:00:23 | 00:00:21 | -8.7% | | Test 5 | 00:49:18 | 00:26:30 | -46.25% | | Test 6 | 00:00:22 | 00:00:23 | 4.55% | | Test 7 | 00:44:46 | 00:21:20 | -52.35% | | Test 8 | 00:00:19 | 00:00:21 | 10.35% | | Test 9 | 00:49:34 | 00:25:33 | -48.45% | | Test 10 | 00:00:22 | 00:00:19 | -13.64% | Signed-off-by: André Martins <andre@cilium.io>
With the introduction of concurrent tests, it takes a little bit more time for all endpoints to be regenerated. Thus we need to increase the timeout from 5 minutes to 10 minutes. Signed-off-by: André Martins <andre@cilium.io>
a2927f7
to
a3ce44b
Compare
/test |
The changes on this PR helps to decrease the test run time significantly. During testing if this was possible, a lot of flakes were being caused by the egress-gateway, egress-gateway-with-l7-policy and from-cidr-host-netns tests which is why they run separately without concurrency and then all the other tests run parallel afterwards.
You can find 10 successful and unsuccessful runs in https://github.com/cilium/cilium/actions/runs/11496595336
Note: The failed runs from the link above were all caused due short timeouts which is fixed by the last commit.