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

ci: increase timeout for e2e-tests #13769

Merged
merged 2 commits into from
Oct 17, 2024
Merged

Conversation

MasonM
Copy link
Contributor

@MasonM MasonM commented Oct 16, 2024

Partial fix for #10807

Motivation

Occasionally, tests are being canceled due to exceeding the 30 minute timeout. Example: https://github.com/argoproj/argo-workflows/actions/runs/11358993638/job/31594490093

While there are optimizations we can make to the test suite to mitigate this, sometimes resource contention causes things to slow to a crawl for reasons outside our control. In the example above, it spent 9m15s on "Free up unused disk space", which normally takes ~12s. The only thing that step is doing is running rm -rf, so that indicates extremely high I/O contention on the runner.

Modifications

This removes the timeout so it uses the default of 360 minutes (docs). This is what ArgoCD does (source), and E2E tests for ArgoCD PRs often take ~50 minutes (example).

Verification

Wait for actions to run

Occasionally, tests are being canceled due to exceeding the 30 minute
timeout. Example: https://github.com/argoproj/argo-workflows/actions/runs/11358993638/job/31594490093

While there are optimizations we can make to the test suite to mitigate
this, sometimes resource contention causes things to slow to a crawl for
reasons outside our control. In the example above, it spent 9m15s on
"Free up unused disk space" step, which normally takes ~12s. The only
thing that step is doing is running `rm -rf`.

This removes the timeout so it uses the default of 360 minutes (source:
https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes).
This is what ArgoCD does (source:
https://github.com/argoproj/argo-cd/blob/049ba0aab3965f3fa73447ae2db08f3a2afd95a0/.github/workflows/ci-build.yaml#L398), and E2E tests for ArgoCD PRs often take ~1hour (example: https://github.com/argoproj/argo-cd/actions/runs/11352918460/job/31576914061).

Signed-off-by: Mason Malone <[email protected]>
@MasonM MasonM marked this pull request as ready for review October 16, 2024 16:56
@MasonM MasonM changed the title test: increase timeout for e2e-tests build: increase timeout for e2e-tests Oct 16, 2024
@agilgur5 agilgur5 changed the title build: increase timeout for e2e-tests ci: increase timeout for e2e-tests Oct 16, 2024
@agilgur5 agilgur5 added the area/build Build or GithubAction/CI issues label Oct 16, 2024
Signed-off-by: Mason Malone <[email protected]>
@Joibel Joibel enabled auto-merge (squash) October 17, 2024 16:34
@Joibel Joibel merged commit 415007c into argoproj:main Oct 17, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build Build or GithubAction/CI issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants