From: Tibor Frank Date: Thu, 26 Apr 2018 08:08:42 +0000 (+0200) Subject: Report: Add historical data to performance changes table X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=e7fe3850f2777db5c5b6d1fbd0877ebd7cac0f18 Report: Add historical data to performance changes table Change-Id: I9d6ff6021db4356c0b06555c79841b9ed602f671 Signed-off-by: Tibor Frank --- diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index 3c4900b2e2..951be8eea5 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -414,6 +414,8 @@ def table_performance_comparison(table, input_data): for job, builds in item["data"].items(): for build in builds: for tst_name, tst_data in data[job][str(build)].iteritems(): + if tbl_dict.get(tst_name, None) is None: + continue if tbl_dict[tst_name].get("history", None) is None: tbl_dict[tst_name]["history"] = OrderedDict() if tbl_dict[tst_name]["history"].get(item["title"], diff --git a/resources/tools/presentation/specification.yaml b/resources/tools/presentation/specification.yaml index c327e4002b..cdc9dc149b 100644 --- a/resources/tools/presentation/specification.yaml +++ b/resources/tools/presentation/specification.yaml @@ -244,7 +244,7 @@ csit-dpdk-perf-1804-all: - 15 hc-func-results: - csit-hc2vpp-verify-func-1801-ubuntu1604: + csit-hc2vpp-verify-func-1804-ubuntu1604: - "lastSuccessfulBuild" nsh-func-results: csit-nsh_sfc-verify-func-1804-ubuntu1604-virl: @@ -647,7 +647,7 @@ - "lastSuccessfulBuild" csit-nsh_sfc-verify-func-1804-ubuntu1604-virl: - "lastSuccessfulBuild" - csit-hc2vpp-verify-func-1801-ubuntu1604: + csit-hc2vpp-verify-func-1804-ubuntu1604: - "lastSuccessfulBuild" -