From 3b10f23c628503d9a7d7730c794bf5e1aaf09edd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?=
 <nfraprado@collabora.com>
Date: Tue, 3 Jun 2025 17:06:47 -0400
Subject: [PATCH] lava/testjob.yaml: Increase deploy timeout to account for
 rootfs download time

The weston and particularly GNOME rootfs are quite large, reaching over
1GB, and need more time to be downloaded, particularly when the
bandwidth is shared with other LAVA jobs downloading artifacts
simultaneously. Increase the timeout to a sensible value.

TODO: value reasoning
---
 lava/testjob.yaml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lava/testjob.yaml b/lava/testjob.yaml
index ca8f19a7e5702..d3c0cf82ee1d8 100644
--- a/lava/testjob.yaml
+++ b/lava/testjob.yaml
@@ -14,7 +14,10 @@ context:
 actions:
   - deploy:
       timeout:
-        minutes: 2
+        minutes: 5
+      timeouts:
+        http-download:
+          minutes: 5 {{/* Workaround for http-download timeout divided by number of retries */}}
       to: tftp
       kernel:
         url: "{{job.CI_PROJECT_URL}}/-/jobs/%%KERNEL_BUILD_JOB%%/artifacts/raw/vmlinuz"
-- 
GitLab