Re: [PATCH v5 3/3] dts: store stderr in RemoteCommandExecutionError

2024-05-30 Thread Luca Vizzarro
On 30/05/2024 16:47, Juraj Linkeš wrote: @@ -129,21 +130,27 @@ class RemoteCommandExecutionError(DTSError): severity: ClassVar[ErrorSeverity] = ErrorSeverity.REMOTE_CMD_EXEC_ERR #: The executed command. command: str +_command_stderr: str _command_return_code: int -

Re: [PATCH v5 3/3] dts: store stderr in RemoteCommandExecutionError

2024-05-30 Thread Juraj Linkeš
> diff --git a/dts/framework/exception.py b/dts/framework/exception.py > index cce1e0231a..50724acdf2 100644 > --- a/dts/framework/exception.py > +++ b/dts/framework/exception.py > @@ -2,6 +2,7 @@ > # Copyright(c) 2010-2014 Intel Corporation > # Copyright(c) 2022-2023 PANTHEON.tech s.r.o. > # Co

[PATCH v5 3/3] dts: store stderr in RemoteCommandExecutionError

2024-05-14 Thread Luca Vizzarro
Store the stderr of an executed command in RemoteCommandExecutionError. Consequently, when the exception is logged the error message includes the stderr. Signed-off-by: Luca Vizzarro Reviewed-by: Paul Szczepanek --- dts/framework/exception.py | 13 ++--- dts/framewor