Skip to content

config: runtime: base: lava: improve timeout calculation #2917

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

a-wai
Copy link
Contributor

@a-wai a-wai commented Jun 30, 2025

Currently, the full job timeout is set to 30 minutes by default, or job_timeout + 15 if job_timeout is defined and exceeds 30 minutes. Those 15 minutes are meant to account for artifacts download and device boot time, but if the test is supposed to last 30 minutes (or almost), then the job might time out before the test is complete. Fix this by making 15 the minimum value for job_timeout (and keep falling back to the default 30 minutes otherwise).

Also add an additional 10 minutes to account for coverage data post-processing and upload (which usually takes 5-6 minutes) when coverage support is enabled.

Currently, the full job timeout is set to 30 minutes by default, or
`job_timeout + 15` if `job_timeout` is defined and exceeds 30 minutes.
Those 15 minutes are meant to account for artifacts download and device
boot time, but if the test is supposed to last 30 minutes (or almost),
then the job might time out before the test is complete. Fix this by
making *15* the minimum value for `job_timeout` (and keep falling back
to the default 30 minutes otherwise).

Also add an additional 10 minutes to account for coverage data
post-processing and upload (which usually takes 5-6 minutes) when
coverage support is enabled.

Signed-off-by: Arnaud Ferraris <[email protected]>
@a-wai a-wai requested review from nuclearcat and laura-nao June 30, 2025 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant