[bugfix]tc006 failed due to volume attached to different location "/dev/vdc" 01/52501/6
authorJingLu5 <lvjing5@huawei.com>
Fri, 23 Feb 2018 08:04:06 +0000 (08:04 +0000)
committerJingLu5 <lvjing5@huawei.com>
Tue, 27 Feb 2018 09:24:48 +0000 (09:24 +0000)
commit6b271bdbd529ffb62eeb8cd14a3abe72aeeb3353
tree8833152380f0f5d78fe7457abc7b2fbe852edb0c
parenta134474819400f2f7075d62990899943a06a5086
[bugfix]tc006 failed due to volume attached to different location "/dev/vdc"

JIRA: YARDSTICK-857

The yardstick test suites are failing for os-odl-bgpvpn-ha and os-odl-bgpvpn-noha scenarios installed with apex.
Here are the yardstick test run logs:
os-odl-bgpvpn-ha: https://build.opnfv.org/ci/job/yardstick-apex-baremetal-daily-master/624//consoleFull, https://build.opnfv.org/ci/job/yardstick-apex-baremetal-daily-master/640//consoleFull
os-odl-bgpvpn-noha: https://build.opnfv.org/ci/job/yardstick-apex-baremetal-daily-master/637//console

The root cause of the problem is in some environment the block device cannot be attached to the target path.
In this patch, the actually device path is found and used.

Change-Id: I46c601960a0668c81f9b73504ef9553f9e8591dc
Signed-off-by: JingLu5 <lvjing5@huawei.com>
yardstick/benchmark/scenarios/storage/fio.py
yardstick/tests/unit/benchmark/scenarios/storage/test_fio.py