blob: 479541ea961a4db3a0472f7bec8727df2427835a [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 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'
Girish Gowdra261c5f12021-05-28 11:00:11 -070070 'disable-job': true
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 '
Andrea Campanelladfc4b2f2021-05-28 09:50:11 +020083 onosImg: andreacampanella/voltha-onos:voltha-onos-2.5
Matteo Scandolo86939302020-10-30 13:32:08 -070084
85 - 'voltha-scale-measurements':
86 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -070087 'disable-job': true
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
Andrea Campanella9c93ded2021-04-29 18:59:53 +0200101 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 +0200102 onosImg: andreacampanella/voltha-onos:voltha-onos-2.5
Matteo Scandolo272aed42020-05-08 15:05:57 -0700103
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800104 # multi-stack jobs
105 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800106 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-att-subscribers'
107 build-node: 'voltha-scale-2'
Matteo Scandoloc1895e12021-03-11 15:14:20 -0800108 'disable-job': false
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800109 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800110 time-trigger: "H H/4 * * *"
111 withMonitoring: false
112 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800113 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800114 olts: 2
115 pons: 16
116 onus: 32
117 withFlows: true
118 provisionSubscribers: true
119 workflow: att
120 withEapol: true
121 withDhcp: true
122 withIgmp: false
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700123 extraHelmFlags: "-f /home/jenkins/voltha-scale/voltha-values.yaml "
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800124
125 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800126 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-dt-subscribers'
127 build-node: 'voltha-scale-2'
Matteo Scandoloc1895e12021-03-11 15:14:20 -0800128 'disable-job': false
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800129 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800130 time-trigger: "H H/4 * * *"
131 withMonitoring: false
132 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800133 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800134 olts: 2
135 pons: 16
136 onus: 32
137 withFlows: true
138 provisionSubscribers: true
139 workflow: dt
140 withEapol: false
141 withDhcp: false
142 withIgmp: false
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700143 extraHelmFlags: "-f /home/jenkins/voltha-scale/voltha-values.yaml "
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800144
145 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800146 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-tt-subscribers'
147 build-node: 'voltha-scale-2'
Matteo Scandoloc1895e12021-03-11 15:14:20 -0800148 'disable-job': false
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800149 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800150 time-trigger: "H H/4 * * *"
151 withMonitoring: false
152 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800153 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800154 olts: 2
155 pons: 16
156 onus: 32
157 withFlows: true
158 provisionSubscribers: true
159 workflow: tt
160 withEapol: false
161 withDhcp: true
162 withIgmp: true
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700163 extraHelmFlags: "-f /home/jenkins/voltha-scale/voltha-values.yaml "
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800164
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700165 # voltha-2.7 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700166 - 'voltha-scale-measurements':
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700167 name: 'voltha-scale-measurements-voltha-2.7-2-16-32-att-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -0700168 'disable-job': true
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700169 pipeline-script: 'voltha/voltha-2.7/voltha-scale-test.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800170 build-node: 'voltha-scale-1'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700171 time-trigger: "H H/4 * * *"
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700172 olts: 2
Matteo Scandolod43064b2020-07-13 17:18:45 -0700173 pons: 16
174 onus: 32
175 withFlows: true
176 provisionSubscribers: true
177 withEapol: true
178 withDhcp: true
179 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700180 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700181 release: voltha-2.7
Andrea Campanellabc5ee952021-04-30 10:47:54 +0200182 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700183 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700184 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700185 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700186 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800187 openonuAdapterGoImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200188 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700189
190 - 'voltha-scale-measurements':
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700191 name: 'voltha-scale-measurements-voltha-2.7-2-16-32-dt-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -0700192 'disable-job': true
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700193 pipeline-script: 'voltha/voltha-2.7/voltha-scale-test.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800194 build-node: 'voltha-scale-1'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700195 time-trigger: "H H/4 * * *"
196 olts: 2
197 pons: 16
198 onus: 32
199 withFlows: true
200 provisionSubscribers: true
201 workflow: dt
202 withEapol: false
203 withDhcp: false
204 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700205 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700206 release: voltha-2.7
Andrea Campanellabc5ee952021-04-30 10:47:54 +0200207 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700208 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700209 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700210 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700211 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800212 openonuAdapterGoImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200213 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700214
Matteo Scandolo031bd982020-09-16 10:03:47 -0700215 - 'voltha-scale-measurements':
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700216 name: 'voltha-scale-measurements-voltha-2.7-2-16-32-tt-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -0700217 'disable-job': true
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700218 pipeline-script: 'voltha/voltha-2.7/voltha-scale-test.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800219 build-node: 'voltha-scale-1'
Matteo Scandolo031bd982020-09-16 10:03:47 -0700220 time-trigger: "H H/4 * * *"
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700221 olts: 2
Matteo Scandolo031bd982020-09-16 10:03:47 -0700222 pons: 16
223 onus: 32
224 withFlows: true
225 provisionSubscribers: true
226 workflow: tt
227 withEapol: false
228 withDhcp: true
229 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700230 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700231 release: voltha-2.7
Andrea Campanellabc5ee952021-04-30 10:47:54 +0200232 bbsimImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700233 rwCoreImg: ''
234 ofAgentImg: ''
235 openoltAdapterImg: ''
236 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800237 openonuAdapterGoImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700238 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700239
Andrea Campanella27b5a662020-12-18 18:49:26 +0100240 # 2.6 multi-stack jobs
241 - 'voltha-scale-measurements':
242 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-att-subscribers'
243 build-node: 'voltha-scale-2'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700244 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100245 pipeline-script: 'voltha-scale-multi-stack.groovy'
Andrea Campanella27b5a662020-12-18 18:49:26 +0100246 time-trigger: "H H/4 * * *"
247 withMonitoring: false
248 logLevel: WARN
249 volthaStacks: 10
250 olts: 2
251 pons: 16
252 onus: 32
253 withFlows: true
254 provisionSubscribers: true
255 release: voltha-2.6
256 workflow: att
257 withEapol: true
258 withDhcp: true
259 withIgmp: false
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800260 bbsimImg: ''
261 rwCoreImg: ''
262 ofAgentImg: ''
263 openoltAdapterImg: ''
264 openonuAdapterImg: ''
265 openonuAdapterGoImg: ''
266 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100267
268 - 'voltha-scale-measurements':
269 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-dt-subscribers'
270 build-node: 'voltha-scale-2'
271 pipeline-script: 'voltha-scale-multi-stack.groovy'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700272 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100273 time-trigger: "H H/4 * * *"
274 withMonitoring: false
275 logLevel: WARN
276 volthaStacks: 10
277 olts: 2
278 pons: 16
279 onus: 32
280 withFlows: true
281 provisionSubscribers: true
282 release: voltha-2.6
283 workflow: dt
284 withEapol: false
285 withDhcp: false
286 withIgmp: false
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800287 bbsimImg: ''
288 rwCoreImg: ''
289 ofAgentImg: ''
290 openoltAdapterImg: ''
291 openonuAdapterImg: ''
292 openonuAdapterGoImg: ''
293 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100294
295 - 'voltha-scale-measurements':
296 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-tt-subscribers'
297 build-node: 'voltha-scale-2'
298 pipeline-script: 'voltha-scale-multi-stack.groovy'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700299 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100300 time-trigger: "H H/4 * * *"
301 withMonitoring: false
302 logLevel: WARN
303 volthaStacks: 10
304 olts: 2
305 pons: 16
306 onus: 32
307 withFlows: true
308 provisionSubscribers: true
309 release: voltha-2.6
310 workflow: tt
311 withEapol: false
312 withDhcp: true
313 withIgmp: true
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800314 bbsimImg: ''
315 rwCoreImg: ''
316 ofAgentImg: ''
317 openoltAdapterImg: ''
318 openonuAdapterImg: ''
319 openonuAdapterGoImg: ''
320 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100321
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700322 # per patchset job
323 - 'voltha-scale-measurements':
324 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800325 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700326 olts: 1
327 pons: 16
328 onus: 32
329 withFlows: true
330 provisionSubscribers: true
331 withEapol: true
332 withDhcp: true
333 withIgmp: false
334 withMonitoring: false
335 trigger-comment: "voltha scale test ATT"
336
337 - 'voltha-scale-measurements':
338 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800339 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700340 olts: 1
341 pons: 16
342 onus: 32
343 withFlows: true
344 provisionSubscribers: true
345 workflow: tt
346 withEapol: false
347 withDhcp: true
348 withIgmp: true
349 withMonitoring: false
350 trigger-comment: "voltha scale test TT"
351
352 - 'voltha-scale-measurements':
353 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800354 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700355 olts: 1
356 pons: 16
357 onus: 32
358 withFlows: true
359 provisionSubscribers: true
360 workflow: dt
361 withEapol: false
362 withDhcp: false
363 withIgmp: false
364 withMonitoring: false
365 trigger-comment: "voltha scale test DT"
366
Matteo Scandolo272aed42020-05-08 15:05:57 -0700367 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700368 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700369 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700370 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700371 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700372
Matteo Scandolodc930192020-08-27 15:56:16 -0700373 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700374 - 'voltha-scale-matrix':
375 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700376 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800377
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700378 # development matrix
379 - 'voltha-scale-matrix':
380 name: 'voltha-scale-matrix-voltha-master'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800381 build-node: 'voltha-scale-1'
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700382 onosReplicas: 3
383 atomixReplicas: 3
384 kafkaReplicas: 3
385 etcdReplicas: 3
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800386 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800387 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700388
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700389# list of parameters for the VOLTHA Jobs,
390# used as anchor so that can be shared across multiple jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700391# to use in a job: `parameters: *voltha-scale-job-parameters`
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700392- voltha-scale-job-parameters: &voltha-scale-job-parameters
393 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700394 parameters:
395 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800396 name: pipeline-script
397 default: '{pipeline-script}'
398 description: 'The pipeline script to use'
399
400 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700401 name: release
402 default: '{release}'
Matteo Scandolo49bc0472021-04-20 09:37:55 -0700403 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 -0700404
405 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700406 name: buildNode
407 default: '{build-node}'
408 description: 'Name of the Jenkins node to run the job on'
409
410 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700411 name: dockerRegistry
412 default: '{dockerRegistry}'
413 description: 'Address of the docker registry to use if we are building custom images'
414
415 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700416 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700417 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700418 description: 'Log level for all the components'
419
420 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800421 name: volthaStacks
422 default: '{volthaStacks}'
423 description: 'Number of VOLTHA Stacks to deploy'
424
425 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700426 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700427 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700428 description: 'Number of ONUs to provision'
429
430 - string:
431 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700432 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700433 description: 'Number of PONs to provision'
434
435 - string:
436 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700437 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700438 description: 'How many BBSim instances to run'
439
440 - string:
441 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700442 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700443 description: 'Which workflow are we testing (att, dt, tt)'
444
445 - bool:
446 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700447 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700448 description: 'Wheter to push flows from ONOS'
449
450 - bool:
451 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700452 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700453 description: 'Wheter to provision subscribers durint the tests'
454
455 - bool:
456 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700457 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700458 description: 'Wheter EAPOL is enabled for the test'
459
460 - bool:
461 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700462 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700463 description: 'Wheter DHCP is enabled for the test'
464
465 - bool:
466 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700467 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700468 description: 'Wheter IGMP is enabled for the test'
469
470 - bool:
471 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700472 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700473 description: 'Wheter Link Discovery is enabled for the test'
474
475 - bool:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700476 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700477 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700478 description: 'Option to install Prometheus'
479
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700480 - bool:
481 name: withProfiling
482 default: '{withProfiling}'
483 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
484
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700485 - bool:
486 name: withPcap
487 default: '{withPcap}'
488 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
489
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700490 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700491 name: withRadius
492 default: '{withRadius}'
493 description: 'Value to pass to kind-voltha WITH_RADIUS'
494
495 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700496 name: extraHelmFlags
497 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700498 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 -0700499
Matteo Scandolo272aed42020-05-08 15:05:57 -0700500 - string:
501 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700502 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700503 description: 'How many OpenONU adapter instances to run'
504
505 - string:
506 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700507 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700508 description: 'How many ONOSes instances to run'
509
510 - string:
511 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700512 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700513 description: 'How many Atomix instances to run'
514
515 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700516 name: kafkaReplicas
517 default: '{kafkaReplicas}'
518 description: 'How many Kafka instances to run'
519
520 - string:
521 name: etcdReplicas
522 default: '{etcdReplicas}'
523 description: 'How many ETCD instances to run'
524
525 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700526 name: onosStatInterval
527 default: '{onosStatInterval}'
528 description: 'How often ONOS should poll for ports, flows and meters'
529
530 - string:
Andrea Campanella15f22942021-04-08 17:24:21 +0200531 name: onosGroupInterval
532 default: '{onosGroupInterval}'
533 description: 'How often ONOS should poll for groups'
534
535 - string:
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200536 name: flowObjWorkerThreads
537 default: '{flowObjWorkerThreads}'
538 description: 'How many threads are used by the FlowObjectiveManager worker pool'
539
540 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700541 name: bbsimImg
542 default: '{bbsimImg}'
543 description: 'Custom image selection for BBSIM (repo:tag)'
544
545 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700546 name: rwCoreImg
547 default: '{rwCoreImg}'
548 description: 'Custom image selection for VOLTHA (repo:tag)'
549
550 - string:
551 name: ofAgentImg
552 default: '{ofAgentImg}'
553 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
554
555 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700556 name: openoltAdapterImg
557 default: '{openoltAdapterImg}'
558 description: 'Custom image selection for Openolt Adapter (repo:tag)'
559
560 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700561 name: openonuAdapterImg
562 default: '{openonuAdapterImg}'
563 description: 'Custom image selection for Openonu Adapter (repo:tag)'
564
565 - string:
Andrea Campanella28763082020-11-18 10:55:31 +0100566 name: openonuAdapterGoImg
567 default: '{openonuAdapterGoImg}'
568 description: 'Custom image selection for Openonu Go Adapter (repo:tag)'
569
570 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700571 name: onosImg
572 default: '{onosImg}'
573 description: 'Custom image selection for Openonu Adapter (repo:tag)'
574
575 - string:
576 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700577 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700578 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
579
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700580 - string:
Matteo Scandolo11311742021-01-25 13:56:22 -0800581 name: volthaHelmChartsChange
582 default: '{volthaHelmChartsChange}'
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700583 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 -0700584
Matteo Scandoloccc06192020-06-22 10:16:17 -0700585 - bool:
586 name: inMemoryEtcdStorage
587 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700588 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700589
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200590 - string:
591 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700592 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200593 description: 'Karaf home'
594
Matteo Scandolo001003e2021-02-03 15:39:26 -0800595 # remove once voltha-2.6 is deprecated
596 - string:
597 name: kindVolthaChange
598 default: '{kindVolthaChange}'
599 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 -0800600 - bool:
601 name: withMibTemplate
602 default: true
Matteo Scandolo001003e2021-02-03 15:39:26 -0800603
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700604- job-template:
605 id: 'voltha-scale-measurements'
606 name: '{name}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700607 disabled: '{disable-job}'
608
609 description: |
610 <!-- Managed by Jenkins Job Builder -->
611 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
612 Using pipeline {pipeline-script} <br/><br/>
613 Scale measurements for VOLTHA 2.x
614
615 properties:
616 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800617 build-days-to-keep: '{big-build-days-to-keep}'
618 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700619
620 wrappers:
621 - lf-infra-wrappers:
622 build-timeout: '{build-timeout}'
623 jenkins-ssh-credential: '{jenkins-ssh-credential}'
624
625 # default values
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -0800626 pipeline-script: 'voltha/master/voltha-scale-test.groovy'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700627 release: master
628
629 bbsimImg: voltha/bbsim:master
630 rwCoreImg: voltha/voltha-rw-core:master
631 ofAgentImg: voltha/voltha-ofagent-go:master
632 openoltAdapterImg: voltha/voltha-openolt-adapter:master
633 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100634 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700635 onosImg: voltha/voltha-onos:master
636
637 bbsimChart: onf/bbsim
638 volthaChart: onf/voltha
639 openoltAdapterChart: onf/voltha-adapter-openolt
640 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700641 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700642 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700643
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800644 volthaStacks: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700645 olts: 2
646 pons: 2
647 onus: 2
648 workflow: att
649 withFlows: false
650 provisionSubscribers: false
651 withEapol: true
652 withDhcp: true
653 withIgmp: false
654 withLLDP: false
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700655 withMonitoring: true
656 withProfiling: false
657 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700658 withRadius: yes
Andrea Campanellac179de22020-12-10 17:24:40 +0100659 openonuAdapterReplicas: 1
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700660 onosReplicas: 3
661 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700662 kafkaReplicas: 3
663 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700664 extraHelmFlags: ''
665 onosStatInterval: 5
Andrea Campanella15f22942021-04-08 17:24:21 +0200666 onosGroupInterval: 1
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200667 flowObjWorkerThreads: 12
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700668 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800669 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800670 kindVolthaChange: ''
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700671 inMemoryEtcdStorage: true
672 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700673 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700674 dockerRegistry: 10.90.0.101:30500
675 trigger-comment: vv7CBoQQYYonvaN8xcru
676 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700677
678 <<: *voltha-scale-job-parameters
679
Matteo Scandolo272aed42020-05-08 15:05:57 -0700680 project-type: pipeline
681 concurrent: false
682
683 dsl: !include-raw-escape: pipeline/{pipeline-script}
684
Matteo Scandoloabb83972020-06-25 16:08:23 -0700685 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700686 # periodic jobs will set this every 4 hours
687 # 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 -0700688 - timed: |
689 TZ=America/Los_Angeles
690 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700691 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
692 # patchset jobs will set this to a meaningful comment
693 - gerrit:
694 server-name: '{gerrit-server-name}'
695 silent-start: false
696 successful-message: "PASSED scale test"
697 failure-message: "FAILED scale test"
698 unstable-message: "UNSTABLE scale test"
699 trigger-on:
700 - comment-added-contains-event:
701 comment-contains-value: '.*{trigger-comment}.*'
702 projects:
703 - project-compare-type: REG_EXP
704 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
705 branches:
706 - branch-compare-type: REG_EXP
707 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700708
709- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700710 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800711 name: '{name}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800712
713 description: |
714 <!-- Managed by Jenkins Job Builder -->
715 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
716 Using pipeline {pipeline-script} <br/><br/>
717 Scale measurements for VOLTHA 2.x
718
719 properties:
720 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800721 build-days-to-keep: '{big-build-days-to-keep}'
722 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800723
724 wrappers:
725 - lf-infra-wrappers:
726 build-timeout: '{build-timeout}'
727 jenkins-ssh-credential: '{jenkins-ssh-credential}'
728
Matteo Scandolo0430f672020-05-07 11:50:26 -0700729 # default values
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -0800730 pipeline-script: 'voltha/master/voltha-scale-test.groovy'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700731 release: master
732
Matteo Scandolo0430f672020-05-07 11:50:26 -0700733 bbsimImg: voltha/bbsim:master
734 rwCoreImg: voltha/voltha-rw-core:master
735 ofAgentImg: voltha/voltha-ofagent-go:master
736 openoltAdapterImg: voltha/voltha-openolt-adapter:master
737 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100738 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandolo0430f672020-05-07 11:50:26 -0700739 onosImg: voltha/voltha-onos:master
740
741 bbsimChart: onf/bbsim
742 volthaChart: onf/voltha
743 openoltAdapterChart: onf/voltha-adapter-openolt
744 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700745 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700746 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700747
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800748 volthaStacks: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700749 olts: 2
750 pons: 2
751 onus: 2
752 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700753 withFlows: true
754 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700755 withEapol: true
756 withDhcp: true
757 withIgmp: false
758 withLLDP: false
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700759 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700760 withProfiling: false
761 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700762 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700763 openonuAdapterReplicas: 1
764 onosReplicas: 1
765 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700766 kafkaReplicas: 1
767 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700768 extraHelmFlags: ''
769 onosStatInterval: 5
Andrea Campanella15f22942021-04-08 17:24:21 +0200770 onosGroupInterval: 1
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200771 flowObjWorkerThreads: 12
Matteo Scandolo68776b72020-07-21 14:06:06 -0700772 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800773 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800774 kindVolthaChange: ''
Matteo Scandolo68776b72020-07-21 14:06:06 -0700775 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700776 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700777 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700778 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700779
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700780 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200781
Matteo Scandolo51b76302020-02-05 12:07:23 -0800782 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800783 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800784
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700785 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700786
Matteo Scandolo849db722020-10-21 10:58:41 -0700787 triggers:
788 - gerrit:
789 server-name: '{gerrit-server-name}'
790 silent-start: false
791 successful-message: "PASSED scale test"
792 failure-message: "FAILED scale test"
793 unstable-message: "UNSTABLE scale test"
794 trigger-on:
795 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700796 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700797 projects:
798 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700799 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700800 branches:
801 - branch-compare-type: REG_EXP
802 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700803- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700804 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700805 name: '{name}'
806 pipeline-script: 'voltha-scale-matrix.groovy'
807
808 description: |
809 <!-- Managed by Jenkins Job Builder -->
810 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
811 Using pipeline {pipeline-script} <br/><br/>
812 Scale measurements for VOLTHA 2.x
813
814 properties:
815 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800816 build-days-to-keep: '{big-build-days-to-keep}'
817 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700818
819 wrappers:
820 - lf-infra-wrappers:
821 build-timeout: '{build-timeout}'
822 jenkins-ssh-credential: '{jenkins-ssh-credential}'
823
824 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800825 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700826 release: master
827 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700828 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800829 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800830 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700831 onosReplicas: 1
832 atomixReplicas: 0
833 kafkaReplicas: 1
834 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800835 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800836 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700837
838 project-type: pipeline
839 concurrent: false
840
841 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700842
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700843 parameters:
844 - string:
845 name: release
846 default: '{release}'
847 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
848
849 - string:
850 name: buildNode
851 default: '{build-node}'
852 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700853
854 - string:
855 name: volthaSystemTestsChange
856 default: '{volthaSystemTestsChange}'
857 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
858
859 - string:
Matteo Scandolo11311742021-01-25 13:56:22 -0800860 name: volthaHelmChartsChange
861 default: '{volthaHelmChartsChange}'
862 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 -0700863
864 - string:
865 name: onosReplicas
866 default: '{onosReplicas}'
867 description: 'How many ONOSes instances to run'
868
869 - string:
870 name: atomixReplicas
871 default: '{atomixReplicas}'
872 description: 'How many Atomix instances to run'
873
874 - string:
875 name: kafkaReplicas
876 default: '{kafkaReplicas}'
877 description: 'How many Kafka instances to run'
878
879 - string:
880 name: etcdReplicas
881 default: '{etcdReplicas}'
882 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800883
884 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800885 name: openonuAdapterReplicas
886 default: '{openonuAdapterReplicas}'
887 description: 'How many OpenONU adapter instances to run'
888
889 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800890 name: topologies
891 default: '{topologies}'
892 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
893
894 triggers:
895 - timed: |
896 TZ=America/Los_Angeles
897 {time-trigger}