blob: 96166b87b5d28b855b1baa98aee2d1ba403a1cbf [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'
Matteo Scandoloe2716072021-04-07 15:10:49 -070066 bbsimImg: matteoscandolo/bbsim:gemport
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070067
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070068 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070069 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo433f60d2021-03-26 12:04:34 -070070 'disable-job': false
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -080071 build-node: 'voltha-scale-1'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070072 time-trigger: "H H/4 * * *"
73 olts: 2
74 pons: 16
75 onus: 32
76 withFlows: true
77 provisionSubscribers: true
78 workflow: dt
79 withEapol: false
80 withDhcp: false
81 withIgmp: false
Matteo Scandolo433f60d2021-03-26 12:04:34 -070082 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 -070083 bbsimImg: matteoscandolo/bbsim:gemport
Matteo Scandolo86939302020-10-30 13:32:08 -070084
85 - 'voltha-scale-measurements':
86 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Matteo Scandolo433f60d2021-03-26 12:04:34 -070087 'disable-job': false
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -080088 build-node: 'voltha-scale-1'
Matteo Scandolo86939302020-10-30 13:32:08 -070089 time-trigger: "H H/4 * * *"
90 olts: 2
91 pons: 16
92 onus: 32
93 withFlows: true
94 provisionSubscribers: true
95 workflow: tt
96 withEapol: false
97 withDhcp: true
98 withIgmp: true
Matteo Scandolo86939302020-10-30 13:32:08 -070099 onosReplicas: 3
100 atomixReplicas: 3
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700101 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 +0100102 onosImg: andreacampanella/voltha-onos:olt-group-pkt-req-mcast-fix
Andrea Campanella15f22942021-04-08 17:24:21 +0200103 bbsimImg: matteoscandolo/bbsim:gemport
Matteo Scandolo272aed42020-05-08 15:05:57 -0700104
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800105 # multi-stack jobs
106 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800107 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-att-subscribers'
108 build-node: 'voltha-scale-2'
Matteo Scandoloc1895e12021-03-11 15:14:20 -0800109 'disable-job': false
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800110 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800111 time-trigger: "H H/4 * * *"
112 withMonitoring: false
113 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800114 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800115 olts: 2
116 pons: 16
117 onus: 32
118 withFlows: true
119 provisionSubscribers: true
120 workflow: att
121 withEapol: true
122 withDhcp: true
123 withIgmp: false
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700124 extraHelmFlags: "-f /home/jenkins/voltha-scale/voltha-values.yaml "
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800125
126 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800127 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-dt-subscribers'
128 build-node: 'voltha-scale-2'
Matteo Scandoloc1895e12021-03-11 15:14:20 -0800129 'disable-job': false
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800130 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800131 time-trigger: "H H/4 * * *"
132 withMonitoring: false
133 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800134 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800135 olts: 2
136 pons: 16
137 onus: 32
138 withFlows: true
139 provisionSubscribers: true
140 workflow: dt
141 withEapol: false
142 withDhcp: false
143 withIgmp: false
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700144 extraHelmFlags: "-f /home/jenkins/voltha-scale/voltha-values.yaml "
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800145
146 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800147 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-tt-subscribers'
148 build-node: 'voltha-scale-2'
Matteo Scandoloc1895e12021-03-11 15:14:20 -0800149 'disable-job': false
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800150 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800151 time-trigger: "H H/4 * * *"
152 withMonitoring: false
153 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800154 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800155 olts: 2
156 pons: 16
157 onus: 32
158 withFlows: true
159 provisionSubscribers: true
160 workflow: tt
161 withEapol: false
162 withDhcp: true
163 withIgmp: true
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700164 extraHelmFlags: "-f /home/jenkins/voltha-scale/voltha-values.yaml "
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800165
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700166 # voltha-2.7 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700167 - 'voltha-scale-measurements':
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700168 name: 'voltha-scale-measurements-voltha-2.7-2-16-32-att-subscribers'
169 'disable-job': false
170 pipeline-script: 'voltha/voltha-2.7/voltha-scale-test.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800171 build-node: 'voltha-scale-1'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700172 time-trigger: "H H/4 * * *"
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700173 olts: 2
Matteo Scandolod43064b2020-07-13 17:18:45 -0700174 pons: 16
175 onus: 32
176 withFlows: true
177 provisionSubscribers: true
178 withEapol: true
179 withDhcp: true
180 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700181 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700182 release: voltha-2.7
Matteo Scandoloc1b269e2021-04-08 12:18:56 -0700183 bbsimImg: matteoscandolo/bbsim:gemport
Matteo Scandoloca097652020-08-14 09:49:23 -0700184 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700185 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700186 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700187 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800188 openonuAdapterGoImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200189 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700190
191 - 'voltha-scale-measurements':
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700192 name: 'voltha-scale-measurements-voltha-2.7-2-16-32-dt-subscribers'
193 'disable-job': false
194 pipeline-script: 'voltha/voltha-2.7/voltha-scale-test.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800195 build-node: 'voltha-scale-1'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700196 time-trigger: "H H/4 * * *"
197 olts: 2
198 pons: 16
199 onus: 32
200 withFlows: true
201 provisionSubscribers: true
202 workflow: dt
203 withEapol: false
204 withDhcp: false
205 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700206 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700207 release: voltha-2.7
Matteo Scandoloc1b269e2021-04-08 12:18:56 -0700208 bbsimImg: matteoscandolo/bbsim:gemport
Matteo Scandoloca097652020-08-14 09:49:23 -0700209 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700210 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700211 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700212 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800213 openonuAdapterGoImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200214 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700215
Matteo Scandolo031bd982020-09-16 10:03:47 -0700216 - 'voltha-scale-measurements':
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700217 name: 'voltha-scale-measurements-voltha-2.7-2-16-32-tt-subscribers'
218 'disable-job': false
219 pipeline-script: 'voltha/voltha-2.7/voltha-scale-test.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800220 build-node: 'voltha-scale-1'
Matteo Scandolo031bd982020-09-16 10:03:47 -0700221 time-trigger: "H H/4 * * *"
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700222 olts: 2
Matteo Scandolo031bd982020-09-16 10:03:47 -0700223 pons: 16
224 onus: 32
225 withFlows: true
226 provisionSubscribers: true
227 workflow: tt
228 withEapol: false
229 withDhcp: true
230 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700231 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700232 release: voltha-2.7
Matteo Scandoloc1b269e2021-04-08 12:18:56 -0700233 bbsimImg: matteoscandolo/bbsim:gemport
Matteo Scandolo031bd982020-09-16 10:03:47 -0700234 rwCoreImg: ''
235 ofAgentImg: ''
236 openoltAdapterImg: ''
237 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800238 openonuAdapterGoImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700239 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700240
Andrea Campanella27b5a662020-12-18 18:49:26 +0100241 # 2.6 multi-stack jobs
242 - 'voltha-scale-measurements':
243 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-att-subscribers'
244 build-node: 'voltha-scale-2'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700245 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100246 pipeline-script: 'voltha-scale-multi-stack.groovy'
Andrea Campanella27b5a662020-12-18 18:49:26 +0100247 time-trigger: "H H/4 * * *"
248 withMonitoring: false
249 logLevel: WARN
250 volthaStacks: 10
251 olts: 2
252 pons: 16
253 onus: 32
254 withFlows: true
255 provisionSubscribers: true
256 release: voltha-2.6
257 workflow: att
258 withEapol: true
259 withDhcp: true
260 withIgmp: false
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800261 bbsimImg: ''
262 rwCoreImg: ''
263 ofAgentImg: ''
264 openoltAdapterImg: ''
265 openonuAdapterImg: ''
266 openonuAdapterGoImg: ''
267 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100268
269 - 'voltha-scale-measurements':
270 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-dt-subscribers'
271 build-node: 'voltha-scale-2'
272 pipeline-script: 'voltha-scale-multi-stack.groovy'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700273 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100274 time-trigger: "H H/4 * * *"
275 withMonitoring: false
276 logLevel: WARN
277 volthaStacks: 10
278 olts: 2
279 pons: 16
280 onus: 32
281 withFlows: true
282 provisionSubscribers: true
283 release: voltha-2.6
284 workflow: dt
285 withEapol: false
286 withDhcp: false
287 withIgmp: false
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800288 bbsimImg: ''
289 rwCoreImg: ''
290 ofAgentImg: ''
291 openoltAdapterImg: ''
292 openonuAdapterImg: ''
293 openonuAdapterGoImg: ''
294 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100295
296 - 'voltha-scale-measurements':
297 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-tt-subscribers'
298 build-node: 'voltha-scale-2'
299 pipeline-script: 'voltha-scale-multi-stack.groovy'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700300 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100301 time-trigger: "H H/4 * * *"
302 withMonitoring: false
303 logLevel: WARN
304 volthaStacks: 10
305 olts: 2
306 pons: 16
307 onus: 32
308 withFlows: true
309 provisionSubscribers: true
310 release: voltha-2.6
311 workflow: tt
312 withEapol: false
313 withDhcp: true
314 withIgmp: true
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800315 bbsimImg: ''
316 rwCoreImg: ''
317 ofAgentImg: ''
318 openoltAdapterImg: ''
319 openonuAdapterImg: ''
320 openonuAdapterGoImg: ''
321 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100322
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700323 # per patchset job
324 - 'voltha-scale-measurements':
325 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800326 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700327 olts: 1
328 pons: 16
329 onus: 32
330 withFlows: true
331 provisionSubscribers: true
332 withEapol: true
333 withDhcp: true
334 withIgmp: false
335 withMonitoring: false
336 trigger-comment: "voltha scale test ATT"
337
338 - 'voltha-scale-measurements':
339 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800340 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700341 olts: 1
342 pons: 16
343 onus: 32
344 withFlows: true
345 provisionSubscribers: true
346 workflow: tt
347 withEapol: false
348 withDhcp: true
349 withIgmp: true
350 withMonitoring: false
351 trigger-comment: "voltha scale test TT"
352
353 - 'voltha-scale-measurements':
354 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800355 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700356 olts: 1
357 pons: 16
358 onus: 32
359 withFlows: true
360 provisionSubscribers: true
361 workflow: dt
362 withEapol: false
363 withDhcp: false
364 withIgmp: false
365 withMonitoring: false
366 trigger-comment: "voltha scale test DT"
367
Matteo Scandolo272aed42020-05-08 15:05:57 -0700368 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700369 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700370 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700371 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700372 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700373
Matteo Scandolodc930192020-08-27 15:56:16 -0700374 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700375 - 'voltha-scale-matrix':
376 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700377 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800378
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700379 # development matrix
380 - 'voltha-scale-matrix':
381 name: 'voltha-scale-matrix-voltha-master'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800382 build-node: 'voltha-scale-1'
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700383 onosReplicas: 3
384 atomixReplicas: 3
385 kafkaReplicas: 3
386 etcdReplicas: 3
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800387 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800388 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700389
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700390# list of parameters for the VOLTHA Jobs,
391# used as anchor so that can be shared across multiple jobs
392# to use in a job: `parameters: *voltha-build-job-parameters`
393- voltha-scale-job-parameters: &voltha-scale-job-parameters
394 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700395 parameters:
396 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800397 name: pipeline-script
398 default: '{pipeline-script}'
399 description: 'The pipeline script to use'
400
401 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700402 name: release
403 default: '{release}'
404 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
405
406 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700407 name: buildNode
408 default: '{build-node}'
409 description: 'Name of the Jenkins node to run the job on'
410
411 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700412 name: dockerRegistry
413 default: '{dockerRegistry}'
414 description: 'Address of the docker registry to use if we are building custom images'
415
416 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700417 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700418 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700419 description: 'Log level for all the components'
420
421 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800422 name: volthaStacks
423 default: '{volthaStacks}'
424 description: 'Number of VOLTHA Stacks to deploy'
425
426 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700427 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700428 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700429 description: 'Number of ONUs to provision'
430
431 - string:
432 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700433 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700434 description: 'Number of PONs to provision'
435
436 - string:
437 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700438 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700439 description: 'How many BBSim instances to run'
440
441 - string:
442 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700443 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700444 description: 'Which workflow are we testing (att, dt, tt)'
445
446 - bool:
447 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700448 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700449 description: 'Wheter to push flows from ONOS'
450
451 - bool:
452 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700453 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700454 description: 'Wheter to provision subscribers durint the tests'
455
456 - bool:
457 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700458 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700459 description: 'Wheter EAPOL is enabled for the test'
460
461 - bool:
462 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700463 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700464 description: 'Wheter DHCP is enabled for the test'
465
466 - bool:
467 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700468 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700469 description: 'Wheter IGMP is enabled for the test'
470
471 - bool:
472 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700473 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700474 description: 'Wheter Link Discovery is enabled for the test'
475
476 - bool:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700477 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700478 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700479 description: 'Option to install Prometheus'
480
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700481 - bool:
482 name: withProfiling
483 default: '{withProfiling}'
484 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
485
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700486 - bool:
487 name: withPcap
488 default: '{withPcap}'
489 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
490
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700491 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700492 name: withRadius
493 default: '{withRadius}'
494 description: 'Value to pass to kind-voltha WITH_RADIUS'
495
496 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700497 name: extraHelmFlags
498 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700499 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 -0700500
Matteo Scandolo272aed42020-05-08 15:05:57 -0700501 - string:
502 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700503 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700504 description: 'How many OpenONU adapter instances to run'
505
506 - string:
507 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700508 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700509 description: 'How many ONOSes instances to run'
510
511 - string:
512 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700513 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700514 description: 'How many Atomix instances to run'
515
516 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700517 name: kafkaReplicas
518 default: '{kafkaReplicas}'
519 description: 'How many Kafka instances to run'
520
521 - string:
522 name: etcdReplicas
523 default: '{etcdReplicas}'
524 description: 'How many ETCD instances to run'
525
526 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700527 name: onosStatInterval
528 default: '{onosStatInterval}'
529 description: 'How often ONOS should poll for ports, flows and meters'
530
531 - string:
Andrea Campanella15f22942021-04-08 17:24:21 +0200532 name: onosGroupInterval
533 default: '{onosGroupInterval}'
534 description: 'How often ONOS should poll for groups'
535
536 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700537 name: bbsimImg
538 default: '{bbsimImg}'
539 description: 'Custom image selection for BBSIM (repo:tag)'
540
541 - string:
542 name: bbsimChart
543 default: '{bbsimChart}'
544 description: 'BBSim chart name (or location on file system)'
545
546 - string:
547 name: rwCoreImg
548 default: '{rwCoreImg}'
549 description: 'Custom image selection for VOLTHA (repo:tag)'
550
551 - string:
552 name: ofAgentImg
553 default: '{ofAgentImg}'
554 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
555
556 - string:
557 name: volthaChart
558 default: '{volthaChart}'
559 description: 'VOLTHA chart name (or location on file system)'
560
561 - string:
562 name: openoltAdapterImg
563 default: '{openoltAdapterImg}'
564 description: 'Custom image selection for Openolt Adapter (repo:tag)'
565
566 - string:
567 name: openoltAdapterChart
568 default: '{openoltAdapterChart}'
569 description: 'OpenOLT chart name (or location on file system)'
570
571 - string:
572 name: openonuAdapterImg
573 default: '{openonuAdapterImg}'
574 description: 'Custom image selection for Openonu Adapter (repo:tag)'
575
576 - string:
Andrea Campanella28763082020-11-18 10:55:31 +0100577 name: openonuAdapterGoImg
578 default: '{openonuAdapterGoImg}'
579 description: 'Custom image selection for Openonu Go Adapter (repo:tag)'
580
581 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700582 name: openonuAdapterChart
583 default: '{openonuAdapterChart}'
584 description: 'OpenONU chart name (or location on file system)'
585
586 - string:
587 name: onosImg
588 default: '{onosImg}'
589 description: 'Custom image selection for Openonu Adapter (repo:tag)'
590
591 - string:
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700592 name: onosChart
593 default: '{onosChart}'
594 description: 'ONOS chart name (or location on file system)'
595
596 - string:
Matteo Scandolo06506102020-10-13 12:24:20 -0700597 name: radiusChart
598 default: '{radiusChart}'
599 description: 'freeradius chart name (or location on file system)'
600
601 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700602 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700603 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700604 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
605
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700606 - string:
Matteo Scandolo11311742021-01-25 13:56:22 -0800607 name: volthaHelmChartsChange
608 default: '{volthaHelmChartsChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700609 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
610
Matteo Scandoloccc06192020-06-22 10:16:17 -0700611 - bool:
612 name: inMemoryEtcdStorage
613 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700614 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700615
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200616 - string:
617 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700618 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200619 description: 'Karaf home'
620
Matteo Scandolo001003e2021-02-03 15:39:26 -0800621 # remove once voltha-2.6 is deprecated
622 - string:
623 name: kindVolthaChange
624 default: '{kindVolthaChange}'
625 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 -0800626 - bool:
627 name: withMibTemplate
628 default: true
Matteo Scandolo001003e2021-02-03 15:39:26 -0800629
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700630- job-template:
631 id: 'voltha-scale-measurements'
632 name: '{name}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700633 disabled: '{disable-job}'
634
635 description: |
636 <!-- Managed by Jenkins Job Builder -->
637 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
638 Using pipeline {pipeline-script} <br/><br/>
639 Scale measurements for VOLTHA 2.x
640
641 properties:
642 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800643 build-days-to-keep: '{big-build-days-to-keep}'
644 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700645
646 wrappers:
647 - lf-infra-wrappers:
648 build-timeout: '{build-timeout}'
649 jenkins-ssh-credential: '{jenkins-ssh-credential}'
650
651 # default values
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -0800652 pipeline-script: 'voltha/master/voltha-scale-test.groovy'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700653 release: master
654
655 bbsimImg: voltha/bbsim:master
656 rwCoreImg: voltha/voltha-rw-core:master
657 ofAgentImg: voltha/voltha-ofagent-go:master
658 openoltAdapterImg: voltha/voltha-openolt-adapter:master
659 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100660 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700661 onosImg: voltha/voltha-onos:master
662
663 bbsimChart: onf/bbsim
664 volthaChart: onf/voltha
665 openoltAdapterChart: onf/voltha-adapter-openolt
666 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700667 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700668 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700669
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800670 volthaStacks: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700671 olts: 2
672 pons: 2
673 onus: 2
674 workflow: att
675 withFlows: false
676 provisionSubscribers: false
677 withEapol: true
678 withDhcp: true
679 withIgmp: false
680 withLLDP: false
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700681 withMonitoring: true
682 withProfiling: false
683 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700684 withRadius: yes
Andrea Campanellac179de22020-12-10 17:24:40 +0100685 openonuAdapterReplicas: 1
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700686 onosReplicas: 3
687 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700688 kafkaReplicas: 3
689 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700690 extraHelmFlags: ''
691 onosStatInterval: 5
Andrea Campanella15f22942021-04-08 17:24:21 +0200692 onosGroupInterval: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700693 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800694 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800695 kindVolthaChange: ''
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700696 inMemoryEtcdStorage: true
697 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700698 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700699 dockerRegistry: 10.90.0.101:30500
700 trigger-comment: vv7CBoQQYYonvaN8xcru
701 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700702
703 <<: *voltha-scale-job-parameters
704
Matteo Scandolo272aed42020-05-08 15:05:57 -0700705 project-type: pipeline
706 concurrent: false
707
708 dsl: !include-raw-escape: pipeline/{pipeline-script}
709
Matteo Scandoloabb83972020-06-25 16:08:23 -0700710 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700711 # periodic jobs will set this every 4 hours
712 # 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 -0700713 - timed: |
714 TZ=America/Los_Angeles
715 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700716 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
717 # patchset jobs will set this to a meaningful comment
718 - gerrit:
719 server-name: '{gerrit-server-name}'
720 silent-start: false
721 successful-message: "PASSED scale test"
722 failure-message: "FAILED scale test"
723 unstable-message: "UNSTABLE scale test"
724 trigger-on:
725 - comment-added-contains-event:
726 comment-contains-value: '.*{trigger-comment}.*'
727 projects:
728 - project-compare-type: REG_EXP
729 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
730 branches:
731 - branch-compare-type: REG_EXP
732 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700733
734- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700735 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800736 name: '{name}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800737
738 description: |
739 <!-- Managed by Jenkins Job Builder -->
740 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
741 Using pipeline {pipeline-script} <br/><br/>
742 Scale measurements for VOLTHA 2.x
743
744 properties:
745 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800746 build-days-to-keep: '{big-build-days-to-keep}'
747 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800748
749 wrappers:
750 - lf-infra-wrappers:
751 build-timeout: '{build-timeout}'
752 jenkins-ssh-credential: '{jenkins-ssh-credential}'
753
Matteo Scandolo0430f672020-05-07 11:50:26 -0700754 # default values
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -0800755 pipeline-script: 'voltha/master/voltha-scale-test.groovy'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700756 release: master
757
Matteo Scandolo0430f672020-05-07 11:50:26 -0700758 bbsimImg: voltha/bbsim:master
759 rwCoreImg: voltha/voltha-rw-core:master
760 ofAgentImg: voltha/voltha-ofagent-go:master
761 openoltAdapterImg: voltha/voltha-openolt-adapter:master
762 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100763 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandolo0430f672020-05-07 11:50:26 -0700764 onosImg: voltha/voltha-onos:master
765
766 bbsimChart: onf/bbsim
767 volthaChart: onf/voltha
768 openoltAdapterChart: onf/voltha-adapter-openolt
769 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700770 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700771 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700772
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800773 volthaStacks: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700774 olts: 2
775 pons: 2
776 onus: 2
777 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700778 withFlows: true
779 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700780 withEapol: true
781 withDhcp: true
782 withIgmp: false
783 withLLDP: false
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700784 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700785 withProfiling: false
786 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700787 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700788 openonuAdapterReplicas: 1
789 onosReplicas: 1
790 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700791 kafkaReplicas: 1
792 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700793 extraHelmFlags: ''
794 onosStatInterval: 5
Andrea Campanella15f22942021-04-08 17:24:21 +0200795 onosGroupInterval: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700796 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800797 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800798 kindVolthaChange: ''
Matteo Scandolo68776b72020-07-21 14:06:06 -0700799 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700800 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700801 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700802 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700803
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700804 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200805
Matteo Scandolo51b76302020-02-05 12:07:23 -0800806 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800807 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800808
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700809 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700810
Matteo Scandolo849db722020-10-21 10:58:41 -0700811 triggers:
812 - gerrit:
813 server-name: '{gerrit-server-name}'
814 silent-start: false
815 successful-message: "PASSED scale test"
816 failure-message: "FAILED scale test"
817 unstable-message: "UNSTABLE scale test"
818 trigger-on:
819 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700820 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700821 projects:
822 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700823 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700824 branches:
825 - branch-compare-type: REG_EXP
826 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700827- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700828 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700829 name: '{name}'
830 pipeline-script: 'voltha-scale-matrix.groovy'
831
832 description: |
833 <!-- Managed by Jenkins Job Builder -->
834 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
835 Using pipeline {pipeline-script} <br/><br/>
836 Scale measurements for VOLTHA 2.x
837
838 properties:
839 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800840 build-days-to-keep: '{big-build-days-to-keep}'
841 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700842
843 wrappers:
844 - lf-infra-wrappers:
845 build-timeout: '{build-timeout}'
846 jenkins-ssh-credential: '{jenkins-ssh-credential}'
847
848 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800849 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700850 release: master
851 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700852 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800853 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800854 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700855 onosReplicas: 1
856 atomixReplicas: 0
857 kafkaReplicas: 1
858 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800859 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800860 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700861
862 project-type: pipeline
863 concurrent: false
864
865 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700866
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700867 parameters:
868 - string:
869 name: release
870 default: '{release}'
871 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
872
873 - string:
874 name: buildNode
875 default: '{build-node}'
876 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700877
878 - string:
879 name: volthaSystemTestsChange
880 default: '{volthaSystemTestsChange}'
881 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
882
883 - string:
Matteo Scandolo11311742021-01-25 13:56:22 -0800884 name: volthaHelmChartsChange
885 default: '{volthaHelmChartsChange}'
886 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 -0700887
888 - string:
889 name: onosReplicas
890 default: '{onosReplicas}'
891 description: 'How many ONOSes instances to run'
892
893 - string:
894 name: atomixReplicas
895 default: '{atomixReplicas}'
896 description: 'How many Atomix instances to run'
897
898 - string:
899 name: kafkaReplicas
900 default: '{kafkaReplicas}'
901 description: 'How many Kafka instances to run'
902
903 - string:
904 name: etcdReplicas
905 default: '{etcdReplicas}'
906 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800907
908 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800909 name: openonuAdapterReplicas
910 default: '{openonuAdapterReplicas}'
911 description: 'How many OpenONU adapter instances to run'
912
913 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800914 name: topologies
915 default: '{topologies}'
916 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
917
918 triggers:
919 - timed: |
920 TZ=America/Los_Angeles
921 {time-trigger}