blob: 009aa86e917b7979782a227c8893fd5991826365 [file] [log] [blame]
Matteo Scandolo51b76302020-02-05 12:07:23 -08001---
2# VOLTHA 2.x scale measurements
3
4- project:
5 name: voltha-scale
6
7 project-name: '{name}'
8
9 jobs:
Matteo Scandolo272aed42020-05-08 15:05:57 -070010 # name format is <job-template>-<olts>-<pon>-<onus>-<setup>
Matteo Scandolo3136cca2020-05-15 14:14:27 -070011
Matteo Scandolof6fe0092020-12-10 09:43:04 -080012 # OpenONU PY Scale
Matteo Scandolob46bc402020-06-11 13:59:44 -070013 - 'voltha-scale-measurements':
Andrea Campanella27b5a662020-12-18 18:49:26 +010014 name: 'voltha-openonu-py-scale-measurements-2.6-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080015 'disable-job': false
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020016 build-node: 'onf-pod1-head-node'
17 time-trigger: "H H/4 * * *"
18 olts: 2
19 pons: 16
20 onus: 32
21 withFlows: true
22 provisionSubscribers: true
23 workflow: dt
Andrea Campanella27b5a662020-12-18 18:49:26 +010024 release: voltha-2.6
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020025 withEapol: false
26 withDhcp: false
27 withIgmp: false
Matteo Scandolof6fe0092020-12-10 09:43:04 -080028 openonuAdapterReplicas: 8
29 extraHelmFlags: '--set use_openonu_adapter_go=false'
Matteo Scandolo45ad8f52020-08-11 09:07:49 -070030
Andrea Campanellabdb199e2020-10-27 10:47:16 +010031 - 'voltha-scale-measurements':
Andrea Campanella27b5a662020-12-18 18:49:26 +010032 name: 'voltha-openonu-py-scale-measurements-2.6-2-16-32-att-subscribers'
Matteo Scandolo4c4fbdd2020-11-04 13:49:42 -080033 'disable-job': false
Andrea Campanellabdb199e2020-10-27 10:47:16 +010034 build-node: 'onf-pod1-head-node'
35 time-trigger: "H H/4 * * *"
Andrea Campanella37e8a452020-11-18 22:27:58 +010036 olts: 2
Andrea Campanellabdb199e2020-10-27 10:47:16 +010037 pons: 16
38 onus: 32
39 withFlows: true
40 provisionSubscribers: true
Andrea Campanella27b5a662020-12-18 18:49:26 +010041 release: voltha-2.6
Andrea Campanellabdb199e2020-10-27 10:47:16 +010042 withEapol: true
43 withDhcp: true
44 withIgmp: false
Matteo Scandolof6fe0092020-12-10 09:43:04 -080045 openonuAdapterReplicas: 8
46 extraHelmFlags: '--set use_openonu_adapter_go=false,authRetry=true,dhcpRetry=true'
Andrea Campanellabdb199e2020-10-27 10:47:16 +010047
Girish Gowdra0de34422020-11-19 11:58:12 -080048 - 'voltha-scale-measurements':
Andrea Campanella27b5a662020-12-18 18:49:26 +010049 name: 'voltha-openonu-py-scale-measurements-2.6-2-16-32-tt-subscribers'
Girish Gowdra0de34422020-11-19 11:58:12 -080050 'disable-job': false
51 build-node: 'onf-pod1-head-node'
52 time-trigger: "H H/4 * * *"
Andrea Campanella945a21d2020-11-24 11:09:53 +010053 olts: 2
Girish Gowdra0de34422020-11-19 11:58:12 -080054 pons: 16
55 onus: 32
56 withFlows: true
57 workflow: tt
58 provisionSubscribers: true
Andrea Campanella27b5a662020-12-18 18:49:26 +010059 release: voltha-2.6
Girish Gowdra0de34422020-11-19 11:58:12 -080060 withEapol: false
61 withDhcp: true
62 withIgmp: false
Matteo Scandolof6fe0092020-12-10 09:43:04 -080063 openonuAdapterReplicas: 8
64 extraHelmFlags: '--set use_openonu_adapter_go=false,dhcpRetry=true,defaults.incremental_evto_update=true'
Girish Gowdra0de34422020-11-19 11:58:12 -080065
Matteo Scandolo8df57162020-10-06 14:43:53 -070066 # this job will be used to test custom images without disrupting tests on master
67 - 'voltha-scale-measurements':
68 name: 'voltha-scale-measurements-master-experimental'
Matteo Scandolobe823242020-11-20 13:48:13 -080069 build-node: 'voltha-scale-2'
Andrea Campanella642e5502020-11-19 19:47:02 +010070 pipeline-script: 'voltha-scale-test-etcd-kafka-bitnami.groovy'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080071 'disable-job': false
Matteo Scandoloe6647a02020-11-02 10:27:52 -080072 # trigger on Feb 29th (a.k.a only trigger it manually)
73 time-trigger: "H 0 29 2 *"
Andrea Campanella642e5502020-11-19 19:47:02 +010074 withMonitoring: true
Matteo Scandoloe6647a02020-11-02 10:27:52 -080075 olts: 2
Matteo Scandolo8df57162020-10-06 14:43:53 -070076 pons: 16
77 onus: 32
78 withFlows: true
79 provisionSubscribers: true
80 withEapol: true
81 withDhcp: true
82 withIgmp: false
Matteo Scandolo0feb5e92020-10-27 19:34:51 -070083 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo08d7d002020-11-20 17:37:56 -080084 withPcap: false
Matteo Scandolobe823242020-11-20 13:48:13 -080085 openoltAdapterImg: gcgirish/voltha-openolt-adapter:writeThroughCache
Matteo Scandolo9665d592020-10-23 19:08:14 +000086
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080087 - 'voltha-scale-measurements':
88 name: 'voltha-scale-measurements-master-experimental-multi-stack'
Matteo Scandolobe823242020-11-20 13:48:13 -080089 build-node: 'voltha-scale-2'
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080090 pipeline-script: 'voltha-scale-multi-stack.groovy'
91 'disable-job': false
92 # trigger on Feb 29th (a.k.a only trigger it manually)
Matteo Scandoloffe19c92020-11-24 15:25:25 -080093 time-trigger: "H 0 29 2 *"
Matteo Scandolod4d55b72020-11-25 12:29:07 -080094 withMonitoring: true
Matteo Scandolof7ca6312020-11-16 15:57:15 -080095 logLevel: WARN
Matteo Scandolo128ee7a2020-12-03 14:16:54 -080096 volthaStacks: 10
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080097 olts: 2
Matteo Scandolof6656562020-11-16 14:45:44 -080098 pons: 16
99 onus: 32
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800100 withFlows: true
101 provisionSubscribers: true
Matteo Scandolof7ca6312020-11-16 15:57:15 -0800102 workflow: dt
103 withEapol: false
104 withDhcp: false
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800105 withIgmp: false
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800106
Matteo Scandolo8df57162020-10-06 14:43:53 -0700107
Matteo Scandoloe51ef6c2020-09-28 10:32:12 -0700108 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS (1 OLT)
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700109 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700110 name: 'voltha-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800111 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700112 build-node: 'onf-pod1-head-node'
113 time-trigger: "H H/4 * * *"
114 olts: 1
115 pons: 16
116 onus: 32
117 withFlows: true
118 provisionSubscribers: true
119 withEapol: true
120 withDhcp: true
121 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700122 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700123
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700124 - 'voltha-scale-measurements':
125 name: 'voltha-scale-measurements-master-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800126 'disable-job': false
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700127 build-node: 'onf-pod1-head-node'
128 time-trigger: "H H/4 * * *"
129 olts: 1
130 pons: 16
131 onus: 32
132 withFlows: true
133 provisionSubscribers: true
134 workflow: tt
135 withEapol: false
136 withDhcp: true
137 withIgmp: true
Matteo Scandolo37cba472020-10-26 14:15:34 -0700138 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700139
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700140 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700141 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800142 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700143 build-node: 'onf-pod1-head-node'
144 time-trigger: "H H/4 * * *"
145 olts: 1
146 pons: 16
147 onus: 32
148 withFlows: true
149 provisionSubscribers: true
150 workflow: dt
151 withEapol: false
152 withDhcp: false
153 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700154 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200155
Matteo Scandolo272aed42020-05-08 15:05:57 -0700156 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700157 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700158 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandolof2c8a642020-11-05 08:54:50 -0800159 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700160 build-node: 'onf-pod1-head-node'
161 time-trigger: "H H/4 * * *"
162 olts: 2
163 pons: 16
164 onus: 32
165 withFlows: true
166 provisionSubscribers: true
167 withEapol: true
168 withDhcp: true
169 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700170 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700171
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700172 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700173 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800174 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700175 build-node: 'onf-pod1-head-node'
176 time-trigger: "H H/4 * * *"
177 olts: 2
178 pons: 16
179 onus: 32
180 withFlows: true
181 provisionSubscribers: true
182 workflow: dt
183 withEapol: false
184 withDhcp: false
185 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700186 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo86939302020-10-30 13:32:08 -0700187
188 - 'voltha-scale-measurements':
189 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800190 'disable-job': false
Matteo Scandolo86939302020-10-30 13:32:08 -0700191 build-node: 'onf-pod1-head-node'
192 time-trigger: "H H/4 * * *"
193 olts: 2
194 pons: 16
195 onus: 32
196 withFlows: true
197 provisionSubscribers: true
198 workflow: tt
199 withEapol: false
200 withDhcp: true
201 withIgmp: true
Matteo Scandolo86939302020-10-30 13:32:08 -0700202 onosReplicas: 3
203 atomixReplicas: 3
Matteo Scandolo86939302020-10-30 13:32:08 -0700204 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700205
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800206 # multi-stack jobs
207 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800208 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-att-subscribers'
209 build-node: 'voltha-scale-2'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800210 pipeline-script: 'voltha-scale-multi-stack.groovy'
Matteo Scandolod1430a72020-12-04 15:14:44 -0800211 'disable-job': false
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800212 time-trigger: "H H/4 * * *"
213 withMonitoring: false
214 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800215 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800216 olts: 2
217 pons: 16
218 onus: 32
219 withFlows: true
220 provisionSubscribers: true
221 workflow: att
222 withEapol: true
223 withDhcp: true
224 withIgmp: false
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800225
226 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800227 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-dt-subscribers'
228 build-node: 'voltha-scale-2'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800229 pipeline-script: 'voltha-scale-multi-stack.groovy'
Matteo Scandolod1430a72020-12-04 15:14:44 -0800230 'disable-job': false
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800231 time-trigger: "H H/4 * * *"
232 withMonitoring: false
233 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800234 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800235 olts: 2
236 pons: 16
237 onus: 32
238 withFlows: true
239 provisionSubscribers: true
240 workflow: dt
241 withEapol: false
242 withDhcp: false
243 withIgmp: false
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800244
245 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800246 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-tt-subscribers'
247 build-node: 'voltha-scale-2'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800248 pipeline-script: 'voltha-scale-multi-stack.groovy'
Matteo Scandolod1430a72020-12-04 15:14:44 -0800249 'disable-job': false
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800250 time-trigger: "H H/4 * * *"
251 withMonitoring: false
252 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800253 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800254 olts: 2
255 pons: 16
256 onus: 32
257 withFlows: true
258 provisionSubscribers: true
259 workflow: tt
260 withEapol: false
261 withDhcp: true
262 withIgmp: true
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800263
Matteo Scandolo17321b82020-12-11 10:05:10 -0800264 # voltha-2.6 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700265 - 'voltha-scale-measurements':
Matteo Scandolo17321b82020-12-11 10:05:10 -0800266 name: 'voltha-scale-measurements-voltha-2.6-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800267 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700268 build-node: 'onf-pod1-head-node'
269 time-trigger: "H H/4 * * *"
270 olts: 1
271 pons: 16
272 onus: 32
273 withFlows: true
274 provisionSubscribers: true
275 withEapol: true
276 withDhcp: true
277 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700278 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo17321b82020-12-11 10:05:10 -0800279 release: voltha-2.6
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700280 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700281 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700282 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700283 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700284 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200285 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700286
287 - 'voltha-scale-measurements':
Matteo Scandolo17321b82020-12-11 10:05:10 -0800288 name: 'voltha-scale-measurements-voltha-2.6-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800289 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700290 build-node: 'onf-pod1-head-node'
291 time-trigger: "H H/4 * * *"
292 olts: 2
293 pons: 16
294 onus: 32
295 withFlows: true
296 provisionSubscribers: true
297 workflow: dt
298 withEapol: false
299 withDhcp: false
300 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700301 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo17321b82020-12-11 10:05:10 -0800302 release: voltha-2.6
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700303 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700304 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700305 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700306 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700307 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200308 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700309
Matteo Scandolo031bd982020-09-16 10:03:47 -0700310 - 'voltha-scale-measurements':
Matteo Scandolo17321b82020-12-11 10:05:10 -0800311 name: 'voltha-scale-measurements-voltha-2.6-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800312 'disable-job': false
Matteo Scandolo031bd982020-09-16 10:03:47 -0700313 build-node: 'onf-pod1-head-node'
314 time-trigger: "H H/4 * * *"
315 olts: 1
316 pons: 16
317 onus: 32
318 withFlows: true
319 provisionSubscribers: true
320 workflow: tt
321 withEapol: false
322 withDhcp: true
323 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700324 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo17321b82020-12-11 10:05:10 -0800325 release: voltha-2.6
Matteo Scandolo031bd982020-09-16 10:03:47 -0700326 bbsimImg: ''
327 rwCoreImg: ''
328 ofAgentImg: ''
329 openoltAdapterImg: ''
330 openonuAdapterImg: ''
331 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700332
Andrea Campanella27b5a662020-12-18 18:49:26 +0100333 # 2.6 multi-stack jobs
334 - 'voltha-scale-measurements':
335 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-att-subscribers'
336 build-node: 'voltha-scale-2'
337 pipeline-script: 'voltha-scale-multi-stack.groovy'
338 'disable-job': false
339 time-trigger: "H H/4 * * *"
340 withMonitoring: false
341 logLevel: WARN
342 volthaStacks: 10
343 olts: 2
344 pons: 16
345 onus: 32
346 withFlows: true
347 provisionSubscribers: true
348 release: voltha-2.6
349 workflow: att
350 withEapol: true
351 withDhcp: true
352 withIgmp: false
353
354 - 'voltha-scale-measurements':
355 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-dt-subscribers'
356 build-node: 'voltha-scale-2'
357 pipeline-script: 'voltha-scale-multi-stack.groovy'
358 'disable-job': false
359 time-trigger: "H H/4 * * *"
360 withMonitoring: false
361 logLevel: WARN
362 volthaStacks: 10
363 olts: 2
364 pons: 16
365 onus: 32
366 withFlows: true
367 provisionSubscribers: true
368 release: voltha-2.6
369 workflow: dt
370 withEapol: false
371 withDhcp: false
372 withIgmp: false
373
374 - 'voltha-scale-measurements':
375 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-tt-subscribers'
376 build-node: 'voltha-scale-2'
377 pipeline-script: 'voltha-scale-multi-stack.groovy'
378 'disable-job': false
379 time-trigger: "H H/4 * * *"
380 withMonitoring: false
381 logLevel: WARN
382 volthaStacks: 10
383 olts: 2
384 pons: 16
385 onus: 32
386 withFlows: true
387 provisionSubscribers: true
388 release: voltha-2.6
389 workflow: tt
390 withEapol: false
391 withDhcp: true
392 withIgmp: true
393
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700394 # per patchset job
395 - 'voltha-scale-measurements':
396 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
Matteo Scandolo46985912020-12-02 21:39:39 +0000397 build-node: 'onf-pod1-head-node'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700398 olts: 1
399 pons: 16
400 onus: 32
401 withFlows: true
402 provisionSubscribers: true
403 withEapol: true
404 withDhcp: true
405 withIgmp: false
406 withMonitoring: false
407 trigger-comment: "voltha scale test ATT"
408
409 - 'voltha-scale-measurements':
410 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
Matteo Scandolo46985912020-12-02 21:39:39 +0000411 build-node: 'onf-pod1-head-node'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700412 olts: 1
413 pons: 16
414 onus: 32
415 withFlows: true
416 provisionSubscribers: true
417 workflow: tt
418 withEapol: false
419 withDhcp: true
420 withIgmp: true
421 withMonitoring: false
422 trigger-comment: "voltha scale test TT"
423
424 - 'voltha-scale-measurements':
425 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
Matteo Scandolo46985912020-12-02 21:39:39 +0000426 build-node: 'onf-pod1-head-node'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700427 olts: 1
428 pons: 16
429 onus: 32
430 withFlows: true
431 provisionSubscribers: true
432 workflow: dt
433 withEapol: false
434 withDhcp: false
435 withIgmp: false
436 withMonitoring: false
437 trigger-comment: "voltha scale test DT"
438
Matteo Scandolo272aed42020-05-08 15:05:57 -0700439 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700440 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700441 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700442 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700443 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700444
Matteo Scandolodc930192020-08-27 15:56:16 -0700445 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700446 - 'voltha-scale-matrix':
447 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700448 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800449
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700450 # development matrix
451 - 'voltha-scale-matrix':
452 name: 'voltha-scale-matrix-voltha-master'
453 build-node: 'onf-pod1-head-node'
454 onosReplicas: 3
455 atomixReplicas: 3
456 kafkaReplicas: 3
457 etcdReplicas: 3
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800458 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800459 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700460
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700461# list of parameters for the VOLTHA Jobs,
462# used as anchor so that can be shared across multiple jobs
463# to use in a job: `parameters: *voltha-build-job-parameters`
464- voltha-scale-job-parameters: &voltha-scale-job-parameters
465 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700466 parameters:
467 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800468 name: pipeline-script
469 default: '{pipeline-script}'
470 description: 'The pipeline script to use'
471
472 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700473 name: release
474 default: '{release}'
475 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
476
477 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700478 name: buildNode
479 default: '{build-node}'
480 description: 'Name of the Jenkins node to run the job on'
481
482 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700483 name: dockerRegistry
484 default: '{dockerRegistry}'
485 description: 'Address of the docker registry to use if we are building custom images'
486
487 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700488 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700489 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700490 description: 'Log level for all the components'
491
492 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800493 name: volthaStacks
494 default: '{volthaStacks}'
495 description: 'Number of VOLTHA Stacks to deploy'
496
497 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700498 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700499 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700500 description: 'Number of ONUs to provision'
501
502 - string:
503 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700504 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700505 description: 'Number of PONs to provision'
506
507 - string:
508 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700509 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700510 description: 'How many BBSim instances to run'
511
512 - string:
513 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700514 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700515 description: 'Which workflow are we testing (att, dt, tt)'
516
517 - bool:
518 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700519 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700520 description: 'Wheter to push flows from ONOS'
521
522 - bool:
523 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700524 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700525 description: 'Wheter to provision subscribers durint the tests'
526
527 - bool:
528 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700529 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700530 description: 'Wheter EAPOL is enabled for the test'
531
532 - bool:
533 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700534 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700535 description: 'Wheter DHCP is enabled for the test'
536
537 - bool:
538 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700539 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700540 description: 'Wheter IGMP is enabled for the test'
541
542 - bool:
543 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700544 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700545 description: 'Wheter Link Discovery is enabled for the test'
546
547 - bool:
548 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700549 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700550 description: 'Option to trigger MIB template command'
551
552 - bool:
553 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700554 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700555 description: 'Option to install Prometheus'
556
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700557 - bool:
558 name: withProfiling
559 default: '{withProfiling}'
560 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
561
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700562 - bool:
563 name: withPcap
564 default: '{withPcap}'
565 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
566
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700567 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700568 name: withRadius
569 default: '{withRadius}'
570 description: 'Value to pass to kind-voltha WITH_RADIUS'
571
572 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700573 name: extraHelmFlags
574 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700575 description: 'Any extra helm parameters you want (passed to every helm install command, not available if release != master)'
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700576
Matteo Scandolo272aed42020-05-08 15:05:57 -0700577 - string:
578 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700579 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700580 description: 'How many OpenONU adapter instances to run'
581
582 - string:
583 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700584 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700585 description: 'How many ONOSes instances to run'
586
587 - string:
588 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700589 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700590 description: 'How many Atomix instances to run'
591
592 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700593 name: kafkaReplicas
594 default: '{kafkaReplicas}'
595 description: 'How many Kafka instances to run'
596
597 - string:
598 name: etcdReplicas
599 default: '{etcdReplicas}'
600 description: 'How many ETCD instances to run'
601
602 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700603 name: onosStatInterval
604 default: '{onosStatInterval}'
605 description: 'How often ONOS should poll for ports, flows and meters'
606
607 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700608 name: bbsimImg
609 default: '{bbsimImg}'
610 description: 'Custom image selection for BBSIM (repo:tag)'
611
612 - string:
613 name: bbsimChart
614 default: '{bbsimChart}'
615 description: 'BBSim chart name (or location on file system)'
616
617 - string:
618 name: rwCoreImg
619 default: '{rwCoreImg}'
620 description: 'Custom image selection for VOLTHA (repo:tag)'
621
622 - string:
623 name: ofAgentImg
624 default: '{ofAgentImg}'
625 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
626
627 - string:
628 name: volthaChart
629 default: '{volthaChart}'
630 description: 'VOLTHA chart name (or location on file system)'
631
632 - string:
633 name: openoltAdapterImg
634 default: '{openoltAdapterImg}'
635 description: 'Custom image selection for Openolt Adapter (repo:tag)'
636
637 - string:
638 name: openoltAdapterChart
639 default: '{openoltAdapterChart}'
640 description: 'OpenOLT chart name (or location on file system)'
641
642 - string:
643 name: openonuAdapterImg
644 default: '{openonuAdapterImg}'
645 description: 'Custom image selection for Openonu Adapter (repo:tag)'
646
647 - string:
Andrea Campanella28763082020-11-18 10:55:31 +0100648 name: openonuAdapterGoImg
649 default: '{openonuAdapterGoImg}'
650 description: 'Custom image selection for Openonu Go Adapter (repo:tag)'
651
652 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700653 name: openonuAdapterChart
654 default: '{openonuAdapterChart}'
655 description: 'OpenONU chart name (or location on file system)'
656
657 - string:
658 name: onosImg
659 default: '{onosImg}'
660 description: 'Custom image selection for Openonu Adapter (repo:tag)'
661
662 - string:
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700663 name: onosChart
664 default: '{onosChart}'
665 description: 'ONOS chart name (or location on file system)'
666
667 - string:
Matteo Scandolo06506102020-10-13 12:24:20 -0700668 name: radiusChart
669 default: '{radiusChart}'
670 description: 'freeradius chart name (or location on file system)'
671
672 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700673 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700674 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700675 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
676
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700677 - string:
678 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700679 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700680 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
681
Matteo Scandoloccc06192020-06-22 10:16:17 -0700682 - bool:
683 name: inMemoryEtcdStorage
684 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700685 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700686
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200687 - string:
688 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700689 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200690 description: 'Karaf home'
691
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700692- job-template:
693 id: 'voltha-scale-measurements'
694 name: '{name}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700695 disabled: '{disable-job}'
696
697 description: |
698 <!-- Managed by Jenkins Job Builder -->
699 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
700 Using pipeline {pipeline-script} <br/><br/>
701 Scale measurements for VOLTHA 2.x
702
703 properties:
704 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800705 build-days-to-keep: '{big-build-days-to-keep}'
706 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700707
708 wrappers:
709 - lf-infra-wrappers:
710 build-timeout: '{build-timeout}'
711 jenkins-ssh-credential: '{jenkins-ssh-credential}'
712
713 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800714 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700715 release: master
716
717 bbsimImg: voltha/bbsim:master
718 rwCoreImg: voltha/voltha-rw-core:master
719 ofAgentImg: voltha/voltha-ofagent-go:master
720 openoltAdapterImg: voltha/voltha-openolt-adapter:master
721 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100722 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700723 onosImg: voltha/voltha-onos:master
724
725 bbsimChart: onf/bbsim
726 volthaChart: onf/voltha
727 openoltAdapterChart: onf/voltha-adapter-openolt
728 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700729 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700730 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700731
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800732 volthaStacks: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700733 olts: 2
734 pons: 2
735 onus: 2
736 workflow: att
737 withFlows: false
738 provisionSubscribers: false
739 withEapol: true
740 withDhcp: true
741 withIgmp: false
742 withLLDP: false
743 withMibTemplate: true
744 withMonitoring: true
745 withProfiling: false
746 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700747 withRadius: yes
Andrea Campanellac179de22020-12-10 17:24:40 +0100748 openonuAdapterReplicas: 1
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700749 onosReplicas: 3
750 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700751 kafkaReplicas: 3
752 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700753 extraHelmFlags: ''
754 onosStatInterval: 5
755 volthaSystemTestsChange: ''
756 kindVolthaChange: ''
757 inMemoryEtcdStorage: true
758 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700759 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700760 dockerRegistry: 10.90.0.101:30500
761 trigger-comment: vv7CBoQQYYonvaN8xcru
762 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700763
764 <<: *voltha-scale-job-parameters
765
Matteo Scandolo272aed42020-05-08 15:05:57 -0700766 project-type: pipeline
767 concurrent: false
768
769 dsl: !include-raw-escape: pipeline/{pipeline-script}
770
Matteo Scandoloabb83972020-06-25 16:08:23 -0700771 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700772 # periodic jobs will set this every 4 hours
773 # patchset jobs will set this to "0 0 29 2 *" (feb 29th, it's once every 4 years)
Matteo Scandoloabb83972020-06-25 16:08:23 -0700774 - timed: |
775 TZ=America/Los_Angeles
776 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700777 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
778 # patchset jobs will set this to a meaningful comment
779 - gerrit:
780 server-name: '{gerrit-server-name}'
781 silent-start: false
782 successful-message: "PASSED scale test"
783 failure-message: "FAILED scale test"
784 unstable-message: "UNSTABLE scale test"
785 trigger-on:
786 - comment-added-contains-event:
787 comment-contains-value: '.*{trigger-comment}.*'
788 projects:
789 - project-compare-type: REG_EXP
790 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
791 branches:
792 - branch-compare-type: REG_EXP
793 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700794
795- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700796 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800797 name: '{name}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800798
799 description: |
800 <!-- Managed by Jenkins Job Builder -->
801 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
802 Using pipeline {pipeline-script} <br/><br/>
803 Scale measurements for VOLTHA 2.x
804
805 properties:
806 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800807 build-days-to-keep: '{big-build-days-to-keep}'
808 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800809
810 wrappers:
811 - lf-infra-wrappers:
812 build-timeout: '{build-timeout}'
813 jenkins-ssh-credential: '{jenkins-ssh-credential}'
814
Matteo Scandolo0430f672020-05-07 11:50:26 -0700815 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800816 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700817 release: master
818
Matteo Scandolo0430f672020-05-07 11:50:26 -0700819 bbsimImg: voltha/bbsim:master
820 rwCoreImg: voltha/voltha-rw-core:master
821 ofAgentImg: voltha/voltha-ofagent-go:master
822 openoltAdapterImg: voltha/voltha-openolt-adapter:master
823 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100824 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandolo0430f672020-05-07 11:50:26 -0700825 onosImg: voltha/voltha-onos:master
826
827 bbsimChart: onf/bbsim
828 volthaChart: onf/voltha
829 openoltAdapterChart: onf/voltha-adapter-openolt
830 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700831 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700832 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700833
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800834 volthaStacks: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700835 olts: 2
836 pons: 2
837 onus: 2
838 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700839 withFlows: true
840 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700841 withEapol: true
842 withDhcp: true
843 withIgmp: false
844 withLLDP: false
845 withMibTemplate: true
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700846 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700847 withProfiling: false
848 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700849 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700850 openonuAdapterReplicas: 1
851 onosReplicas: 1
852 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700853 kafkaReplicas: 1
854 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700855 extraHelmFlags: ''
856 onosStatInterval: 5
857 volthaSystemTestsChange: ''
858 kindVolthaChange: ''
859 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700860 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700861 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700862 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700863
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700864 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200865
Matteo Scandolo51b76302020-02-05 12:07:23 -0800866 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800867 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800868
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700869 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700870
Matteo Scandolo849db722020-10-21 10:58:41 -0700871 triggers:
872 - gerrit:
873 server-name: '{gerrit-server-name}'
874 silent-start: false
875 successful-message: "PASSED scale test"
876 failure-message: "FAILED scale test"
877 unstable-message: "UNSTABLE scale test"
878 trigger-on:
879 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700880 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700881 projects:
882 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700883 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700884 branches:
885 - branch-compare-type: REG_EXP
886 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700887- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700888 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700889 name: '{name}'
890 pipeline-script: 'voltha-scale-matrix.groovy'
891
892 description: |
893 <!-- Managed by Jenkins Job Builder -->
894 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
895 Using pipeline {pipeline-script} <br/><br/>
896 Scale measurements for VOLTHA 2.x
897
898 properties:
899 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800900 build-days-to-keep: '{big-build-days-to-keep}'
901 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700902
903 wrappers:
904 - lf-infra-wrappers:
905 build-timeout: '{build-timeout}'
906 jenkins-ssh-credential: '{jenkins-ssh-credential}'
907
908 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800909 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700910 release: master
911 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700912 volthaSystemTestsChange: ''
913 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700914 onosReplicas: 1
915 atomixReplicas: 0
916 kafkaReplicas: 1
917 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800918 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800919 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700920
921 project-type: pipeline
922 concurrent: false
923
924 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700925
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700926 parameters:
927 - string:
928 name: release
929 default: '{release}'
930 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
931
932 - string:
933 name: buildNode
934 default: '{build-node}'
935 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700936
937 - string:
938 name: volthaSystemTestsChange
939 default: '{volthaSystemTestsChange}'
940 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
941
942 - string:
943 name: kindVolthaChange
944 default: '{kindVolthaChange}'
945 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700946
947 - string:
948 name: onosReplicas
949 default: '{onosReplicas}'
950 description: 'How many ONOSes instances to run'
951
952 - string:
953 name: atomixReplicas
954 default: '{atomixReplicas}'
955 description: 'How many Atomix instances to run'
956
957 - string:
958 name: kafkaReplicas
959 default: '{kafkaReplicas}'
960 description: 'How many Kafka instances to run'
961
962 - string:
963 name: etcdReplicas
964 default: '{etcdReplicas}'
965 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800966
967 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800968 name: openonuAdapterReplicas
969 default: '{openonuAdapterReplicas}'
970 description: 'How many OpenONU adapter instances to run'
971
972 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800973 name: topologies
974 default: '{topologies}'
975 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
976
977 triggers:
978 - timed: |
979 TZ=America/Los_Angeles
980 {time-trigger}