mbox series

[RFC,v1,00/12] DTS external DPDK build and stats

Message ID 20240906132656.21729-1-juraj.linkes@pantheon.tech (mailing list archive)
Headers
Series DTS external DPDK build and stats |

Message

Juraj Linkeš Sept. 6, 2024, 1:26 p.m. UTC
Add support for externally built DPDK. The supported scenarios are:
* DPDK built on remote node
* DPDK built locally
* DPDK not built anywhere, source tree or tarball on remote node
* DPDK not built anywhere, local source tree or tarball

Remove multiple build targets per test run. If different build targets
are to be tested, these can be specified in multiple test runs.

Remove the git-ref option since it's redundant with the new features.

Improve statistics with a json output that includes more complete
results.

Tomáš Ďurovec (12):
  dts: rename build target to DPDK build
  dts: one dpdk build per test run
  dts: fix remote session transferring files
  dts: improve path handling for local and remote paths
  dts: add the ability to copy directories via remote
  dts: add ability to prevent overwriting files/dirs
  dts: update argument option for prevent overwriting
  dts: add support for externally compiled DPDK
  doc: update argument options for external DPDK build
  dts: remove git ref option
  doc: remove git-ref argument
  dts: improve statistics

 doc/guides/tools/dts.rst                      |  17 +-
 dts/conf.yaml                                 |   6 +-
 dts/framework/config/__init__.py              | 106 ++++-
 dts/framework/config/conf_yaml_schema.json    |  51 ++-
 dts/framework/config/types.py                 |  19 +-
 dts/framework/exception.py                    |   4 +-
 dts/framework/logger.py                       |   4 -
 dts/framework/remote_session/dpdk_shell.py    |   2 +-
 .../remote_session/remote_session.py          |  18 +-
 dts/framework/remote_session/ssh_session.py   |  12 +-
 dts/framework/runner.py                       | 150 +++----
 dts/framework/settings.py                     | 188 ++++++---
 dts/framework/test_result.py                  | 372 ++++++++++--------
 dts/framework/test_suite.py                   |   2 +-
 dts/framework/testbed_model/node.py           |  22 +-
 dts/framework/testbed_model/os_session.py     | 160 ++++++--
 dts/framework/testbed_model/posix_session.py  | 135 ++++++-
 dts/framework/testbed_model/sut_node.py       | 337 ++++++++++------
 dts/framework/utils.py                        | 168 ++++----
 dts/tests/TestSuite_smoke_tests.py            |   2 +-
 20 files changed, 1110 insertions(+), 665 deletions(-)