summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting/yardstick
diff options
context:
space:
mode:
authorchenjiankun <chenjiankun1@huawei.com>2016-12-16 07:34:13 +0000
committerchenjiankun <chenjiankun1@huawei.com>2016-12-16 10:17:19 +0000
commitf012d1984209359034c326227b9c6a6b31eeb060 (patch)
treec11347686c4aca7c00aa0cea48ab85d3a9ed474f /utils/test/reporting/yardstick
parenta9bfd613ced91676b71abbf06f09f44699775927 (diff)
Bugfix: reporting docker image build failed
JIRA: RELENG-181 Since we just decide to use dynamic server, we need to deploy a dynamic server such as tornado . But when I use the Dockerfile to build image, it failed due to some reasons. So I need fix it first and then deploy the dynamic server. Then we can use this command: docker run -it -d -p 8080:80 opnfv/releng:latest And visit reporting page by http://server_ip:8080/display/... Change-Id: Id04575c7b38e4c07625ce217d23ebca1c5bf0191 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'utils/test/reporting/yardstick')
-rw-r--r--utils/test/reporting/yardstick/reporting-status.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/utils/test/reporting/yardstick/reporting-status.py b/utils/test/reporting/yardstick/reporting-status.py
index 338154987..a0f0b0184 100644
--- a/utils/test/reporting/yardstick/reporting-status.py
+++ b/utils/test/reporting/yardstick/reporting-status.py
@@ -53,15 +53,16 @@ for version in versions:
# From each scenarios get results list
for s, s_result in scenario_results.items():
logger.info("---------------------------------")
- logger.info("installer %s, version %s, " +
- "scenario %s:" % (installer, version, s))
+ logger.info("installer %s, version %s, scenario %s", installer,
+ version, s)
ten_criteria = len(s_result)
ten_score = 0
for v in s_result:
ten_score += v
- LASTEST_TESTS = rp_utils.get_config('general.nb_iteration_tests_success_criteria')
+ LASTEST_TESTS = rp_utils.get_config(
+ 'general.nb_iteration_tests_success_criteria')
four_result = s_result[:LASTEST_TESTS]
four_criteria = len(four_result)
four_score = 0