Commit Graph

  • ffacc6dde3 regression_test: ADd debug to three commands Matthew Stidham 2022-01-18 16:45:23 -08:00
  • 9c5223637f Revert "regression_test: Add debug to three more commands": Broke debugging Matthew Stidham 2022-01-18 16:43:37 -08:00
  • f0694033dd StationProfile.create: Pretty print out current ports as soon as function starts when debug is on. Matthew Stidham 2022-01-18 15:12:39 -08:00
  • 27f24bf2bd regression_test: Add debug to three more commands Matthew Stidham 2022-01-18 14:02:24 -08:00
  • cc3d02a577 test_l3_longevity: Don't use a stand-in variable for args.debug. Call it directly Matthew Stidham 2022-01-18 14:01:11 -08:00
  • 4e4276002f LFUtils: Replace nc_show_ports with show_ports in wait_until_ports_appear to enable caching Matthew Stidham 2022-01-18 12:15:03 -08:00
  • e709fd711c station_profile: Remove unused import Matthew Stidham 2022-01-18 11:41:23 -08:00
  • d6db3d0a2d station_profile: Remove unused arguments and make station_mode_to_number static Matthew Stidham 2022-01-18 10:13:50 -08:00
  • f4ddf7010b station_profile: Fix whitespace Matthew Stidham 2022-01-18 10:13:03 -08:00
  • d824dc0116 station_profile: Massively improve debug information so we have a better idea when scripts fail Matthew Stidham 2022-01-14 10:35:55 -08:00
  • 0438e6f7db create_l3_stations: declare the function has begun in debug, use correct grammar at the end of the function Signed-off-by: Matthew Stidham <stidmatt@gmail.com> Matthew Stidham 2022-01-14 10:31:58 -08:00
  • c950789af6 l3_cxprofile: Declare the beginning of l3_cxprofile.create when it starts when debug is turned on Signed-off-by: Matthew Stidham <stidmatt@gmail.com> Matthew Stidham 2022-01-14 10:30:19 -08:00
  • 642aab2dd4 LFUtils.wait_until_ports_disappear: remove ports if they still exist. LFUtils.wait_until_ports_appear: Improve debug by printing existing stations and adding more information to debug string Matthew Stidham 2022-01-14 10:26:56 -08:00
  • 24f7a64092 regression-test: if exit on error is 0, run the test Matthew Stidham 2022-01-12 12:29:12 -08:00
  • 0563d0bb46 regression_test: bash varibles need to be in curly braces Matthew Stidham 2022-01-12 12:24:59 -08:00
  • 739b12d8e1 regression_test: Add exit on error flag Matthew Stidham 2022-01-12 12:19:00 -08:00
  • d6060dbe5c station_profile: Improve debug output when creating stations to make it more legible Matthew Stidham 2022-01-12 12:06:10 -08:00
  • a13f8260d2 http_profile.py: update ftp feature for hard-code resource and upstream-port Scott Wedge 2022-01-12 13:07:25 -06:00
  • c7ae54338e regression_test: Name log from gui log as gui_log.txt Matthew Stidham 2022-01-12 09:06:13 -08:00
  • 530551dd48 regression_test: Save LANforge logs to logging directory Matthew Stidham 2022-01-11 14:14:55 -08:00
  • 95777f8b31 scenario.py: Print existing ports at the end of the test when debug is turned on Matthew Stidham 2022-01-11 13:21:40 -08:00
  • 6c8e2dd9cb regression_test: Append scenario.py output to STDOUT file Matthew Stidham 2022-01-11 13:19:43 -08:00
  • aa5b4b14ef regression_test: log_filter isn't ready for production Matthew Stidham 2022-01-11 10:53:55 -08:00
  • f53050bb3d test_l3_unicast_traffic_gen: Add comment clearly stating what pre_cleanup does Matthew Stidham 2022-01-10 19:46:55 -08:00
  • 6933884f70 test_l3_unicast_traffic_gen: Add comment explaining why we remove any existing br0 at the beginning of the test Matthew Stidham 2022-01-10 19:41:39 -08:00
  • 8ad0da6651 test_l3_unicast_traffic_gen: add pre_cleanup function Matthew Stidham 2022-01-10 17:42:27 -08:00
  • 50bd38aa1d test_l3_unicast_traffic_gen: Explicit is better than implicit. Don't pass in self.resource when it isn't a flag in the argument. Don't use positional flags. Matthew Stidham 2022-01-10 15:46:24 -08:00
  • 0ac894d599 regression_test: Grab run_client and run_mgr log files Matthew Stidham 2022-01-10 14:13:32 -08:00
  • 3467b5c13d regression_test: Cleanup log files so we only have the text which is relevant to the test which just ran Matthew Stidham 2022-01-10 13:07:55 -08:00
  • bfed01c138 log_filter: Make log_filter executable Matthew Stidham 2022-01-10 13:01:53 -08:00
  • a8dbc480d0 log_filter: Initial Commit, filter a LANforge log file by timestamp Matthew Stidham 2022-01-10 12:58:11 -08:00
  • 6791c2e3e8 ct_us_xxx_rig.json : updated email list Chuck SmileyRekiere 2022-01-07 14:14:24 -07:00
  • d8fa486d13 regression_test: run in virtual environment if virtual environment exists Matthew Stidham 2022-01-07 10:50:26 -08:00
  • b54e12e623 create_wanlink: Improve logic, if X is not None is non-pythonic and can create major problems. if X is safer Matthew Stidham 2022-01-07 10:20:54 -08:00
  • 476b019f0a create_wanlink: Dead code removal Matthew Stidham 2022-01-07 10:19:46 -08:00
  • 3a24c0f00d gen_cxprofile: using if not None can open traps which will spring at us randomly. Improve logic Matthew Stidham 2022-01-07 10:14:58 -08:00
  • 10dc719e26 lf_report_test: Remove unused imports Matthew Stidham 2022-01-07 09:45:13 -08:00
  • 9212fc19fd ct_us_XXX_tests.json : --stations is not needed for wifi capacity tests, This may have prevented the tests from completing on media tech and ax210 Chuck SmileyRekiere 2022-01-07 06:29:34 -07:00
  • cf32498e0f scenario.py: Check if 'phantom' is in port.keys() before the query Matthew Stidham 2022-01-06 15:17:54 -08:00
  • f1bb25aa2f scenario.py: Improve is_port_phantom logic in case there are two ports with one name in the output Print out the name of the port which is phantom (if applicable) Matthew Stidham 2022-01-06 14:57:03 -08:00
  • 381ae85172 regression_test: Make a simpler call for the beginning of function test() when we call scenario.py Matthew Stidham 2022-01-06 14:56:23 -08:00
  • f5f29ea9ee regression_test: fix using = in python argparse argument error Matthew Stidham 2022-01-06 14:22:22 -08:00
  • c31fb26d20 scenario.py create are_any_ports_phantom and is_port_phantom functions Matthew Stidham 2022-01-06 13:34:29 -08:00
  • 58a6dd07cb regression_test: simplify start_tests and add logic for checking ports in scenario.py Matthew Stidham 2022-01-06 13:34:04 -08:00
  • d667912bca regression_test: Fix links to logging directories Matthew Stidham 2022-01-06 11:54:06 -08:00
  • 164a58a723 regression_test: we only need to mkdir log_dir/name once, so I removed it on line 548 Matthew Stidham 2022-01-06 10:50:53 -08:00
  • bc608b913c regression-test: logging links need to point to sub directory Matthew Stidham 2022-01-06 09:52:59 -08:00
  • f26c994880 regression: tail needs a lowercase n, not an uppercase n to grab the last n lines Matthew Stidham 2022-01-06 09:18:03 -08:00
  • f12a85fc9b regression_test: Simplify logic to store logging information by writing it only once Matthew Stidham 2022-01-05 17:47:16 -08:00
  • 17d8a7c12e scenario: Log "Starting Scenario" Every time scenario.py runs. This allows us to filter logging files for better debug information Matthew Stidham 2022-01-05 17:40:51 -08:00
  • a2931eea9e regression_test: Record log information about failed tests to LANforge device, search for Starting Scenario string which is automatically logged by scenario.py Matthew Stidham 2022-01-05 17:39:49 -08:00
  • 9dc92b3763 regression_test: Fix regression test logs address logic Matthew Stidham 2022-01-05 15:56:46 -08:00
  • 3a9357142b regression_test: else statements don't require the word then, fix my bash mistake Matthew Stidham 2022-01-05 14:56:51 -08:00
  • 7076c08a3e regression_test: save error logs to folder if a test fails and link to that folder in the regression report Matthew Stidham 2022-01-05 14:52:13 -08:00
  • 19dc262e51 regression_test: Add VAP_SSID argument for tests which create a VAP Matthew Stidham 2022-01-05 11:54:58 -08:00
  • 72febfd9c1 Revert "Revert "scenario.py: Move get_events and find_new_events to Realm"" Matthew Stidham 2022-01-05 08:39:44 -08:00
  • 89a1656e4a Revert "Revert "realm.Realm: Move get_events and find_new_events methods from scenario.py to realm"" Matthew Stidham 2022-01-05 08:39:33 -08:00
  • b6cd3113b0 realm: Update wait_until_ports_appear method to pass timeout Matthew Stidham 2022-01-04 12:20:44 -08:00
  • 1593da85a5 LFUtils: add sec_elapsed and timeout to wait_until_ports_appear Matthew Stidham 2022-01-04 12:20:01 -08:00
  • 2d16517da8 test_l3_longevity.py : pep8 Chuck SmileyRekiere 2022-01-05 11:02:31 -07:00
  • 6c0e499938 test_l3_longevity.py : examples now show shelf.resource.radio for stations and upstream ports. Chuck SmileyRekiere 2022-01-05 10:56:12 -07:00
  • 387d7ff71b ct_us_001_tests.json, ct_us_004_tests.json : consistent number of 2g and 5g radios in ap_auto tests based on radios 802.11 support. Chuck SmileyRekiere 2022-01-05 06:57:09 -07:00
  • 474cc09811 ct_us_002_tests.json : consistent number of 2g and 5g radios in ap_auto tests updated 2g max_stations to 4 Chuck SmileyRekiere 2022-01-05 06:41:43 -07:00
  • 817aa9bab6 ct_us_scripts.json : disable test_l3_powersave_traffic hardcodes station to 149 , until that is fixed. Chuck SmileyRekiere 2022-01-04 18:02:58 -07:00
  • 8c8b5279b4 regression_test.sh: adds meta tag to discourage browser caching Jed Reynolds 2022-01-04 12:07:56 -08:00
  • 44684df155 Revert "realm.Realm: Move get_events and find_new_events methods from scenario.py to realm" Breaks things This reverts commit 3cd8db24e2692ecdf11f61991b7975f0cc270713. Matthew Stidham 2022-01-04 09:34:51 -08:00
  • bfc51a6c7b Revert "scenario.py: Move get_events and find_new_events to Realm" Breaks things Matthew Stidham 2022-01-04 09:33:57 -08:00
  • 0a3ce42238 sta_connect2: Set station_profile.sta_prefix Matthew Stidham 2022-01-03 20:45:06 -08:00
  • 08b38b5044 scenario.py: Move get_events and find_new_events to Realm Matthew Stidham 2022-01-03 20:44:20 -08:00
  • 14295a3ec6 create_l3_stations: num_sta variable should always be accurate Matthew Stidham 2022-01-03 20:43:28 -08:00
  • 4de51da60c station_profile.create: rename my_sta_names to my_sta_eids Add in better debug for when stations do not appear properly Explicit PortNameSeries arguments Matthew Stidham 2022-01-03 20:41:25 -08:00
  • e29a86d7f4 realm.Realm: Move get_events and find_new_events methods from scenario.py to realm Matthew Stidham 2022-01-03 20:40:44 -08:00
  • a9e5ad3935 test_l3.py : autopep8 linting Chuck SmileyRekiere 2022-01-03 17:41:38 -07:00
  • a82d0b9673 test_l3.py : longevity was still in this script Chuck SmileyRekiere 2022-01-03 17:39:31 -07:00
  • b5fcfa133e regression_test: test_l3_unicast_traffic_gen: update arguments Matthew Stidham 2021-12-30 16:28:58 -08:00
  • b709834d25 test_l3_unicast_traffic_gen: Change inheritance to realm because we were using local_realm, and it was inheriting from LFCliBase. Its better to just inherit directly from Realm since Realm inherits LFCliBase Use the create_basic_argparse function from Realm so we have standard command line args instead of reinventing the wheel. Don't use the radio flag for something which is inherently different from what radio is used for in our other scripts, that was confusing. Signed-off-by: Matthew Stidham <stidmatt@gmail.com> Matthew Stidham 2021-12-30 16:26:29 -08:00
  • c900dc06b6 regression_test: add test_l3_unicast_traffic_gen to regression_test Matthew Stidham 2021-12-29 18:16:47 -08:00
  • a8663dae67 test_l3_unicast_traffic_gen: Fix regresisons by fixing the realm.wait_for_ip call Matthew Stidham 2021-12-29 18:05:21 -08:00
  • 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" Matthew Stidham 2021-12-29 13:14:53 -08:00
  • 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" Matthew Stidham 2021-12-29 13:14:37 -08:00
  • 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 Matthew Stidham 2021-12-29 12:19:55 -08:00
  • f149a3d461 LFUtils.wait_until_ports_admin_up: return True or false depending on if the test is successful or not Matthew Stidham 2021-12-29 12:18:32 -08:00
  • 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 Matthew Stidham 2021-12-29 12:16:31 -08:00
  • 749f611662 test_generic: Use auto-timeout for wait_for_ips. Ben Greear 2021-12-29 11:38:31 -08:00
  • 8446d8fc1b realm:wait_for_ip: re-write logic for correctness and debugging. Ben Greear 2021-12-29 11:36:15 -08:00
  • a8bd985119 LFUtils.wait_until_ports_disappear: Add timeout with default set to 360 seconds Matthew Stidham 2021-12-29 10:23:16 -08:00
  • 62ff764e13 LFUtils.wait_until_ports_admin_down: add timeout, defaulted to 360 seconds Matthew Stidham 2021-12-29 10:09:07 -08:00
  • 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 Matthew Stidham 2021-12-28 21:42:06 -08:00
  • 037210c049 LFUtils: remove unused variables Matthew Stidham 2021-12-28 14:18:53 -08:00
  • 2d8e5411a2 LFUtils: Fix docstrings so they have all arguments Matthew Stidham 2021-12-28 14:16:28 -08:00
  • f22109c884 test_generic: wait_for_ip will inherit debug status from the class Matthew Stidham 2021-12-28 14:10:46 -08:00
  • b279f44604 test_ip_variable_time: wait_for_ip needs to have debug match that of test_ip_variable_time Matthew Stidham 2021-12-28 14:07:58 -08:00
  • 5250be3c84 LFUtils.wait_until_ports_disappear: check for port statuses once per second Matthew Stidham 2021-12-28 14:01:14 -08:00
  • 0f54243be8 LFUtils: Cleanup whitespace Matthew Stidham 2021-12-28 13:55:24 -08:00
  • 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. Matthew Stidham 2021-12-27 15:28:38 -08:00
  • 47c49b57e5 regression_test: Run git pull --rebase at the beginning of the script, as a safety check Matthew Stidham 2021-12-27 13:50:47 -08:00
  • 5056a01e94 sta-scan-test: Allow using existing stations. Ben Greear 2021-12-25 15:23:17 -08:00
  • cd6e6b18b2 lfutils: let wait_until_ports_admin_up handle multiple resources. Ben Greear 2021-12-25 15:19:50 -08:00
  • 5ea8ff21a7 test_l4.py: update help output, text and whitespace updates Scott Wedge 2021-12-27 10:05:33 -06:00
  • 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. Chuck SmileyRekiere 2021-12-24 10:31:17 -07:00