aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools/presentation')
-rw-r--r--resources/tools/presentation/generator_tables.py21
-rw-r--r--resources/tools/presentation/specification_CPTA.yaml333
2 files changed, 258 insertions, 96 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py
index c745be81cd..2644eb0348 100644
--- a/resources/tools/presentation/generator_tables.py
+++ b/resources/tools/presentation/generator_tables.py
@@ -1260,6 +1260,10 @@ def table_failed_tests(table, input_data):
)
data = input_data.filter_data(table, continue_on_error=True)
+ test_type = u"MRR"
+ if u"NDRPDR" in table.get(u"filter", list()):
+ test_type = u"NDRPDR"
+
# Prepare the header of the tables
header = [
u"Test Case",
@@ -1323,15 +1327,14 @@ def table_failed_tests(table, input_data):
fails_last_csit = val[3]
if fails_nr:
max_fails = fails_nr if fails_nr > max_fails else max_fails
- tbl_lst.append(
- [
- tst_data[u"name"],
- fails_nr,
- fails_last_date,
- fails_last_vpp,
- f"mrr-daily-build-{fails_last_csit}"
- ]
- )
+ tbl_lst.append([
+ tst_data[u"name"],
+ fails_nr,
+ fails_last_date,
+ fails_last_vpp,
+ f"{u'mrr-daily' if test_type == u'MRR' else u'ndrpdr-weekly'}"
+ f"-build-{fails_last_csit}"
+ ])
tbl_lst.sort(key=lambda rel: rel[2], reverse=True)
tbl_sorted = list()
diff --git a/resources/tools/presentation/specification_CPTA.yaml b/resources/tools/presentation/specification_CPTA.yaml
index f3f8ccff23..5684f8f544 100644
--- a/resources/tools/presentation/specification_CPTA.yaml
+++ b/resources/tools/presentation/specification_CPTA.yaml
@@ -133,6 +133,10 @@
- "last-failed-tests-3n-tsh"
- "last-failed-tests-2n-dnv"
- "last-failed-tests-3n-dnv"
+ - "last-failed-tests-2n-skx-ndrpdr"
+ - "last-failed-tests-3n-skx-ndrpdr"
+ - "last-failed-tests-2n-clx-ndrpdr"
+ - "last-failed-tests-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"
@@ -141,6 +145,10 @@
- "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-3n-tsh"
- "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-2n-dnv"
- "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-3n-dnv"
+ - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-ndrpdr-weekly-master-2n-skx"
+ - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-ndrpdr-weekly-master-3n-skx"
+ - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-ndrpdr-weekly-master-2n-clx"
+ - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-ndrpdr-weekly-master-3n-hsw"
url-details: "https://docs.fd.io/csit/master/trending/introduction/failures.html"
configurations:
@@ -177,9 +185,6 @@
table-last-failed-tests-2n-skx:
csit-vpp-perf-mrr-daily-master-2n-skx:
- "lastCompletedBuild"
- table-last-failed-tests-nf-2n-skx:
- csit-vpp-perf-mrr-weekly-master-2n-skx:
- - "lastCompletedBuild"
table-last-failed-tests-2n-clx:
csit-vpp-perf-mrr-daily-master-2n-clx:
- "lastCompletedBuild"
@@ -192,6 +197,18 @@
table-last-failed-tests-2n-dnv:
csit-vpp-perf-mrr-daily-master-2n-dnv:
- "lastCompletedBuild"
+ table-last-failed-tests-3n-hsw-ndrpdr:
+ csit-vpp-perf-ndrpdr-weekly-master-3n-hsw:
+ - "lastCompletedBuild"
+ table-last-failed-tests-3n-skx-ndrpdr:
+ csit-vpp-perf-ndrpdr-weekly-master-3n-skx:
+ - "lastCompletedBuild"
+ table-last-failed-tests-2n-skx-ndrpdr:
+ csit-vpp-perf-ndrpdr-weekly-master-2n-skx:
+ - "lastCompletedBuild"
+ table-last-failed-tests-2n-clx-ndrpdr:
+ csit-vpp-perf-ndrpdr-weekly-master-2n-clx:
+ - "lastCompletedBuild"
# 3n-hsw
plot-performance-trending-all-3n-hsw:
@@ -276,16 +293,19 @@
start: 144
end: "lastCompletedBuild"
+ # 3n-dnv
plot-performance-trending-vpp-3n-dnv:
csit-vpp-perf-mrr-daily-master-3n-dnv:
start: 329
end: "lastCompletedBuild"
+ # 2n-dnv
plot-performance-trending-vpp-2n-dnv:
csit-vpp-perf-mrr-daily-master-2n-dnv:
start: 335
end: "lastCompletedBuild"
+ # NDRPDR
plot-ndrpdr-comparison-2n-skx:
csit-vpp-perf-ndrpdr-weekly-master-2n-skx:
start: 76
@@ -831,6 +851,58 @@
- "parent"
- "status"
+-
+ type: "table"
+ title: "Last failed tests (last builds) 3n-hsw-ndrpdr"
+ algorithm: "table_last_failed_tests"
+ output-file-ext: ".txt"
+ output-file: "{DIR[STATIC,VPP]}/last-failed-tests-3n-hsw-ndrpdr"
+ data: "table-last-failed-tests-3n-hsw-ndrpdr"
+ filter: "'NDRPDR'"
+ parameters:
+ - "name"
+ - "parent"
+ - "status"
+
+-
+ type: "table"
+ title: "Last failed tests (last builds) 3n-skx-ndrpdr"
+ algorithm: "table_last_failed_tests"
+ output-file-ext: ".txt"
+ output-file: "{DIR[STATIC,VPP]}/last-failed-tests-3n-skx-ndrpdr"
+ data: "table-last-failed-tests-3n-skx-ndrpdr"
+ filter: "'NDRPDR'"
+ parameters:
+ - "name"
+ - "parent"
+ - "status"
+
+-
+ type: "table"
+ title: "Last failed tests (last builds) 2n-skx-ndrpdr"
+ algorithm: "table_last_failed_tests"
+ output-file-ext: ".txt"
+ output-file: "{DIR[STATIC,VPP]}/last-failed-tests-2n-skx-ndrpdr"
+ data: "table-last-failed-tests-2n-skx-ndrpdr"
+ filter: "'NDRPDR'"
+ parameters:
+ - "name"
+ - "parent"
+ - "status"
+
+-
+ type: "table"
+ title: "Last failed tests (last builds) 2n-clx-ndrpdr"
+ algorithm: "table_last_failed_tests"
+ output-file-ext: ".txt"
+ output-file: "{DIR[STATIC,VPP]}/last-failed-tests-2n-clx-ndrpdr"
+ data: "table-last-failed-tests-2n-clx-ndrpdr"
+ filter: "'NDRPDR'"
+ parameters:
+ - "name"
+ - "parent"
+ - "status"
+
# 3n-hsw
-
type: "table"
@@ -841,9 +913,9 @@
data: "plot-performance-trending-all-3n-hsw"
filter: "'MRR' and '1T1C' and not 'NIC_Intel-XXV710'"
parameters:
- - "name"
- - "parent"
- - "result"
+ - "name"
+ - "parent"
+ - "result"
window: 14
long-trend-window: 180
@@ -856,9 +928,9 @@
data: "plot-performance-trending-all-3n-hsw"
filter: "'MRR' and '2T2C' and not 'NIC_Intel-XXV710'"
parameters:
- - "name"
- - "parent"
- - "result"
+ - "name"
+ - "parent"
+ - "result"
window: 14
long-trend-window: 180
@@ -871,9 +943,9 @@
data: "plot-performance-trending-all-3n-hsw"
filter: "'MRR' and '4T4C' and not 'NIC_Intel-XXV710'"
parameters:
- - "name"
- - "parent"
- - "result"
+ - "name"
+ - "parent"
+ - "result"
window: 14
long-trend-window: 180
@@ -1105,7 +1177,7 @@
testbed: "2n-clx"
add-links: False
--
+#-
type: "table"
title: "Failed MRR tests 3n-hsw"
algorithm: "table_failed_tests"
@@ -1114,9 +1186,9 @@
data: "plot-performance-trending-all-3n-hsw"
filter: "'MRR' and not 'NIC_Intel-XXV710'"
parameters:
- - "name"
- - "parent"
- - "status"
+ - "name"
+ - "parent"
+ - "status"
window: 7 # days
-
@@ -1127,6 +1199,28 @@
output-file: "{DIR[STATIC,VPP]}/failed-tests-3n-hsw.rst"
testbed: "3n-hsw"
+-
+ type: "table"
+ title: "Failed NDRPDR tests 3n-hsw"
+ algorithm: "table_failed_tests"
+ output-file-ext: ".csv"
+ output-file: "{DIR[STATIC,VPP]}/failed-tests-3n-hsw-ndrpdr"
+ data: "plot-ndrpdr-comparison-3n-hsw"
+ filter: "'NDRPDR'"
+ parameters:
+ - "name"
+ - "parent"
+ - "status"
+ window: 30 # days
+
+-
+ type: "table"
+ title: "HTML Failed NDRPDR tests 3n-hsw"
+ algorithm: "table_failed_tests_html"
+ input-file: "{DIR[STATIC,VPP]}/failed-tests-3n-hsw-ndrpdr.csv"
+ output-file: "{DIR[STATIC,VPP]}/failed-tests-3n-hsw-ndrpdr.rst"
+ testbed: "3n-hsw"
+
################################################################################
# 3n-skx
-
@@ -1138,9 +1232,9 @@
data: "plot-performance-trending-all-3n-skx"
filter: "'MRR' and '2T1C'"
parameters:
- - "name"
- - "parent"
- - "result"
+ - "name"
+ - "parent"
+ - "result"
window: 14
long-trend-window: 180
@@ -1153,9 +1247,9 @@
data: "plot-performance-trending-all-3n-skx"
filter: "'MRR' and '4T2C'"
parameters:
- - "name"
- - "parent"
- - "result"
+ - "name"
+ - "parent"
+ - "result"
window: 14
long-trend-window: 180
@@ -1168,9 +1262,9 @@
data: "plot-performance-trending-all-3n-skx"
filter: "'MRR' and '8T4C'"
parameters:
- - "name"
- - "parent"
- - "result"
+ - "name"
+ - "parent"
+ - "result"
window: 14
long-trend-window: 180
@@ -1207,9 +1301,9 @@
data: "plot-performance-trending-all-3n-skx"
filter: "'MRR'"
parameters:
- - "name"
- - "parent"
- - "status"
+ - "name"
+ - "parent"
+ - "status"
window: 7 # days
-
@@ -1220,6 +1314,28 @@
output-file: "{DIR[STATIC,VPP]}/failed-tests-3n-skx.rst"
testbed: "3n-skx"
+-
+ type: "table"
+ title: "Failed NDRPDR tests 3n-skx"
+ algorithm: "table_failed_tests"
+ output-file-ext: ".csv"
+ output-file: "{DIR[STATIC,VPP]}/failed-tests-3n-skx-ndrpdr"
+ data: "plot-ndrpdr-comparison-3n-skx"
+ filter: "'NDRPDR'"
+ parameters:
+ - "name"
+ - "parent"
+ - "status"
+ window: 30 # days
+
+-
+ type: "table"
+ title: "HTML Failed NDRPDR tests 3n-skx"
+ algorithm: "table_failed_tests_html"
+ input-file: "{DIR[STATIC,VPP]}/failed-tests-3n-skx-ndrpdr.csv"
+ output-file: "{DIR[STATIC,VPP]}/failed-tests-3n-skx-ndrpdr.rst"
+ testbed: "3n-skx"
+
################################################################################
# 2n-skx
-
@@ -1231,9 +1347,9 @@
data: "plot-performance-trending-all-2n-skx"
filter: "'MRR' and '2T1C'"
parameters:
- - "name"
- - "parent"
- - "result"
+ - "name"
+ - "parent"
+ - "result"
window: 14
long-trend-window: 180
@@ -1246,9 +1362,9 @@
data: "plot-performance-trending-all-2n-skx"
filter: "'MRR' and '4T2C'"
parameters:
- - "name"
- - "parent"
- - "result"
+ - "name"
+ - "parent"
+ - "result"
window: 14
long-trend-window: 180
@@ -1261,9 +1377,9 @@
data: "plot-performance-trending-all-2n-skx"
filter: "'MRR' and '8T4C'"
parameters:
- - "name"
- - "parent"
- - "result"
+ - "name"
+ - "parent"
+ - "result"
window: 14
long-trend-window: 180
@@ -1300,9 +1416,9 @@
data: "plot-performance-trending-all-2n-skx"
filter: "'MRR'"
parameters:
- - "name"
- - "parent"
- - "status"
+ - "name"
+ - "parent"
+ - "status"
window: 7 # days
-
@@ -1313,6 +1429,28 @@
output-file: "{DIR[STATIC,VPP]}/failed-tests-2n-skx.rst"
testbed: "2n-skx"
+-
+ type: "table"
+ title: "Failed NDRPDR tests 2n-skx"
+ algorithm: "table_failed_tests"
+ output-file-ext: ".csv"
+ output-file: "{DIR[STATIC,VPP]}/failed-tests-2n-skx-ndrpdr"
+ data: "plot-ndrpdr-comparison-2n-skx"
+ filter: "'NDRPDR'"
+ parameters:
+ - "name"
+ - "parent"
+ - "status"
+ window: 30 # days
+
+-
+ type: "table"
+ title: "HTML Failed NDRPDR tests 2n-skx"
+ algorithm: "table_failed_tests_html"
+ input-file: "{DIR[STATIC,VPP]}/failed-tests-2n-skx-ndrpdr.csv"
+ output-file: "{DIR[STATIC,VPP]}/failed-tests-2n-skx-ndrpdr.rst"
+ testbed: "2n-skx"
+
################################################################################
# 2n-clx
-
@@ -1324,9 +1462,9 @@
data: "plot-performance-trending-vpp-2n-clx"
filter: "'MRR' and '2T1C'"
parameters:
- - "name"
- - "parent"
- - "result"
+ - "name"
+ - "parent"
+ - "result"
window: 14
long-trend-window: 180
@@ -1339,9 +1477,9 @@
data: "plot-performance-trending-vpp-2n-clx"
filter: "'MRR' and '4T2C'"
parameters:
- - "name"
- - "parent"
- - "result"
+ - "name"
+ - "parent"
+ - "result"
window: 14
long-trend-window: 180
@@ -1354,9 +1492,9 @@
data: "plot-performance-trending-vpp-2n-clx"
filter: "'MRR' and '8T4C'"
parameters:
- - "name"
- - "parent"
- - "result"
+ - "name"
+ - "parent"
+ - "result"
window: 14
long-trend-window: 180
@@ -1393,9 +1531,9 @@
data: "plot-performance-trending-vpp-2n-clx"
filter: "'MRR'"
parameters:
- - "name"
- - "parent"
- - "status"
+ - "name"
+ - "parent"
+ - "status"
window: 7 # days
-
@@ -1406,9 +1544,30 @@
output-file: "{DIR[STATIC,VPP]}/failed-tests-2n-clx.rst"
testbed: "2n-clx"
+-
+ type: "table"
+ title: "Failed NDRPDR tests 2n-clx"
+ algorithm: "table_failed_tests"
+ output-file-ext: ".csv"
+ output-file: "{DIR[STATIC,VPP]}/failed-tests-2n-clx-ndrpdr"
+ data: "plot-ndrpdr-comparison-2n-clx"
+ filter: "'NDRPDR'"
+ parameters:
+ - "name"
+ - "parent"
+ - "status"
+ window: 30 # days
+
+-
+ type: "table"
+ title: "HTML Failed NDRPDR tests 2n-clx"
+ algorithm: "table_failed_tests_html"
+ input-file: "{DIR[STATIC,VPP]}/failed-tests-2n-clx-ndrpdr.csv"
+ output-file: "{DIR[STATIC,VPP]}/failed-tests-2n-clx-ndrpdr.rst"
+ testbed: "2n-clx"
-################################################################################
-# 3n-tsh
+#################################################################################
+## 3n-tsh
-
type: "table"
title: "Performance trending dashboard 1t1c-3n-tsh"
@@ -1418,9 +1577,9 @@
data: "plot-performance-trending-all-3n-tsh"
filter: "'MRR' and '1T1C'"
parameters:
- - "name"
- - "parent"
- - "result"
+ - "name"
+ - "parent"
+ - "result"
window: 14
long-trend-window: 180
@@ -1448,9 +1607,9 @@
data: "plot-performance-trending-all-3n-tsh"
filter: "'MRR' and '4T4C'"
parameters:
- - "name"
- - "parent"
- - "result"
+ - "name"
+ - "parent"
+ - "result"
window: 14
long-trend-window: 180
@@ -1487,9 +1646,9 @@
data: "plot-performance-trending-all-3n-tsh"
filter: "'MRR'"
parameters:
- - "name"
- - "parent"
- - "status"
+ - "name"
+ - "parent"
+ - "status"
window: 7 # days
-
@@ -1511,9 +1670,9 @@
data: "plot-performance-trending-vpp-3n-dnv"
filter: "'MRR' and '1T1C'"
parameters:
- - "name"
- - "parent"
- - "result"
+ - "name"
+ - "parent"
+ - "result"
window: 14
long-trend-window: 180
@@ -1526,9 +1685,9 @@
data: "plot-performance-trending-vpp-3n-dnv"
filter: "'MRR' and '2T2C'"
parameters:
- - "name"
- - "parent"
- - "result"
+ - "name"
+ - "parent"
+ - "result"
window: 14
long-trend-window: 180
@@ -1541,9 +1700,9 @@
data: "plot-performance-trending-vpp-3n-dnv"
filter: "'MRR' and '4T4C'"
parameters:
- - "name"
- - "parent"
- - "result"
+ - "name"
+ - "parent"
+ - "result"
window: 14
long-trend-window: 180
@@ -1580,9 +1739,9 @@
data: "plot-performance-trending-vpp-3n-dnv"
filter: "'MRR'"
parameters:
- - "name"
- - "parent"
- - "status"
+ - "name"
+ - "parent"
+ - "status"
window: 7 # days
-
@@ -1604,9 +1763,9 @@
data: "plot-performance-trending-vpp-2n-dnv"
filter: "'MRR' and '1T1C'"
parameters:
- - "name"
- - "parent"
- - "result"
+ - "name"
+ - "parent"
+ - "result"
window: 14
long-trend-window: 180
@@ -1619,9 +1778,9 @@
data: "plot-performance-trending-vpp-2n-dnv"
filter: "'MRR' and '2T2C'"
parameters:
- - "name"
- - "parent"
- - "result"
+ - "name"
+ - "parent"
+ - "result"
window: 14
long-trend-window: 180
@@ -1634,9 +1793,9 @@
data: "plot-performance-trending-vpp-2n-dnv"
filter: "'MRR' and '4T4C'"
parameters:
- - "name"
- - "parent"
- - "result"
+ - "name"
+ - "parent"
+ - "result"
window: 14
long-trend-window: 180
@@ -1673,9 +1832,9 @@
data: "plot-performance-trending-vpp-2n-dnv"
filter: "'MRR'"
parameters:
- - "name"
- - "parent"
- - "status"
+ - "name"
+ - "parent"
+ - "status"
window: 7 # days
-