aboutsummaryrefslogtreecommitdiffstats
path: root/testopia_update
AgeCommit message (Collapse)Author
2017-11-15testopia_update/product: Correct issues when creating wiki by avoiding use ↵Jose Perez Carranza
plan_id Correct issues when creating a wiki due plan_id is set to None and this is causing failures t moment to do the query on Tstopia DB. Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
2017-11-07testopia_update: Fix clone templates processJose Perez Carranza
Fix an issue when cloning templates that requires an integer conversion and also an identetaion that cause problems on behavior of the script. Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
2017-07-04utils/wikimaker: Add default valuesJose Perez Carranza
Add default values for section of “performance” and “pTest” to avoid use old data on new reports. Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
2017-07-04poduct/init: Add support for PackageManagement componentJose Perez Carranza
Create package_management_issues.py product and add support to use this product on init file. Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
2017-06-12testopia_update/utils: Add utils directoryJose Perez Carranza
Add utils directory to be used as the repository for different utilities -wikimaker.py : scripts that creates the wiki report data saves it to the data inside a file to be copied on the already created wiki page Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
2017-06-12poduct/init: Add functions to get product and environment namesJose Perez Carranza
Add functions as follows: - get_test_plan_by_id : Get test plan providing the plan ID - get_product_name: Get product name providing the product ID - get_environment_by_id: Get environment providing the environment ID Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
2017-06-02testopia_update: Add functionality to list templatesJose Perez Carranza
Add support to list available templates per specific releases Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
2017-05-29init: Add functionality to clone templatesJose Perez Carranza
Add “clone_template” function that allow cloning in the same branch or for X to Y branch, also add “get_test_run_list” to do a query of test runs with specific summary and specific test plan. Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
2017-03-08testopia_update: Improvements on update action functionalityJose Perez Carranza
Some improvements were applied when using option action=create : - Create a new option to update test runs by ID - Create functions to load results and update test run - Add warning to use –testrun-id - Improvements to update_test_run using exiting data of test run - Create function get test run details by ID - Create Dummy product to use on cases when specific product is not relevant Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2017-03-07testopia_update: Add option to define test planJose Perez Carranza
There are cases where the test plan and the product name are not equal hence an option is added to handle those cases and define the test plan to work on. Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2017-02-24testopia_update: Add suppor for Testopia productsJose Perez Carranza
Add a list of supported products currently available on Testopia Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2017-02-24testopia_update/product: Fix regex to match test case idJose Perez Carranza
Add space to the regex to match all the digits of the test case id Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2017-02-21testopia-update: Add suport for current format of templatesJose Perez Carranza
Currently the tempates has a format as below: TRTEMP_<RELEASE>_<MANUAL/AUTO>_<COMPONENT>_<OPTIONAL> Hence the logic was adapted to follow above structure and also a commit paramater was added to follow the format of build as follows: RELEASE MILESTONE_rc# Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2016-03-15testopia_update/product: Add update_test_run method and fix semanticsAníbal Limón
Add method update_test_run this calls parse_results method and then update the Test run according. Fix usage of product_{version, milestone} inside the script, now for build names the milestone and revision is used and don't canonicalize project_version. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2016-03-15testopia_update/product: Add method for parse results.Aníbal Limón
Add generic code for parse results of test cases, this method support custom regex specified by Product like Toaster one. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2016-03-15testopia_update/product/__init__.py: get_build fix comparision typeAníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2016-03-15testopia_update/product: Add Toaster product support.Aníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2016-03-14testopia_update.py: Action update add support for get test run.Aníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2016-03-14testopia_update.py: Add full support for create new test run.Aníbal Limón
Test run creation invovles discover the right template for clone and copy all the test runs associated with it. A helper function was added on external/testopia.py module for copy test cases. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2016-03-14testopia_update.py: Create add support for discover test runs.Aníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2016-03-10testopia_update: Add support for create environmentAníbal Limón
If user specify create action and not found a valid environment then create it. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2016-03-10testopia_update: Adds support for create/get builds.Aníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2016-03-09testopia_update: Add support for set/get environment by product.Aníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2016-03-07testopia_update: Add support for get test planAníbal Limón
In order to update test run a test plan discover is needed for add support to it the branch_name need to be specified. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2016-03-07testopia_update: Add modules support.Aníbal Limón
Now every product has it's own module associated, add a base class for Product's and BSP/QEMU product module. Remove ArgumentHandler now is handled by Product's based classes. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>