From: Jeremy Spewock <jspew...@iol.unh.edu> This series adds smoke tests for the new DTS framework which includes various tests to ensure the environment was setup properly. The idea behind these tests are to ensure the integrity of the environment before starting the execution of DTS to "fail-fast" with more informative logging. It tests things such as, meson driver-test and fast-test suites, NICs being bound to the correct driver, and ensuring these devices are present in testpmd.
RFCs for this patch: * v3: https://mails.dpdk.org/archives/dev/2023-June/269859.html * v2: https://mails.dpdk.org/archives/dev/2023-May/267915.html * v1: https://mails.dpdk.org/archives/dev/2023-April/266580.html Jeremy Spewock (2): dts: add smoke tests dts: added paramiko to dependencies dts/conf.yaml | 13 ++ dts/framework/config/__init__.py | 114 +++++++++++-- dts/framework/config/conf_yaml_schema.json | 135 ++++++++++++++- dts/framework/dts.py | 101 ++++++++--- dts/framework/exception.py | 12 ++ dts/framework/remote_session/__init__.py | 10 +- dts/framework/remote_session/os_session.py | 34 +++- dts/framework/remote_session/posix_session.py | 30 ++++ .../remote_session/remote/__init__.py | 12 ++ .../remote/interactive_remote_session.py | 113 +++++++++++++ .../remote/interactive_shell.py | 98 +++++++++++ .../remote_session/remote/testpmd_shell.py | 58 +++++++ dts/framework/test_result.py | 38 ++++- dts/framework/test_suite.py | 31 +++- dts/framework/testbed_model/node.py | 2 + dts/framework/testbed_model/sut_node.py | 110 +++++++++++- dts/poetry.lock | 160 ++++++++++++++---- dts/pyproject.toml | 1 + dts/tests/TestSuite_smoke_tests.py | 101 +++++++++++ 19 files changed, 1086 insertions(+), 87 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 -- 2.41.0