blob: 0b5663024607a4f51bfa0b07b26ca745b1003232 [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:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700538 name: bbsimImg
539 default: '{bbsimImg}'
540 description: 'Custom image selection for BBSIM (repo:tag)'
541
542 - string:
543 name: bbsimChart
544 default: '{bbsimChart}'
545 description: 'BBSim chart name (or location on file system)'
546
547 - string:
548 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:
558 name: volthaChart
559 default: '{volthaChart}'
560 description: 'VOLTHA chart name (or location on file system)'
561
562 - string:
563 name: openoltAdapterImg
564 default: '{openoltAdapterImg}'
565 description: 'Custom image selection for Openolt Adapter (repo:tag)'
566
567 - string:
568 name: openoltAdapterChart
569 default: '{openoltAdapterChart}'
570 description: 'OpenOLT chart name (or location on file system)'
571
572 - string:
573 name: openonuAdapterImg
574 default: '{openonuAdapterImg}'
575 description: 'Custom image selection for Openonu Adapter (repo:tag)'
576
577 - string:
Andrea Campanella28763082020-11-18 10:55:31 +0100578 name: openonuAdapterGoImg
579 default: '{openonuAdapterGoImg}'
580 description: 'Custom image selection for Openonu Go Adapter (repo:tag)'
581
582 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700583 name: openonuAdapterChart
584 default: '{openonuAdapterChart}'
585 description: 'OpenONU chart name (or location on file system)'
586
587 - string:
588 name: onosImg
589 default: '{onosImg}'
590 description: 'Custom image selection for Openonu Adapter (repo:tag)'
591
592 - string:
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700593 name: onosChart
594 default: '{onosChart}'
595 description: 'ONOS chart name (or location on file system)'
596
597 - string:
Matteo Scandolo06506102020-10-13 12:24:20 -0700598 name: radiusChart
599 default: '{radiusChart}'
600 description: 'freeradius chart name (or location on file system)'
601
602 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700603 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700604 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700605 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
606
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700607 - string:
Matteo Scandolo11311742021-01-25 13:56:22 -0800608 name: volthaHelmChartsChange
609 default: '{volthaHelmChartsChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700610 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
611
Matteo Scandoloccc06192020-06-22 10:16:17 -0700612 - bool:
613 name: inMemoryEtcdStorage
614 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700615 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700616
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200617 - string:
618 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700619 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200620 description: 'Karaf home'
621
Matteo Scandolo001003e2021-02-03 15:39:26 -0800622 # remove once voltha-2.6 is deprecated
623 - string:
624 name: kindVolthaChange
625 default: '{kindVolthaChange}'
626 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 -0800627 - bool:
628 name: withMibTemplate
629 default: true
Matteo Scandolo001003e2021-02-03 15:39:26 -0800630
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700631- job-template:
632 id: 'voltha-scale-measurements'
633 name: '{name}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700634 disabled: '{disable-job}'
635
636 description: |
637 <!-- Managed by Jenkins Job Builder -->
638 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
639 Using pipeline {pipeline-script} <br/><br/>
640 Scale measurements for VOLTHA 2.x
641
642 properties:
643 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800644 build-days-to-keep: '{big-build-days-to-keep}'
645 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700646
647 wrappers:
648 - lf-infra-wrappers:
649 build-timeout: '{build-timeout}'
650 jenkins-ssh-credential: '{jenkins-ssh-credential}'
651
652 # default values
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -0800653 pipeline-script: 'voltha/master/voltha-scale-test.groovy'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700654 release: master
655
656 bbsimImg: voltha/bbsim:master
657 rwCoreImg: voltha/voltha-rw-core:master
658 ofAgentImg: voltha/voltha-ofagent-go:master
659 openoltAdapterImg: voltha/voltha-openolt-adapter:master
660 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100661 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700662 onosImg: voltha/voltha-onos:master
663
664 bbsimChart: onf/bbsim
665 volthaChart: onf/voltha
666 openoltAdapterChart: onf/voltha-adapter-openolt
667 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700668 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700669 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700670
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800671 volthaStacks: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700672 olts: 2
673 pons: 2
674 onus: 2
675 workflow: att
676 withFlows: false
677 provisionSubscribers: false
678 withEapol: true
679 withDhcp: true
680 withIgmp: false
681 withLLDP: false
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700682 withMonitoring: true
683 withProfiling: false
684 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700685 withRadius: yes
Andrea Campanellac179de22020-12-10 17:24:40 +0100686 openonuAdapterReplicas: 1
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700687 onosReplicas: 3
688 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700689 kafkaReplicas: 3
690 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700691 extraHelmFlags: ''
692 onosStatInterval: 5
Andrea Campanella15f22942021-04-08 17:24:21 +0200693 onosGroupInterval: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700694 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800695 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800696 kindVolthaChange: ''
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700697 inMemoryEtcdStorage: true
698 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700699 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700700 dockerRegistry: 10.90.0.101:30500
701 trigger-comment: vv7CBoQQYYonvaN8xcru
702 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700703
704 <<: *voltha-scale-job-parameters
705
Matteo Scandolo272aed42020-05-08 15:05:57 -0700706 project-type: pipeline
707 concurrent: false
708
709 dsl: !include-raw-escape: pipeline/{pipeline-script}
710
Matteo Scandoloabb83972020-06-25 16:08:23 -0700711 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700712 # periodic jobs will set this every 4 hours
713 # 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 -0700714 - timed: |
715 TZ=America/Los_Angeles
716 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700717 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
718 # patchset jobs will set this to a meaningful comment
719 - gerrit:
720 server-name: '{gerrit-server-name}'
721 silent-start: false
722 successful-message: "PASSED scale test"
723 failure-message: "FAILED scale test"
724 unstable-message: "UNSTABLE scale test"
725 trigger-on:
726 - comment-added-contains-event:
727 comment-contains-value: '.*{trigger-comment}.*'
728 projects:
729 - project-compare-type: REG_EXP
730 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
731 branches:
732 - branch-compare-type: REG_EXP
733 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700734
735- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700736 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800737 name: '{name}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800738
739 description: |
740 <!-- Managed by Jenkins Job Builder -->
741 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
742 Using pipeline {pipeline-script} <br/><br/>
743 Scale measurements for VOLTHA 2.x
744
745 properties:
746 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800747 build-days-to-keep: '{big-build-days-to-keep}'
748 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800749
750 wrappers:
751 - lf-infra-wrappers:
752 build-timeout: '{build-timeout}'
753 jenkins-ssh-credential: '{jenkins-ssh-credential}'
754
Matteo Scandolo0430f672020-05-07 11:50:26 -0700755 # default values
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -0800756 pipeline-script: 'voltha/master/voltha-scale-test.groovy'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700757 release: master
758
Matteo Scandolo0430f672020-05-07 11:50:26 -0700759 bbsimImg: voltha/bbsim:master
760 rwCoreImg: voltha/voltha-rw-core:master
761 ofAgentImg: voltha/voltha-ofagent-go:master
762 openoltAdapterImg: voltha/voltha-openolt-adapter:master
763 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100764 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandolo0430f672020-05-07 11:50:26 -0700765 onosImg: voltha/voltha-onos:master
766
767 bbsimChart: onf/bbsim
768 volthaChart: onf/voltha
769 openoltAdapterChart: onf/voltha-adapter-openolt
770 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700771 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700772 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700773
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800774 volthaStacks: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700775 olts: 2
776 pons: 2
777 onus: 2
778 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700779 withFlows: true
780 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700781 withEapol: true
782 withDhcp: true
783 withIgmp: false
784 withLLDP: false
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700785 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700786 withProfiling: false
787 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700788 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700789 openonuAdapterReplicas: 1
790 onosReplicas: 1
791 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700792 kafkaReplicas: 1
793 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700794 extraHelmFlags: ''
795 onosStatInterval: 5
Andrea Campanella15f22942021-04-08 17:24:21 +0200796 onosGroupInterval: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700797 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800798 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800799 kindVolthaChange: ''
Matteo Scandolo68776b72020-07-21 14:06:06 -0700800 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700801 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700802 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700803 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700804
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700805 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200806
Matteo Scandolo51b76302020-02-05 12:07:23 -0800807 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800808 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800809
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700810 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700811
Matteo Scandolo849db722020-10-21 10:58:41 -0700812 triggers:
813 - gerrit:
814 server-name: '{gerrit-server-name}'
815 silent-start: false
816 successful-message: "PASSED scale test"
817 failure-message: "FAILED scale test"
818 unstable-message: "UNSTABLE scale test"
819 trigger-on:
820 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700821 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700822 projects:
823 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700824 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700825 branches:
826 - branch-compare-type: REG_EXP
827 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700828- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700829 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700830 name: '{name}'
831 pipeline-script: 'voltha-scale-matrix.groovy'
832
833 description: |
834 <!-- Managed by Jenkins Job Builder -->
835 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
836 Using pipeline {pipeline-script} <br/><br/>
837 Scale measurements for VOLTHA 2.x
838
839 properties:
840 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800841 build-days-to-keep: '{big-build-days-to-keep}'
842 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700843
844 wrappers:
845 - lf-infra-wrappers:
846 build-timeout: '{build-timeout}'
847 jenkins-ssh-credential: '{jenkins-ssh-credential}'
848
849 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800850 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700851 release: master
852 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700853 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800854 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800855 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700856 onosReplicas: 1
857 atomixReplicas: 0
858 kafkaReplicas: 1
859 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800860 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800861 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700862
863 project-type: pipeline
864 concurrent: false
865
866 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700867
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700868 parameters:
869 - string:
870 name: release
871 default: '{release}'
872 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
873
874 - string:
875 name: buildNode
876 default: '{build-node}'
877 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700878
879 - string:
880 name: volthaSystemTestsChange
881 default: '{volthaSystemTestsChange}'
882 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
883
884 - string:
Matteo Scandolo11311742021-01-25 13:56:22 -0800885 name: volthaHelmChartsChange
886 default: '{volthaHelmChartsChange}'
887 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 -0700888
889 - string:
890 name: onosReplicas
891 default: '{onosReplicas}'
892 description: 'How many ONOSes instances to run'
893
894 - string:
895 name: atomixReplicas
896 default: '{atomixReplicas}'
897 description: 'How many Atomix instances to run'
898
899 - string:
900 name: kafkaReplicas
901 default: '{kafkaReplicas}'
902 description: 'How many Kafka instances to run'
903
904 - string:
905 name: etcdReplicas
906 default: '{etcdReplicas}'
907 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800908
909 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800910 name: openonuAdapterReplicas
911 default: '{openonuAdapterReplicas}'
912 description: 'How many OpenONU adapter instances to run'
913
914 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800915 name: topologies
916 default: '{topologies}'
917 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
918
919 triggers:
920 - timed: |
921 TZ=America/Los_Angeles
922 {time-trigger}