blob: 3c4c5f4a3d417cc3fddfeeace4ab222a2b1b4c82 [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 Scandoloac5ff3f2021-06-01 17:05:41 -070034 pipeline-script: 'voltha/master/voltha-scale-multi-stack-experimental.groovy'
35 'disable-job': false
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 Scandolo95f3bc12021-06-03 15:25:47 -070040 volthaStacks: 10
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080041 olts: 2
Matteo Scandolo95f3bc12021-06-03 15:25:47 -070042 pons: 16
43 onus: 32
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 Scandolo95f3bc12021-06-03 15:25:47 -070050 volthaHelmChartsChange: "refs/changes/04/23104/4"
51 extraHelmFlags: " --set global.image_org=matteoscandolo/,global.image_tag=redis "
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080052
Matteo Scandolofebf6512021-03-02 11:37:37 -080053 # jobs for 1024 ONUs with openonu-go and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -070054 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070055 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandoloc1895e12021-03-11 15:14:20 -080056 'disable-job': false
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -080057 build-node: 'voltha-scale-1'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070058 time-trigger: "H H/4 * * *"
59 olts: 2
60 pons: 16
61 onus: 32
62 withFlows: true
63 provisionSubscribers: true
64 withEapol: true
65 withDhcp: true
66 withIgmp: false
Matteo Scandoloa1b5d792021-06-01 12:19:31 -070067 extraHelmFlags: '--set authRetry=true,dhcpRetry=true --set global.log_correlation.enabled=true -f /home/jenkins/voltha-scale/voltha-values.yaml --set etcd.persistence.enabled=true,etcd.persistence.storageClass=longhorn'
Andrea Campanellaac21e152021-05-27 15:44:54 +020068 onosImg: andreacampanella/voltha-onos:voltha-onos-2.5
Girish Gowdra483c9672021-05-29 16:08:26 -070069 bbsimImg: gcgirish/bbsim:etcd
70 rwCoreImg: volthacore/voltha-rw-core:noflows
71 ofAgentImg: volthacore/voltha-ofagent:noflows
72 openoltAdapterImg: gcgirish/voltha-openolt-adapter:etcdNew
73 openonuAdapterGoImg: gcgirish/voltha-openonu-adapter-go:etcdNew
Matteo Scandolo756f3ec2021-05-28 12:43:40 -070074 volthaHelmChartsChange: refs/changes/69/25069/7
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070075
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070076 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070077 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -070078 'disable-job': true
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -080079 build-node: 'voltha-scale-1'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070080 time-trigger: "H H/4 * * *"
81 olts: 2
82 pons: 16
83 onus: 32
84 withFlows: true
85 provisionSubscribers: true
86 workflow: dt
87 withEapol: false
88 withDhcp: false
89 withIgmp: false
Matteo Scandolo433f60d2021-03-26 12:04:34 -070090 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 +020091 onosImg: andreacampanella/voltha-onos:voltha-onos-2.5
Matteo Scandolo86939302020-10-30 13:32:08 -070092
93 - 'voltha-scale-measurements':
94 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -070095 'disable-job': true
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -080096 build-node: 'voltha-scale-1'
Matteo Scandolo86939302020-10-30 13:32:08 -070097 time-trigger: "H H/4 * * *"
98 olts: 2
99 pons: 16
100 onus: 32
101 withFlows: true
102 provisionSubscribers: true
103 workflow: tt
104 withEapol: false
105 withDhcp: true
106 withIgmp: true
Matteo Scandolo86939302020-10-30 13:32:08 -0700107 onosReplicas: 3
108 atomixReplicas: 3
Andrea Campanella9c93ded2021-04-29 18:59:53 +0200109 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 +0200110 onosImg: andreacampanella/voltha-onos:voltha-onos-2.5
Matteo Scandolo272aed42020-05-08 15:05:57 -0700111
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800112 # multi-stack jobs
113 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800114 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-att-subscribers'
115 build-node: 'voltha-scale-2'
Matteo Scandolo95f3bc12021-06-03 15:25:47 -0700116 'disable-job': true
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800117 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800118 time-trigger: "H H/4 * * *"
119 withMonitoring: false
120 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800121 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800122 olts: 2
123 pons: 16
124 onus: 32
125 withFlows: true
126 provisionSubscribers: true
127 workflow: att
128 withEapol: true
129 withDhcp: true
130 withIgmp: false
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700131 extraHelmFlags: "-f /home/jenkins/voltha-scale/voltha-values.yaml "
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800132
133 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800134 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-dt-subscribers'
135 build-node: 'voltha-scale-2'
Matteo Scandolo95f3bc12021-06-03 15:25:47 -0700136 'disable-job': true
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800137 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800138 time-trigger: "H H/4 * * *"
139 withMonitoring: false
140 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800141 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800142 olts: 2
143 pons: 16
144 onus: 32
145 withFlows: true
146 provisionSubscribers: true
147 workflow: dt
148 withEapol: false
149 withDhcp: false
150 withIgmp: false
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700151 extraHelmFlags: "-f /home/jenkins/voltha-scale/voltha-values.yaml "
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800152
153 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800154 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-tt-subscribers'
155 build-node: 'voltha-scale-2'
Matteo Scandolo95f3bc12021-06-03 15:25:47 -0700156 'disable-job': true
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800157 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800158 time-trigger: "H H/4 * * *"
159 withMonitoring: false
160 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800161 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800162 olts: 2
163 pons: 16
164 onus: 32
165 withFlows: true
166 provisionSubscribers: true
167 workflow: tt
168 withEapol: false
169 withDhcp: true
170 withIgmp: true
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700171 extraHelmFlags: "-f /home/jenkins/voltha-scale/voltha-values.yaml "
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800172
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700173 # voltha-2.7 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700174 - 'voltha-scale-measurements':
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700175 name: 'voltha-scale-measurements-voltha-2.7-2-16-32-att-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -0700176 'disable-job': true
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700177 pipeline-script: 'voltha/voltha-2.7/voltha-scale-test.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800178 build-node: 'voltha-scale-1'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700179 time-trigger: "H H/4 * * *"
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700180 olts: 2
Matteo Scandolod43064b2020-07-13 17:18:45 -0700181 pons: 16
182 onus: 32
183 withFlows: true
184 provisionSubscribers: true
185 withEapol: true
186 withDhcp: true
187 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700188 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700189 release: voltha-2.7
Andrea Campanellabc5ee952021-04-30 10:47:54 +0200190 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700191 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700192 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700193 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700194 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800195 openonuAdapterGoImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200196 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700197
198 - 'voltha-scale-measurements':
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700199 name: 'voltha-scale-measurements-voltha-2.7-2-16-32-dt-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -0700200 'disable-job': true
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700201 pipeline-script: 'voltha/voltha-2.7/voltha-scale-test.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800202 build-node: 'voltha-scale-1'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700203 time-trigger: "H H/4 * * *"
204 olts: 2
205 pons: 16
206 onus: 32
207 withFlows: true
208 provisionSubscribers: true
209 workflow: dt
210 withEapol: false
211 withDhcp: false
212 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700213 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700214 release: voltha-2.7
Andrea Campanellabc5ee952021-04-30 10:47:54 +0200215 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700216 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700217 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700218 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700219 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800220 openonuAdapterGoImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200221 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700222
Matteo Scandolo031bd982020-09-16 10:03:47 -0700223 - 'voltha-scale-measurements':
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700224 name: 'voltha-scale-measurements-voltha-2.7-2-16-32-tt-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -0700225 'disable-job': true
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700226 pipeline-script: 'voltha/voltha-2.7/voltha-scale-test.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800227 build-node: 'voltha-scale-1'
Matteo Scandolo031bd982020-09-16 10:03:47 -0700228 time-trigger: "H H/4 * * *"
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700229 olts: 2
Matteo Scandolo031bd982020-09-16 10:03:47 -0700230 pons: 16
231 onus: 32
232 withFlows: true
233 provisionSubscribers: true
234 workflow: tt
235 withEapol: false
236 withDhcp: true
237 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700238 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700239 release: voltha-2.7
Andrea Campanellabc5ee952021-04-30 10:47:54 +0200240 bbsimImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700241 rwCoreImg: ''
242 ofAgentImg: ''
243 openoltAdapterImg: ''
244 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800245 openonuAdapterGoImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700246 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700247
Andrea Campanella27b5a662020-12-18 18:49:26 +0100248 # 2.6 multi-stack jobs
249 - 'voltha-scale-measurements':
250 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-att-subscribers'
251 build-node: 'voltha-scale-2'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700252 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100253 pipeline-script: 'voltha-scale-multi-stack.groovy'
Andrea Campanella27b5a662020-12-18 18:49:26 +0100254 time-trigger: "H H/4 * * *"
255 withMonitoring: false
256 logLevel: WARN
257 volthaStacks: 10
258 olts: 2
259 pons: 16
260 onus: 32
261 withFlows: true
262 provisionSubscribers: true
263 release: voltha-2.6
264 workflow: att
265 withEapol: true
266 withDhcp: true
267 withIgmp: false
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800268 bbsimImg: ''
269 rwCoreImg: ''
270 ofAgentImg: ''
271 openoltAdapterImg: ''
272 openonuAdapterImg: ''
273 openonuAdapterGoImg: ''
274 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100275
276 - 'voltha-scale-measurements':
277 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-dt-subscribers'
278 build-node: 'voltha-scale-2'
279 pipeline-script: 'voltha-scale-multi-stack.groovy'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700280 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100281 time-trigger: "H H/4 * * *"
282 withMonitoring: false
283 logLevel: WARN
284 volthaStacks: 10
285 olts: 2
286 pons: 16
287 onus: 32
288 withFlows: true
289 provisionSubscribers: true
290 release: voltha-2.6
291 workflow: dt
292 withEapol: false
293 withDhcp: false
294 withIgmp: false
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800295 bbsimImg: ''
296 rwCoreImg: ''
297 ofAgentImg: ''
298 openoltAdapterImg: ''
299 openonuAdapterImg: ''
300 openonuAdapterGoImg: ''
301 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100302
303 - 'voltha-scale-measurements':
304 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-tt-subscribers'
305 build-node: 'voltha-scale-2'
306 pipeline-script: 'voltha-scale-multi-stack.groovy'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700307 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100308 time-trigger: "H H/4 * * *"
309 withMonitoring: false
310 logLevel: WARN
311 volthaStacks: 10
312 olts: 2
313 pons: 16
314 onus: 32
315 withFlows: true
316 provisionSubscribers: true
317 release: voltha-2.6
318 workflow: tt
319 withEapol: false
320 withDhcp: true
321 withIgmp: true
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800322 bbsimImg: ''
323 rwCoreImg: ''
324 ofAgentImg: ''
325 openoltAdapterImg: ''
326 openonuAdapterImg: ''
327 openonuAdapterGoImg: ''
328 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100329
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700330 # per patchset job
331 - 'voltha-scale-measurements':
332 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800333 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700334 olts: 1
335 pons: 16
336 onus: 32
337 withFlows: true
338 provisionSubscribers: true
339 withEapol: true
340 withDhcp: true
341 withIgmp: false
342 withMonitoring: false
343 trigger-comment: "voltha scale test ATT"
344
345 - 'voltha-scale-measurements':
346 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800347 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700348 olts: 1
349 pons: 16
350 onus: 32
351 withFlows: true
352 provisionSubscribers: true
353 workflow: tt
354 withEapol: false
355 withDhcp: true
356 withIgmp: true
357 withMonitoring: false
358 trigger-comment: "voltha scale test TT"
359
360 - 'voltha-scale-measurements':
361 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800362 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700363 olts: 1
364 pons: 16
365 onus: 32
366 withFlows: true
367 provisionSubscribers: true
368 workflow: dt
369 withEapol: false
370 withDhcp: false
371 withIgmp: false
372 withMonitoring: false
373 trigger-comment: "voltha scale test DT"
374
Matteo Scandolo272aed42020-05-08 15:05:57 -0700375 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700376 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700377 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700378 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700379 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700380
Matteo Scandolodc930192020-08-27 15:56:16 -0700381 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700382 - 'voltha-scale-matrix':
383 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700384 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800385
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700386 # development matrix
387 - 'voltha-scale-matrix':
388 name: 'voltha-scale-matrix-voltha-master'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800389 build-node: 'voltha-scale-1'
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700390 onosReplicas: 3
391 atomixReplicas: 3
392 kafkaReplicas: 3
393 etcdReplicas: 3
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800394 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800395 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700396
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700397# list of parameters for the VOLTHA Jobs,
398# used as anchor so that can be shared across multiple jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700399# to use in a job: `parameters: *voltha-scale-job-parameters`
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700400- voltha-scale-job-parameters: &voltha-scale-job-parameters
401 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700402 parameters:
403 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800404 name: pipeline-script
405 default: '{pipeline-script}'
406 description: 'The pipeline script to use'
407
408 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700409 name: release
410 default: '{release}'
Matteo Scandolo49bc0472021-04-20 09:37:55 -0700411 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 -0700412
413 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700414 name: buildNode
415 default: '{build-node}'
416 description: 'Name of the Jenkins node to run the job on'
417
418 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700419 name: dockerRegistry
420 default: '{dockerRegistry}'
421 description: 'Address of the docker registry to use if we are building custom images'
422
423 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700424 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700425 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700426 description: 'Log level for all the components'
427
428 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800429 name: volthaStacks
430 default: '{volthaStacks}'
431 description: 'Number of VOLTHA Stacks to deploy'
432
433 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700434 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700435 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700436 description: 'Number of ONUs to provision'
437
438 - string:
439 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700440 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700441 description: 'Number of PONs to provision'
442
443 - string:
444 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700445 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700446 description: 'How many BBSim instances to run'
447
448 - string:
449 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700450 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700451 description: 'Which workflow are we testing (att, dt, tt)'
452
453 - bool:
454 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700455 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700456 description: 'Wheter to push flows from ONOS'
457
458 - bool:
459 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700460 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700461 description: 'Wheter to provision subscribers durint the tests'
462
463 - bool:
464 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700465 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700466 description: 'Wheter EAPOL is enabled for the test'
467
468 - bool:
469 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700470 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700471 description: 'Wheter DHCP is enabled for the test'
472
473 - bool:
474 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700475 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700476 description: 'Wheter IGMP is enabled for the test'
477
478 - bool:
479 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700480 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700481 description: 'Wheter Link Discovery is enabled for the test'
482
483 - bool:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700484 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700485 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700486 description: 'Option to install Prometheus'
487
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700488 - bool:
489 name: withProfiling
490 default: '{withProfiling}'
491 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
492
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700493 - bool:
494 name: withPcap
495 default: '{withPcap}'
496 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
497
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700498 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700499 name: withRadius
500 default: '{withRadius}'
501 description: 'Value to pass to kind-voltha WITH_RADIUS'
502
503 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700504 name: extraHelmFlags
505 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700506 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 -0700507
Matteo Scandolo272aed42020-05-08 15:05:57 -0700508 - string:
509 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700510 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700511 description: 'How many OpenONU adapter instances to run'
512
513 - string:
514 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700515 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700516 description: 'How many ONOSes instances to run'
517
518 - string:
519 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700520 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700521 description: 'How many Atomix instances to run'
522
523 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700524 name: kafkaReplicas
525 default: '{kafkaReplicas}'
526 description: 'How many Kafka instances to run'
527
528 - string:
529 name: etcdReplicas
530 default: '{etcdReplicas}'
531 description: 'How many ETCD instances to run'
532
533 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700534 name: onosStatInterval
535 default: '{onosStatInterval}'
536 description: 'How often ONOS should poll for ports, flows and meters'
537
538 - string:
Andrea Campanella15f22942021-04-08 17:24:21 +0200539 name: onosGroupInterval
540 default: '{onosGroupInterval}'
541 description: 'How often ONOS should poll for groups'
542
543 - string:
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200544 name: flowObjWorkerThreads
545 default: '{flowObjWorkerThreads}'
546 description: 'How many threads are used by the FlowObjectiveManager worker pool'
547
548 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700549 name: bbsimImg
550 default: '{bbsimImg}'
551 description: 'Custom image selection for BBSIM (repo:tag)'
552
553 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700554 name: rwCoreImg
555 default: '{rwCoreImg}'
556 description: 'Custom image selection for VOLTHA (repo:tag)'
557
558 - string:
559 name: ofAgentImg
560 default: '{ofAgentImg}'
561 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
562
563 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700564 name: openoltAdapterImg
565 default: '{openoltAdapterImg}'
566 description: 'Custom image selection for Openolt Adapter (repo:tag)'
567
568 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700569 name: openonuAdapterImg
570 default: '{openonuAdapterImg}'
571 description: 'Custom image selection for Openonu Adapter (repo:tag)'
572
573 - string:
Andrea Campanella28763082020-11-18 10:55:31 +0100574 name: openonuAdapterGoImg
575 default: '{openonuAdapterGoImg}'
576 description: 'Custom image selection for Openonu Go Adapter (repo:tag)'
577
578 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700579 name: onosImg
580 default: '{onosImg}'
581 description: 'Custom image selection for Openonu Adapter (repo:tag)'
582
583 - string:
584 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700585 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700586 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
587
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700588 - string:
Matteo Scandolo11311742021-01-25 13:56:22 -0800589 name: volthaHelmChartsChange
590 default: '{volthaHelmChartsChange}'
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700591 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 -0700592
Matteo Scandoloccc06192020-06-22 10:16:17 -0700593 - bool:
594 name: inMemoryEtcdStorage
595 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700596 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700597
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200598 - string:
599 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700600 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200601 description: 'Karaf home'
602
Matteo Scandolo001003e2021-02-03 15:39:26 -0800603 # remove once voltha-2.6 is deprecated
604 - string:
605 name: kindVolthaChange
606 default: '{kindVolthaChange}'
607 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 -0800608 - bool:
609 name: withMibTemplate
610 default: true
Matteo Scandolo001003e2021-02-03 15:39:26 -0800611
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700612- job-template:
613 id: 'voltha-scale-measurements'
614 name: '{name}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700615 disabled: '{disable-job}'
616
617 description: |
618 <!-- Managed by Jenkins Job Builder -->
619 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
620 Using pipeline {pipeline-script} <br/><br/>
621 Scale measurements for VOLTHA 2.x
622
623 properties:
624 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800625 build-days-to-keep: '{big-build-days-to-keep}'
626 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700627
628 wrappers:
629 - lf-infra-wrappers:
630 build-timeout: '{build-timeout}'
631 jenkins-ssh-credential: '{jenkins-ssh-credential}'
632
633 # default values
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -0800634 pipeline-script: 'voltha/master/voltha-scale-test.groovy'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700635 release: master
636
637 bbsimImg: voltha/bbsim:master
638 rwCoreImg: voltha/voltha-rw-core:master
639 ofAgentImg: voltha/voltha-ofagent-go:master
640 openoltAdapterImg: voltha/voltha-openolt-adapter:master
641 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100642 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700643 onosImg: voltha/voltha-onos:master
644
645 bbsimChart: onf/bbsim
646 volthaChart: onf/voltha
647 openoltAdapterChart: onf/voltha-adapter-openolt
648 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700649 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700650 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700651
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800652 volthaStacks: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700653 olts: 2
654 pons: 2
655 onus: 2
656 workflow: att
657 withFlows: false
658 provisionSubscribers: false
659 withEapol: true
660 withDhcp: true
661 withIgmp: false
662 withLLDP: false
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700663 withMonitoring: true
664 withProfiling: false
665 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700666 withRadius: yes
Andrea Campanellac179de22020-12-10 17:24:40 +0100667 openonuAdapterReplicas: 1
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700668 onosReplicas: 3
669 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700670 kafkaReplicas: 3
671 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700672 extraHelmFlags: ''
673 onosStatInterval: 5
Andrea Campanella15f22942021-04-08 17:24:21 +0200674 onosGroupInterval: 1
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200675 flowObjWorkerThreads: 12
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700676 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800677 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800678 kindVolthaChange: ''
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700679 inMemoryEtcdStorage: true
680 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700681 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700682 dockerRegistry: 10.90.0.101:30500
683 trigger-comment: vv7CBoQQYYonvaN8xcru
684 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700685
686 <<: *voltha-scale-job-parameters
687
Matteo Scandolo272aed42020-05-08 15:05:57 -0700688 project-type: pipeline
689 concurrent: false
690
691 dsl: !include-raw-escape: pipeline/{pipeline-script}
692
Matteo Scandoloabb83972020-06-25 16:08:23 -0700693 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700694 # periodic jobs will set this every 4 hours
695 # 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 -0700696 - timed: |
697 TZ=America/Los_Angeles
698 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700699 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
700 # patchset jobs will set this to a meaningful comment
701 - gerrit:
702 server-name: '{gerrit-server-name}'
703 silent-start: false
704 successful-message: "PASSED scale test"
705 failure-message: "FAILED scale test"
706 unstable-message: "UNSTABLE scale test"
707 trigger-on:
708 - comment-added-contains-event:
709 comment-contains-value: '.*{trigger-comment}.*'
710 projects:
711 - project-compare-type: REG_EXP
712 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
713 branches:
714 - branch-compare-type: REG_EXP
715 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700716
717- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700718 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800719 name: '{name}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800720
721 description: |
722 <!-- Managed by Jenkins Job Builder -->
723 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
724 Using pipeline {pipeline-script} <br/><br/>
725 Scale measurements for VOLTHA 2.x
726
727 properties:
728 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800729 build-days-to-keep: '{big-build-days-to-keep}'
730 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800731
732 wrappers:
733 - lf-infra-wrappers:
734 build-timeout: '{build-timeout}'
735 jenkins-ssh-credential: '{jenkins-ssh-credential}'
736
Matteo Scandolo0430f672020-05-07 11:50:26 -0700737 # default values
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -0800738 pipeline-script: 'voltha/master/voltha-scale-test.groovy'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700739 release: master
740
Matteo Scandolo0430f672020-05-07 11:50:26 -0700741 bbsimImg: voltha/bbsim:master
742 rwCoreImg: voltha/voltha-rw-core:master
743 ofAgentImg: voltha/voltha-ofagent-go:master
744 openoltAdapterImg: voltha/voltha-openolt-adapter:master
745 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100746 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandolo0430f672020-05-07 11:50:26 -0700747 onosImg: voltha/voltha-onos:master
748
749 bbsimChart: onf/bbsim
750 volthaChart: onf/voltha
751 openoltAdapterChart: onf/voltha-adapter-openolt
752 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700753 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700754 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700755
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800756 volthaStacks: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700757 olts: 2
758 pons: 2
759 onus: 2
760 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700761 withFlows: true
762 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700763 withEapol: true
764 withDhcp: true
765 withIgmp: false
766 withLLDP: false
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700767 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700768 withProfiling: false
769 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700770 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700771 openonuAdapterReplicas: 1
772 onosReplicas: 1
773 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700774 kafkaReplicas: 1
775 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700776 extraHelmFlags: ''
777 onosStatInterval: 5
Andrea Campanella15f22942021-04-08 17:24:21 +0200778 onosGroupInterval: 1
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200779 flowObjWorkerThreads: 12
Matteo Scandolo68776b72020-07-21 14:06:06 -0700780 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800781 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800782 kindVolthaChange: ''
Matteo Scandolo68776b72020-07-21 14:06:06 -0700783 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700784 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700785 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700786 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700787
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700788 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200789
Matteo Scandolo51b76302020-02-05 12:07:23 -0800790 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800791 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800792
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700793 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700794
Matteo Scandolo849db722020-10-21 10:58:41 -0700795 triggers:
796 - gerrit:
797 server-name: '{gerrit-server-name}'
798 silent-start: false
799 successful-message: "PASSED scale test"
800 failure-message: "FAILED scale test"
801 unstable-message: "UNSTABLE scale test"
802 trigger-on:
803 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700804 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700805 projects:
806 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700807 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700808 branches:
809 - branch-compare-type: REG_EXP
810 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700811- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700812 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700813 name: '{name}'
814 pipeline-script: 'voltha-scale-matrix.groovy'
815
816 description: |
817 <!-- Managed by Jenkins Job Builder -->
818 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
819 Using pipeline {pipeline-script} <br/><br/>
820 Scale measurements for VOLTHA 2.x
821
822 properties:
823 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800824 build-days-to-keep: '{big-build-days-to-keep}'
825 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700826
827 wrappers:
828 - lf-infra-wrappers:
829 build-timeout: '{build-timeout}'
830 jenkins-ssh-credential: '{jenkins-ssh-credential}'
831
832 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800833 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700834 release: master
835 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700836 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800837 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800838 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700839 onosReplicas: 1
840 atomixReplicas: 0
841 kafkaReplicas: 1
842 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800843 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800844 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700845
846 project-type: pipeline
847 concurrent: false
848
849 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700850
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700851 parameters:
852 - string:
853 name: release
854 default: '{release}'
855 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
856
857 - string:
858 name: buildNode
859 default: '{build-node}'
860 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700861
862 - string:
863 name: volthaSystemTestsChange
864 default: '{volthaSystemTestsChange}'
865 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
866
867 - string:
Matteo Scandolo11311742021-01-25 13:56:22 -0800868 name: volthaHelmChartsChange
869 default: '{volthaHelmChartsChange}'
870 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 -0700871
872 - string:
873 name: onosReplicas
874 default: '{onosReplicas}'
875 description: 'How many ONOSes instances to run'
876
877 - string:
878 name: atomixReplicas
879 default: '{atomixReplicas}'
880 description: 'How many Atomix instances to run'
881
882 - string:
883 name: kafkaReplicas
884 default: '{kafkaReplicas}'
885 description: 'How many Kafka instances to run'
886
887 - string:
888 name: etcdReplicas
889 default: '{etcdReplicas}'
890 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800891
892 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800893 name: openonuAdapterReplicas
894 default: '{openonuAdapterReplicas}'
895 description: 'How many OpenONU adapter instances to run'
896
897 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800898 name: topologies
899 default: '{topologies}'
900 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
901
902 triggers:
903 - timed: |
904 TZ=America/Los_Angeles
905 {time-trigger}