C-Dash: Add links to jenkins jobs for iterative 75/39875/2
authorTibor Frank <tifrank@cisco.com>
Wed, 15 Nov 2023 06:59:05 +0000 (06:59 +0000)
committerTibor Frank <tifrank@cisco.com>
Wed, 15 Nov 2023 07:08:44 +0000 (07:08 +0000)
Change-Id: I4310e3ad3826ea7f08f5e88817700e3c8ef21bf4
Signed-off-by: Tibor Frank <tifrank@cisco.com>
csit.infra.dash/app/cdash/report/graphs.py
csit.infra.dash/app/cdash/utils/constants.py

index cff5bb6..6b7fd12 100644 (file)
@@ -128,9 +128,18 @@ def graph_iterative(data: pd.DataFrame, sel:dict, layout: dict,
             y_tput_max = max(max(y_data), y_tput_max)
 
         nr_of_samples = len(y_data)
-        c_data = list()
-        for _, row in itm_data.iterrows():
-            c_data.append(f"{row['job']}/{row['build']}")
+
+        if itm["testtype"] == "mrr":
+            c_data = [
+                (
+                    f"{itm_data['job'].to_list()[0]}/",
+                    f"{itm_data['build'].to_list()[0]}"
+                ),
+            ] * nr_of_samples
+        else:
+            c_data = list()
+            for _, row in itm_data.iterrows():
+                c_data.append(f"{row['job']}/{row['build']}")
         tput_kwargs = dict(
             y=y_data,
             name=(
index 5f5d40a..2ed29ee 100644 (file)
@@ -179,6 +179,7 @@ class Constants:
         "3n-aws": 1.000,
         "3n-dnv": 2.000,
         "3n-icx": 2.600,
+        "3n-icxd": 2.000,
         "3n-skx": 2.500,
         "3n-tsh": 2.200,
         "3n-snr": 2.200,