PAL: Refactor the processing of spec and download
[csit.git] / resources / tools / presentation / specifications / report_local / 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_local/data_sets.yaml"
9     - "specifications/report_local/layouts.yaml"
10     - "specifications/report_local/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,HSW]: "{DIR[DTR]}/dpdk_performance_results_3n_hsw"
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,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,VPP,ALL]: "{DIR[DTR]}/vpp_performance_results"
46     DIR[DTR,PERF,VPP,3N,HSW]: "{DIR[DTR]}/vpp_performance_results_3n_hsw"
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,CLX]: "{DIR[DTR]}/vpp_performance_results_2n_clx"
50     DIR[DTR,PERF,VPP,3N,TSH]: "{DIR[DTR]}/vpp_performance_results_3n_tsh"
51     DIR[DTR,PERF,VPP,3N,DNV]: "{DIR[DTR]}/vpp_performance_results_3n_dnv"
52     DIR[DTR,PERF,VPP,2N,DNV]: "{DIR[DTR]}/vpp_performance_results_2n_dnv"
53     DIR[DTR,PERF,VPP,3N,AWS]: "{DIR[DTR]}/vpp_performance_results_3n_aws"
54     DIR[DTR,PERF,VPP,2N,AWS]: "{DIR[DTR]}/vpp_performance_results_2n_aws"
55     DIR[DTR,MRR,VPP,ALL]: "{DIR[DTR]}/vpp_mrr_results"
56     DIR[DTR,MRR,VPP,3N,HSW]: "{DIR[DTR]}/vpp_mrr_results_3n_hsw"
57     DIR[DTR,MRR,VPP,3N,SKX]: "{DIR[DTR]}/vpp_mrr_results_3n_skx"
58     DIR[DTR,MRR,VPP,2N,SKX]: "{DIR[DTR]}/vpp_mrr_results_2n_skx"
59     DIR[DTR,MRR,VPP,2N,CLX]: "{DIR[DTR]}/vpp_mrr_results_2n_clx"
60     DIR[DTR,MRR,VPP,3N,TSH]: "{DIR[DTR]}/vpp_mrr_results_3n_tsh"
61     DIR[DTR,MRR,VPP,3N,DNV]: "{DIR[DTR]}/vpp_mrr_results_3n_dnv"
62     DIR[DTR,MRR,VPP,2N,DNV]: "{DIR[DTR]}/vpp_mrr_results_2n_dnv"
63     DIR[DTR,FUNC,VPP,DEVICE,UBUNTU]: "{DIR[DTR]}/vpp_device_results_ubuntu"
64
65     # Detailed test configurations
66     DIR[DTC]: "{DIR[WORKING,SRC]}/test_configuration"
67     DIR[DTC,PERF,VPP,ALL]: "{DIR[DTC]}/vpp_performance_configuration"
68     DIR[DTC,PERF,VPP,3N,HSW]: "{DIR[DTC]}/vpp_performance_configuration_3n_hsw"
69     DIR[DTC,PERF,VPP,3N,SKX]: "{DIR[DTC]}/vpp_performance_configuration_3n_skx"
70     DIR[DTC,PERF,VPP,2N,SKX]: "{DIR[DTC]}/vpp_performance_configuration_2n_skx"
71     DIR[DTC,PERF,VPP,2N,CLX]: "{DIR[DTC]}/vpp_performance_configuration_2n_clx"
72     DIR[DTC,PERF,VPP,3N,TSH]: "{DIR[DTC]}/vpp_performance_configuration_3n_tsh"
73     DIR[DTC,PERF,VPP,3N,DNV]: "{DIR[DTC]}/vpp_performance_configuration_3n_dnv"
74     DIR[DTC,PERF,VPP,2N,DNV]: "{DIR[DTC]}/vpp_performance_configuration_2n_dnv"
75     DIR[DTC,PERF,VPP,3N,AWS]: "{DIR[DTC]}/vpp_performance_configuration_3n_aws"
76     DIR[DTC,PERF,VPP,2N,AWS]: "{DIR[DTC]}/vpp_performance_configuration_2n_aws"
77     DIR[DTC,MRR,VPP,ALL]: "{DIR[DTC]}/vpp_mrr_configuration"
78     DIR[DTC,MRR,VPP,3N,HSW]: "{DIR[DTC]}/vpp_mrr_configuration_3n_hsw"
79     DIR[DTC,MRR,VPP,3N,SKX]: "{DIR[DTC]}/vpp_mrr_configuration_3n_skx"
80     DIR[DTC,MRR,VPP,2N,SKX]: "{DIR[DTC]}/vpp_mrr_configuration_2n_skx"
81     DIR[DTC,MRR,VPP,2N,CLX]: "{DIR[DTC]}/vpp_mrr_configuration_2n_clx"
82     DIR[DTC,MRR,VPP,3N,TSH]: "{DIR[DTC]}/vpp_mrr_configuration_3n_tsh"
83     DIR[DTC,MRR,VPP,3N,DNV]: "{DIR[DTC]}/vpp_mrr_configuration_3n_dnv"
84     DIR[DTC,MRR,VPP,2N,DNV]: "{DIR[DTC]}/vpp_mrr_configuration_2n_dnv"
85     DIR[DTC,FUNC,VPP,DEVICE,UBUNTU]: "{DIR[DTC]}/vpp_device_configuration_ubuntu"
86
87     # Detailed tests operational data
88     DIR[DTO]: "{DIR[WORKING,SRC]}/test_operational_data"
89     DIR[DTO,PERF,VPP,ALL]: "{DIR[DTO]}/vpp_performance_operational_data"
90     DIR[DTO,PERF,VPP,3N,HSW]: "{DIR[DTO]}/vpp_performance_operational_data_3n_hsw"
91     DIR[DTO,PERF,VPP,3N,SKX]: "{DIR[DTO]}/vpp_performance_operational_data_3n_skx"
92     DIR[DTO,PERF,VPP,2N,SKX]: "{DIR[DTO]}/vpp_performance_operational_data_2n_skx"
93     DIR[DTO,PERF,VPP,2N,CLX]: "{DIR[DTO]}/vpp_performance_operational_data_2n_clx"
94     DIR[DTO,PERF,VPP,3N,TSH]: "{DIR[DTO]}/vpp_performance_operational_data_3n_tsh"
95     DIR[DTO,PERF,VPP,3N,DNV]: "{DIR[DTO]}/vpp_performance_operational_data_3n_dnv"
96     DIR[DTO,PERF,VPP,2N,DNV]: "{DIR[DTO]}/vpp_performance_operational_data_2n_dnv"
97     DIR[DTO,PERF,VPP,3N,AWS]: "{DIR[DTO]}/vpp_performance_operational_data_3n_aws"
98     DIR[DTO,PERF,VPP,2N,AWS]: "{DIR[DTO]}/vpp_performance_operational_data_2n_aws"
99
100     # Latencies:
101     DIR[LAT,VPP]: "{DIR[WORKING,SRC]}/vpp_performance_tests/hdrh_packet_latency_by_percentile_graphs"
102     DIR[LAT,DPDK]: "{DIR[WORKING,SRC]}/dpdk_performance_tests/hdrh_packet_latency_by_percentile_graphs"
103
104     # .css patch file to fix tables generated by Sphinx
105     DIR[CSS_PATCH_FILE]: "{DIR[STATIC]}/theme_overrides.css"
106     DIR[CSS_PATCH_FILE2]: "{DIR[WORKING,SRC,STATIC]}/theme_overrides.css"
107
108   # Data sources are used in this order:
109   data-sources:
110     # JSON from S3
111     - type: "json"
112       url: "https://logs.nginx.service.consul/vex-yul-rot-jenkins-1"
113       path: "{job}/{build}/{filename}"
114       file-name: "output.json.gz"
115       file-format: ".gz"
116       enabled: False
117     # XML from S3
118     - type: "xml"
119       url: "https://logs.nginx.service.consul/vex-yul-rot-jenkins-1"
120       path: "{job}/{build}/archives/{filename}"
121       file-name: "output_info.xml.gz"
122       file-format: ".gz"
123       enabled: False
124     - type: "xml"
125       url: "https://logs.nginx.service.consul/vex-yul-rot-jenkins-1"
126       path: "{job}/{build}/{filename}"
127       file-name: "output_info.xml.gz"
128       file-format: ".gz"
129       enabled: False
130     - type: "xml"
131       url: "https://logs.fd.io/production/vex-yul-rot-jenkins-1"
132       path: "{job}/{build}/archives/{filename}"
133       file-name: "output_info.xml.gz"
134       file-format: ".gz"
135       enabled: True
136     - type: "xml"
137       url: "https://logs.fd.io/production/vex-yul-rot-jenkins-1"
138       path: "{job}/{build}/archives/{filename}"
139       file-name: "output.xml.gz"
140       file-format: ".gz"
141       enabled: True
142     - type: "xml"
143       url: "https://logs.nginx.service.consul/vex-yul-rot-jenkins-1"
144       path: "{job}/{build}/archives/{filename}"
145       file-name: "output.xml.gz"
146       file-format: ".gz"
147       enabled: False
148     - type: "xml"
149       url: "https://logs.nginx.service.consul/vex-yul-rot-jenkins-1"
150       path: "{job}/{build}/{filename}"
151       file-name: "output.xml.gz"
152       file-format: ".gz"
153       enabled: False
154     - type: "xml"
155       url: "https://logs.fd.io/production/vex-yul-rot-jenkins-1"
156       path: "{job}/{build}/{filename}"
157       file-name: "output_info.xml.gz"
158       file-format: ".gz"
159       enabled: True
160     - type: "xml"
161       url: "https://logs.fd.io/production/vex-yul-rot-jenkins-1"
162       path: "{job}/{build}/{filename}"
163       file-name: "output.xml.gz"
164       file-format: ".gz"
165       enabled: True
166     # XML from docs.nexus
167     - type: "xml-docs"
168       url: "https://docs.fd.io/csit"
169       path: "report/_static/archive"
170       file-name: "output_info.xml.gz"
171       file-format: ".gz"
172       enabled: True
173     - type: "xml-docs"
174       url: "https://docs.fd.io/csit"
175       path: "report/_static/archive"
176       file-name: "output.xml.gz"
177       file-format: ".gz"
178       enabled: True
179     - type: "xml-docs"
180       url: "https://docs.fd.io/csit"
181       path: "report/_static/archive"
182       file-name: "robot-plugin.zip"
183       file-format: ".zip"
184       enabled: True
185
186   archive-inputs: True
187
188   mapping-file: ""
189
190   ignore-list: ""
191
192   make-dirs:
193   # List the directories which are created while preparing the environment.
194   # All directories MUST be defined in "paths" section.
195     - "DIR[WORKING,DATA]"
196     - "DIR[STATIC,VPP]"
197     - "DIR[STATIC,DPDK]"
198     - "DIR[STATIC,ARCH]"
199     - "DIR[BUILD,LATEX]"
200     - "DIR[WORKING,SRC]"
201     - "DIR[WORKING,SRC,STATIC]"
202
203   remove-dirs:
204   # List the directories which are deleted while cleaning the environment.
205   # All directories MUST be defined in "paths" section.
206   #  - "DIR[BUILD,HTML]"
207     - "DIR[WORKING,DATA]"
208
209   build-dirs:
210   # List the directories where the results (build) is stored.
211   # All directories MUST be defined in "paths" section.
212     - "DIR[BUILD,HTML]"
213     - "DIR[BUILD,LATEX]"
214
215   reverse-input: False  # Needed for trending, not important for the report
216
217   # TODO: Change in code needed, it was in type: "configuration"
218   limits:
219     nic:
220       x520: 24460000
221       x553: 29761905
222       x710: 35800000
223       xxv710: 35800000
224       xl710: 35800000
225       cx556a: 148809523.81
226       e810cq: 148809523.81
227
228     link:
229       10ge: 14880952.38
230       25ge: 37202380.95
231       40ge: 59523809.52
232       100ge: 148809523.81
233
234     pci:
235       pci-g3-x8: 74404761.90
236       pci-g3-x16: 148809523.81
237
238 ################################################################################
239 ###                               S T A T I C                                ###
240 ################################################################################
241
242 - type: "static"
243   src-path: "{DIR[RST]}"
244   dst-path: "{DIR[WORKING,SRC]}"
245
246 ################################################################################
247 ###                               O U T P U T                                ###
248 ################################################################################
249
250 - type: "output"
251   arch-file-format:  # moved from input, TODO: change it in the code
252     - ".gz"
253     - ".zip"
254   output: "report"
255   format:
256     html:
257     - full
258 #     pdf:
259 #     - minimal