Yardstick real-time influxdb KPI reporting regressions 51/51651/4
authorchenjiankun <chenjiankun1@huawei.com>
Mon, 5 Feb 2018 08:13:07 +0000 (08:13 +0000)
committerchenjiankun <chenjiankun1@huawei.com>
Fri, 23 Feb 2018 06:52:21 +0000 (06:52 +0000)
commited30870a1a5823423a44f8fa2ef559526e2849f8
tree4c70cd7ecd5bb583c48dc42fe7cdab17d552bbb8
parenta134474819400f2f7075d62990899943a06a5086
Yardstick real-time influxdb KPI reporting regressions

JIRA: YARDSTICK-989

We used to have real-time influxdb reporting of test KPIs. The user
could monitor using grafana and see the real-time output.
The record format was changed to now only report KPIs at the end of the
test.
This is a problem for test cases which run for a long duration,  we need
to wait until the end of the test execution to get any results from
influxdb. If the test fails in between or doesn't exit cleanly for some
reason, we are left with no results stored in influxdb which gives the
user no information.
This is also a regression from the previous behaviour.

Change-Id: I0f476dff9162a359f0286fb421f2e9c4befaa5cc
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
yardstick/benchmark/core/task.py
yardstick/benchmark/runners/base.py
yardstick/dispatcher/influxdb.py
yardstick/tests/unit/benchmark/core/test_task.py
yardstick/tests/unit/benchmark/runner/test_base.py