mesa/.gitlab-ci/lava/utils
Guilherme Gallo e7f6b4bdae ci/lava: Improve timeout estimation logic for case/suite runs
Some jobs, like those using pytest, have lower `CI_JOB_TIMEOUT` values.
This change ensures that the estimated LAVA overhead (in minutes) is
compatible with the actual job timeout, failing early with an assertion
and also avoiding mismatches and unintended timeouts.

Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34907>
2025-05-19 22:44:21 +00:00
..
__init__.py ci/lava: Create LAVAJobDefinition 2023-11-02 03:31:50 +00:00
console_format.py ci/lava: Change default section colour to cyan 2024-10-20 11:32:42 +01:00
constants.py ci/lava: Tweak timeouts 2025-03-10 05:44:25 +00:00
gitlab_section.py ci/lava: Don't print empty lines when changing sections 2025-03-10 05:44:25 +00:00
lava_farm.py ci: Simplify LAVA farm detection 2025-03-08 02:45:02 +00:00
lava_job.py ci/lava: Don't print empty lines when changing sections 2025-03-10 05:44:25 +00:00
lava_job_definition.py ci: Remove EXTERNAL_KERNEL_TAG variable 2025-05-09 07:18:53 +00:00
lava_log_hints.py ci/lava: Detect a6xx gpu recovery failures 2024-07-19 23:41:13 +00:00
lava_proxy.py ci/lava: Remove pointless messages 2024-10-20 11:32:42 +01:00
log_follower.py ci/lava: Fix LAVA lima jobs 2025-03-13 00:45:59 -03:00
log_section.py ci/lava: Improve timeout estimation logic for case/suite runs 2025-05-19 22:44:21 +00:00
ssh_job_definition.py ci/lava: Propagate errors in SSH tests 2025-03-04 01:17:50 +00:00
uart_job_definition.py ci: Remove EXTERNAL_KERNEL_TAG variable 2025-05-09 07:18:53 +00:00