Commit Graph

3309 Commits

Author SHA1 Message Date
Chuck SmileyRekiere
53e73379c6 lf_report.py : logger information added to lf_report.py
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
36ef2a7622 lf_tx_power.py : updated header information in xlsx to include AP for xlsx
ct_9136_tx_power_test.json - updated Notes in json
2022-07-12 15:46:16 +05:30
Jed Reynolds
c27c2cea79 report.css: comes in line with btbits report.css
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
e9b67baa43 lf_tx_power.py : separate out 5g similiar to 6g
ct_9136_tx_power_tests.json :

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Jed Reynolds
028e72f279 report.css: better drop shadow bg color for report header
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2022-07-12 15:46:16 +05:30
Jed Reynolds
68783439c1 report.css: adds drop shadow to logo in report header
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2022-07-12 15:46:16 +05:30
Jed Reynolds
e22611b3b0 lf_report.py: makes header more consistent with ScriptReport.java
- removes hard coded spacing using BRs
- corrects h4 styling
- report.css styling will allow three rows of H1 before shoving date out of the header

Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
3a72d52609 lf_tx_power.py : revised antenna gain in calculation
ct_9136_tx_power.test.json : added --create_station to batch tests, removed
batch from override of channel, nss, bandwidth, tx_power

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
f9770fcf39 ct_9136_tx_power_tests.json : added --no_station_cleanup
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
5a929817e4 ct_9136_dut.json moved to ct_dut_json
ct_9136_WLC1_lanforge.json moved to ct_rig_json
ct_9136_tx_power_tests.json moved to ct_tests_json

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
aae76e0383 ct_9136_tx_power_tests.json : update tests for 24g, 5g, 6g
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Jed Reynolds
a7e859e98c report.css: fixes Scale Test score-card and report-card display
- report card font size is made much smaller
- adds css encouragement to repeat table headers across page breaks
- tries to solve the very wide table problem
- for PDF, forces contentDiv far left to allow tables to not get right side columns clipped off

Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2022-07-12 15:46:16 +05:30
Jed Reynolds
a8cd8b12b4 updates report.css to have color combinations for particular results
These are done with chained css classes, and to add specificity to them they actually require no spaces in the selector.

Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2022-07-12 15:46:16 +05:30
Jed Reynolds
609cc300de artifacts: report.css brought up to parity with btbits report.css
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2022-07-12 15:46:16 +05:30
Scott Wedge
d50996545b lf_cleanup.py: add ability for variable resources, flake8
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
f8f39ae188 lf_tx_power.py : added header for the test
ct_9136_tx_power_test.json : udpated tests

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Scott Wedge
2bd3285de5 test_l4.py: add logger statements, modify default test length value
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
d07946133e sta_connect.py : added staConnect.exit_fail(), staConnect.exit_success()
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
fb46a2ea64 test_l4.py : updated to ip_test.exit_fail()
test_l3.py : added exit_fail(), exit_success()

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
bf0570fcf1 test_l4.py : updated to use lfcli_base.py exit_success() and exit_fail()
logic

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
b6ee7a731c *.json : moved to ct_test_json, ct_rig_json, ct_dut_json
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
a3a9fd4afd ct_dut_json: created directory
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
2856590adf test_l3_longevity.py : prints to logger functionality.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Nikita Yadav
cdf7b90d1f lf_pcap.py: filter ption to get_status_code method and get_packet_info 2022-07-12 15:46:16 +05:30
Scott Wedge
0dcd5d51bd lf_cleanup.py: add variable resource cleanup to sta,sanitize,br,and misc
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:16 +05:30
Scott Wedge
bbb9a4adce lf_cleanup.py: add back loop iterations, add port-type to bridge_clean
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:16 +05:30
Scott Wedge
5ea4d6148f lf_cleanup.py: modify while loop logic in functions
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:16 +05:30
Ben Greear
8c68811228 csv-convert: Tweak output to meet customer's goals.
Remove some columns from the bottom section, add 'Mean' to column in top
section.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
b1ca68ed39 lf_check.py : corrected return code logic
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Scott Wedge
a06a6cf66c lf_cleanup.py: add logger module, add --sanitize command switch logic
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
b695d916b0 lf_check.py : checks for script return codes, individual messages for 1 script
reported failure , 2 argument failure, if 0 then check logs for error messages
anything else print out the return code.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
b0a9d764f6 test_l3.py : changed wifi_setting_keys not enabled to info from error
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
43c6fc72a4 ct_us_001_test.json : removed --ap_read and --ap_test_mode from test json
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
f0c7d21503 lf_check.py : read out the script return code.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
cabed1cea7 lf_check.py : added check for IndexError. Comment where to check the script
output.
ct_us_001_tests.json : updated for test_l3.py

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
45d7790f35 sta_connect2.py : added exit(1) for fail, exit(0) for pass
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
fcf7c22bc9 sta_connect2.py : wkhtmltopdf not working on windows ,
check platform.system() if 'Linux' then generate the pdf.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
c6a8627240 l3_cxprofile.py : added quiesce_cx option to allow the cx to drain then stop
realm.py : added drain_stop_cx (could not get quiesce_cx name to work)
test_l3.py : added quiesce_cx

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Ben Greear
309e2411d2 csv-parser: Support joining two csv files.
So that we can get beacon RSSI and phy-rate info.
2022-07-12 15:46:16 +05:30
Ben Greear
8d8313e9d0 csv-convert: Add additional phy-rate columns requested by customer.
To get the new values, you need to parse the text-csv-0.csv file
since it holds the phy-rate info.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
4ec17a26f1 test_l3.py : autopep8
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
0356f5f9b2 test_l3.py : port supports ul and dl rx drop %, added ata start offset
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
62b335d4e9 test_l3.py : added --sta_start_number, --no_pre_cleanup --no_cleanup , --no_stop_traffic
so tests runs may be additive.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
anil-tegala
80e07bceb9 methods added to get status code and to get pcap info 2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
d5f1799cfd test_l3.py : comments and logging updates
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
e97052f46c sta_connect2.py : moved the args.debug prior to the lf_logger_config_json
as json config will take presidence

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
17254d65a6 lf_atten_mode_test.py : the script does not need --port except that the script
inherits from Realm which requires a port.  the --port in the script conflicted
with the base args parser so the base args parser will be used.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
87291c7803 ct_us_004_tests.json update the nightly script for ap_auto
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Scott Wedge
497c16a93d sta_connect2.py: add test ability for resource greater than 1
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:16 +05:30
Scott Wedge
bb65003775 sta_connect2.py: fix end-of-test cleanup
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:16 +05:30