Commit Graph

44 Commits

Author SHA1 Message Date
Chuck SmileyRekiere
a8b76143d5 lf_check.py : information in NA for lf_qa.py links
lf_qa.py : initial work reporting broken links

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-12-10 07:37:16 -07:00
Chuck SmileyRekiere
446e662d98 lf_qa.py : updated exception message
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-12-07 17:32:58 -07:00
Chuck SmileyRekiere
720147e802 lf_qa.py : updated exceptions to print out reasonable explantions
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-12-07 17:30:27 -07:00
Chuck SmileyRekiere
a563fe9d3e lf_check.py : added lf qa link to output report
lf_qa.py : removed None prior to sorting lists to prevent exceptions
ct_us_002_tests.json : updated test_l3_longevity.py test
report.css , reduced the size of copy button to 10 px to prevent jumping.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-12-06 07:09:04 -07:00
Chuck SmileyRekiere
dafc866b49 lf_qa.py : fixed check for empty list
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-12-04 08:11:00 -07:00
Chuck SmileyRekiere
2e16dada66 lf_qa.py support for subtest presentation.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-12-03 19:35:33 -05:00
Chuck SmileyRekiere
9a66e91fde test_l3_longevity.py added comments for the layer3_cols flags
lf_qa.py comments updates for sub-tests

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-11-29 15:20:41 -07:00
Chuck SmileyRekiere
55db4b8b96 test_l3_longevity.py : pass in the dut information
lf_qa.py : bug fix for serial number

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-11-19 13:35:12 -07:00
Chuck SmileyRekiere
7261a9f032 lf_qa.py : fixed paths in report when not running with a server
lf_check.py : added --server input and TEST_SERVER parameter

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-11-17 07:09:33 -07:00
Matthew Stidham
fb2652a9e8 lf_qa: Remove invalid comparisons
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-16 11:05:42 -08:00
Chuck SmileyRekiere
88e8517382 lf_qa.py added update_layout(autotypenumbers='convert types') plotly latest
version is updated so needed to treat numbers as objects.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-11-09 06:19:03 -07:00
Chuck SmileyRekiere
abe6a55cd8 lf_qa.py bug fix on parcing meta.txt files, fixes reporting for 5.4.3
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-17 10:53:26 -06:00
Chuck SmileyRekiere
dc23578063 ls_qa.py read test_run from meta.txt and if not present get test_run
from the location of the kpi.csv

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-11 11:50:33 -06:00
Chuck SmileyRekiere
c87ab357ec lf_qa.py : whitespace updates
Tested

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-08 18:07:33 -06:00
Chuck SmileyRekiere
6577f16ece lf_qa.py : line length update
Tested Script
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-08 17:42:05 -06:00
Chuck SmileyRekiere
a9526b2c9e lf_qa.py : white space changes
Tested updates
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-08 17:30:38 -06:00
Chuck SmileyRekiere
c4665ba67b lf_qa.py adjusted the frame height for the reports.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-08 17:13:59 -06:00
Chuck SmileyRekiere
7ae81b1cf2 lf_qa.py : update for percentage pass fail
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-08 16:56:46 -06:00
Chuck SmileyRekiere
faf6db0ae8 lf_qa.py : Subtest-pass Subtest-fail on placed in the html interactive graph
This is not the final place will figure out how to have in own graph.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-07 14:22:05 -06:00
Chuck SmileyRekiere
dc977e7b45 lf_qa.py : removed check for show as no longer supporting plotly dash
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-06 10:04:34 -06:00
Chuck SmileyRekiere
06beca75aa lf_qa.py removed dash components
1. removed the dash components as there will be a server for displaying
results and
2. copyied lf_qa.py version prior to updates to sandbox/lf_qa_dash.py

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-06 08:17:15 -06:00
Chuck SmileyRekiere
12d02af9b6 sta_scan_test.py : fixed imports
tip_station_powersave.py : added --help
lf_qa.py : fixed comments in help

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-27 16:29:14 -06:00
Matthew Stidham
36400e003d Making it so that lanforge-scripts can work if the repository isn't named exactly the same way
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-17 15:29:15 -07:00
erinnerim
1d7578251c Updates to import statements:
- Import importlib, os, and sys to each python script.
 - Append "lanforge-scripts" root directory to the system path, allowing each script to be called from an antecedent directory. e.g.
if 'lanforge-scripts' not in sys.path:
    sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../../../")))
 - All statements of the form 'from <module> import <class>' replace with:
<module> = importlib.import_module("lanforge-scripts.<directory>.<module>")
<class> = <module>.<class>
2021-09-15 16:17:16 -07:00
Chuck SmileyRekiere
3906d9e469 lf_check.py : separating out the test_dut information from the test_rig
information
ct_us_001.json : removed the dut specific information
ct_AX88U_dut.json : json specific to the ASUS dut
lf_qa.py : added comment on future feature

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-08 06:35:25 -06:00
Chuck SmileyRekiere
2fc27eac06 lf_qa.py : updates for if tests fail and kpi.csv not generate
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-21 22:03:14 -06:00
Chuck SmileyRekiere
32b8160daf lf_qa.py : more tweaks on reading the meta.txt file
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-21 20:07:47 -06:00
Chuck SmileyRekiere
d3c366cb2e lf_qa.py : update path for meta.txt when reading test-tag for Test Suite and
Suite summary

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-21 19:55:51 -06:00
Chuck SmileyRekiere
8b25bb3ac4 lf_qa.py : test-tag read from meta.txt for Test Suite and Suite Summary
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-21 19:47:34 -06:00
Chuck SmileyRekiere
2a233205c3 lf_qa.py : if the database column layout changes print error to stderr
with Error

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-21 18:56:10 -06:00
Chuck SmileyRekiere
b2fa1f59b2 lf_check.py , lf_qa.py : reading meta data for 5.4.3 test-tag
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-21 17:18:40 -06:00
Chuck SmileyRekiere
88b2b7b18a lf_qa.py : work around for exception if no test-tag while working though
meta data issues

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-21 12:56:54 -06:00
Chuck SmileyRekiere
1c80ac0a63 lf_qa.py : fixed database test_tag to test-tag
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-21 12:41:02 -06:00
Chuck SmileyRekiere
93b983d0cf lf_check.py : stored simplified version of LANforge in meta file
lf_qa.py : read test_tag from meta file

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-21 11:58:13 -06:00
Chuck SmileyRekiere
50daf7b798 lf_qa.py : output spacing for static report
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-16 16:09:40 -06:00
Chuck SmileyRekiere
e45e51a76e lf_qa.py : test for the correct dut information
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-15 22:19:30 -06:00
Chuck SmileyRekiere
28fbcb1e88 lf_qa.py : debug code for kpi.csv occasionally showing none in the database
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-15 21:20:50 -06:00
Chuck SmileyRekiere
1ee973e456 lf_qa.py : typo fix
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-15 20:36:53 -06:00
Chuck SmileyRekiere
d84e82cac1 lf_qa.py : dut to get the latest in the database, working with dictionaries
then convert. Need to update dynamic graphs need to reflect DUT information

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-15 08:15:47 -06:00
Chuck SmileyRekiere
57720fe1db lf_qa.py debug information on the DUT information
1. The naming for the empty DUT strings changed.  The DUT is taken from
the kpi, this is a step closer to a fix of wanting the latest DUT information
from the Database yet not full proof.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-15 06:49:34 -06:00
Chuck SmileyRekiere
956a6ddb43 lf_check.py , lf_qa.py : support for reporting mechanisms
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-14 17:10:35 -06:00
Chuck SmileyRekiere
99f9871ee2 lf_qa.py : debug for dut information
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-14 16:27:14 -06:00
Chuck SmileyRekiere
2a8e89c45c lf_qa.py : try except to indicate that the data base may have moved
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-13 06:35:18 -06:00
Chuck SmileyRekiere
7a3ec03bbf moved lf_qa.py from sandbox to tools
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-13 05:52:02 -06:00