aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2020-04-09 11:03:28 +0200
committerPeter Mikus <pmikus@cisco.com>2020-05-14 11:42:27 +0000
commit1347952646201a149feee747e22db7cd71252919 (patch)
treee02f85b23183be3b41962b5c193a20900aa16cd1
parent36237cf89a092fee57faa6b2b1726d40df493845 (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>
-rw-r--r--resources/libraries/python/VppCounters.py2
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):