Report: Source data 82/10282/1
authorTibor Frank <tifrank@cisco.com>
Fri, 26 Jan 2018 19:21:18 +0000 (20:21 +0100)
committerTibor Frank <tifrank@cisco.com>
Fri, 26 Jan 2018 19:21:18 +0000 (20:21 +0100)
Change-Id: Ic8951568eb02b8eb998638f76503f87ea8e4929b
Signed-off-by: Tibor Frank <tifrank@cisco.com>
resources/tools/presentation/generator_tables.py

index 21a7f05..4b1da90 100644 (file)
@@ -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:
                     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():
 
     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():
 
     tbl_lst = list()
     for tst_name in tbl_dict.keys():