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