Matthew Stidham
a8663dae67
test_l3_unicast_traffic_gen: Fix regresisons by fixing the realm.wait_for_ip call
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:45:32 +05:30
Matthew Stidham
e639ecf48f
Revert "realm.wait_for_ip: Simple is better than complex. Return True inside the while loop when the passing condition is met so we can remove three redundant variables"
...
This reverts commit 915292ca6238a258f969f3b2c037f12f06143324.
2022-07-12 15:45:32 +05:30
Matthew Stidham
d4c335c357
Revert "Realm.wait_for_ip: We only need to checik that stas_without_ips and stas_without_ip6s are equal to zero once, simplify code further"
...
This reverts commit ec74b97bae4dce3eaf1b856d1e9bd7d7d271c42d.
2022-07-12 15:45:32 +05:30
Matthew Stidham
ec7fcf1ec4
Realm.wait_for_ip: We only need to checik that stas_without_ips and stas_without_ip6s are equal to zero once, simplify code further
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:45:32 +05:30
Matthew Stidham
f149a3d461
LFUtils.wait_until_ports_admin_up: return True or false depending on if the
...
test is successful or not
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:45:32 +05:30
Matthew Stidham
63a9074f76
realm.wait_for_ip: Simple is better than complex. Return True inside the while loop when the passing condition is met so we can remove three redundant variables
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:45:32 +05:30
Ben Greear
749f611662
test_generic: Use auto-timeout for wait_for_ips.
...
And pass in debugging flag to the wait_until_ports_admin_up
method.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2022-07-12 15:45:32 +05:30
Ben Greear
8446d8fc1b
realm:wait_for_ip: re-write logic for correctness and debugging.
...
Check ipv6 and ipv4 independently of each other.
Auto-timeout check is moved to top of the method.
Improve debugging output.
Fix logic that attempted to print out all ports when
there is failure to find IPs for at least one of the ports.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2022-07-12 15:45:32 +05:30
Matthew Stidham
a8bd985119
LFUtils.wait_until_ports_disappear: Add timeout with default set to 360 seconds
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:45:32 +05:30
Matthew Stidham
62ff764e13
LFUtils.wait_until_ports_admin_down: add timeout, defaulted to 360 seconds
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:45:32 +05:30
Matthew Stidham
25ef58262b
realm.Realm.wait_for_ip: Improve debug output so that when a port is missing IP it will print out the name of the port
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:45:32 +05:30
Matthew Stidham
037210c049
LFUtils: remove unused variables
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:45:32 +05:30
Matthew Stidham
2d8e5411a2
LFUtils: Fix docstrings so they have all arguments
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:45:32 +05:30
Matthew Stidham
f22109c884
test_generic: wait_for_ip will inherit debug status from the class
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:45:32 +05:30
Matthew Stidham
b279f44604
test_ip_variable_time: wait_for_ip needs to have debug match that of test_ip_variable_time
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:45:30 +05:30
Matthew Stidham
5250be3c84
LFUtils.wait_until_ports_disappear: check for port statuses once per second
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:45:24 +05:30
Matthew Stidham
0f54243be8
LFUtils: Cleanup whitespace
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:45:24 +05:30
Matthew Stidham
fe9696f2d6
sta_connect: When querying for ports port,ip,ap, don't spout debug output when the port doesn't exist. The test runs whether this works or not.
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:45:24 +05:30
Matthew Stidham
47c49b57e5
regression_test: Run git pull --rebase at the beginning of the script, as a safety check
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:45:24 +05:30
Ben Greear
5056a01e94
sta-scan-test: Allow using existing stations.
...
Lots of changes to allow this script to scan on existing stations
on multiple resources.
Add --use_existing_station option.
Fix help to show how to properly specify multiple stations with
--sta_name
Comment out convoluted logic that tried to find radio info for stations.
This is not needed for any purpose that I can find, and it did not
allow me to specify sta_name with EID format.
Start scan on all stations, then do sleep time, then grab results.
This allows concurrent scanning on multiple resources/radios.
Print more info in text based output, add station resource and name
to output so we can decipher multiple radio output.
Add note about how .csv output is broken in this case, the logic
needs to be improved to append results for all stations and write a single file.
Add --scan_time argument to specify sleep time (defaults to 15 seconds
to match the original hard-coded value).
Signed-off-by: Ben Greear <greearb@candelatech.com >
2022-07-12 15:45:23 +05:30
Ben Greear
cd6e6b18b2
lfutils: let wait_until_ports_admin_up handle multiple resources.
...
Default to treat station list as list of EIDS, and use it's
shelf/resource info instead of using resource 1 by default.
Caller may still use resource_id=X if they wish too, and it
will work as it did previously.
Add loop timeout (default is 300 tries with 1-sec sleep, so 5+
minutes). This keeps the method from spinning forever if port
cannot come up.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2022-07-12 15:45:17 +05:30
Scott Wedge
5ea8ff21a7
test_l4.py: update help output, text and whitespace updates
...
Signed-off-by: Scott Wedge <wedges@candelatech.com >
2022-07-12 15:45:17 +05:30
Chuck SmileyRekiere
e86e2b19c1
test_l3_scenario_throughput.py : commented out ploting as ploting uses bokeh
...
the test was unmodified , and the xlsx report still generated. May need
to update test to support plotly.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:17 +05:30
Chuck SmileyRekiere
0810876412
ct_us_003_tests.json: ap_auto , one station per radio for AX and mdk
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:17 +05:30
Chuck SmileyRekiere
9f15163986
ct_us_XXX_tests.json: changed default connect time in AP tests to 500ms
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:17 +05:30
Chuck SmileyRekiere
254ce87563
ct_us_004_tests.json: have only basic connect ap test on nightly
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:17 +05:30
Chuck SmileyRekiere
6353e2c973
ct_us_002_tests.json: changed station count for 2.4g radions to be the number
...
of working 2.4g radios.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:17 +05:30
Chuck SmileyRekiere
3e5833e0a6
lf_check.py : add test suite to the title on html and pdf
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:17 +05:30
Matthew Stidham
a77b12e964
regression_test: Use BSSID variable wherever applicable in script
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:45:17 +05:30
Matthew Stidham
f5e87fb594
regression_test: Always use the mgr flag when runnin scenario.py
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:45:17 +05:30
Matthew Stidham
71c15f4a8c
test_ipv4_ps: On pre-cleanup, do not trigger an error if the port doesn't exist
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:45:17 +05:30
Chuck SmileyRekiere
a6c528d72d
lf_qa.py : test list for subtests did not need to re-sort the list, the
...
data was previously ordered by date.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:17 +05:30
Chuck SmileyRekiere
96e85056a6
station_profile.py removed ERROR for stations list being empty when cleaning
...
up, it is informational.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:17 +05:30
Chuck SmileyRekiere
51759446b6
cv_to_grafana.py: cv_base_adjust_parser is resolved in cv_test_manager
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:17 +05:30
Chuck SmileyRekiere
e854fe6a3f
ct_us_XXX_tests.json : no dual band radios to test band stearing according to
...
ap_auto test
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:17 +05:30
Chuck SmileyRekiere
e3c2a2b565
ct_us_XXX_tests.json: updated ap_auto timeout for basic connect to 20 min
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:17 +05:30
Chuck SmileyRekiere
a6f7af38a3
ct_us_002_tests.json : fixed the expected number of 2.4Ghz connections
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:16 +05:30
Chuck SmileyRekiere
a66c74ef08
ct_us_XXX_tests.json : changed timing for ap_auto basic connect to 900 seconds
...
15 min
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:16 +05:30
Matthew Stidham
5e292861e9
to_pip.sh: put wifi_monitor conversion in the right spot in the script
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:45:16 +05:30
Matthew Stidham
1a3ebcd190
to_pip: importlib correction for wifi_monitor_profile
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:45:16 +05:30
Matthew Stidham
0bd93fc4d5
to_pip: Import improvements which stabilize our library
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:45:16 +05:30
Chuck SmileyRekiere
72c7bed99d
ct_us_XXX_tests.json: added --raw_line to the ap_auto to set the cx_psk_thresh:
...
to 300. Added ap_auto basic connect test to help begin to debug cv tests
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:16 +05:30
Chuck SmileyRekiere
42cd9507dc
cv_test_manager.py : removed print statement for Not reporting to kpi file
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:11 +05:30
Matthew Stidham
fe86aa5724
to_pip.sh: Fix improper import
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:44:27 +05:30
Matthew Stidham
76c266f21d
test_ipv4_ps: Inherit directly from realm, local_realm is unstable
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:44:27 +05:30
Matthew Stidham
503b3d4384
test_l3_powersave_traffic: Finish removing local_realm from test_l3_powersave_traffic
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:44:27 +05:30
Matthew Stidham
694d22c85e
asus_ap: Fix whitespace
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:44:27 +05:30
Matthew Stidham
f7766e8de9
lf_dfs_test: Cleanup whitespace
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:44:27 +05:30
Matthew Stidham
53f6501b10
test_l4.py: Better to just inherit directly from realm rather than using local_realm
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:44:27 +05:30
Matthew Stidham
884bf29231
test_l3_powersave_traffic: local_realm is unstable, better to just inherit directly from realm
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2022-07-12 15:44:27 +05:30