From 9a66e91fde9a74006268d48c89bb837e9ac3b4fa Mon Sep 17 00:00:00 2001 From: Chuck SmileyRekiere Date: Mon, 29 Nov 2021 11:59:19 -0700 Subject: [PATCH] test_l3_longevity.py added comments for the layer3_cols flags lf_qa.py comments updates for sub-tests Signed-off-by: Chuck SmileyRekiere --- py-scripts/test_l3_longevity.py | 142 ++++++++++++++++++++++++++++++++ py-scripts/tools/lf_qa.py | 4 + 2 files changed, 146 insertions(+) diff --git a/py-scripts/test_l3_longevity.py b/py-scripts/test_l3_longevity.py index fa87a8f1..b641f4c8 100755 --- a/py-scripts/test_l3_longevity.py +++ b/py-scripts/test_l3_longevity.py @@ -2517,6 +2517,148 @@ Setting wifi_settings per radio use-bss-transition | 0x80000000000 # Enable BSS transition. disable-twt | 0x100000000000 # Disable TWT mode +=============================================================================== + ** FURTHER INFORMATION ** + Using the layer3_cols flag: + + Currently the output function does not support inputting the columns in layer3_cols the way they are displayed in the GUI. This quirk is under construction. To output + certain columns in the GUI in your final report, please match the according GUI column display to it's counterpart to have the columns correctly displayed in + your report. + + GUI Column Display Layer3_cols argument to type in (to print in report) + + Name | 'name' + EID | 'eid' + Run | 'run' + Mng | 'mng' + Script | 'script' + Tx Rate | 'tx rate' + Tx Rate (1 min) | 'tx rate (1 min)' + Tx Rate (last) | 'tx rate (last)' + Tx Rate LL | 'tx rate ll' + Rx Rate | 'rx rate' + Rx Rate (1 min) | 'rx rate (1 min)' + Rx Rate (last) | 'rx rate (last)' + Rx Rate LL | 'rx rate ll' + Rx Drop % | 'rx drop %' + Tx PDUs | 'tx pdus' + Tx Pkts LL | 'tx pkts ll' + PDU/s TX | 'pdu/s tx' + Pps TX LL | 'pps tx ll' + Rx PDUs | 'rx pdus' + Rx Pkts LL | 'pps rx ll' + PDU/s RX | 'pdu/s tx' + Pps RX LL | 'pps rx ll' + Delay | 'delay' + Dropped | 'dropped' + Jitter | 'jitter' + Tx Bytes | 'tx bytes' + Rx Bytes | 'rx bytes' + Replays | 'replays' + TCP Rtx | 'tcp rtx' + Dup Pkts | 'dup pkts' + Rx Dup % | 'rx dup %' + OOO Pkts | 'ooo pkts' + Rx OOO % | 'rx ooo %' + RX Wrong Dev | 'rx wrong dev' + CRC Fail | 'crc fail' + RX BER | 'rx ber' + CX Active | 'cx active' + CX Estab/s | 'cx estab/s' + 1st RX | '1st rx' + CX TO | 'cx to' + Pattern | 'pattern' + Min PDU | 'min pdu' + Max PDU | 'max pdu' + Min Rate | 'min rate' + Max Rate | 'max rate' + Send Buf | 'send buf' + Rcv Buf | 'rcv buf' + CWND | 'cwnd' + TCP MSS | 'tcp mss' + Bursty | 'bursty' + A/B | 'a/b' + Elapsed | 'elapsed' + Destination Addr | 'destination addr' + Source Addr | 'source addr' + + Using the port_mgr_cols flag: + '4way time (us)' + 'activity' + 'alias' + 'anqp time (us)' + 'ap' + 'beacon' + 'bps rx' + 'bps rx ll' + 'bps tx' + 'bps tx ll' + 'bytes rx ll' + 'bytes tx ll' + 'channel' + 'collisions' + 'connections' + 'crypt' + 'cx ago' + 'cx time (us)' + 'device' + 'dhcp (ms)' + 'down' + 'entity id' + 'gateway ip' + 'ip' + 'ipv6 address' + 'ipv6 gateway' + 'key/phrase' + 'login-fail' + 'login-ok' + 'logout-fail' + 'logout-ok' + 'mac' + 'mask' + 'misc' + 'mode' + 'mtu' + 'no cx (us)' + 'noise' + 'parent dev' + 'phantom' + 'port' + 'port type' + 'pps rx' + 'pps tx' + 'qlen' + 'reset' + 'retry failed' + 'rx bytes' + 'rx crc' + 'rx drop' + 'rx errors' + 'rx fifo' + 'rx frame' + 'rx length' + 'rx miss' + 'rx over' + 'rx pkts' + 'rx-rate' + 'sec' + 'signal' + 'ssid' + 'status' + 'time-stamp' + 'tx abort' + 'tx bytes' + 'tx crr' + 'tx errors' + 'tx fifo' + 'tx hb' + 'tx pkts' + 'tx wind' + 'tx-failed %' + 'tx-rate' + 'wifi retries' + + Can't decide what columns to use? You can just use 'all' to select all available columns from both tables. ''') diff --git a/py-scripts/tools/lf_qa.py b/py-scripts/tools/lf_qa.py index b309cad8..1513c069 100755 --- a/py-scripts/tools/lf_qa.py +++ b/py-scripts/tools/lf_qa.py @@ -392,6 +392,10 @@ class csv_sql: print("test_rig_list: {}".format(test_rig_list)) # TODO determin the subtest pass and fail graph + # df is sorted by date oldest to newest + # get the test_run for last run + # query the db for all pass and fail or last run + # put in table # create the rest of the graphs for test_rig in test_rig_list: