mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-12-18 06:34:37 +08:00
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>
This commit is contained in:
parent
6e819585da
commit
28880818ee
@ -17,8 +17,13 @@ class LogSectionType(Enum):
|
|||||||
|
|
||||||
FALLBACK_GITLAB_SECTION_TIMEOUT = timedelta(minutes=10)
|
FALLBACK_GITLAB_SECTION_TIMEOUT = timedelta(minutes=10)
|
||||||
DEFAULT_GITLAB_SECTION_TIMEOUTS = {
|
DEFAULT_GITLAB_SECTION_TIMEOUTS = {
|
||||||
# Empirically, the devices boot time takes 3 minutes on average.
|
# Empirically, successful device boot in LAVA time takes less than 3
|
||||||
LogSectionType.LAVA_BOOT: timedelta(minutes=5),
|
# 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.
|
# Test suite phase is where the initialization happens.
|
||||||
LogSectionType.TEST_SUITE: timedelta(minutes=5),
|
LogSectionType.TEST_SUITE: timedelta(minutes=5),
|
||||||
# Test cases may take a long time, this script has no right to interrupt
|
# Test cases may take a long time, this script has no right to interrupt
|
||||||
|
Loading…
Reference in New Issue
Block a user