mbox

[v5,0/2] Add DTS smoke tests

Message ID 20230712192005.2045-3-jspewock@iol.unh.edu (mailing list archive)
Headers

Message

Jeremy Spewock July 12, 2023, 7:17 p.m. UTC
  From: Jeremy Spewock <jspewock@iol.unh.edu>

The previous version of this patch removed a method in the
InteractiveShell class but after reading the comments over again and
looking at the code, there was another method that now becomes unused
and not needed. This method for emptying the stdout buffer is removed in
this patch.

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

Previous patch:
* v1: https://mails.dpdk.org/archives/dev/2023-June/271309.html
* v2: https://mails.dpdk.org/archives/dev/2023-July/272833.html
* v3: https://mails.dpdk.org/archives/dev/2023-July/272930.html
* v4: https://mails.dpdk.org/archives/dev/2023-July/272964.html

Jeremy Spewock (2):
  dts: add smoke tests
  dts: add paramiko to dependencies

 dts/conf.yaml                                 |  17 +-
 dts/framework/config/__init__.py              | 105 +++++++++--
 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               |  75 ++++++++
 .../remote_session/remote/testpmd_shell.py    |  75 ++++++++
 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                        |   2 +
 dts/poetry.lock                               | 160 ++++++++++++----
 dts/pyproject.toml                            |   1 +
 dts/tests/TestSuite_smoke_tests.py            | 113 +++++++++++
 20 files changed, 1065 insertions(+), 134 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