blob: eca1d688d464392fa850887042b83720111d3f91 [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 Scandolo8df57162020-10-06 14:43:53 -070012 # this job will be used to test custom images without disrupting tests on master
13 - 'voltha-scale-measurements':
14 name: 'voltha-scale-measurements-master-experimental'
Matteo Scandolobb31fc72021-03-16 17:09:46 -070015 build-node: 'voltha-scale-1'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080016 'disable-job': false
Matteo Scandoloe6647a02020-11-02 10:27:52 -080017 # trigger on Feb 29th (a.k.a only trigger it manually)
18 time-trigger: "H 0 29 2 *"
Andrea Campanella642e5502020-11-19 19:47:02 +010019 withMonitoring: true
Matteo Scandolo0b5317e2021-03-16 16:44:14 -070020 olts: 1
Matteo Scandolo3329f402021-03-18 18:23:07 -070021 pons: 16
Matteo Scandolo8df57162020-10-06 14:43:53 -070022 onus: 32
23 withFlows: true
24 provisionSubscribers: true
25 withEapol: true
26 withDhcp: true
27 withIgmp: false
Matteo Scandolo0feb5e92020-10-27 19:34:51 -070028 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo08d7d002020-11-20 17:37:56 -080029 withPcap: false
Matteo Scandolo9665d592020-10-23 19:08:14 +000030
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080031 - 'voltha-scale-measurements':
32 name: 'voltha-scale-measurements-master-experimental-multi-stack'
Matteo Scandolobe823242020-11-20 13:48:13 -080033 build-node: 'voltha-scale-2'
Matteo Scandolo2bc660a2021-02-12 10:52:25 -080034 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Andrea Campanella9389b0d2021-02-24 19:04:21 -080035 'disable-job': true
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080036 # trigger on Feb 29th (a.k.a only trigger it manually)
Matteo Scandoloffe19c92020-11-24 15:25:25 -080037 time-trigger: "H 0 29 2 *"
Matteo Scandolod4d55b72020-11-25 12:29:07 -080038 withMonitoring: true
Matteo Scandolof7ca6312020-11-16 15:57:15 -080039 logLevel: WARN
Matteo Scandolo2bc660a2021-02-12 10:52:25 -080040 volthaStacks: 2
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080041 olts: 2
Matteo Scandolo2bc660a2021-02-12 10:52:25 -080042 pons: 2
43 onus: 2
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080044 withFlows: true
45 provisionSubscribers: true
Matteo Scandolof7ca6312020-11-16 15:57:15 -080046 workflow: dt
47 withEapol: false
48 withDhcp: false
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080049 withIgmp: false
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080050
Matteo Scandolofebf6512021-03-02 11:37:37 -080051 # jobs for 1024 ONUs with openonu-go and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -070052 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070053 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandoloc1895e12021-03-11 15:14:20 -080054 'disable-job': false
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -080055 build-node: 'voltha-scale-1'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070056 time-trigger: "H H/4 * * *"
57 olts: 2
58 pons: 16
59 onus: 32
60 withFlows: true
61 provisionSubscribers: true
62 withEapol: true
63 withDhcp: true
64 withIgmp: false
Matteo Scandolod668e3a2021-03-25 17:35:38 -070065 extraHelmFlags: '--set authRetry=true,dhcpRetry=true --set global.log_correlation.enabled=true -f /home/jenkins/voltha-scale/voltha-values.yaml'
Andrea Campanella3498f282021-04-09 17:33:58 +020066 onosImg: andreacampanella/voltha-onos:olt-group-pkt-req-mcast-fix
Matteo Scandoloe2716072021-04-07 15:10:49 -070067 bbsimImg: matteoscandolo/bbsim:gemport
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070068
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070069 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070070 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo433f60d2021-03-26 12:04:34 -070071 'disable-job': false
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -080072 build-node: 'voltha-scale-1'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070073 time-trigger: "H H/4 * * *"
74 olts: 2
75 pons: 16
76 onus: 32
77 withFlows: true
78 provisionSubscribers: true
79 workflow: dt
80 withEapol: false
81 withDhcp: false
82 withIgmp: false
Matteo Scandolo433f60d2021-03-26 12:04:34 -070083 extraHelmFlags: '--set authRetry=true,dhcpRetry=true --set global.log_correlation.enabled=true -f /home/jenkins/voltha-scale/voltha-values.yaml '
Matteo Scandoloc1b269e2021-04-08 12:18:56 -070084 bbsimImg: matteoscandolo/bbsim:gemport
Matteo Scandolo86939302020-10-30 13:32:08 -070085
86 - 'voltha-scale-measurements':
87 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Matteo Scandolo433f60d2021-03-26 12:04:34 -070088 'disable-job': false
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -080089 build-node: 'voltha-scale-1'
Matteo Scandolo86939302020-10-30 13:32:08 -070090 time-trigger: "H H/4 * * *"
91 olts: 2
92 pons: 16
93 onus: 32
94 withFlows: true
95 provisionSubscribers: true
96 workflow: tt
97 withEapol: false
98 withDhcp: true
99 withIgmp: true
Matteo Scandolo86939302020-10-30 13:32:08 -0700100 onosReplicas: 3
101 atomixReplicas: 3
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700102 extraHelmFlags: '--set authRetry=true,dhcpRetry=true --set global.log_correlation.enabled=true -f /home/jenkins/voltha-scale/voltha-values.yaml '
Andrea Campanella9eeb4e72021-03-19 10:00:43 +0100103 onosImg: andreacampanella/voltha-onos:olt-group-pkt-req-mcast-fix
Andrea Campanella15f22942021-04-08 17:24:21 +0200104 bbsimImg: matteoscandolo/bbsim:gemport
Matteo Scandolo272aed42020-05-08 15:05:57 -0700105
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800106 # multi-stack jobs
107 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800108 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-att-subscribers'
109 build-node: 'voltha-scale-2'
Matteo Scandoloc1895e12021-03-11 15:14:20 -0800110 'disable-job': false
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800111 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800112 time-trigger: "H H/4 * * *"
113 withMonitoring: false
114 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800115 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800116 olts: 2
117 pons: 16
118 onus: 32
119 withFlows: true
120 provisionSubscribers: true
121 workflow: att
122 withEapol: true
123 withDhcp: true
124 withIgmp: false
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700125 extraHelmFlags: "-f /home/jenkins/voltha-scale/voltha-values.yaml "
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800126
127 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800128 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-dt-subscribers'
129 build-node: 'voltha-scale-2'
Matteo Scandoloc1895e12021-03-11 15:14:20 -0800130 'disable-job': false
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800131 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800132 time-trigger: "H H/4 * * *"
133 withMonitoring: false
134 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800135 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800136 olts: 2
137 pons: 16
138 onus: 32
139 withFlows: true
140 provisionSubscribers: true
141 workflow: dt
142 withEapol: false
143 withDhcp: false
144 withIgmp: false
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700145 extraHelmFlags: "-f /home/jenkins/voltha-scale/voltha-values.yaml "
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800146
147 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800148 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-tt-subscribers'
149 build-node: 'voltha-scale-2'
Matteo Scandoloc1895e12021-03-11 15:14:20 -0800150 'disable-job': false
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800151 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800152 time-trigger: "H H/4 * * *"
153 withMonitoring: false
154 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800155 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800156 olts: 2
157 pons: 16
158 onus: 32
159 withFlows: true
160 provisionSubscribers: true
161 workflow: tt
162 withEapol: false
163 withDhcp: true
164 withIgmp: true
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700165 extraHelmFlags: "-f /home/jenkins/voltha-scale/voltha-values.yaml "
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800166
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700167 # voltha-2.7 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700168 - 'voltha-scale-measurements':
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700169 name: 'voltha-scale-measurements-voltha-2.7-2-16-32-att-subscribers'
170 'disable-job': false
171 pipeline-script: 'voltha/voltha-2.7/voltha-scale-test.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800172 build-node: 'voltha-scale-1'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700173 time-trigger: "H H/4 * * *"
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700174 olts: 2
Matteo Scandolod43064b2020-07-13 17:18:45 -0700175 pons: 16
176 onus: 32
177 withFlows: true
178 provisionSubscribers: true
179 withEapol: true
180 withDhcp: true
181 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700182 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700183 release: voltha-2.7
Matteo Scandoloc1b269e2021-04-08 12:18:56 -0700184 bbsimImg: matteoscandolo/bbsim:gemport
Matteo Scandoloca097652020-08-14 09:49:23 -0700185 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700186 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700187 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700188 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800189 openonuAdapterGoImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200190 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700191
192 - 'voltha-scale-measurements':
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700193 name: 'voltha-scale-measurements-voltha-2.7-2-16-32-dt-subscribers'
194 'disable-job': false
195 pipeline-script: 'voltha/voltha-2.7/voltha-scale-test.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800196 build-node: 'voltha-scale-1'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700197 time-trigger: "H H/4 * * *"
198 olts: 2
199 pons: 16
200 onus: 32
201 withFlows: true
202 provisionSubscribers: true
203 workflow: dt
204 withEapol: false
205 withDhcp: false
206 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700207 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700208 release: voltha-2.7
Matteo Scandoloc1b269e2021-04-08 12:18:56 -0700209 bbsimImg: matteoscandolo/bbsim:gemport
Matteo Scandoloca097652020-08-14 09:49:23 -0700210 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700211 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700212 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700213 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800214 openonuAdapterGoImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200215 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700216
Matteo Scandolo031bd982020-09-16 10:03:47 -0700217 - 'voltha-scale-measurements':
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700218 name: 'voltha-scale-measurements-voltha-2.7-2-16-32-tt-subscribers'
219 'disable-job': false
220 pipeline-script: 'voltha/voltha-2.7/voltha-scale-test.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800221 build-node: 'voltha-scale-1'
Matteo Scandolo031bd982020-09-16 10:03:47 -0700222 time-trigger: "H H/4 * * *"
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700223 olts: 2
Matteo Scandolo031bd982020-09-16 10:03:47 -0700224 pons: 16
225 onus: 32
226 withFlows: true
227 provisionSubscribers: true
228 workflow: tt
229 withEapol: false
230 withDhcp: true
231 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700232 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700233 release: voltha-2.7
Matteo Scandoloc1b269e2021-04-08 12:18:56 -0700234 bbsimImg: matteoscandolo/bbsim:gemport
Matteo Scandolo031bd982020-09-16 10:03:47 -0700235 rwCoreImg: ''
236 ofAgentImg: ''
237 openoltAdapterImg: ''
238 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800239 openonuAdapterGoImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700240 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700241
Andrea Campanella27b5a662020-12-18 18:49:26 +0100242 # 2.6 multi-stack jobs
243 - 'voltha-scale-measurements':
244 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-att-subscribers'
245 build-node: 'voltha-scale-2'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700246 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100247 pipeline-script: 'voltha-scale-multi-stack.groovy'
Andrea Campanella27b5a662020-12-18 18:49:26 +0100248 time-trigger: "H H/4 * * *"
249 withMonitoring: false
250 logLevel: WARN
251 volthaStacks: 10
252 olts: 2
253 pons: 16
254 onus: 32
255 withFlows: true
256 provisionSubscribers: true
257 release: voltha-2.6
258 workflow: att
259 withEapol: true
260 withDhcp: true
261 withIgmp: false
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800262 bbsimImg: ''
263 rwCoreImg: ''
264 ofAgentImg: ''
265 openoltAdapterImg: ''
266 openonuAdapterImg: ''
267 openonuAdapterGoImg: ''
268 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100269
270 - 'voltha-scale-measurements':
271 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-dt-subscribers'
272 build-node: 'voltha-scale-2'
273 pipeline-script: 'voltha-scale-multi-stack.groovy'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700274 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100275 time-trigger: "H H/4 * * *"
276 withMonitoring: false
277 logLevel: WARN
278 volthaStacks: 10
279 olts: 2
280 pons: 16
281 onus: 32
282 withFlows: true
283 provisionSubscribers: true
284 release: voltha-2.6
285 workflow: dt
286 withEapol: false
287 withDhcp: false
288 withIgmp: false
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800289 bbsimImg: ''
290 rwCoreImg: ''
291 ofAgentImg: ''
292 openoltAdapterImg: ''
293 openonuAdapterImg: ''
294 openonuAdapterGoImg: ''
295 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100296
297 - 'voltha-scale-measurements':
298 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-tt-subscribers'
299 build-node: 'voltha-scale-2'
300 pipeline-script: 'voltha-scale-multi-stack.groovy'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700301 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100302 time-trigger: "H H/4 * * *"
303 withMonitoring: false
304 logLevel: WARN
305 volthaStacks: 10
306 olts: 2
307 pons: 16
308 onus: 32
309 withFlows: true
310 provisionSubscribers: true
311 release: voltha-2.6
312 workflow: tt
313 withEapol: false
314 withDhcp: true
315 withIgmp: true
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800316 bbsimImg: ''
317 rwCoreImg: ''
318 ofAgentImg: ''
319 openoltAdapterImg: ''
320 openonuAdapterImg: ''
321 openonuAdapterGoImg: ''
322 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100323
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700324 # per patchset job
325 - 'voltha-scale-measurements':
326 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800327 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700328 olts: 1
329 pons: 16
330 onus: 32
331 withFlows: true
332 provisionSubscribers: true
333 withEapol: true
334 withDhcp: true
335 withIgmp: false
336 withMonitoring: false
337 trigger-comment: "voltha scale test ATT"
338
339 - 'voltha-scale-measurements':
340 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800341 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700342 olts: 1
343 pons: 16
344 onus: 32
345 withFlows: true
346 provisionSubscribers: true
347 workflow: tt
348 withEapol: false
349 withDhcp: true
350 withIgmp: true
351 withMonitoring: false
352 trigger-comment: "voltha scale test TT"
353
354 - 'voltha-scale-measurements':
355 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800356 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700357 olts: 1
358 pons: 16
359 onus: 32
360 withFlows: true
361 provisionSubscribers: true
362 workflow: dt
363 withEapol: false
364 withDhcp: false
365 withIgmp: false
366 withMonitoring: false
367 trigger-comment: "voltha scale test DT"
368
Matteo Scandolo272aed42020-05-08 15:05:57 -0700369 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700370 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700371 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700372 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700373 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700374
Matteo Scandolodc930192020-08-27 15:56:16 -0700375 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700376 - 'voltha-scale-matrix':
377 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700378 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800379
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700380 # development matrix
381 - 'voltha-scale-matrix':
382 name: 'voltha-scale-matrix-voltha-master'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800383 build-node: 'voltha-scale-1'
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700384 onosReplicas: 3
385 atomixReplicas: 3
386 kafkaReplicas: 3
387 etcdReplicas: 3
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800388 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800389 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700390
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700391# list of parameters for the VOLTHA Jobs,
392# used as anchor so that can be shared across multiple jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700393# to use in a job: `parameters: *voltha-scale-job-parameters`
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700394- voltha-scale-job-parameters: &voltha-scale-job-parameters
395 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700396 parameters:
397 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800398 name: pipeline-script
399 default: '{pipeline-script}'
400 description: 'The pipeline script to use'
401
402 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700403 name: release
404 default: '{release}'
Matteo Scandolo49bc0472021-04-20 09:37:55 -0700405 description: 'Version of the code to test (matches a branch in voltha-helm-charts and voltha-system-tests repos)'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700406
407 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700408 name: buildNode
409 default: '{build-node}'
410 description: 'Name of the Jenkins node to run the job on'
411
412 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700413 name: dockerRegistry
414 default: '{dockerRegistry}'
415 description: 'Address of the docker registry to use if we are building custom images'
416
417 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700418 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700419 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700420 description: 'Log level for all the components'
421
422 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800423 name: volthaStacks
424 default: '{volthaStacks}'
425 description: 'Number of VOLTHA Stacks to deploy'
426
427 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700428 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700429 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700430 description: 'Number of ONUs to provision'
431
432 - string:
433 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700434 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700435 description: 'Number of PONs to provision'
436
437 - string:
438 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700439 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700440 description: 'How many BBSim instances to run'
441
442 - string:
443 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700444 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700445 description: 'Which workflow are we testing (att, dt, tt)'
446
447 - bool:
448 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700449 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700450 description: 'Wheter to push flows from ONOS'
451
452 - bool:
453 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700454 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700455 description: 'Wheter to provision subscribers durint the tests'
456
457 - bool:
458 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700459 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700460 description: 'Wheter EAPOL is enabled for the test'
461
462 - bool:
463 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700464 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700465 description: 'Wheter DHCP is enabled for the test'
466
467 - bool:
468 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700469 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700470 description: 'Wheter IGMP is enabled for the test'
471
472 - bool:
473 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700474 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700475 description: 'Wheter Link Discovery is enabled for the test'
476
477 - bool:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700478 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700479 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700480 description: 'Option to install Prometheus'
481
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700482 - bool:
483 name: withProfiling
484 default: '{withProfiling}'
485 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
486
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700487 - bool:
488 name: withPcap
489 default: '{withPcap}'
490 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
491
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700492 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700493 name: withRadius
494 default: '{withRadius}'
495 description: 'Value to pass to kind-voltha WITH_RADIUS'
496
497 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700498 name: extraHelmFlags
499 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700500 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 -0700501
Matteo Scandolo272aed42020-05-08 15:05:57 -0700502 - string:
503 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700504 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700505 description: 'How many OpenONU adapter instances to run'
506
507 - string:
508 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700509 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700510 description: 'How many ONOSes instances to run'
511
512 - string:
513 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700514 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700515 description: 'How many Atomix instances to run'
516
517 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700518 name: kafkaReplicas
519 default: '{kafkaReplicas}'
520 description: 'How many Kafka instances to run'
521
522 - string:
523 name: etcdReplicas
524 default: '{etcdReplicas}'
525 description: 'How many ETCD instances to run'
526
527 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700528 name: onosStatInterval
529 default: '{onosStatInterval}'
530 description: 'How often ONOS should poll for ports, flows and meters'
531
532 - string:
Andrea Campanella15f22942021-04-08 17:24:21 +0200533 name: onosGroupInterval
534 default: '{onosGroupInterval}'
535 description: 'How often ONOS should poll for groups'
536
537 - string:
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200538 name: flowObjWorkerThreads
539 default: '{flowObjWorkerThreads}'
540 description: 'How many threads are used by the FlowObjectiveManager worker pool'
541
542 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700543 name: bbsimImg
544 default: '{bbsimImg}'
545 description: 'Custom image selection for BBSIM (repo:tag)'
546
547 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700548 name: rwCoreImg
549 default: '{rwCoreImg}'
550 description: 'Custom image selection for VOLTHA (repo:tag)'
551
552 - string:
553 name: ofAgentImg
554 default: '{ofAgentImg}'
555 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
556
557 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700558 name: openoltAdapterImg
559 default: '{openoltAdapterImg}'
560 description: 'Custom image selection for Openolt Adapter (repo:tag)'
561
562 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700563 name: openonuAdapterImg
564 default: '{openonuAdapterImg}'
565 description: 'Custom image selection for Openonu Adapter (repo:tag)'
566
567 - string:
Andrea Campanella28763082020-11-18 10:55:31 +0100568 name: openonuAdapterGoImg
569 default: '{openonuAdapterGoImg}'
570 description: 'Custom image selection for Openonu Go Adapter (repo:tag)'
571
572 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700573 name: onosImg
574 default: '{onosImg}'
575 description: 'Custom image selection for Openonu Adapter (repo:tag)'
576
577 - string:
578 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700579 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700580 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
581
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700582 - string:
Matteo Scandolo11311742021-01-25 13:56:22 -0800583 name: volthaHelmChartsChange
584 default: '{volthaHelmChartsChange}'
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700585 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/32/19132/1"'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700586
Matteo Scandoloccc06192020-06-22 10:16:17 -0700587 - bool:
588 name: inMemoryEtcdStorage
589 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700590 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700591
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200592 - string:
593 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700594 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200595 description: 'Karaf home'
596
Matteo Scandolo001003e2021-02-03 15:39:26 -0800597 # remove once voltha-2.6 is deprecated
598 - string:
599 name: kindVolthaChange
600 default: '{kindVolthaChange}'
601 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
Matteo Scandolo90c5ccc2021-02-26 13:53:14 -0800602 - bool:
603 name: withMibTemplate
604 default: true
Matteo Scandolo001003e2021-02-03 15:39:26 -0800605
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700606- job-template:
607 id: 'voltha-scale-measurements'
608 name: '{name}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700609 disabled: '{disable-job}'
610
611 description: |
612 <!-- Managed by Jenkins Job Builder -->
613 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
614 Using pipeline {pipeline-script} <br/><br/>
615 Scale measurements for VOLTHA 2.x
616
617 properties:
618 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800619 build-days-to-keep: '{big-build-days-to-keep}'
620 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700621
622 wrappers:
623 - lf-infra-wrappers:
624 build-timeout: '{build-timeout}'
625 jenkins-ssh-credential: '{jenkins-ssh-credential}'
626
627 # default values
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -0800628 pipeline-script: 'voltha/master/voltha-scale-test.groovy'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700629 release: master
630
631 bbsimImg: voltha/bbsim:master
632 rwCoreImg: voltha/voltha-rw-core:master
633 ofAgentImg: voltha/voltha-ofagent-go:master
634 openoltAdapterImg: voltha/voltha-openolt-adapter:master
635 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100636 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700637 onosImg: voltha/voltha-onos:master
638
639 bbsimChart: onf/bbsim
640 volthaChart: onf/voltha
641 openoltAdapterChart: onf/voltha-adapter-openolt
642 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700643 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700644 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700645
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800646 volthaStacks: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700647 olts: 2
648 pons: 2
649 onus: 2
650 workflow: att
651 withFlows: false
652 provisionSubscribers: false
653 withEapol: true
654 withDhcp: true
655 withIgmp: false
656 withLLDP: false
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700657 withMonitoring: true
658 withProfiling: false
659 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700660 withRadius: yes
Andrea Campanellac179de22020-12-10 17:24:40 +0100661 openonuAdapterReplicas: 1
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700662 onosReplicas: 3
663 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700664 kafkaReplicas: 3
665 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700666 extraHelmFlags: ''
667 onosStatInterval: 5
Andrea Campanella15f22942021-04-08 17:24:21 +0200668 onosGroupInterval: 1
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200669 flowObjWorkerThreads: 12
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700670 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800671 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800672 kindVolthaChange: ''
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700673 inMemoryEtcdStorage: true
674 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700675 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700676 dockerRegistry: 10.90.0.101:30500
677 trigger-comment: vv7CBoQQYYonvaN8xcru
678 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700679
680 <<: *voltha-scale-job-parameters
681
Matteo Scandolo272aed42020-05-08 15:05:57 -0700682 project-type: pipeline
683 concurrent: false
684
685 dsl: !include-raw-escape: pipeline/{pipeline-script}
686
Matteo Scandoloabb83972020-06-25 16:08:23 -0700687 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700688 # periodic jobs will set this every 4 hours
689 # 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 -0700690 - timed: |
691 TZ=America/Los_Angeles
692 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700693 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
694 # patchset jobs will set this to a meaningful comment
695 - gerrit:
696 server-name: '{gerrit-server-name}'
697 silent-start: false
698 successful-message: "PASSED scale test"
699 failure-message: "FAILED scale test"
700 unstable-message: "UNSTABLE scale test"
701 trigger-on:
702 - comment-added-contains-event:
703 comment-contains-value: '.*{trigger-comment}.*'
704 projects:
705 - project-compare-type: REG_EXP
706 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
707 branches:
708 - branch-compare-type: REG_EXP
709 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700710
711- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700712 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800713 name: '{name}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800714
715 description: |
716 <!-- Managed by Jenkins Job Builder -->
717 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
718 Using pipeline {pipeline-script} <br/><br/>
719 Scale measurements for VOLTHA 2.x
720
721 properties:
722 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800723 build-days-to-keep: '{big-build-days-to-keep}'
724 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800725
726 wrappers:
727 - lf-infra-wrappers:
728 build-timeout: '{build-timeout}'
729 jenkins-ssh-credential: '{jenkins-ssh-credential}'
730
Matteo Scandolo0430f672020-05-07 11:50:26 -0700731 # default values
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -0800732 pipeline-script: 'voltha/master/voltha-scale-test.groovy'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700733 release: master
734
Matteo Scandolo0430f672020-05-07 11:50:26 -0700735 bbsimImg: voltha/bbsim:master
736 rwCoreImg: voltha/voltha-rw-core:master
737 ofAgentImg: voltha/voltha-ofagent-go:master
738 openoltAdapterImg: voltha/voltha-openolt-adapter:master
739 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100740 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandolo0430f672020-05-07 11:50:26 -0700741 onosImg: voltha/voltha-onos:master
742
743 bbsimChart: onf/bbsim
744 volthaChart: onf/voltha
745 openoltAdapterChart: onf/voltha-adapter-openolt
746 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700747 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700748 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700749
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800750 volthaStacks: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700751 olts: 2
752 pons: 2
753 onus: 2
754 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700755 withFlows: true
756 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700757 withEapol: true
758 withDhcp: true
759 withIgmp: false
760 withLLDP: false
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700761 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700762 withProfiling: false
763 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700764 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700765 openonuAdapterReplicas: 1
766 onosReplicas: 1
767 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700768 kafkaReplicas: 1
769 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700770 extraHelmFlags: ''
771 onosStatInterval: 5
Andrea Campanella15f22942021-04-08 17:24:21 +0200772 onosGroupInterval: 1
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200773 flowObjWorkerThreads: 12
Matteo Scandolo68776b72020-07-21 14:06:06 -0700774 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800775 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800776 kindVolthaChange: ''
Matteo Scandolo68776b72020-07-21 14:06:06 -0700777 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700778 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700779 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700780 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700781
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700782 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200783
Matteo Scandolo51b76302020-02-05 12:07:23 -0800784 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800785 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800786
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700787 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700788
Matteo Scandolo849db722020-10-21 10:58:41 -0700789 triggers:
790 - gerrit:
791 server-name: '{gerrit-server-name}'
792 silent-start: false
793 successful-message: "PASSED scale test"
794 failure-message: "FAILED scale test"
795 unstable-message: "UNSTABLE scale test"
796 trigger-on:
797 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700798 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700799 projects:
800 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700801 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700802 branches:
803 - branch-compare-type: REG_EXP
804 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700805- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700806 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700807 name: '{name}'
808 pipeline-script: 'voltha-scale-matrix.groovy'
809
810 description: |
811 <!-- Managed by Jenkins Job Builder -->
812 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
813 Using pipeline {pipeline-script} <br/><br/>
814 Scale measurements for VOLTHA 2.x
815
816 properties:
817 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800818 build-days-to-keep: '{big-build-days-to-keep}'
819 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700820
821 wrappers:
822 - lf-infra-wrappers:
823 build-timeout: '{build-timeout}'
824 jenkins-ssh-credential: '{jenkins-ssh-credential}'
825
826 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800827 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700828 release: master
829 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700830 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800831 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800832 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700833 onosReplicas: 1
834 atomixReplicas: 0
835 kafkaReplicas: 1
836 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800837 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800838 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700839
840 project-type: pipeline
841 concurrent: false
842
843 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700844
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700845 parameters:
846 - string:
847 name: release
848 default: '{release}'
849 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
850
851 - string:
852 name: buildNode
853 default: '{build-node}'
854 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700855
856 - string:
857 name: volthaSystemTestsChange
858 default: '{volthaSystemTestsChange}'
859 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
860
861 - string:
Matteo Scandolo11311742021-01-25 13:56:22 -0800862 name: volthaHelmChartsChange
863 default: '{volthaHelmChartsChange}'
864 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/32/19132/1"'
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700865
866 - string:
867 name: onosReplicas
868 default: '{onosReplicas}'
869 description: 'How many ONOSes instances to run'
870
871 - string:
872 name: atomixReplicas
873 default: '{atomixReplicas}'
874 description: 'How many Atomix instances to run'
875
876 - string:
877 name: kafkaReplicas
878 default: '{kafkaReplicas}'
879 description: 'How many Kafka instances to run'
880
881 - string:
882 name: etcdReplicas
883 default: '{etcdReplicas}'
884 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800885
886 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800887 name: openonuAdapterReplicas
888 default: '{openonuAdapterReplicas}'
889 description: 'How many OpenONU adapter instances to run'
890
891 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800892 name: topologies
893 default: '{topologies}'
894 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
895
896 triggers:
897 - timed: |
898 TZ=America/Los_Angeles
899 {time-trigger}