diff options
author | Guilherme Gallo <guilherme.gallo@collabora.com> | 2022-07-19 23:11:53 -0300 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-07-21 02:24:20 +0000 |
commit | 28880818ee4eb5ddbe225ae1fdaf45fa78524f8e (patch) | |
tree | 69666f1a87591667d2eb98b03bf80d63f4f4df8f /.gitlab-ci/lava | |
parent | 6e819585da5e3f25daca9af4806b90678b47c7b5 (diff) | |
download | mesa-28880818ee4eb5ddbe225ae1fdaf45fa78524f8e.tar.gz |
ci/lava: Increase boot timeout
Empirically, a successful LAVA boot time should take less than 3
minutes.
LAVA itself is configured to attempt thrice to boot the device,
summing up to 9 minutes.
It is better to retry the boot than cancel the job and re-submit to
avoid the enqueue delay.
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17646>
Diffstat (limited to '.gitlab-ci/lava')
-rw-r--r-- | .gitlab-ci/lava/utils/log_section.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.gitlab-ci/lava/utils/log_section.py b/.gitlab-ci/lava/utils/log_section.py index 37960759341..a722570830a 100644 --- a/.gitlab-ci/lava/utils/log_section.py +++ b/.gitlab-ci/lava/utils/log_section.py @@ -17,8 +17,13 @@ class LogSectionType(Enum): FALLBACK_GITLAB_SECTION_TIMEOUT = timedelta(minutes=10) DEFAULT_GITLAB_SECTION_TIMEOUTS = { - # Empirically, the devices boot time takes 3 minutes on average. - LogSectionType.LAVA_BOOT: timedelta(minutes=5), + # Empirically, successful device boot in LAVA time takes less than 3 + # minutes. + # LAVA itself is configured to attempt thrice to boot the device, + # summing up to 9 minutes. + # It is better to retry the boot than cancel the job and re-submit to avoid + # the enqueue delay. + LogSectionType.LAVA_BOOT: timedelta(minutes=9), # Test suite phase is where the initialization happens. LogSectionType.TEST_SUITE: timedelta(minutes=5), # Test cases may take a long time, this script has no right to interrupt |