fix(core): topology files, tox
[csit.git] / resources / tools / presentation / specifications / trending / environment.yaml
1 ################################################################################
2 ###                          E N V I R O N M E N T                           ###
3 ################################################################################
4
5 - type: "environment"
6
7   spec-files:
8     - "specifications/trending/data_sets.yaml"
9     - "specifications/trending/layouts.yaml"
10     - "specifications/trending/elements.yaml"
11
12   paths:
13     # Top level directories:
14     ## Working directory
15     DIR[WORKING]: "_tmp"
16     ## Build directories
17     DIR[BUILD,HTML]: "_build"
18     ## Static .rst files
19     DIR[RST]: "../../../docs/cpta"
20
21     # Static html content
22     DIR[STATIC]: "{DIR[BUILD,HTML]}/_static"
23     DIR[STATIC,VPP]: "{DIR[STATIC]}/vpp"
24     DIR[STATIC,ARCH]: "{DIR[STATIC]}/archive"
25
26     # Working directories
27     ## Input data files (.zip, .xml)
28     DIR[WORKING,DATA]: "{DIR[WORKING]}/data"
29     ## Static source files from git
30     DIR[WORKING,SRC]: "{DIR[WORKING]}/src"
31     DIR[WORKING,SRC,STATIC]: "{DIR[WORKING,SRC]}/_static"
32
33     # .css patch file
34     DIR[CSS_PATCH_FILE]: "{DIR[STATIC]}/theme_overrides.css"
35     DIR[CSS_PATCH_FILE2]: "{DIR[WORKING,SRC,STATIC]}/theme_overrides.css"
36
37   urls:
38     URL[JENKINS,CSIT]: "https://jenkins.fd.io/view/csit/job"
39
40   make-dirs:
41   # List the directories which are created while preparing the environment.
42   # All directories MUST be defined in "paths" section.
43   - "DIR[WORKING,DATA]"
44   - "DIR[WORKING,SRC,STATIC]"
45   - "DIR[BUILD,HTML]"
46   - "DIR[STATIC,VPP]"
47   - "DIR[STATIC,ARCH]"
48   build-dirs:
49   # List the directories where the results (build) is stored.
50   # All directories MUST be defined in "paths" section.
51   - "DIR[BUILD,HTML]"
52
53   testbeds:
54     "10.30.51.45": "LF-2n-SKX-21"
55     "10.30.51.53": "LF-2n-SKX-22"
56     "10.30.51.55": "LF-2n-SKX-23"
57     "10.30.51.57": "LF-2n-SKX-24"
58     "10.32.8.19": "LF-2n-CLX-27"
59     "10.32.8.21": "LF-2n-CLX-28"
60     "10.32.8.23": "LF-2n-CLX-29"
61     "10.30.51.48": "LF-3n-SKX-31"
62     "10.30.51.60": "LF-3n-SKX-32"
63     "10.30.51.49": "LF-3n-TSH-33"
64     "10.30.51.49": "LF-2n-TX2-34"
65     "10.32.8.25": "LF-2n-ZN2-210"
66     "10.32.8.10": "LF-DNV"
67
68   # Data sources are used in this order:
69   data-sources:
70     # XML
71     - type: "xml"
72       url: "https://s3-logs.fd.io/vex-yul-rot-jenkins-1"
73       path: "{job}/{build}/{filename}"
74       file-name: "output_info.xml.gz"
75       file-format: ".gz"
76       enabled: True
77     - type: "xml"
78       url: "https://logs.nginx.service.consul/vex-yul-rot-jenkins-1"
79       path: "{job}/{build}/{filename}"
80       file-name: "output_info.xml.gz"
81       file-format: ".gz"
82       enabled: True
83     - type: "xml"
84       url: "https://logs.nginx.service.consul/vex-yul-rot-jenkins-1"
85       path: "{job}/{build}/archives/{filename}"
86       file-name: "output_info.xml.gz"
87       file-format: ".gz"
88       enabled: True
89     # To be deprecated soon:
90     - type: "xml"
91       url: "https://logs.fd.io/production/vex-yul-rot-jenkins-1"
92       path: "{job}/{build}/{filename}"
93       file-name: "output_info.xml.gz"
94       file-format: ".gz"
95       enabled: True
96     # Deprecated:
97     - type: "xml"
98       url: "https://logs.fd.io/production/vex-yul-rot-jenkins-1"
99       path: "{job}/{build}/archives/{filename}"
100       file-name: "output_info.xml.gz"
101       file-format: ".gz"
102       enabled: False
103     - type: "xml"
104       url: "https://logs.nginx.service.consul/vex-yul-rot-jenkins-1"
105       path: "{job}/{build}/archives/{filename}"
106       file-name: "output.xml.gz"
107       file-format: ".gz"
108       enabled: False
109     - type: "xml"
110       url: "https://logs.nginx.service.consul/vex-yul-rot-jenkins-1"
111       path: "{job}/{build}/{filename}"
112       file-name: "output.xml.gz"
113       file-format: ".gz"
114       enabled: False
115     - type: "xml"
116       url: "https://logs.fd.io/production/vex-yul-rot-jenkins-1"
117       path: "{job}/{build}/archives/{filename}"
118       file-name: "output.xml.gz"
119       file-format: ".gz"
120       enabled: False
121     - type: "xml"
122       url: "https://logs.fd.io/production/vex-yul-rot-jenkins-1"
123       path: "{job}/{build}/{filename}"
124       file-name: "output.xml.gz"
125       file-format: ".gz"
126       enabled: False
127     # JSON from S3
128     - type: "json"
129       url: "https://logs.nginx.service.consul/vex-yul-rot-jenkins-1"
130       path: "{job}/{build}/{filename}"
131       file-name: "output.json.gz"
132       file-format: ".gz"
133       enabled: False
134
135   archive-inputs: False
136
137   reverse-input: True  # Needed for trending, not important for the report
138
139   # Number of days from now to the past. Only files generated in this
140   # time period are used.
141   # Only for trending
142   time-period: 180
143
144   mapping-file: ""
145
146   ignore-list: ""
147
148   alerting:
149
150     alerts:
151
152       # Jenkins job sends the email with failed tests.
153       # Pre-requisites:
154       # - Jenkins job is configured to send emails in "Post-build Actions" -->
155       #   "Editable Email Notification".
156       jenkins-send-failed-tests:
157         title: "Trending: Failed Tests"
158         type: "failed-tests"
159         way: "jenkins"
160         include:
161           - "last-failed-tests-vpp-2n-skx-mrr"
162           - "last-failed-tests-vpp-3n-skx-mrr"
163           - "last-failed-tests-vpp-2n-clx-mrr"
164           - "last-failed-tests-vpp-2n-zn2-mrr"
165           - "last-failed-tests-vpp-3n-tsh-mrr"
166           - "last-failed-tests-vpp-2n-tx2-mrr"
167           - "last-failed-tests-vpp-2n-dnv-mrr"
168           - "last-failed-tests-vpp-3n-dnv-mrr"
169           - "last-failed-tests-vpp-2n-aws-mrr"
170           - "last-failed-tests-vpp-3n-aws-mrr"
171           - "last-failed-tests-dpdk-2n-skx-mrr"
172           - "last-failed-tests-dpdk-3n-skx-mrr"
173           - "last-failed-tests-dpdk-2n-clx-mrr"
174           - "last-failed-tests-dpdk-3n-tsh-mrr"
175           - "last-failed-tests-dpdk-2n-tx2-mrr"
176           - "last-failed-tests-vpp-2n-skx-ndrpdr"
177           - "last-failed-tests-vpp-3n-skx-ndrpdr"
178           - "last-failed-tests-vpp-2n-clx-ndrpdr"
179           - "last-failed-tests-trex-2n-skx-mrr"
180         urls:
181           - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-2n-skx"
182           - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-3n-skx"
183           - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-2n-clx"
184           - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-2n-zn2"
185           - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-3n-tsh"
186           - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-2n-tx2"
187           - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-2n-dnv"
188           - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-3n-dnv"
189           - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-weekly-master-2n-aws"
190           - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-weekly-master-3n-aws"
191           - "https://jenkins.fd.io/view/csit/job/csit-dpdk-perf-mrr-weekly-master-2n-skx"
192           - "https://jenkins.fd.io/view/csit/job/csit-dpdk-perf-mrr-weekly-master-3n-skx"
193           - "https://jenkins.fd.io/view/csit/job/csit-dpdk-perf-mrr-weekly-master-2n-clx"
194           - "https://jenkins.fd.io/view/csit/job/csit-dpdk-perf-mrr-weekly-master-3n-tsh"
195           - "https://jenkins.fd.io/view/csit/job/csit-dpdk-perf-mrr-weekly-master-2n-tx2"
196           - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-ndrpdr-weekly-master-2n-skx"
197           - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-ndrpdr-weekly-master-3n-skx"
198           - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-ndrpdr-weekly-master-2n-clx"
199           - "https://jenkins.fd.io/view/csit/job/csit-trex-perf-ndrpdr-weekly-master-2n-skx"
200         url-details: "https://s3-docs.fd.io/csit/master/trending/introduction/failures.html"
201
202     configurations:
203       # Configuration of the email notifications.
204       email:
205         # SMTP server
206         server: "localhost"
207         # List of recipients.
208         address-to:
209         - "csit-report@lists.fd.io"
210         # Sender
211         address-from: "testuser@testserver.com"
212
213       # Configuration of notifications sent by Jenkins.
214       jenkins:
215         # The directory in the workspace where the generated data is stored and
216         # then read by Jenkins job.
217         output-dir: "_build/_static/vpp"
218         # The name of the output files. ASCII text and HTML formats are
219         # generated.
220         output-file: "trending-failed-tests"
221         # If defined, all output files are zipped into this file.
222         zip-output: "failed-tests.tar.gz"
223
224 ################################################################################
225 ###                               S T A T I C                                ###
226 ################################################################################
227
228 - type: "static"
229   src-path: "{DIR[RST]}"
230   dst-path: "{DIR[WORKING,SRC]}"
231
232 ################################################################################
233 ###                               O U T P U T                                ###
234 ################################################################################
235
236 - type: "output"
237   arch-file-format:
238     - ".gz"
239     - ".zip"
240   output: "trending"
241   format:
242     html:
243     - full