summaryrefslogtreecommitdiffstats
path: root/utils/test
AgeCommit message (Collapse)AuthorFilesLines
2016-09-12Merge "bugfix: yardstick reporing in stable branch omit stable/"Morgan Richomme1-1/+1
2016-09-12bugfix: yardstick reporing in stable branch omit stable/rexlee87761-1/+1
JIRA: YARDSTICK-343 Change-Id: I926d1fcb308feb118663ba4db7adf3bc9eab7cbe Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2016-09-08Fix security issues reported by the security auditMorgan Richomme6-9/+9
JIRA: RELENG-143 Change-Id: Ia20c6ce86e72924ab8ab5f93bdc956d7f6a40a93 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-09-07Merge "Add stable/colorado to versions"Morgan Richomme1-1/+1
2016-09-07template-ize _testcases in create_kibana_dashboards.pySerenaFeng2-491/+186
Visualization items of test cases is written in _testcases variable in create_kibana_dashboards.py, make it rather difficult to integrate other testcases. Use a yaml configuration file to simplify it JIRA: FUNCTEST-461 Change-Id: If64f6e18ea72dd864c9e9e067655aa951406b291 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-07Add stable/colorado to versionschenjiankun1-1/+1
Change-Id: Ieccb04d20ca23265af30e6a671cd999b6d1cd349 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2016-09-05make mongo_to_elasticsearch.py skip resolve-failed resultsSerenaFeng1-18/+24
mongo_to_elasticsearch.py exit when encounter can-not-be-parsed results, for example: File "mongo_to_elasticsearch.py", line 58, in _convert_duration hours, minutes, seconds = duration.split(":") ValueError: need more than 2 values to unpack File "mongo_to_elasticsearch.py", line 228, in modify_functest_odl test_statuses = _get_dicts_from_list(testcase, testcase['details']['details'], KeyError: 'details' change the logic, try...Except the Exception, logger it as error, then continue processing the rest results Change-Id: I18facd457ba3e8f661f5c9a1da1e6c200af6fc4e Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-02correct backup-db.sh in kibana repo to keep consistent with testapiSerenaFeng1-6/+6
We change some interfaces in testapi, but this file doesn't change with that JIRA: FUNCTEST-455 Change-Id: I105a82557244481bbdf9885fc166ebe975b050ea Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-01Fix test results dashboard homepage navbar linksDaniel Farrell2-7/+11
The previous versions were the wrong paths, 404'd. Change-Id: I9368db672a18b5bb0394cfacf016cd7f5821d886 Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
2016-08-30Merge "Add the function of yardstick testcase reporter"Morgan Richomme12-0/+304
2016-08-27Add the function of yardstick testcase reporterrexlee877612-0/+304
JIRA: YARDSTICK-324 Change-Id: I58969265f88d5c20f46f0b1097f5b0ccb1d9a40d Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2016-08-25Add colorado reporting for tempest and vimsMorgan Richomme6-180/+190
Change-Id: I978799cd1cd777b5033e55a0146c41865e9c2bf5 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-08-22adapt reportingMorgan Richomme5-2/+2
- no odl-SFC test reported to DB - add link to scenario scoring wiki page - add +x on executable python files Change-Id: I6724408e3ed5d6a2ba78aff40d80d692c1e0780b Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-08-17Add parser in automatic reportingMorgan Richomme1-2/+4
Change-Id: I3d9c09b0da471e03647c09e96ca8b7ec89afb300 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-08-17Merge "update testapi only with one command"Morgan Richomme3-17/+113
2016-08-15update testapi only with one commandSerenaFeng3-17/+113
when using ansible to do the update, we need to config ansible's hosts file/add ssh_key to ssh_agent/check the connectivity of ansible and playbook...etc, here playbook-update.sh will do all the job automatically JIRA: FUNCTEST-411 Change-Id: Ie635eb9eccd1f4e39a94a352f649e56268744091 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-08-12Add copper in reportingMorgan Richomme2-3/+3
JIRA: FUNCTEST-67 Change-Id: I4881b2ba0c20a65567a59fb9fc7645c438a341ad Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-08-12Merge "support docker build image during updating testapi"Fatih Degirmenci3-1/+19
2016-08-10Fix unknown projects in reportingMorgan Richomme3-10/+20
Change-Id: Ia3d21694b8bf5e7131110124a520ecc0b9234509 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-07-28support docker build image during updating testapiSerenaFeng3-1/+19
add rm_images.sh script modify README.md add build image operations in update.yml JIRA: FUNCTEST-395 Change-Id: Ia9bd6e8e6d1096b9b946cb5508f4cac5ea6e6e25 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-07-27update testapi server in testresults.opnfv.orgSerenaFeng3-27/+47
support body of post results carries no trust_indicator add unittest of no trust_indicator in post results body specify changes in db JIRA: FUNCTEST-391 Change-Id: Ic61a5edbad1bca7689d618761bca94ef69dea80b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-07-21Implementation of testcase/pod declaration dashboard for adding tescasesraghavendracharik3-0/+297
JIRA: FUNCTEST-26 Change-Id: Iceb1c54ba8c245d43cc553533fdf4fd3284c7132 Signed-off-by: raghavendracharik <raghavendrachari.kamsali@hpe.com>
2016-07-12auto update of testAPI using ansible-playbookSerenaFeng9-58/+160
rename db related files write ansible file update README.md JIRA: FUNCTEST-360 Change-Id: Ib1a1a5ad846ed003cf90da770d94ceb7c011d39d Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-07-07Merge "minor bug fixes"Morgan Richomme2-21/+18
2016-07-07minor bug fixesMorgan Richomme2-21/+18
Change-Id: I8ea8b03559a27374cb387ed9a4f3b0b08364f7ad Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-07-07Merge "flake 8 fix + add logger"Morgan Richomme7-124/+208
2016-07-07flake 8 fix + add loggerMorgan Richomme7-124/+208
Change-Id: Ib8fbf0e784b57ea9be824e95fafe68e991b80aab Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-07-06Merge "Add a put result method to modify trust_indicator"Morgan Richomme7-38/+150
2016-07-06Add a put result method to modify trust_indicatorSerenaFeng7-38/+150
update trust_indicator date model add update trust_indicator method add unittest add swagger information JIRA: FUNCTEST-309 Change-Id: Ibb05efbe008aa7fd4dccb27452d8f5dbf541b8f2 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-07-05fix bug + introduction of blacklist for scenario scoringMorgan Richomme3-42/+71
Change-Id: Ib1a99cbeeb66d4c51eedb56d25d317b92602d51d Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-07-05dockerize testAPISerenaFeng3-0/+72
running testAPI in a docker container JIRA: FUNCTEST-352 Change-Id: I93d7bae847da4c6527d9907611108b79cb0cc31b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-07-02using ProjectUpdateRequest when update projects record in testAPISerenaFeng1-2/+2
ProjectCreateRequest -> ProjectUpdateRequest JIRA: FUNCTEST-344 Change-Id: I714bef8bd6c2e98b82dfd37ee71dea56967e8552 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-07-01correct swagger description of last in testAPISerenaFeng1-1/+1
last days => last records stored until now JIRA: FUNCTEST-341 Change-Id: I59e7b73e0a5c575d65cd0aced99fc53c13906709 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-30delete 'description' of 'Result' in testAPISerenaFeng1-3/+0
delete description assignments JIRA: FUNCTEST-339 Change-Id: I913baa8cd5bd692fa1edd74bb89c79d767374884 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-30add log info when publish json to elasticsearch failedSerenaFeng2-2/+9
add logger.info when publish failed JIRA: FUNCTEST-325 Change-Id: I353001c4305af31dd725e0977ced53d52ba79470 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-24change version to scenarioboucherv1-3/+4
Change-Id: I0942e9c8f23e886d6a6e344fa1fd1c24c1cd3f4b Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-06-24Merge "bugfix: correct the post response body of PODS in testAPI"Morgan Richomme2-1/+2
2016-06-24Merge "bugfix: correct the projects post response body in testAPI"Morgan Richomme1-1/+1
2016-06-24Merge "bugfix: correct the testcases post response body in testAPI"Morgan Richomme1-1/+1
2016-06-24Merge "bugfix: correct the results post response body in testAPI"Morgan Richomme1-1/+1
2016-06-23introduced fixes for changes in database for ColoradoJuraj Linkes4-100/+115
Change-Id: Ib6196d7da8701f9c799cabfaa0c57c97e2edb631 Signed-off-by: Juraj Linkes <jlinkes@cisco.com>
2016-06-21bugfix: correct the results post response body in testAPISerenaFeng1-1/+1
change response class from Result to CreateResponse JIRA: FUNCTEST: FUNCTEST-330 Change-Id: Ibc3ebdacaa7b85e4b4a53d459888440b47073d18 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-21bugfix: correct the testcases post response body in testAPISerenaFeng1-1/+1
correct response class from Testcase to CreateResponse JIRA: FUNCTEST-329 Change-Id: I2496585d55df6f557ffafe11c594247d3947eb06 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-21bugfix: correct the projects post response body in testAPISerenaFeng1-1/+1
change response class from Project to CreateResponse JIRA: FUNCTEST-328 Change-Id: I26d05b71251417b41701136d9c6bc786ba51393c Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-21bugfix: correct the post response body of PODS in testAPISerenaFeng2-1/+2
mark CreateResponse as a swagger.model change response class of post pods to L{CreateResponse} JIRA: FUNCTEST-326 Change-Id: I031350bb434e26e33d55c92ace548a2ae1c82f3e Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-17Bug fix on test name after name alignementMorgan Richomme2-3/+2
JIRA: FUNCTEST-304 Change-Id: Ie854b677003350a65e90279222ceb281d2f5b18c Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-17fiw bug: DB and config test name alignmentMorgan Richomme1-1/+1
JIRA: FUNCTEST-304 Change-Id: I84f16d1d9be5f4cfd603ce0a27a46c4450a273e8 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-17bugfix: start test timeboucherv2-3/+3
Change-Id: Ie916cc77373cbfae6e189ffeb1153400b2cc6f67 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-06-17Merge "adapt mong_to_elasticsearch.py to testAPI"Morgan Richomme1-3/+3
2016-06-17bugfix: adapt mongorestore to work in mongodb 3.0 and aboveSerenaFeng1-1/+1
mongorestore --db db must be specified JIRA: FUNCTEST-322 Change-Id: Idfbc99f23735f8871f29bb0e5e0240d47a7877bb Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>