[elbe-devel] [PATCH 04/10] check-build: increase img check timeout to 60s

Torben Hohn torben.hohn at linutronix.de
Thu May 6 14:55:25 CEST 2021


the armhf build needs more than 30s (the default) to boot to the
login prompt.

Increase the timeout to 60s.

This works on my machine, but that might not be sufficient.
However, increasing the timeout value means increasing the time
until a failure is detected.

Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
 elbepack/commands/check-build.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elbepack/commands/check-build.py b/elbepack/commands/check-build.py
index e3e5b227d..65ab2b0be 100644
--- a/elbepack/commands/check-build.py
+++ b/elbepack/commands/check-build.py
@@ -488,7 +488,7 @@ class CheckImage(CheckBase):
                     # timeout; the test fails Otherwise; Add to the transcript
                     # what we received
                     try:
-                        child.expect(text)
+                        child.expect(text, timeout=60)
                     except pexpect.exceptions.TIMEOUT:
                         logging.error('Was expecting "%s" but got timeout (%ds)',
                                       text, child.timeout)
-- 
2.20.1



More information about the elbe-devel mailing list