selftests: net: py: improve bkg() error reporting
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | selftests: net: py: avoid masking exceptions in bkg() failurestools/ | +5 | 1 reply | Applied |
| 2/3 | selftests: net: py: use repr(cmd) for failure exceptionstools/ | +2 | 1 reply | Applied |
| 3/3 | selftests: net: py: add cmd info for ksft_wait failuretools/ | +23 | 1 reply | Applied |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Simon Horman | Petr Machata |
|---|---|---|
| Series | R-b | |
| 1/3 | R-b | |
| 2/3 | R-b | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/3] selftests: net: py: improve bkg() error reporting
bkg() is a helper for running commands in the background. When init or body of a with() block fails check if the bkg() process already exited and report its status (including stdout/ /stderr). This significantly improves debugability.
Jakub Kicinski (3):
selftests: net: py: avoid masking exceptions in bkg() failures
selftests: net: py: use repr(cmd) for failure exceptions
selftests: net: py: add cmd info for ksft_wait failure
tools/testing/selftests/net/lib/py/utils.py | 44 +++++++++++++++------ 1 file changed, 31 insertions(+), 13 deletions(-)
Signature · 1 line
2.53.0