CSIT-891: Add data sources for 1801 report 14/10714/1
authorTibor Frank <tifrank@cisco.com>
Wed, 21 Feb 2018 08:48:39 +0000 (09:48 +0100)
committerTibor Frank <tifrank@cisco.com>
Wed, 21 Feb 2018 08:48:39 +0000 (09:48 +0100)
Change-Id: Id178e852e4c94b1e093d72901689a7f7820c2c3d
Signed-off-by: Tibor Frank <tifrank@cisco.com>
resources/tools/presentation/pal.py
resources/tools/presentation/specification.yaml

index 4c5de01..6d613e3 100644 (file)
@@ -83,39 +83,39 @@ def main():
         logging.critical("Finished with error.")
         sys.exit(1)
 
-    try:
-    env = Environment(spec.environment, args.force)
-    env.set_environment()
-
-    if spec.is_debug:
-        if spec.debug["input-format"] == "zip":
-            unzip_files(spec)
-    else:
-        download_data_files(spec)
-
-    prepare_static_content(spec)
-
-    data = InputData(spec)
-    data.read_data()
-
-    generate_tables(spec, data)
-    generate_plots(spec, data)
-    generate_files(spec, data)
-    generate_report(args.release, spec)
-
-    logging.info("Successfully finished.")
-
-    except (KeyError, ValueError, PresentationError) as err:
-        logging.info("Finished with an error.")
-        logging.critical(str(err))
-    except Exception as err:
-        logging.info("Finished with an unexpected error.")
-        logging.critical(str(err))
-    #
-    finally:
-        if spec is not None and not spec.is_debug:
-            clean_environment(spec.environment)
-        sys.exit(1)
+    try:
+        env = Environment(spec.environment, args.force)
+        env.set_environment()
+
+        if spec.is_debug:
+            if spec.debug["input-format"] == "zip":
+                unzip_files(spec)
+        else:
+            download_data_files(spec)
+
+        prepare_static_content(spec)
+
+        data = InputData(spec)
+        data.read_data()
+
+        generate_tables(spec, data)
+        generate_plots(spec, data)
+        generate_files(spec, data)
+        generate_report(args.release, spec)
+
+        logging.info("Successfully finished.")
+
+    except (KeyError, ValueError, PresentationError) as err:
+        logging.info("Finished with an error.")
+        logging.critical(str(err))
+    except Exception as err:
+        logging.info("Finished with an unexpected error.")
+        logging.critical(str(err))
+
+    finally:
+        if spec is not None and not spec.is_debug:
+            clean_environment(spec.environment)
+        sys.exit(1)
 
 
 if __name__ == '__main__':
index 271a5e2..6a18ce5 100644 (file)
       - 164
       - 165
       - 166
+      - 168
       - 169
       - 170
 # TODO: Add the data sources
       - 162  # sel
       - 163  # sel
 #      - 167  # sel
-#      - 168  # sel
 # TODO: Add the data sources
     plot-throughput-speedup-analysis:
       csit-vpp-perf-1801-all:
       - 162  # sel
       - 163  # sel
 #      - 167  # sel
-#      - 168  # sel
 #    performance-improvements:
 #      csit-vpp-perf-1707-all:
 #      - 9
       - 162  # sel
       - 163  # sel
 #      - 167  # sel
-#      - 168  # sel
     plot-dpdk-throughput-latency:
       csit-dpdk-perf-1801-all:
       - 1
     - 165  # wrk
     - 166  # wrk
 #    - 167  # sel
-#    - 168  # sel
+    - 168  # wrk
     - 169  # wrk
     - 170  # wrk
     csit-ligato-perf-1710-all: