diff options
author | Vratko Polak <vrpolak@cisco.com> | 2020-04-09 11:03:28 +0200 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2020-05-14 11:43:27 +0000 |
commit | f80a0bee8634eeb638a4a4f99f733c5144de6632 (patch) | |
tree | f7c48016fa6e213e63e5c17e88266e462975cef2 /resources/libraries/python/VppCounters.py | |
parent | 49bf78210fe2361beefd48b74e76f96484b5abd2 (diff) |
Execute also show runtime CLI
Example of a test with missing info:
https://logs.fd.io/production/vex-yul-rot-jenkins-1/csit-vpp-perf-mrr-daily-master-2n-clx/287/archives/log.html.gz#s1-s1-s1-s4-s8-t3-k2-k9-k1-k1-k4-k1
- Missing any -outpt and -tx nodes.
- Zeros in vectors in rdma-input node (even though calls are there).
Placing the CLI call after the stats one,
to confirm stats does not "break" the CLI.
+ Using an earlier parent, to dodge some test failures.
Change-Id: I79072b54b6bf964dab4f21428e186394bafda72a
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries/python/VppCounters.py')
-rw-r--r-- | resources/libraries/python/VppCounters.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/libraries/python/VppCounters.py b/resources/libraries/python/VppCounters.py index 054900f31f..e9b607b4f1 100644 --- a/resources/libraries/python/VppCounters.py +++ b/resources/libraries/python/VppCounters.py @@ -112,6 +112,8 @@ class VppCounters: f"stats runtime ({node[u'host']} - {socket}):\n" f"{pformat(runtime_nz)}" ) + # Run also the CLI command, the above sometimes misses some info. + PapiSocketExecutor.run_cli_cmd_on_all_sockets(node, u"show runtime") @staticmethod def vpp_show_runtime_on_all_duts(nodes): |