From b892452e1fe2d226f526f9a0685b1095e36b8050 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Thu, 26 Apr 2018 12:18:35 +0200 Subject: [PATCH 1/1] Report: Add data Change-Id: I043a50f9d55dd784039a483da034cfe4db65d003 Signed-off-by: Tibor Frank --- resources/tools/presentation/generator_tables.py | 7 +++++-- resources/tools/presentation/specification.yaml | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index 951be8eea5..6948b45cf8 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -422,8 +422,11 @@ def table_performance_comparison(table, input_data): None) is None: tbl_dict[tst_name]["history"][item["title"]] = \ list() - tbl_dict[tst_name]["history"][item["title"]].\ - append(tst_data["throughput"]["value"]) + try: + tbl_dict[tst_name]["history"][item["title"]].\ + append(tst_data["throughput"]["value"]) + except (TypeError, KeyError): + pass tbl_lst = list() for tst_name in tbl_dict.keys(): diff --git a/resources/tools/presentation/specification.yaml b/resources/tools/presentation/specification.yaml index cdc9dc149b..2b73a9ee66 100644 --- a/resources/tools/presentation/specification.yaml +++ b/resources/tools/presentation/specification.yaml @@ -236,7 +236,7 @@ - 18 # full vpp-func-results: csit-vpp-functional-1804-ubuntu1604-virl: - - "lastSuccessfulBuild" + - 131 ligato-perf-results: csit-ligato-perf-1801-all: - 25 # full @@ -644,7 +644,7 @@ - 14 - 15 csit-vpp-functional-1804-ubuntu1604-virl: - - "lastSuccessfulBuild" + - 131 csit-nsh_sfc-verify-func-1804-ubuntu1604-virl: - "lastSuccessfulBuild" csit-hc2vpp-verify-func-1804-ubuntu1604: -- 2.16.6