a1f4f18d338ff76553b0ef1e06941dad61c7db5a
[csit.git] / resources / tools / presentation / specifications / report / 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/report/data_sets.yaml"
9     - "specifications/report/layouts.yaml"
10     - "specifications/report/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     DIR[BUILD,LATEX]: "_build_latex"
19
20     # Static .rst files
21     DIR[RST]: "../../../docs/report"
22
23     # Working directories
24     ## Input data files (.zip, .xml)
25     DIR[WORKING,DATA]: "{DIR[WORKING]}/data"
26     ## Static source files from git
27     DIR[WORKING,SRC]: "{DIR[WORKING]}/src"
28     DIR[WORKING,SRC,STATIC]: "{DIR[WORKING,SRC]}/_static"
29
30     # Static html content
31     DIR[STATIC]: "{DIR[BUILD,HTML]}/_static"
32     DIR[STATIC,VPP]: "{DIR[STATIC]}/vpp"
33     DIR[STATIC,DPDK]: "{DIR[STATIC]}/dpdk"
34     DIR[STATIC,ARCH]: "{DIR[STATIC]}/archive"
35
36     # Detailed test results
37     DIR[DTR]: "{DIR[WORKING,SRC]}/detailed_test_results"
38     DIR[DTR,PERF,DPDK,3N,SKX]: "{DIR[DTR]}/dpdk_performance_results_3n_skx"
39     DIR[DTR,PERF,DPDK,2N,SKX]: "{DIR[DTR]}/dpdk_performance_results_2n_skx"
40     DIR[DTR,PERF,DPDK,2N,ZN2]: "{DIR[DTR]}/dpdk_performance_results_2n_zn2"
41     DIR[DTR,PERF,DPDK,2N,CLX]: "{DIR[DTR]}/dpdk_performance_results_2n_clx"
42     DIR[DTR,PERF,DPDK,2N,DNV]: "{DIR[DTR]}/dpdk_performance_results_2n_dnv"
43     DIR[DTR,PERF,DPDK,3N,DNV]: "{DIR[DTR]}/dpdk_performance_results_3n_dnv"
44     DIR[DTR,PERF,DPDK,3N,TSH]: "{DIR[DTR]}/dpdk_performance_results_3n_tsh"
45     DIR[DTR,PERF,DPDK,2N,TX2]: "{DIR[DTR]}/dpdk_performance_results_2n_tx2"
46     DIR[DTR,PERF,VPP,ALL]: "{DIR[DTR]}/vpp_performance_results"
47     DIR[DTR,PERF,VPP,3N,SKX]: "{DIR[DTR]}/vpp_performance_results_3n_skx"
48     DIR[DTR,PERF,VPP,2N,SKX]: "{DIR[DTR]}/vpp_performance_results_2n_skx"
49     DIR[DTR,PERF,VPP,2N,ZN2]: "{DIR[DTR]}/vpp_performance_results_2n_zn2"
50     DIR[DTR,PERF,VPP,2N,CLX]: "{DIR[DTR]}/vpp_performance_results_2n_clx"
51     DIR[DTR,PERF,VPP,2N,ICX]: "{DIR[DTR]}/vpp_performance_results_2n_icx"
52     DIR[DTR,PERF,VPP,3N,ICX]: "{DIR[DTR]}/vpp_performance_results_3n_icx"
53     DIR[DTR,PERF,VPP,3N,TSH]: "{DIR[DTR]}/vpp_performance_results_3n_tsh"
54     DIR[DTR,PERF,VPP,2N,TX2]: "{DIR[DTR]}/vpp_performance_results_2n_tx2"
55     DIR[DTR,PERF,VPP,3N,DNV]: "{DIR[DTR]}/vpp_performance_results_3n_dnv"
56     DIR[DTR,PERF,VPP,2N,DNV]: "{DIR[DTR]}/vpp_performance_results_2n_dnv"
57     DIR[DTR,MRR,VPP,ALL]: "{DIR[DTR]}/vpp_mrr_results"
58     DIR[DTR,MRR,VPP,3N,SKX]: "{DIR[DTR]}/vpp_mrr_results_3n_skx"
59     DIR[DTR,MRR,VPP,2N,SKX]: "{DIR[DTR]}/vpp_mrr_results_2n_skx"
60     DIR[DTR,MRR,VPP,2N,ZN2]: "{DIR[DTR]}/vpp_mrr_results_2n_zn2"
61     DIR[DTR,MRR,VPP,2N,CLX]: "{DIR[DTR]}/vpp_mrr_results_2n_clx"
62     DIR[DTR,MRR,VPP,2N,ICX]: "{DIR[DTR]}/vpp_mrr_results_2n_icx"
63     DIR[DTR,MRR,VPP,3N,ICX]: "{DIR[DTR]}/vpp_mrr_results_3n_icx"
64     DIR[DTR,MRR,VPP,3N,TSH]: "{DIR[DTR]}/vpp_mrr_results_3n_tsh"
65     DIR[DTR,MRR,VPP,2N,TX2]: "{DIR[DTR]}/vpp_mrr_results_2n_tx2"
66     DIR[DTR,MRR,VPP,3N,DNV]: "{DIR[DTR]}/vpp_mrr_results_3n_dnv"
67     DIR[DTR,MRR,VPP,2N,DNV]: "{DIR[DTR]}/vpp_mrr_results_2n_dnv"
68     DIR[DTR,FUNC,VPP,DEVICE,UBUNTU]: "{DIR[DTR]}/vpp_device_results_ubuntu"
69
70     # Detailed test configurations
71     DIR[DTC]: "{DIR[WORKING,SRC]}/test_configuration"
72     DIR[DTC,PERF,VPP,ALL]: "{DIR[DTC]}/vpp_performance_configuration"
73     DIR[DTC,PERF,VPP,3N,SKX]: "{DIR[DTC]}/vpp_performance_configuration_3n_skx"
74     DIR[DTC,PERF,VPP,2N,SKX]: "{DIR[DTC]}/vpp_performance_configuration_2n_skx"
75     DIR[DTC,PERF,VPP,2N,ZN2]: "{DIR[DTC]}/vpp_performance_configuration_2n_zn2"
76     DIR[DTC,PERF,VPP,2N,CLX]: "{DIR[DTC]}/vpp_performance_configuration_2n_clx"
77     DIR[DTC,PERF,VPP,2N,ICX]: "{DIR[DTC]}/vpp_performance_configuration_2n_icx"
78     DIR[DTC,PERF,VPP,3N,ICX]: "{DIR[DTC]}/vpp_performance_configuration_3n_icx"
79     DIR[DTC,PERF,VPP,3N,TSH]: "{DIR[DTC]}/vpp_performance_configuration_3n_tsh"
80     DIR[DTC,PERF,VPP,2N,TX2]: "{DIR[DTC]}/vpp_performance_configuration_2n_tx2"
81     DIR[DTC,PERF,VPP,3N,DNV]: "{DIR[DTC]}/vpp_performance_configuration_3n_dnv"
82     DIR[DTC,PERF,VPP,2N,DNV]: "{DIR[DTC]}/vpp_performance_configuration_2n_dnv"
83     DIR[DTC,MRR,VPP,ALL]: "{DIR[DTC]}/vpp_mrr_configuration"
84     DIR[DTC,MRR,VPP,3N,SKX]: "{DIR[DTC]}/vpp_mrr_configuration_3n_skx"
85     DIR[DTC,MRR,VPP,2N,SKX]: "{DIR[DTC]}/vpp_mrr_configuration_2n_skx"
86     DIR[DTC,MRR,VPP,2N,ZN2]: "{DIR[DTC]}/vpp_mrr_configuration_2n_zn2"
87     DIR[DTC,MRR,VPP,2N,CLX]: "{DIR[DTC]}/vpp_mrr_configuration_2n_clx"
88     DIR[DTC,MRR,VPP,2N,ICX]: "{DIR[DTC]}/vpp_mrr_configuration_2n_icx"
89     DIR[DTC,MRR,VPP,3N,ICX]: "{DIR[DTC]}/vpp_mrr_configuration_3n_icx"
90     DIR[DTC,MRR,VPP,3N,TSH]: "{DIR[DTC]}/vpp_mrr_configuration_3n_tsh"
91     DIR[DTC,MRR,VPP,2N,TX2]: "{DIR[DTC]}/vpp_mrr_configuration_2n_tx2"
92     DIR[DTC,MRR,VPP,3N,DNV]: "{DIR[DTC]}/vpp_mrr_configuration_3n_dnv"
93     DIR[DTC,MRR,VPP,2N,DNV]: "{DIR[DTC]}/vpp_mrr_configuration_2n_dnv"
94     DIR[DTC,FUNC,VPP,DEVICE,UBUNTU]: "{DIR[DTC]}/vpp_device_configuration_ubuntu"
95
96     # Detailed tests operational data
97     DIR[DTO]: "{DIR[WORKING,SRC]}/test_operational_data"
98     DIR[DTO,PERF,VPP,ALL]: "{DIR[DTO]}/vpp_performance_operational_data"
99     DIR[DTO,PERF,VPP,3N,SKX]: "{DIR[DTO]}/vpp_performance_operational_data_3n_skx"
100     DIR[DTO,PERF,VPP,2N,SKX]: "{DIR[DTO]}/vpp_performance_operational_data_2n_skx"
101     DIR[DTO,PERF,VPP,2N,ZN2]: "{DIR[DTO]}/vpp_performance_operational_data_2n_zn2"
102     DIR[DTO,PERF,VPP,2N,CLX]: "{DIR[DTO]}/vpp_performance_operational_data_2n_clx"
103     DIR[DTO,PERF,VPP,2N,ICX]: "{DIR[DTO]}/vpp_performance_operational_data_2n_icx"
104     DIR[DTO,PERF,VPP,3N,ICX]: "{DIR[DTO]}/vpp_performance_operational_data_3n_icx"
105     DIR[DTO,PERF,VPP,3N,TSH]: "{DIR[DTO]}/vpp_performance_operational_data_3n_tsh"
106     DIR[DTO,PERF,VPP,2N,TX2]: "{DIR[DTO]}/vpp_performance_operational_data_2n_tx2"
107     DIR[DTO,PERF,VPP,3N,DNV]: "{DIR[DTO]}/vpp_performance_operational_data_3n_dnv"
108     DIR[DTO,PERF,VPP,2N,DNV]: "{DIR[DTO]}/vpp_performance_operational_data_2n_dnv"
109
110     # Latencies:
111     DIR[LAT,VPP]: "{DIR[WORKING,SRC]}/vpp_performance_tests/hdrh_packet_latency_by_percentile_graphs"
112     DIR[LAT,DPDK]: "{DIR[WORKING,SRC]}/dpdk_performance_tests/hdrh_packet_latency_by_percentile_graphs"
113
114     # .css patch file to fix tables generated by Sphinx
115     DIR[CSS_PATCH_FILE]: "{DIR[STATIC]}/theme_overrides.css"
116     DIR[CSS_PATCH_FILE2]: "{DIR[WORKING,SRC,STATIC]}/theme_overrides.css"
117
118   # Data sources are used in this order:
119   data-sources:
120     # XML
121     - type: "xml"
122       url: "https://logs.nginx.service.consul/vex-yul-rot-jenkins-1"
123       path: "{job}/{build}/archives/{filename}"
124       file-name: "output_info.xml.gz"
125       file-format: ".gz"
126       enabled: True
127     - type: "xml"
128       url: "https://logs.nginx.service.consul/vex-yul-rot-jenkins-1"
129       path: "{job}/{build}/{filename}"
130       file-name: "output_info.xml.gz"
131       file-format: ".gz"
132       enabled: True
133     - type: "xml"
134       url: "https://logs.fd.io/production/vex-yul-rot-jenkins-1"
135       path: "{job}/{build}/{filename}"
136       file-name: "output_info.xml.gz"
137       file-format: ".gz"
138       enabled: True
139     - type: "xml"
140       url: "https://logs.fd.io/production/vex-yul-rot-jenkins-1"
141       path: "{job}/{build}/archives/{filename}"
142       file-name: "output_info.xml.gz"
143       file-format: ".gz"
144       enabled: True
145     - type: "xml"
146       url: "https://s3-logs.fd.io/logs/production/vex-yul-rot-jenkins-1"
147       path: "{job}/{build}/{filename}"
148       file-name: "output_info.xml.gz"
149       file-format: ".gz"
150       enabled: True
151     - type: "xml"
152       url: "https://logs.fd.io/production/vex-yul-rot-jenkins-1"
153       path: "{job}/{build}/archives/{filename}"
154       file-name: "output.xml.gz"
155       file-format: ".gz"
156       enabled: True
157     - type: "xml"
158       url: "https://logs.nginx.service.consul/vex-yul-rot-jenkins-1"
159       path: "{job}/{build}/archives/{filename}"
160       file-name: "output.xml.gz"
161       file-format: ".gz"
162       enabled: True
163     - type: "xml"
164       url: "https://logs.nginx.service.consul/vex-yul-rot-jenkins-1"
165       path: "{job}/{build}/{filename}"
166       file-name: "output.xml.gz"
167       file-format: ".gz"
168       enabled: True
169     - type: "xml"
170       url: "https://logs.fd.io/production/vex-yul-rot-jenkins-1"
171       path: "{job}/{build}/{filename}"
172       file-name: "output.xml.gz"
173       file-format: ".gz"
174       enabled: True
175     # XML from docs.nexus
176     - type: "xml-docs"
177       url: "https://docs.fd.io/csit"
178       path: "report/_static/archive"
179       file-name: "output_info.xml.gz"
180       file-format: ".gz"
181       enabled: True
182     - type: "xml-docs"
183       url: "https://docs.fd.io/csit"
184       path: "report/_static/archive"
185       file-name: "output.xml.gz"
186       file-format: ".gz"
187       enabled: True
188     - type: "xml-docs"
189       url: "https://docs.fd.io/csit"
190       path: "report/_static/archive"
191       file-name: "robot-plugin.zip"
192       file-format: ".zip"
193       enabled: True
194     # JSON from S3
195     - type: "json"
196       url: "https://logs.nginx.service.consul/vex-yul-rot-jenkins-1"
197       path: "{job}/{build}/{filename}"
198       file-name: "output.json.gz"
199       file-format: ".gz"
200       enabled: False
201
202   archive-inputs: True
203
204   mapping-file: ""
205
206   ignore-list: ""
207
208   make-dirs:
209   # List the directories which are created while preparing the environment.
210   # All directories MUST be defined in "paths" section.
211     - "DIR[WORKING,DATA]"
212     - "DIR[STATIC,VPP]"
213     - "DIR[STATIC,DPDK]"
214     - "DIR[STATIC,ARCH]"
215     - "DIR[BUILD,LATEX]"
216     - "DIR[WORKING,SRC]"
217     - "DIR[WORKING,SRC,STATIC]"
218
219   remove-dirs:
220   # List the directories which are deleted while cleaning the environment.
221   # All directories MUST be defined in "paths" section.
222   #  - "DIR[BUILD,HTML]"
223     - "DIR[WORKING,DATA]"
224
225   build-dirs:
226   # List the directories where the results (build) is stored.
227   # All directories MUST be defined in "paths" section.
228     - "DIR[BUILD,HTML]"
229     - "DIR[BUILD,LATEX]"
230
231   reverse-input: False  # Needed for trending, not important for the report
232
233   limits:
234     nic:
235       x520: 24460000
236       x553: 29761905
237       x710: 35800000
238       xxv710: 35800000
239       xl710: 35800000
240       cx556a: 148809523.81
241       e810cq: 148809523.81
242
243     link:
244       10ge: 14880952.38
245       25ge: 37202380.95
246       40ge: 59523809.52
247       100ge: 148809523.81
248
249     pci:
250       pci-g3-x8: 74404761.90
251       pci-g3-x16: 148809523.81
252
253 ################################################################################
254 ###                               S T A T I C                                ###
255 ################################################################################
256
257 - type: "static"
258   src-path: "{DIR[RST]}"
259   dst-path: "{DIR[WORKING,SRC]}"
260
261 ################################################################################
262 ###                               O U T P U T                                ###
263 ################################################################################
264
265 - type: "output"
266   arch-file-format:
267     - ".gz"
268     - ".zip"
269   output: "report"
270   format:
271     html:
272     - full
273     pdf:
274     - minimal