blob: 565e691c8472375fda33ef37c0a44ba94ab97359 [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 Campanellaac21e152021-05-27 15:44:54 +020066 onosImg: andreacampanella/voltha-onos:voltha-onos-2.5
Matteo Scandolo756f3ec2021-05-28 12:43:40 -070067 volthaHelmChartsChange: refs/changes/69/25069/7
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'
Girish Gowdra261c5f12021-05-28 11:00:11 -070071 'disable-job': true
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 '
Andrea Campanelladfc4b2f2021-05-28 09:50:11 +020084 onosImg: andreacampanella/voltha-onos:voltha-onos-2.5
Matteo Scandolo86939302020-10-30 13:32:08 -070085
86 - 'voltha-scale-measurements':
87 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -070088 'disable-job': true
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
Andrea Campanella9c93ded2021-04-29 18:59:53 +0200102 extraHelmFlags: '--set authRetry=true,dhcpRetry=true --set global.rw_core.core_timeout=60s --set global.log_correlation.enabled=true -f /home/jenkins/voltha-scale/voltha-values.yaml '
Andrea Campanellaac21e152021-05-27 15:44:54 +0200103 onosImg: andreacampanella/voltha-onos:voltha-onos-2.5
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'
Girish Gowdra261c5f12021-05-28 11:00:11 -0700169 'disable-job': true
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700170 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
Andrea Campanellabc5ee952021-04-30 10:47:54 +0200183 bbsimImg: ''
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'
Girish Gowdra261c5f12021-05-28 11:00:11 -0700193 'disable-job': true
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700194 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
Andrea Campanellabc5ee952021-04-30 10:47:54 +0200208 bbsimImg: ''
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'
Girish Gowdra261c5f12021-05-28 11:00:11 -0700218 'disable-job': true
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700219 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
Andrea Campanellabc5ee952021-04-30 10:47:54 +0200233 bbsimImg: ''
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
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700392# to use in a job: `parameters: *voltha-scale-job-parameters`
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700393- 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}'
Matteo Scandolo49bc0472021-04-20 09:37:55 -0700404 description: 'Version of the code to test (matches a branch in voltha-helm-charts and voltha-system-tests repos)'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700405
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:
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200537 name: flowObjWorkerThreads
538 default: '{flowObjWorkerThreads}'
539 description: 'How many threads are used by the FlowObjectiveManager worker pool'
540
541 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700542 name: bbsimImg
543 default: '{bbsimImg}'
544 description: 'Custom image selection for BBSIM (repo:tag)'
545
546 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700547 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:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700557 name: openoltAdapterImg
558 default: '{openoltAdapterImg}'
559 description: 'Custom image selection for Openolt Adapter (repo:tag)'
560
561 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700562 name: openonuAdapterImg
563 default: '{openonuAdapterImg}'
564 description: 'Custom image selection for Openonu Adapter (repo:tag)'
565
566 - string:
Andrea Campanella28763082020-11-18 10:55:31 +0100567 name: openonuAdapterGoImg
568 default: '{openonuAdapterGoImg}'
569 description: 'Custom image selection for Openonu Go Adapter (repo:tag)'
570
571 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700572 name: onosImg
573 default: '{onosImg}'
574 description: 'Custom image selection for Openonu Adapter (repo:tag)'
575
576 - string:
577 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700578 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700579 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
580
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700581 - string:
Matteo Scandolo11311742021-01-25 13:56:22 -0800582 name: volthaHelmChartsChange
583 default: '{volthaHelmChartsChange}'
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700584 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 -0700585
Matteo Scandoloccc06192020-06-22 10:16:17 -0700586 - bool:
587 name: inMemoryEtcdStorage
588 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700589 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700590
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200591 - string:
592 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700593 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200594 description: 'Karaf home'
595
Matteo Scandolo001003e2021-02-03 15:39:26 -0800596 # remove once voltha-2.6 is deprecated
597 - string:
598 name: kindVolthaChange
599 default: '{kindVolthaChange}'
600 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 -0800601 - bool:
602 name: withMibTemplate
603 default: true
Matteo Scandolo001003e2021-02-03 15:39:26 -0800604
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700605- job-template:
606 id: 'voltha-scale-measurements'
607 name: '{name}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700608 disabled: '{disable-job}'
609
610 description: |
611 <!-- Managed by Jenkins Job Builder -->
612 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
613 Using pipeline {pipeline-script} <br/><br/>
614 Scale measurements for VOLTHA 2.x
615
616 properties:
617 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800618 build-days-to-keep: '{big-build-days-to-keep}'
619 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700620
621 wrappers:
622 - lf-infra-wrappers:
623 build-timeout: '{build-timeout}'
624 jenkins-ssh-credential: '{jenkins-ssh-credential}'
625
626 # default values
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -0800627 pipeline-script: 'voltha/master/voltha-scale-test.groovy'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700628 release: master
629
630 bbsimImg: voltha/bbsim:master
631 rwCoreImg: voltha/voltha-rw-core:master
632 ofAgentImg: voltha/voltha-ofagent-go:master
633 openoltAdapterImg: voltha/voltha-openolt-adapter:master
634 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100635 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700636 onosImg: voltha/voltha-onos:master
637
638 bbsimChart: onf/bbsim
639 volthaChart: onf/voltha
640 openoltAdapterChart: onf/voltha-adapter-openolt
641 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700642 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700643 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700644
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800645 volthaStacks: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700646 olts: 2
647 pons: 2
648 onus: 2
649 workflow: att
650 withFlows: false
651 provisionSubscribers: false
652 withEapol: true
653 withDhcp: true
654 withIgmp: false
655 withLLDP: false
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700656 withMonitoring: true
657 withProfiling: false
658 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700659 withRadius: yes
Andrea Campanellac179de22020-12-10 17:24:40 +0100660 openonuAdapterReplicas: 1
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700661 onosReplicas: 3
662 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700663 kafkaReplicas: 3
664 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700665 extraHelmFlags: ''
666 onosStatInterval: 5
Andrea Campanella15f22942021-04-08 17:24:21 +0200667 onosGroupInterval: 1
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200668 flowObjWorkerThreads: 12
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700669 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800670 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800671 kindVolthaChange: ''
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700672 inMemoryEtcdStorage: true
673 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700674 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700675 dockerRegistry: 10.90.0.101:30500
676 trigger-comment: vv7CBoQQYYonvaN8xcru
677 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700678
679 <<: *voltha-scale-job-parameters
680
Matteo Scandolo272aed42020-05-08 15:05:57 -0700681 project-type: pipeline
682 concurrent: false
683
684 dsl: !include-raw-escape: pipeline/{pipeline-script}
685
Matteo Scandoloabb83972020-06-25 16:08:23 -0700686 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700687 # periodic jobs will set this every 4 hours
688 # 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 -0700689 - timed: |
690 TZ=America/Los_Angeles
691 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700692 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
693 # patchset jobs will set this to a meaningful comment
694 - gerrit:
695 server-name: '{gerrit-server-name}'
696 silent-start: false
697 successful-message: "PASSED scale test"
698 failure-message: "FAILED scale test"
699 unstable-message: "UNSTABLE scale test"
700 trigger-on:
701 - comment-added-contains-event:
702 comment-contains-value: '.*{trigger-comment}.*'
703 projects:
704 - project-compare-type: REG_EXP
705 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
706 branches:
707 - branch-compare-type: REG_EXP
708 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700709
710- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700711 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800712 name: '{name}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800713
714 description: |
715 <!-- Managed by Jenkins Job Builder -->
716 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
717 Using pipeline {pipeline-script} <br/><br/>
718 Scale measurements for VOLTHA 2.x
719
720 properties:
721 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800722 build-days-to-keep: '{big-build-days-to-keep}'
723 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800724
725 wrappers:
726 - lf-infra-wrappers:
727 build-timeout: '{build-timeout}'
728 jenkins-ssh-credential: '{jenkins-ssh-credential}'
729
Matteo Scandolo0430f672020-05-07 11:50:26 -0700730 # default values
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -0800731 pipeline-script: 'voltha/master/voltha-scale-test.groovy'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700732 release: master
733
Matteo Scandolo0430f672020-05-07 11:50:26 -0700734 bbsimImg: voltha/bbsim:master
735 rwCoreImg: voltha/voltha-rw-core:master
736 ofAgentImg: voltha/voltha-ofagent-go:master
737 openoltAdapterImg: voltha/voltha-openolt-adapter:master
738 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100739 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandolo0430f672020-05-07 11:50:26 -0700740 onosImg: voltha/voltha-onos:master
741
742 bbsimChart: onf/bbsim
743 volthaChart: onf/voltha
744 openoltAdapterChart: onf/voltha-adapter-openolt
745 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700746 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700747 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700748
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800749 volthaStacks: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700750 olts: 2
751 pons: 2
752 onus: 2
753 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700754 withFlows: true
755 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700756 withEapol: true
757 withDhcp: true
758 withIgmp: false
759 withLLDP: false
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700760 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700761 withProfiling: false
762 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700763 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700764 openonuAdapterReplicas: 1
765 onosReplicas: 1
766 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700767 kafkaReplicas: 1
768 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700769 extraHelmFlags: ''
770 onosStatInterval: 5
Andrea Campanella15f22942021-04-08 17:24:21 +0200771 onosGroupInterval: 1
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200772 flowObjWorkerThreads: 12
Matteo Scandolo68776b72020-07-21 14:06:06 -0700773 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800774 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800775 kindVolthaChange: ''
Matteo Scandolo68776b72020-07-21 14:06:06 -0700776 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700777 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700778 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700779 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700780
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700781 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200782
Matteo Scandolo51b76302020-02-05 12:07:23 -0800783 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800784 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800785
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700786 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700787
Matteo Scandolo849db722020-10-21 10:58:41 -0700788 triggers:
789 - gerrit:
790 server-name: '{gerrit-server-name}'
791 silent-start: false
792 successful-message: "PASSED scale test"
793 failure-message: "FAILED scale test"
794 unstable-message: "UNSTABLE scale test"
795 trigger-on:
796 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700797 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700798 projects:
799 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700800 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700801 branches:
802 - branch-compare-type: REG_EXP
803 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700804- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700805 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700806 name: '{name}'
807 pipeline-script: 'voltha-scale-matrix.groovy'
808
809 description: |
810 <!-- Managed by Jenkins Job Builder -->
811 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
812 Using pipeline {pipeline-script} <br/><br/>
813 Scale measurements for VOLTHA 2.x
814
815 properties:
816 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800817 build-days-to-keep: '{big-build-days-to-keep}'
818 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700819
820 wrappers:
821 - lf-infra-wrappers:
822 build-timeout: '{build-timeout}'
823 jenkins-ssh-credential: '{jenkins-ssh-credential}'
824
825 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800826 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700827 release: master
828 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700829 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800830 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800831 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700832 onosReplicas: 1
833 atomixReplicas: 0
834 kafkaReplicas: 1
835 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800836 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800837 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700838
839 project-type: pipeline
840 concurrent: false
841
842 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700843
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700844 parameters:
845 - string:
846 name: release
847 default: '{release}'
848 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
849
850 - string:
851 name: buildNode
852 default: '{build-node}'
853 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700854
855 - string:
856 name: volthaSystemTestsChange
857 default: '{volthaSystemTestsChange}'
858 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
859
860 - string:
Matteo Scandolo11311742021-01-25 13:56:22 -0800861 name: volthaHelmChartsChange
862 default: '{volthaHelmChartsChange}'
863 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 -0700864
865 - string:
866 name: onosReplicas
867 default: '{onosReplicas}'
868 description: 'How many ONOSes instances to run'
869
870 - string:
871 name: atomixReplicas
872 default: '{atomixReplicas}'
873 description: 'How many Atomix instances to run'
874
875 - string:
876 name: kafkaReplicas
877 default: '{kafkaReplicas}'
878 description: 'How many Kafka instances to run'
879
880 - string:
881 name: etcdReplicas
882 default: '{etcdReplicas}'
883 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800884
885 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800886 name: openonuAdapterReplicas
887 default: '{openonuAdapterReplicas}'
888 description: 'How many OpenONU adapter instances to run'
889
890 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800891 name: topologies
892 default: '{topologies}'
893 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
894
895 triggers:
896 - timed: |
897 TZ=America/Los_Angeles
898 {time-trigger}