ci/lava: Add U-Boot action timeout for rockchip DUTs

Add a specific timeout for the U-Boot action in LAVA job definitions for
rockchip devices. This ensures sufficient time for U-Boot to download
the kernel and set up early network, preventing potential job failures
due to timeout constraints.

This behavior started to happen since LAVA 2025.02 version.

Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33839>
(cherry picked from commit 1dbebd2619)
This commit is contained in:
Guilherme Gallo 2025-03-03 17:14:48 -03:00 committed by Eric Engestrom
parent 989f2d8b34
commit 7e12252613
6 changed files with 19 additions and 1 deletions

View file

@ -162,6 +162,16 @@ class LAVAJobDefinition:
"minutes": 5
* NUMBER_OF_ATTEMPTS_LAVA_BOOT,
},
"uboot-action": {
# For rockchip DUTs, U-Boot auto-login action downloads the kernel and
# setup early network. This takes 72 seconds on average.
# The LAVA action that wraps it is `uboot-commands`, but we can't set a
# timeout for it directly, it is overridden by one third of `uboot-action`
# timeout.
# So actually, this timeout is here to enforce that `uboot-commands`
# timeout to be 100 seconds (300 sec / 3), which is more than enough.
"minutes": 5
},
},
},
}

View file

@ -16,6 +16,8 @@ timeouts:
minutes: 1
depthcharge-action:
minutes: 15
uboot-action:
minutes: 5
actions:
- deploy:
timeout:

View file

@ -16,6 +16,8 @@ timeouts:
minutes: 1
depthcharge-action:
minutes: 15
uboot-action:
minutes: 5
actions:
- deploy:
timeout:

View file

@ -16,6 +16,8 @@ timeouts:
minutes: 1
depthcharge-action:
minutes: 15
uboot-action:
minutes: 5
actions:
- deploy:
timeout:

View file

@ -16,6 +16,8 @@ timeouts:
minutes: 1
depthcharge-action:
minutes: 15
uboot-action:
minutes: 5
actions:
- deploy:
timeout:

View file

@ -624,7 +624,7 @@
"description": "ci/lava: Add U-Boot action timeout for rockchip DUTs",
"nominated": false,
"nomination_type": 0,
"resolution": 4,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null