DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH v8 0/1] Add DTS smoke tests
@ 2023-07-17 19:33 jspewock
  2023-07-17 19:33 ` [PATCH v8 1/1] dts: add " jspewock
  0 siblings, 1 reply; 6+ messages in thread
From: jspewock @ 2023-07-17 19:33 UTC (permalink / raw)
  To: Honnappa.Nagarahalli, thomas, lijuan.tu, wathsala.vithanage, probb
  Cc: dev, Jeremy Spewock

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

Addresses comments on previous patch and allows for non-root users to
run DTS. To do this, a reference to the method for getting elevated
permissions was passed into the InteractiveShell. The only alternative
to this would be to build the arguments in OSSession which isn't ideal
because the arguments are of course app specific and it would be
preferred if the application would append it's arguments. Some comments to
ignore typing on these lines were added as recommended but the following
issue: https://github.com/python/mypy/issues/2427.

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
* v5: https://mails.dpdk.org/archives/dev/2023-July/272983.html
* v6: https://mails.dpdk.org/archives/dev/2023-July/273019.html
* v7: https://mails.dpdk.org/archives/dev/2023-July/273028.html

Jeremy Spewock (1):
  dts: add smoke tests

 dts/conf.yaml                                 |  17 +-
 dts/framework/config/__init__.py              |  79 ++++++--
 dts/framework/config/conf_yaml_schema.json    | 142 ++++++++++++++-
 dts/framework/dts.py                          |  84 ++++++---
 dts/framework/exception.py                    |  12 ++
 dts/framework/remote_session/__init__.py      |  13 +-
 dts/framework/remote_session/os_session.py    |  48 ++++-
 dts/framework/remote_session/posix_session.py |  29 ++-
 .../remote_session/remote/__init__.py         |  10 ++
 .../remote/interactive_remote_session.py      |  82 +++++++++
 .../remote/interactive_shell.py               |  98 ++++++++++
 .../remote_session/remote/testpmd_shell.py    |  46 +++++
 dts/framework/test_result.py                  |  24 ++-
 dts/framework/test_suite.py                   |  10 +-
 dts/framework/testbed_model/node.py           |  43 ++++-
 dts/framework/testbed_model/sut_node.py       | 169 +++++++++++++-----
 dts/framework/utils.py                        |   3 +
 dts/tests/TestSuite_smoke_tests.py            | 114 ++++++++++++
 18 files changed, 931 insertions(+), 92 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


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

end of thread, other threads:[~2023-07-18 15:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-17 19:33 [PATCH v8 0/1] Add DTS smoke tests jspewock
2023-07-17 19:33 ` [PATCH v8 1/1] dts: add " jspewock
2023-07-18  9:41   ` Juraj Linkeš
2023-07-18 15:17     ` Jeremy Spewock
2023-07-18 12:08   ` Juraj Linkeš
2023-07-18 15:18     ` Jeremy Spewock

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).