X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_tables.py;h=4b1da900681771667fcbd4845f3a278bf73d6072;hp=21a7f05497b0263ba3af3105fcc3c57fb22f8675;hb=49033c34ed62a40d280724414ff5be1c12edc5b7;hpb=c3a9866686d251ef6c1b20a785d81ad3e7400528 diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index 21a7f05497..4b1da90068 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -378,14 +378,18 @@ def table_performance_comparison(table, input_data): tbl_dict[tst_name]["ref-data"].\ append(tst_data["throughput"]["value"]) except TypeError as err: - logging.warning(err) - logging.warning(tst_data) + pass # No data in output.xml for this test for job, builds in table["compare"]["data"].items(): for build in builds: for tst_name, tst_data in data[job][str(build)].iteritems(): - tbl_dict[tst_name]["cmp-data"].\ - append(tst_data["throughput"]["value"]) + try: + tbl_dict[tst_name]["cmp-data"].\ + append(tst_data["throughput"]["value"]) + except KeyError: + pass + except TypeError: + tbl_dict.pop(tst_name, None) tbl_lst = list() for tst_name in tbl_dict.keys():