summaryrefslogtreecommitdiffstats
path: root/utils/test/scripts/mongo_to_elasticsearch.py
AgeCommit message (Collapse)AuthorFilesLines
2016-09-13add logger common process for releng scriptsSerenaFeng1-7/+3
JIRA: FUNCTEST-468 Change-Id: I03fb25ef26db521bceb740ec2808106a00e55165 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-12refactor modify_mongo_entry of kibana_dashboardSerenaFeng1-271/+13
JIRA: FUNCTEST-469 Change-Id: Ifd6598232fb0a1615352e0f27aefd51beeedbcbc 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-06-30add log info when publish json to elasticsearch failedSerenaFeng1-1/+6
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 Linkes1-27/+44
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 Linkes1-0/+448
kibana dashboards Change-Id: I9edbc1535f6f9c4ca4dc8b4871a04c2ed6d1969e Signed-off-by: Juraj Linkes <jlinkes@cisco.com>