[PATCH 1/2] test: add command to 'Lab failure' timeout message

Simon Glass sjg at chromium.org
Tue Nov 26 16:38:48 CET 2024


On Sat, 23 Nov 2024 at 14:29, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> When a timeout occurs while executing a command a 'Lab failure' message is
> written and testing is stopped. The user is left in the dark about the
> failure cause.
>
>     ! _pytest.outcomes.Exit: Lab failure: Marking connection bad - no other tests will run !
>
> Add the word 'Timeout' and the executed command to the message.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>  test/py/u_boot_console_base.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list