Trending: Add identification of DUT to alerting email 99/28599/1
authorTibor Frank <tifrank@cisco.com>
Fri, 28 Aug 2020 07:44:06 +0000 (09:44 +0200)
committerTibor Frank <tifrank@cisco.com>
Fri, 28 Aug 2020 07:44:06 +0000 (09:44 +0200)
Change-Id: I2e63f16aef48e68b0e86e913431bed7df01f1b70
Signed-off-by: Tibor Frank <tifrank@cisco.com>
resources/tools/presentation/generator_alerts.py
resources/tools/presentation/specification_CPTA.yaml

index 8e4f31e..c6446f8 100644 (file)
@@ -350,7 +350,7 @@ class Alerting:
         for idx, test_set in enumerate(alert.get(u"include", list())):
             try:
                 test_set_short = re.search(
-                    re.compile(r'(\dn-(skx|clx|hsw|tsh|dnv)-.*)'),
+                    re.compile(r'((vpp|dpdk)-\dn-(skx|clx|hsw|tsh|dnv)-.*)'),
                     test_set
                 ).group(1)
             except (AttributeError, IndexError):
index d60f3d3..6c4b54b 100644 (file)
         type: "failed-tests"
         way: "jenkins"
         include:
-          - "last-failed-tests-2n-skx-mrr"
-          - "last-failed-tests-3n-skx-mrr"
-          - "last-failed-tests-2n-clx-mrr"
-          - "last-failed-tests-3n-hsw-mrr"
-          - "last-failed-tests-3n-tsh-mrr"
-          - "last-failed-tests-2n-dnv-mrr"
-          - "last-failed-tests-3n-dnv-mrr"
+          - "last-failed-tests-vpp-2n-skx-mrr"
+          - "last-failed-tests-vpp-3n-skx-mrr"
+          - "last-failed-tests-vpp-2n-clx-mrr"
+          - "last-failed-tests-vpp-3n-hsw-mrr"
+          - "last-failed-tests-vpp-3n-tsh-mrr"
+          - "last-failed-tests-vpp-2n-dnv-mrr"
+          - "last-failed-tests-vpp-3n-dnv-mrr"
           - "last-failed-tests-dpdk-2n-skx-mrr"
           - "last-failed-tests-dpdk-3n-skx-mrr"
           - "last-failed-tests-dpdk-2n-clx-mrr"
           - "last-failed-tests-dpdk-3n-hsw-mrr"
-          - "last-failed-tests-2n-skx-ndrpdr"
-          - "last-failed-tests-3n-skx-ndrpdr"
-          - "last-failed-tests-2n-clx-ndrpdr"
-          - "last-failed-tests-3n-hsw-ndrpdr"
+          - "last-failed-tests-vpp-2n-skx-ndrpdr"
+          - "last-failed-tests-vpp-3n-skx-ndrpdr"
+          - "last-failed-tests-vpp-2n-clx-ndrpdr"
+          - "last-failed-tests-vpp-3n-hsw-ndrpdr"
         urls:
           - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-2n-skx"
           - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-3n-skx"
 # Compressed failed tests (last build)
 -
   type: "table"
-  title: "Last failed tests (last builds) 3n-hsw"
+  title: "Last failed tests (last builds) VPP 3n-hsw"
   algorithm: "table_last_failed_tests"
   output-file-ext: ".txt"
-  output-file: "{DIR[STATIC,VPP]}/last-failed-tests-3n-hsw-mrr"
+  output-file: "{DIR[STATIC,VPP]}/last-failed-tests-vpp-3n-hsw-mrr"
   data: "table-last-failed-tests-3n-hsw"
   filter: "'MRR'"
   parameters:
 
 -
   type: "table"
-  title: "Last failed tests (last builds) 3n-skx"
+  title: "Last failed tests (last builds) VPP 3n-skx"
   algorithm: "table_last_failed_tests"
   output-file-ext: ".txt"
-  output-file: "{DIR[STATIC,VPP]}/last-failed-tests-3n-skx-mrr"
+  output-file: "{DIR[STATIC,VPP]}/last-failed-tests-vpp-3n-skx-mrr"
   data: "table-last-failed-tests-3n-skx"
   filter: "'MRR'"
   parameters:
 
 -
   type: "table"
-  title: "Last failed tests (last builds) 2n-skx"
+  title: "Last failed tests (last builds) VPP 2n-skx"
   algorithm: "table_last_failed_tests"
   output-file-ext: ".txt"
-  output-file: "{DIR[STATIC,VPP]}/last-failed-tests-2n-skx-mrr"
+  output-file: "{DIR[STATIC,VPP]}/last-failed-tests-vpp-2n-skx-mrr"
   data: "table-last-failed-tests-2n-skx"
   filter: "'MRR'"
   parameters:
 
 -
   type: "table"
-  title: "Last failed tests (last builds) 2n-clx"
+  title: "Last failed tests (last builds) VPP 2n-clx"
   algorithm: "table_last_failed_tests"
   output-file-ext: ".txt"
-  output-file: "{DIR[STATIC,VPP]}/last-failed-tests-2n-clx-mrr"
+  output-file: "{DIR[STATIC,VPP]}/last-failed-tests-vpp-2n-clx-mrr"
   data: "table-last-failed-tests-2n-clx"
   filter: "'MRR'"
   parameters:
 
 -
   type: "table"
-  title: "Last failed tests (last builds) 3n-tsh"
+  title: "Last failed tests (last builds) VPP 3n-tsh"
   algorithm: "table_last_failed_tests"
   output-file-ext: ".txt"
-  output-file: "{DIR[STATIC,VPP]}/last-failed-tests-3n-tsh-mrr"
+  output-file: "{DIR[STATIC,VPP]}/last-failed-tests-vpp-3n-tsh-mrr"
   data: "table-last-failed-tests-3n-tsh"
   filter: "'MRR'"
   parameters:
 
 -
   type: "table"
-  title: "Last failed tests (last builds) 3n-dnv"
+  title: "Last failed tests (last builds) VPP 3n-dnv"
   algorithm: "table_last_failed_tests"
   output-file-ext: ".txt"
-  output-file: "{DIR[STATIC,VPP]}/last-failed-tests-3n-dnv-mrr"
+  output-file: "{DIR[STATIC,VPP]}/last-failed-tests-vpp-3n-dnv-mrr"
   data: "table-last-failed-tests-3n-dnv"
   filter: "'MRR'"
   parameters:
 
 -
   type: "table"
-  title: "Last failed tests (last builds) 2n-dnv"
+  title: "Last failed tests (last builds) VPP 2n-dnv"
   algorithm: "table_last_failed_tests"
   output-file-ext: ".txt"
-  output-file: "{DIR[STATIC,VPP]}/last-failed-tests-2n-dnv-mrr"
+  output-file: "{DIR[STATIC,VPP]}/last-failed-tests-vpp-2n-dnv-mrr"
   data: "table-last-failed-tests-2n-dnv"
   filter: "'MRR'"
   parameters:
 
 -
   type: "table"
-  title: "Last failed tests (last builds) 3n-hsw-ndrpdr"
+  title: "Last failed tests (last builds) VPP 3n-hsw-ndrpdr"
   algorithm: "table_last_failed_tests"
   output-file-ext: ".txt"
-  output-file: "{DIR[STATIC,VPP]}/last-failed-tests-3n-hsw-ndrpdr"
+  output-file: "{DIR[STATIC,VPP]}/last-failed-tests-vpp-3n-hsw-ndrpdr"
   data: "table-last-failed-tests-3n-hsw-ndrpdr"
   filter: "'NDRPDR'"
   parameters:
 
 -
   type: "table"
-  title: "Last failed tests (last builds) 3n-skx-ndrpdr"
+  title: "Last failed tests (last builds) VPP 3n-skx-ndrpdr"
   algorithm: "table_last_failed_tests"
   output-file-ext: ".txt"
-  output-file: "{DIR[STATIC,VPP]}/last-failed-tests-3n-skx-ndrpdr"
+  output-file: "{DIR[STATIC,VPP]}/last-failed-tests-vpp-3n-skx-ndrpdr"
   data: "table-last-failed-tests-3n-skx-ndrpdr"
   filter: "'NDRPDR'"
   parameters:
 
 -
   type: "table"
-  title: "Last failed tests (last builds) 2n-skx-ndrpdr"
+  title: "Last failed tests (last builds) VPP 2n-skx-ndrpdr"
   algorithm: "table_last_failed_tests"
   output-file-ext: ".txt"
-  output-file: "{DIR[STATIC,VPP]}/last-failed-tests-2n-skx-ndrpdr"
+  output-file: "{DIR[STATIC,VPP]}/last-failed-tests-vpp-2n-skx-ndrpdr"
   data: "table-last-failed-tests-2n-skx-ndrpdr"
   filter: "'NDRPDR'"
   parameters:
 
 -
   type: "table"
-  title: "Last failed tests (last builds) 2n-clx-ndrpdr"
+  title: "Last failed tests (last builds) VPP 2n-clx-ndrpdr"
   algorithm: "table_last_failed_tests"
   output-file-ext: ".txt"
-  output-file: "{DIR[STATIC,VPP]}/last-failed-tests-2n-clx-ndrpdr"
+  output-file: "{DIR[STATIC,VPP]}/last-failed-tests-vpp-2n-clx-ndrpdr"
   data: "table-last-failed-tests-2n-clx-ndrpdr"
   filter: "'NDRPDR'"
   parameters: