PAL: Add s3-logs
[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://s3-logs.fd.io/logs/production/vex-yul-rot-jenkins-1"
138       path: "{job}/{build}/{filename}"
139       file-name: "output_info.xml.gz"
140       file-format: ".gz"
141       enabled: True
142     - type: "xml"
143       url: "https://logs.fd.io/production/vex-yul-rot-jenkins-1"
144       path: "{job}/{build}/archives/{filename}"
145       file-name: "output.xml.gz"
146       file-format: ".gz"
147       enabled: True
148     - type: "xml"
149       url: "https://logs.nginx.service.consul/vex-yul-rot-jenkins-1"
150       path: "{job}/{build}/archives/{filename}"
151       file-name: "output.xml.gz"
152       file-format: ".gz"
153       enabled: False
154     - type: "xml"
155       url: "https://logs.nginx.service.consul/vex-yul-rot-jenkins-1"
156       path: "{job}/{build}/{filename}"
157       file-name: "output.xml.gz"
158       file-format: ".gz"
159       enabled: False
160     - type: "xml"
161       url: "https://logs.fd.io/production/vex-yul-rot-jenkins-1"
162       path: "{job}/{build}/{filename}"
163       file-name: "output_info.xml.gz"
164       file-format: ".gz"
165       enabled: True
166     - type: "xml"
167       url: "https://logs.fd.io/production/vex-yul-rot-jenkins-1"
168       path: "{job}/{build}/{filename}"
169       file-name: "output.xml.gz"
170       file-format: ".gz"
171       enabled: True
172     # XML from docs.nexus
173     - type: "xml-docs"
174       url: "https://docs.fd.io/csit"
175       path: "report/_static/archive"
176       file-name: "output_info.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: "output.xml.gz"
183       file-format: ".gz"
184       enabled: True
185     - type: "xml-docs"
186       url: "https://docs.fd.io/csit"
187       path: "report/_static/archive"
188       file-name: "robot-plugin.zip"
189       file-format: ".zip"
190       enabled: True
191
192   archive-inputs: True
193
194   mapping-file: ""
195
196   ignore-list: ""
197
198   make-dirs:
199   # List the directories which are created while preparing the environment.
200   # All directories MUST be defined in "paths" section.
201     - "DIR[WORKING,DATA]"
202     - "DIR[STATIC,VPP]"
203     - "DIR[STATIC,DPDK]"
204     - "DIR[STATIC,ARCH]"
205     - "DIR[BUILD,LATEX]"
206     - "DIR[WORKING,SRC]"
207     - "DIR[WORKING,SRC,STATIC]"
208
209   remove-dirs:
210   # List the directories which are deleted while cleaning the environment.
211   # All directories MUST be defined in "paths" section.
212   #  - "DIR[BUILD,HTML]"
213     - "DIR[WORKING,DATA]"
214
215   build-dirs:
216   # List the directories where the results (build) is stored.
217   # All directories MUST be defined in "paths" section.
218     - "DIR[BUILD,HTML]"
219     - "DIR[BUILD,LATEX]"
220
221   reverse-input: False  # Needed for trending, not important for the report
222
223   # TODO: Change in code needed, it was in type: "configuration"
224   limits:
225     nic:
226       x520: 24460000
227       x553: 29761905
228       x710: 35800000
229       xxv710: 35800000
230       xl710: 35800000
231       cx556a: 148809523.81
232       e810cq: 148809523.81
233
234     link:
235       10ge: 14880952.38
236       25ge: 37202380.95
237       40ge: 59523809.52
238       100ge: 148809523.81
239
240     pci:
241       pci-g3-x8: 74404761.90
242       pci-g3-x16: 148809523.81
243
244 ################################################################################
245 ###                               S T A T I C                                ###
246 ################################################################################
247
248 - type: "static"
249   src-path: "{DIR[RST]}"
250   dst-path: "{DIR[WORKING,SRC]}"
251
252 ################################################################################
253 ###                               O U T P U T                                ###
254 ################################################################################
255
256 - type: "output"
257   arch-file-format:  # moved from input, TODO: change it in the code
258     - ".gz"
259     - ".zip"
260   output: "report"
261   format:
262     html:
263     - full
264 #     pdf:
265 #     - minimal