diff options
author | xudan <xudan16@huawei.com> | 2018-09-30 02:44:07 -0400 |
---|---|---|
committer | Georg Kunz <georg.kunz@ericsson.com> | 2018-10-01 12:12:18 +0000 |
commit | 1d8dcb2ae48bc174a82426782daecf79c9250bdf (patch) | |
tree | f4b43b8509e34a277088cc7be76bc4bea1b71dee /docs/testing/user/testspecification/vping/index.rst | |
parent | 103a767cf391d3549acbecb6036519ff8cfc3a76 (diff) |
Bugfix: There is an exception when crawling Yardstick results
If there is no pod.yaml, the results data looks like,
{"status": 2, "result": "[Errno 2] No such file or directory: u'/home/opnfv/userconfig/pre_config/pod.yaml'"}
It will get an exception when reading value from file,
File "/usr/local/lib/python2.7/dist-packages/dovetail/report.py", line 327, in crawl_from_file
criteria = data['result']['criteria']
TypeError: string indices must be integers
https://build.opnfv.org/ci/view/dovetail/job/dovetail-apex-baremetal-default-mandatory-master/52/console
Change-Id: I73ca3e5ae73433a2dc139789df4d67e8c583be08
Signed-off-by: xudan <xudan16@huawei.com>
(cherry picked from commit 76947950b0196367768068ae31f85ca175b672fb)
Diffstat (limited to 'docs/testing/user/testspecification/vping/index.rst')
0 files changed, 0 insertions, 0 deletions