diff options
author | Tibor Frank <tifrank@cisco.com> | 2018-04-26 10:08:42 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2018-04-26 10:11:49 +0200 |
commit | e7fe3850f2777db5c5b6d1fbd0877ebd7cac0f18 (patch) | |
tree | 4107229aaa4164f7fbb6e46c691ea2e62cff9ca5 /resources/tools/presentation | |
parent | 623eb22347f7d5218d3536f620d6911cc312d7dd (diff) |
Report: Add historical data to performance changes table
Change-Id: I9d6ff6021db4356c0b06555c79841b9ed602f671
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation')
-rw-r--r-- | resources/tools/presentation/generator_tables.py | 2 | ||||
-rw-r--r-- | resources/tools/presentation/specification.yaml | 4 |
2 files changed, 4 insertions, 2 deletions
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" - |