blob: 8ee694c89ab33d6a0b36ba79877c4d19abbbd681 [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
393# to use in a job: `parameters: *voltha-build-job-parameters`
394- 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}'
405 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
406
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:
548 name: bbsimChart
549 default: '{bbsimChart}'
550 description: 'BBSim chart name (or location on file system)'
551
552 - string:
553 name: rwCoreImg
554 default: '{rwCoreImg}'
555 description: 'Custom image selection for VOLTHA (repo:tag)'
556
557 - string:
558 name: ofAgentImg
559 default: '{ofAgentImg}'
560 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
561
562 - string:
563 name: volthaChart
564 default: '{volthaChart}'
565 description: 'VOLTHA chart name (or location on file system)'
566
567 - string:
568 name: openoltAdapterImg
569 default: '{openoltAdapterImg}'
570 description: 'Custom image selection for Openolt Adapter (repo:tag)'
571
572 - string:
573 name: openoltAdapterChart
574 default: '{openoltAdapterChart}'
575 description: 'OpenOLT chart name (or location on file system)'
576
577 - string:
578 name: openonuAdapterImg
579 default: '{openonuAdapterImg}'
580 description: 'Custom image selection for Openonu Adapter (repo:tag)'
581
582 - string:
Andrea Campanella28763082020-11-18 10:55:31 +0100583 name: openonuAdapterGoImg
584 default: '{openonuAdapterGoImg}'
585 description: 'Custom image selection for Openonu Go Adapter (repo:tag)'
586
587 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700588 name: openonuAdapterChart
589 default: '{openonuAdapterChart}'
590 description: 'OpenONU chart name (or location on file system)'
591
592 - string:
593 name: onosImg
594 default: '{onosImg}'
595 description: 'Custom image selection for Openonu Adapter (repo:tag)'
596
597 - string:
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700598 name: onosChart
599 default: '{onosChart}'
600 description: 'ONOS chart name (or location on file system)'
601
602 - string:
Matteo Scandolo06506102020-10-13 12:24:20 -0700603 name: radiusChart
604 default: '{radiusChart}'
605 description: 'freeradius chart name (or location on file system)'
606
607 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700608 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700609 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700610 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
611
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700612 - string:
Matteo Scandolo11311742021-01-25 13:56:22 -0800613 name: volthaHelmChartsChange
614 default: '{volthaHelmChartsChange}'
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700615 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 -0700616
Matteo Scandoloccc06192020-06-22 10:16:17 -0700617 - bool:
618 name: inMemoryEtcdStorage
619 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700620 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700621
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200622 - string:
623 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700624 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200625 description: 'Karaf home'
626
Matteo Scandolo001003e2021-02-03 15:39:26 -0800627 # remove once voltha-2.6 is deprecated
628 - string:
629 name: kindVolthaChange
630 default: '{kindVolthaChange}'
631 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 -0800632 - bool:
633 name: withMibTemplate
634 default: true
Matteo Scandolo001003e2021-02-03 15:39:26 -0800635
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700636- job-template:
637 id: 'voltha-scale-measurements'
638 name: '{name}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700639 disabled: '{disable-job}'
640
641 description: |
642 <!-- Managed by Jenkins Job Builder -->
643 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
644 Using pipeline {pipeline-script} <br/><br/>
645 Scale measurements for VOLTHA 2.x
646
647 properties:
648 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800649 build-days-to-keep: '{big-build-days-to-keep}'
650 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700651
652 wrappers:
653 - lf-infra-wrappers:
654 build-timeout: '{build-timeout}'
655 jenkins-ssh-credential: '{jenkins-ssh-credential}'
656
657 # default values
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -0800658 pipeline-script: 'voltha/master/voltha-scale-test.groovy'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700659 release: master
660
661 bbsimImg: voltha/bbsim:master
662 rwCoreImg: voltha/voltha-rw-core:master
663 ofAgentImg: voltha/voltha-ofagent-go:master
664 openoltAdapterImg: voltha/voltha-openolt-adapter:master
665 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100666 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700667 onosImg: voltha/voltha-onos:master
668
669 bbsimChart: onf/bbsim
670 volthaChart: onf/voltha
671 openoltAdapterChart: onf/voltha-adapter-openolt
672 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700673 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700674 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700675
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800676 volthaStacks: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700677 olts: 2
678 pons: 2
679 onus: 2
680 workflow: att
681 withFlows: false
682 provisionSubscribers: false
683 withEapol: true
684 withDhcp: true
685 withIgmp: false
686 withLLDP: false
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700687 withMonitoring: true
688 withProfiling: false
689 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700690 withRadius: yes
Andrea Campanellac179de22020-12-10 17:24:40 +0100691 openonuAdapterReplicas: 1
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700692 onosReplicas: 3
693 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700694 kafkaReplicas: 3
695 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700696 extraHelmFlags: ''
697 onosStatInterval: 5
Andrea Campanella15f22942021-04-08 17:24:21 +0200698 onosGroupInterval: 1
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200699 flowObjWorkerThreads: 12
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700700 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800701 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800702 kindVolthaChange: ''
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700703 inMemoryEtcdStorage: true
704 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700705 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700706 dockerRegistry: 10.90.0.101:30500
707 trigger-comment: vv7CBoQQYYonvaN8xcru
708 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700709
710 <<: *voltha-scale-job-parameters
711
Matteo Scandolo272aed42020-05-08 15:05:57 -0700712 project-type: pipeline
713 concurrent: false
714
715 dsl: !include-raw-escape: pipeline/{pipeline-script}
716
Matteo Scandoloabb83972020-06-25 16:08:23 -0700717 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700718 # periodic jobs will set this every 4 hours
719 # 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 -0700720 - timed: |
721 TZ=America/Los_Angeles
722 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700723 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
724 # patchset jobs will set this to a meaningful comment
725 - gerrit:
726 server-name: '{gerrit-server-name}'
727 silent-start: false
728 successful-message: "PASSED scale test"
729 failure-message: "FAILED scale test"
730 unstable-message: "UNSTABLE scale test"
731 trigger-on:
732 - comment-added-contains-event:
733 comment-contains-value: '.*{trigger-comment}.*'
734 projects:
735 - project-compare-type: REG_EXP
736 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
737 branches:
738 - branch-compare-type: REG_EXP
739 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700740
741- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700742 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800743 name: '{name}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800744
745 description: |
746 <!-- Managed by Jenkins Job Builder -->
747 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
748 Using pipeline {pipeline-script} <br/><br/>
749 Scale measurements for VOLTHA 2.x
750
751 properties:
752 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800753 build-days-to-keep: '{big-build-days-to-keep}'
754 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800755
756 wrappers:
757 - lf-infra-wrappers:
758 build-timeout: '{build-timeout}'
759 jenkins-ssh-credential: '{jenkins-ssh-credential}'
760
Matteo Scandolo0430f672020-05-07 11:50:26 -0700761 # default values
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -0800762 pipeline-script: 'voltha/master/voltha-scale-test.groovy'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700763 release: master
764
Matteo Scandolo0430f672020-05-07 11:50:26 -0700765 bbsimImg: voltha/bbsim:master
766 rwCoreImg: voltha/voltha-rw-core:master
767 ofAgentImg: voltha/voltha-ofagent-go:master
768 openoltAdapterImg: voltha/voltha-openolt-adapter:master
769 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100770 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandolo0430f672020-05-07 11:50:26 -0700771 onosImg: voltha/voltha-onos:master
772
773 bbsimChart: onf/bbsim
774 volthaChart: onf/voltha
775 openoltAdapterChart: onf/voltha-adapter-openolt
776 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700777 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700778 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700779
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800780 volthaStacks: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700781 olts: 2
782 pons: 2
783 onus: 2
784 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700785 withFlows: true
786 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700787 withEapol: true
788 withDhcp: true
789 withIgmp: false
790 withLLDP: false
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700791 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700792 withProfiling: false
793 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700794 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700795 openonuAdapterReplicas: 1
796 onosReplicas: 1
797 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700798 kafkaReplicas: 1
799 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700800 extraHelmFlags: ''
801 onosStatInterval: 5
Andrea Campanella15f22942021-04-08 17:24:21 +0200802 onosGroupInterval: 1
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200803 flowObjWorkerThreads: 12
Matteo Scandolo68776b72020-07-21 14:06:06 -0700804 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800805 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800806 kindVolthaChange: ''
Matteo Scandolo68776b72020-07-21 14:06:06 -0700807 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700808 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700809 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700810 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700811
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700812 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200813
Matteo Scandolo51b76302020-02-05 12:07:23 -0800814 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800815 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800816
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700817 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700818
Matteo Scandolo849db722020-10-21 10:58:41 -0700819 triggers:
820 - gerrit:
821 server-name: '{gerrit-server-name}'
822 silent-start: false
823 successful-message: "PASSED scale test"
824 failure-message: "FAILED scale test"
825 unstable-message: "UNSTABLE scale test"
826 trigger-on:
827 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700828 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700829 projects:
830 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700831 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700832 branches:
833 - branch-compare-type: REG_EXP
834 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700835- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700836 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700837 name: '{name}'
838 pipeline-script: 'voltha-scale-matrix.groovy'
839
840 description: |
841 <!-- Managed by Jenkins Job Builder -->
842 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
843 Using pipeline {pipeline-script} <br/><br/>
844 Scale measurements for VOLTHA 2.x
845
846 properties:
847 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800848 build-days-to-keep: '{big-build-days-to-keep}'
849 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700850
851 wrappers:
852 - lf-infra-wrappers:
853 build-timeout: '{build-timeout}'
854 jenkins-ssh-credential: '{jenkins-ssh-credential}'
855
856 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800857 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700858 release: master
859 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700860 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800861 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800862 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700863 onosReplicas: 1
864 atomixReplicas: 0
865 kafkaReplicas: 1
866 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800867 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800868 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700869
870 project-type: pipeline
871 concurrent: false
872
873 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700874
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700875 parameters:
876 - string:
877 name: release
878 default: '{release}'
879 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
880
881 - string:
882 name: buildNode
883 default: '{build-node}'
884 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700885
886 - string:
887 name: volthaSystemTestsChange
888 default: '{volthaSystemTestsChange}'
889 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
890
891 - string:
Matteo Scandolo11311742021-01-25 13:56:22 -0800892 name: volthaHelmChartsChange
893 default: '{volthaHelmChartsChange}'
894 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 -0700895
896 - string:
897 name: onosReplicas
898 default: '{onosReplicas}'
899 description: 'How many ONOSes instances to run'
900
901 - string:
902 name: atomixReplicas
903 default: '{atomixReplicas}'
904 description: 'How many Atomix instances to run'
905
906 - string:
907 name: kafkaReplicas
908 default: '{kafkaReplicas}'
909 description: 'How many Kafka instances to run'
910
911 - string:
912 name: etcdReplicas
913 default: '{etcdReplicas}'
914 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800915
916 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800917 name: openonuAdapterReplicas
918 default: '{openonuAdapterReplicas}'
919 description: 'How many OpenONU adapter instances to run'
920
921 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800922 name: topologies
923 default: '{topologies}'
924 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
925
926 triggers:
927 - timed: |
928 TZ=America/Los_Angeles
929 {time-trigger}