diff options
-rw-r--r-- | resources/tools/presentation/generator_tables.py | 8 | ||||
-rw-r--r-- | resources/tools/presentation/specification.yaml | 10 |
2 files changed, 12 insertions, 6 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index 367e8c9878..0ff4de6c08 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -67,7 +67,13 @@ def table_details(table, input_data): job = table["data"].keys()[0] build = str(table["data"][job][0]) - for suite_longname, suite in input_data.suites(job, build).iteritems(): + try: + suites = input_data.suites(job, build) + except KeyError: + logging.error(" No data available. The table will not be generated.") + return + + for suite_longname, suite in suites.iteritems(): # Generate data suite_name = suite["name"] table_lst = list() diff --git a/resources/tools/presentation/specification.yaml b/resources/tools/presentation/specification.yaml index 57b5da4158..d0aa4445df 100644 --- a/resources/tools/presentation/specification.yaml +++ b/resources/tools/presentation/specification.yaml @@ -158,7 +158,7 @@ csit-ligato-perf-1710-all: - 1 csit-vpp-functional-1710-ubuntu1604-virl: - - 16 + - 62 hc2vpp-csit-integration-1710-ubuntu1604: - lastSuccessfulBuild # hc2vpp-csit-perf-master-ubuntu1604: # REMOVE??? @@ -326,7 +326,7 @@ rows: "generated" data: csit-vpp-functional-1710-ubuntu1604-virl: - - 16 + - 62 filter: "all" parameters: - "name" @@ -350,7 +350,7 @@ rows: "generated" data: csit-vpp-functional-1710-ubuntu1604-virl: - - 16 + - 62 filter: "all" parameters: - "parent" @@ -509,7 +509,7 @@ dir-tables: "{DIR[DTR,FUNC,VPP]}" data: csit-vpp-functional-1710-ubuntu1604-virl: - - 16 + - 62 filter: "all" parameters: - "name" @@ -528,7 +528,7 @@ dir-tables: "{DIR[DTC,FUNC,VPP]}" data: csit-vpp-functional-1710-ubuntu1604-virl: - - 16 + - 62 filter: "all" parameters: - "name" |