summaryrefslogtreecommitdiffstats
path: root/utils
AgeCommit message (Collapse)AuthorFilesLines
2016-05-24Add pod role in pod description in the APIMorgan Richomme2-5/+15
JIRA: FUNCTEST-259 Change-Id: Id0c232f61244a185c7ab238d6493ef5487a9efbf Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-23Add dependency to futures lib in READMEMorgan Richomme1-0/+1
Change-Id: Ifc0cc69a7b275248ddadcc37d892bb19efc34e12 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-20add unittests for testcase and refactor testcase related implementationSerenaFeng8-196/+404
modification: add unittests for testcase refactor testcase table name in db to testcases refactor response body fix some bugs JIRA:FUNCTEST-254 Change-Id: Ia7c7101fa742af82bfc8c4a3d398a7dad601bca1 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-19Forget conf file...Morgan Richomme1-0/+17
Change-Id: I85261ec5fcbe59db2e67f8347d2babb082454e14 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-19Adapt reporting after Functest refactoringMorgan Richomme7-285/+405
Get test cases from cases declares in Tiers Consider only Tier 0-3 to validate scenario Display results for Tier > 3 Change-Id: I581702bd7f2cc323d38b82a2404b301fb8fd7840 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-19add unittests of project & refactor responseSerenaFeng11-316/+440
post body: {'href':'<http://ip:8000/pods/pod_name >'} get body: Pod/Project list body: list of Pod/Project update body: Pod/Project delete: no body JIRA: FUNCTEST-253 Change-Id: I28c6f5b35d8909d827f2f803197d95be4abd44bb Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-18Merge "add pod related unittests in testAPI"Morgan Richomme7-39/+250
2016-05-18add pod related unittests in testAPISerenaFeng7-39/+250
unittest for create/get/list pod in testAPI project JIRA: FUNCTEST-252 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn> Change-Id: Ifedb4715abffda20c93284ef58cd93f584879af8 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-17make run_test executable in repoMorgan Richomme1-0/+0
Change-Id: If855e03df16d4786af6274c5b9c234fbef480278 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-17add unittest framework for supporting unittest in testAPISerenaFeng8-0/+259
usage is shown in utils/test/result_collection_api/README.md JIRA: FUNCTEST-251 Change-Id: I788417e296c153cc485f4a4064697bdafc394e5b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-13tornado_swagger_ui support query operation in "GET" method, and support ↵SerenaFeng7-18/+167
methods in model query: GET /item?property1=1&property2=1 methods in model: @swagger.model() class Item: def format_http(self): pass @staticmethod def item_from_dict(item_dict): pass @classmethod def test_classmethod(cls): pass JIRA: FUNCTEST-250 Change-Id: I12f937c4d2f64f93dc1194a8ad982e8b7ff21b7c Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-12support list property in tornado_swagger_uiSerenaFeng3-23/+116
list property will be declared in format '@ptype property4: C{list} of L{PropertySubclass}' JIRA: FUNCTEST-248 Change-Id: I3ee31389f1eab39cc9f621cbab006f0a8764c8ca Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-11integration of tornado and swagger-uiSerenaFeng36-0/+11632
this code will be applied to testApi later, as regards how to use it, please refer utils/test/result_collection_api/tornado_swagger_ui/README.md JIRA: FUNCTEST-247 Change-Id: Ie40e125846add7ceda15f05a38232dc8813b8f29 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-04fix config path after refactoringMorgan Richomme1-1/+1
Change-Id: Idb4d9d978c89ae8bc590ca9f938b756118c5e26a Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-04Add global scenario reportingMorgan Richomme4-9/+68
Save date when a scenario is validated Change-Id: I0895ae56812c7059972a60bf017fdb76d40de25c Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-03Docker, change BASE_VERSION to brahmaputra.3jose.lausuch1-7/+8
return ${BASE_VERSION}.0 if ${BASE_VERSION} does not exist (first time) Change-Id: I96654834099c9f806ce8aec8571a755dc803e1e9 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-29Add trust indicator fieldMorgan Richomme2-4/+26
JIRA: FUNCTEST-165 Change-Id: Ic79f528f27dd28b6781ddd3300743ba691a8c085 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-04-26Improve code quality (flake8)Morgan Richomme1-7/+11
Change-Id: Id58236ab080bc7dd5d9d7b98c4a0fce27ee1b7ad Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-04-26Functest reporting refactoringMorgan Richomme12-83/+84
integrate the notion of version (brahmaputra, master, ..) change dir structure Change-Id: Ieb8aed811ed4e1ab8738fb02e4db411da3d07ca2 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-04-21Merge "bug fix: Rally duration not correct due to result format change"Morgan Richomme1-11/+17
2016-04-20bug fix: Rally duration not correct due to result format changeMorgan Richomme1-11/+17
JIRA: FUNCTEST-207 Change-Id: I04892271008a8a7130dbaf39757ab3039167602e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-04-20Fuel: add functest job on arm-pod1Ciprian Barbu1-2/+2
Change-Id: I3703e0bde8b712d7c9b90621cc7ee1a44340076b Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
2016-03-30added ELK scripts for porting data from mongo to elasticsearch and managing ↵Juraj Linkes4-0/+1351
kibana dashboards Change-Id: I9edbc1535f6f9c4ca4dc8b4871a04c2ed6d1969e Signed-off-by: Juraj Linkes <jlinkes@cisco.com>
2016-03-28Merge "Complete reporting status, process the scenario and get success criteria"Morgan Richomme2-68/+198
2016-03-25Complete reporting status, process the scenario and get success criteriaMorgan Richomme2-68/+198
Change-Id: Iaf5292293aec877f94e9cdec80519a680fef6718 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-03-23Adding a fix needed for Fuel virtual deploymentJonas Bjurel1-3/+11
NOT VERIFIED Change-Id: Iabe82f34c6a538646469d72e612f63e51917ae98 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2016-03-23Merge "Create Releng Job for Generating Artifact JSON API"Aric Gardner1-0/+244
2016-03-23Merge "jenkins-jnlp-connect.sh: monit config file was always updated"Aric Gardner1-2/+2
2016-03-17Add scenario and criteria field in the Test result object of the test APIMorgan Richomme2-2/+20
scenario will be used for OPNFV scenario (currently using version field) criteria will be passed or failed to give an immediate feedback on the test result status JIRA: FUNCTEST-151 Change-Id: Iff5eb66bbf0cfbaafec0c3a6211031f6eb83c34f Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-03-17Merge "Add automatic status reporting Show last scenario run + ↵Morgan Richomme9-7/+329
sun/cloud/storm dynamically"
2016-03-17Add automatic status reportingMorgan Richomme9-7/+329
Show last scenario run + sun/cloud/storm dynamically JIRA:FUNCTEST-151 Change-Id: I86eeb64f0dea842a71b0cba9dd1058d7fa876269 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-03-16Merge "docs: use venv"Ryota MIBU1-4/+12
2016-03-12Organization of reporting filesboucherv2-3/+3
Change-Id: I2761528ca988f10deb112aab567bfd0ee407d072 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-03-10jenkins-jnlp-connect.sh: monit config file was always updatedJosep Puigdemont1-2/+2
The jenkins-jnlp-connect.sh script will check whether a monit configuration file for jenkins exists. If it does, it will make sure the contents are correct according to the paramters provided in the command line. The check is made diffing the contents of the file with what is expected by the script. However the script compares the contents of the file against a string that is not exactly the same to what would be written to the file by the script, resulting in the check always failing, and the file being rewritten unnecessarily every time. Change-Id: I0b15195e9d667c11898942c92b39ef3fb053821d Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-03-10Add missing $ in bash script variableJosep Puigdemont1-1/+1
Change-Id: Iee61343d1ce838e4a2ff25a664b069f4278c5b78 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-03-10Merge "reorganization of Test folder in Releng"Morgan Richomme15-3/+4
2016-03-10Merge "Add automated reporting for Tempest"Morgan Richomme2-0/+188
2016-03-10reorganization of Test folder in RelengMorgan Richomme15-3/+4
Change-Id: I92b507105e820198691ab8b1c44e1011b983b849 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-03-09Create Releng Job for Generating Artifact JSON APITrevor Bramwell1-0/+244
'opnfv.org/artifacts' uses the index.json file generated by the opnfv-artifacts.py script to list artifacts generated by other OPNFV builds. This adds a Jenkins 'cronjob' for generating and uploading a JSON file to Google Storage containing links to the artifacts and their metadata. Change-Id: I3c40391b40e1e536d4c27e27d5621bf4bc4c00a3 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2016-03-09Change the way to detect monit configuration dirJosep Puigdemont1-3/+6
Instead of finding out the Linux distribution of the host, try whether one of the well known monit configuration directories exist, and use that. Change-Id: Ibb111661fb3a6ef8e4b4ef559b9a1d56599d59c8 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-03-09Add automated reporting for TempestMorgan Richomme2-0/+188
Change-Id: I3cc411c2d0d22a96333bf0b978ad8dd833744e8c Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-03-03Reporting dashboard for functestboucherv3-0/+230
Change-Id: I6a5fa0c8918c0d4a98754c38f3c33238a0132a39 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-02-29Add tempest success rate to calculate the % of success resultsMorgan Richomme1-0/+19
Change-Id: I38c76904648253601258e5a048ea6bc53821c313 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-02-29Merge "fix last spaces & tab"Morgan Richomme2-3/+3
2016-02-29bug fix: installer field no more available in result objectMorgan Richomme1-0/+1
Change-Id: I3562231f88ac16179d07e9a3a855f1dc114ada6d Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-02-26fix last spaces & tabMorgan Richomme2-3/+3
Change-Id: I15503bcdb1f5b046d2fbdb6a6b35ebbdd184fbc9 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-02-26Merge "Add jenkins build tag into result api"Morgan Richomme2-196/+205
2016-02-26Merge "Add POD visualisation"Morgan Richomme4-35/+80
2016-02-26Add jenkins build tag into result apiboucherv2-196/+205
Ex: jenkins-functest-compass-intel-pod8-daily-master-19 Change-Id: I336d3908d6d67ba7f995d0fc25b5404efd9b5cf5 JIRA: FUNCTEST-140 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-02-26Add POD visualisationCloud user4-35/+80
Change-Id: I4044c018fc3900615492a897e0c2a73348c8b0cd Signed-off-by: Cloud user <cloud@test-cloudinit.novalocal>