DPDK patches and discussions
 help / color / mirror / Atom feed
* [RFC v2 0/2] add DTS smoke tests
@ 2023-05-12 19:25 jspewock
  2023-05-12 19:25 ` [RFC v2 1/2] dts: add " jspewock
  2023-05-12 19:25 ` [RFC v2 2/2] dts: added paramiko to dependencies jspewock
  0 siblings, 2 replies; 12+ messages in thread
From: jspewock @ 2023-05-12 19:25 UTC (permalink / raw)
  To: dev; +Cc: Jeremy Spewock

From: Jeremy Spewock <jspewock@iol.unh.edu>

This update to the RFC adds a few more things such as physical devices
and virtual devices to the config, driver checks in the smoke tests, and interactive shell
handling.

Interactive shells are handled by creating two SSH connections upon
connecting to the SUT, one which is for normal non-interactive
opertaions and another (using paramiko) that is reserved for interactive shells. This
interactive session is stored in the main session of the SUT and can be
piloted using the interactive handler. This handler creates a new
channel off the session and provides methods for sending commands both
blindly and by expecting output. Then, classes are made for individual
DPDK applications that use one of these interactive handlers and know
how to handle that applications specific behaviors and outputs.

Old RFC:
* http://patches.dpdk.org/project/dpdk/patch/20230413175415.7683-3-jspewock@iol.unh.edu/

Jeremy Spewock (1):
  dts: added paramiko to dependencies

Jeremy Spewock (1):
  dts: add smoke tests

 dts/conf.yaml                                 |   9 +
 dts/framework/config/__init__.py              |  21 +++
 dts/framework/config/conf_yaml_schema.json    |  32 +++-
 dts/framework/dts.py                          |  19 ++-
 dts/framework/exception.py                    |  11 ++
 dts/framework/remote_session/os_session.py    |   6 +-
 .../remote_session/remote/__init__.py         |  28 +++
 dts/framework/test_result.py                  |  13 +-
 dts/framework/test_suite.py                   |  24 ++-
 dts/framework/testbed_model/__init__.py       |   5 +
 .../interactive_apps/__init__.py              |   6 +
 .../interactive_apps/interactive_command.py   |  57 +++++++
 .../interactive_apps/testpmd_driver.py        |  24 +++
 dts/framework/testbed_model/node.py           |   2 +
 dts/framework/testbed_model/sut_node.py       |   6 +
 dts/poetry.lock                               | 160 ++++++++++++++----
 dts/pyproject.toml                            |   1 +
 dts/tests/TestSuite_smoke_tests.py            |  94 ++++++++++
 18 files changed, 472 insertions(+), 46 deletions(-)
 create mode 100644 dts/framework/testbed_model/interactive_apps/__init__.py
 create mode 100644 dts/framework/testbed_model/interactive_apps/interactive_command.py
 create mode 100644 dts/framework/testbed_model/interactive_apps/testpmd_driver.py
 create mode 100644 dts/tests/TestSuite_smoke_tests.py

-- 
2.40.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-05-26 13:24 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-12 19:25 [RFC v2 0/2] add DTS smoke tests jspewock
2023-05-12 19:25 ` [RFC v2 1/2] dts: add " jspewock
2023-05-23  8:05   ` Juraj Linkeš
2023-05-23  8:33     ` Juraj Linkeš
2023-05-24 20:44     ` Jeremy Spewock
2023-05-25  8:33       ` Juraj Linkeš
2023-05-25 18:02         ` Jeremy Spewock
2023-05-26  7:36           ` Juraj Linkeš
2023-05-26 13:24             ` Jeremy Spewock
2023-05-24 10:03   ` Juraj Linkeš
2023-05-25 15:40     ` Jeremy Spewock
2023-05-12 19:25 ` [RFC v2 2/2] dts: added paramiko to dependencies jspewock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).