diff options
author | Tibor Frank <tifrank@cisco.com> | 2017-10-25 09:43:12 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2017-10-25 07:45:12 +0000 |
commit | bbdb8d2acce17e0076bd1e2d1604a32af01e8399 (patch) | |
tree | c5f0709624916bd70b3b70d397e4a0e2d88bd331 | |
parent | 5236a261aa5bba080172730d659a4d09fcb2419e (diff) |
Report: Add VPP func results
Change-Id: Ice0b4cf2a960e8047191ff5e38789050c985d75e
Signed-off-by: Tibor Frank <tifrank@cisco.com>
(cherry picked from commit a2176b15e68b22277cbcd959de67c8fd169fec78)
-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" |