aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2017-10-25 09:43:12 +0200
committerTibor Frank <tifrank@cisco.com>2017-10-25 09:43:12 +0200
commita2176b15e68b22277cbcd959de67c8fd169fec78 (patch)
treeaeb6e786fab29dee7b6e6430792b2153a90ed91b /resources
parent3ef4816c6364b3c2dc587186d706f9e93585555a (diff)
Report: Add VPP func results
Change-Id: Ice0b4cf2a960e8047191ff5e38789050c985d75e Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources')
-rw-r--r--resources/tools/presentation/generator_tables.py8
-rw-r--r--resources/tools/presentation/specification.yaml10
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"