[PATCH v7 1/1] dts: add smoke tests
Juraj Linkeš
juraj.linkes at pantheon.tech
Fri Jul 14 09:34:58 CEST 2023
On Thu, Jul 13, 2023 at 6:54 PM <jspewock at iol.unh.edu> wrote:
>
> From: Jeremy Spewock <jspewock at iol.unh.edu>
>
> Adds a new test suite for running smoke tests that verify general
> configuration aspects of the system under test. If any of these tests
> fail, the DTS execution terminates as part of a "fail-fast" model.
>
> Signed-off-by: Jeremy Spewock <jspewock at iol.unh.edu>
> ---
> dts/conf.yaml | 17 +-
> dts/framework/config/__init__.py | 107 +++++++++--
> dts/framework/config/conf_yaml_schema.json | 142 +++++++++++++-
> dts/framework/dts.py | 87 ++++++---
> dts/framework/exception.py | 12 ++
> dts/framework/remote_session/__init__.py | 11 +-
> dts/framework/remote_session/os_session.py | 53 +++++-
> dts/framework/remote_session/posix_session.py | 29 ++-
> .../remote_session/remote/__init__.py | 10 +
> .../remote/interactive_remote_session.py | 82 ++++++++
> .../remote/interactive_shell.py | 78 ++++++++
> .../remote_session/remote/testpmd_shell.py | 74 ++++++++
> dts/framework/test_result.py | 37 +++-
> dts/framework/test_suite.py | 10 +-
> dts/framework/testbed_model/node.py | 2 +
> dts/framework/testbed_model/sut_node.py | 176 +++++++++++++-----
> dts/framework/utils.py | 3 +
> dts/tests/TestSuite_smoke_tests.py | 113 +++++++++++
> 18 files changed, 945 insertions(+), 98 deletions(-)
> create mode 100644 dts/framework/remote_session/remote/interactive_remote_session.py
> create mode 100644 dts/framework/remote_session/remote/interactive_shell.py
> create mode 100644 dts/framework/remote_session/remote/testpmd_shell.py
> create mode 100644 dts/tests/TestSuite_smoke_tests.py
Reviewed-by: Juraj Linkeš <juraj.linkes at pantheon.tech>
Thanks for the patch.
More information about the dev
mailing list