summaryrefslogtreecommitdiffstats
path: root/utils/test
AgeCommit message (Collapse)AuthorFilesLines
2016-05-26Merge "attach version number to url in testAPI"Morgan Richomme9-50/+57
2016-05-26attach version number to url in testAPISerenaFeng9-50/+57
version - /versions api - /api/v1/pods(projects/results) dashboard - /dashboard/v1/results I tried to make the code smart, but in vain, sad...... JIRA: FUNCTEST-261 Change-Id: I3e9e3ad7180a6c6349fd743e24eafea07bdefd1d Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-25Test API add start_date, stop_date parameters in resultsMorgan Richomme9-36/+42
Change-Id: I8c8c5b1d82e447fb7a7413368a919b3d3c7b99a6 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-25Merge "add test result/dashboard related unittests in testAPI and refactor ↵Morgan Richomme10-307/+653
its response"
2016-05-25Merge "Add pod role in pod description in the API"Morgan Richomme2-5/+15
2016-05-25add test result/dashboard related unittests in testAPI and refactor its responseSerenaFeng10-307/+653
modification: add unittests for test result/dashboard rename test_results table name in db to results refactor response body JIRA: FUNCTEST-255 Change-Id: I0657e6e95156a8c79072e7333fd8aaeb12d986e5 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
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-24Merge "add zte-pod1 to functest dashboard"Morgan Richomme1-2/+2
2016-05-24add zte-pod1 to functest dashboardSerenaFeng1-2/+2
JIRA: RELENG-112 Change-Id: I8c6af538dfa98e7fc035037cb6816d2658458879 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
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-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-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-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-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-12Organization of reporting filesboucherv2-3/+3
Change-Id: I2761528ca988f10deb112aab567bfd0ee407d072 Signed-off-by: boucherv <valentin.boucher@orange.com>
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-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>
2016-02-23fix bug on period in Test APIMorgan Richomme1-2/+2
JIRA: RELENG-46 Change-Id: I416886e2cddf9369141d5f1f09e54e8c3dd02ed9 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-02-22bottlenecks: fix rewrite the rubbos graph drawing functionRex Lee1-30/+25
JIRA: BOTTLENECK-30 Change-Id: Id3e4f9f375ecb9bf454e21d8be41e884c6cc4371 Signed-off-by: Rex Lee <limingjiang@huawei.com>
2016-02-19bottlenecks: rewrite the rubbos graph drawing functionMatthewLi1-1/+22
JIRA: BOTTLENECK-30 Change-Id: Iee2e177b7ddec5c0e0a765d5a7369ec76e6ad911 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-02-12Merge "Update dashboard"Morgan Richomme11-208/+380
2016-02-12Update dashboardCloud user11-208/+380
Change-Id: I679fada5f12bd660c65d3bb006742b1119735f4c Signed-off-by: Cloud user <cloud@test-cloudinit.novalocal>