summaryrefslogtreecommitdiffstats
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2016-09-22rebuild directory structure of Kibana dashboardSerenaFeng11-1276/+0
JIRA: FUNCTEST-465 Change-Id: Icecd350b2f67105c8aaa9d71fd76d24827515545 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-21use configure file rather than arguments to organize the configurationSerenaFeng5-48/+144
JIRA: FUNCTEST-480 Change-Id: Id5706de5f05d6841a1e9d8bafae7df0255c22a26 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-19only publish testcases appear in testcases.py to save timeSerenaFeng5-148/+208
JIRA: FUNCTEST-474 Change-Id: Icb9f2ceaaf87f6b18d2aa342f093fefb3598f719 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-14merge N days and whole database process and not publish existed data any waySerenaFeng4-95/+92
JIRA: FUNCTEST-473 Change-Id: I2631fa04b0922afda2746cfd6be6f35587d534ba Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-13add logger common process for releng scriptsSerenaFeng3-13/+70
JIRA: FUNCTEST-468 Change-Id: I03fb25ef26db521bceb740ec2808106a00e55165 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-12refactor modify_mongo_entry of kibana_dashboardSerenaFeng6-278/+226
JIRA: FUNCTEST-469 Change-Id: Ifd6598232fb0a1615352e0f27aefd51beeedbcbc Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
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-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-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-23introduced fixes for changes in database for ColoradoJuraj Linkes4-100/+115
Change-Id: Ib6196d7da8701f9c799cabfaa0c57c97e2edb631 Signed-off-by: Juraj Linkes <jlinkes@cisco.com>
2016-06-17Merge "adapt mong_to_elasticsearch.py to testAPI"Morgan Richomme1-3/+3
2016-06-17Merge "bugfix: _convert_duration error when encounter ':00:00.078149'"Morgan Richomme1-0/+7
2016-06-17Merge "bugfix: parse testcase failed when encounter {u'result': u''}"Morgan Richomme1-6/+10
2016-06-17adapt mong_to_elasticsearch.py to testAPISerenaFeng1-3/+3
change test_results to results in the url JIRA: FUNCTEST-321 Change-Id: I5621ec48ac0cfd6239a07fcd0b83b5418a1ed5f4 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-17bugfix: parse testcase failed when encounter {u'result': u''}SerenaFeng1-6/+10
skip non-dict items JIRA: FUNCTEST-320 Change-Id: Icf073ba62839fb03d81655a5751e5919dc9c02a5 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-17bugfix: _convert_duration error when encounter ':00:00.078149'SerenaFeng1-0/+7
JIRA: FUNCTEST-319 Change-Id: I376045d5d2966f143a3f5db1473e2c10a0869200 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-06-17bugfix: wrong function call of publish_json in kibana scriptsSerenaFeng1-1/+1
change input parameter order when call publish_json in mongo_to_elasticsearch.py JIRA: FUNCTEST-318 Change-Id: I2ff35b069a7b02356083d52ea864e57f6820b4ce Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
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-10reorganization of Test folder in RelengMorgan Richomme1-0/+33
Change-Id: I92b507105e820198691ab8b1c44e1011b983b849 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>