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

Bastian Germann bage at linutronix.de
Fri May 7 10:19:39 CEST 2021


Am 06.05.21 um 14:55 schrieb Torben Hohn:
> 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>

Reviewed-by: Bastian Germann <bage 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)
> 


More information about the elbe-devel mailing list