From f80a0bee8634eeb638a4a4f99f733c5144de6632 Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Thu, 9 Apr 2020 11:03:28 +0200 Subject: [PATCH] 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 --- resources/libraries/python/VppCounters.py | 2 ++ 1 file changed, 2 insertions(+) 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): -- 2.16.6