aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/specification_CPTA.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools/presentation/specification_CPTA.yaml')
-rw-r--r--resources/tools/presentation/specification_CPTA.yaml71
1 files changed, 68 insertions, 3 deletions
diff --git a/resources/tools/presentation/specification_CPTA.yaml b/resources/tools/presentation/specification_CPTA.yaml
index 4c47d1fb66..8c5217bb2f 100644
--- a/resources/tools/presentation/specification_CPTA.yaml
+++ b/resources/tools/presentation/specification_CPTA.yaml
@@ -68,12 +68,77 @@
ignore-list: "ignored_tcs.yaml"
+ alerting:
+
+ alerts:
+
+# As Jenkins slave is not configured to send emails, this is now only as
+# a working example:
+#
+# # Send the list of failed tests vie email.
+# # Pre-requisites:
+# # - SMTP server is installed on the Jenkins slave
+# # - SMTP server is configured to send emails. Default configuration is
+# # sufficient.
+# email-failed-tests:
+# # Title is used in logs and also as the email subject.
+# title: "Trending: Failed Tests"
+# # Type of alert.
+# type: "failed-tests"
+# # How to send the alert. The used way must be specified in the
+# # configuration part.
+# way: "email"
+# # Data to be included in the alert.
+# # Here is used the list of tables generated by the function
+# # "table_failed_tests_html".
+# include:
+# - "failed-tests-3n-hsw"
+# - "failed-tests-3n-skx"
+# - "failed-tests-2n-skx"
+# # This url is used in the tables instead of the original one. The aim
+# # is to make the links usable also from the email.
+# url: "https://docs.fd.io/csit/master/trending/trending"
+
+ # Jenkins job sends the email with failed tests.
+ # Pre-requisites:
+ # - Jenkins job is configured to send emails in "Post-build Actions" -->
+ # "Editable Email Notification".
+ jenkins-send-failed-tests:
+ title: "Trending: Failed Tests"
+ type: "failed-tests"
+ way: "jenkins"
+ include:
+ - "failed-tests-3n-hsw"
+ - "failed-tests-3n-skx"
+ - "failed-tests-2n-skx"
+ url: "https://docs.fd.io/csit/master/trending/trending"
+
+ configurations:
+ # Configuration of the email notifications.
+ email:
+ # SMTP server
+ server: "localhost"
+ # List of recipients.
+ address-to:
+ - "csit-report@lists.fd.io"
+ # Sender
+ address-from: "testuser@testserver.com"
+
+ # Configuration of notifications sent by Jenkins.
+ jenkins:
+ # The directory in the workspace where the generated data is stored and
+ # then read by Jenkins job.
+ output-dir: "_build/_static/vpp"
+ # The name of the output files. ASCII text and HTML formats are
+ # generated.
+ output-file: "jenkins-alert-failed-tests"
+
data-sets:
# 3n-hsw
plot-performance-trending-all-3n-hsw:
csit-vpp-perf-mrr-daily-master:
- start: 100
+ start: 120
end: "lastCompletedBuild"
csit-dpdk-perf-mrr-weekly-master:
start: 3
@@ -81,7 +146,7 @@
plot-performance-trending-vpp-3n-hsw:
csit-vpp-perf-mrr-daily-master:
- start: 100
+ start: 120
end: "lastCompletedBuild"
plot-performance-trending-dpdk-3n-hsw:
@@ -212,7 +277,7 @@
# 3n-hsw
csit-vpp-perf-mrr-daily-master:
- start: 100
+ start: 120
end: "lastCompletedBuild"
csit-dpdk-perf-mrr-weekly-master:
start: 3