dovetail tool: check push_to_db success or fail 63/32463/4
authorxudan <xudan16@huawei.com>
Thu, 30 Mar 2017 10:23:01 +0000 (10:23 +0000)
committerxudan <xudan16@huawei.com>
Fri, 31 Mar 2017 02:29:51 +0000 (02:29 +0000)
commit8bde91d7e2b58b5313f0b069b052cda82915b6b5
tree6158b6fb8e5b888d6b2b45aaa2fb7cf34c62cb06
parentaa8654d4f3f727f99016aaa540c8d5aa3f79edcb
dovetail tool: check push_to_db success or fail

JIRA: DOVETAIL-380

If Functest fails to push results to db, there is just an error log in functest.log
Dovetail needs to know the failure.
Dovetail will get the results from db with keys, build_tag and testcase.
If it can get the results data, it means push_to_db success.

Fix the duration time wrong.

Change-Id: If03bdf0ceb2f1a9d422381cdf06e1fd207358bd5
Signed-off-by: xudan <xudan16@huawei.com>
dovetail/run.py
dovetail/utils/dovetail_utils.py