Report: Add VPP func results 10/9010/1
authorTibor Frank <tifrank@cisco.com>
Wed, 25 Oct 2017 07:43:12 +0000 (09:43 +0200)
committerTibor Frank <tifrank@cisco.com>
Wed, 25 Oct 2017 07:43:12 +0000 (09:43 +0200)
Change-Id: Ice0b4cf2a960e8047191ff5e38789050c985d75e
Signed-off-by: Tibor Frank <tifrank@cisco.com>
resources/tools/presentation/generator_tables.py
resources/tools/presentation/specification.yaml

index 367e8c9..0ff4de6 100644 (file)
@@ -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()
index 57b5da4..d0aa444 100644 (file)
     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???
   rows: "generated"
   data:
     csit-vpp-functional-1710-ubuntu1604-virl:
-    - 16
+    - 62
   filter: "all"
   parameters:
   - "name"
   rows: "generated"
   data:
     csit-vpp-functional-1710-ubuntu1604-virl:
-    - 16
+    - 62
   filter: "all"
   parameters:
   - "parent"
   dir-tables: "{DIR[DTR,FUNC,VPP]}"
   data:
     csit-vpp-functional-1710-ubuntu1604-virl:
-    - 16
+    - 62
   filter: "all"
   parameters:
   - "name"
   dir-tables: "{DIR[DTC,FUNC,VPP]}"
   data:
     csit-vpp-functional-1710-ubuntu1604-virl:
-    - 16
+    - 62
   filter: "all"
   parameters:
   - "name"

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.