blob: a64e46a04450d616e30d311d8d61b4d92cf35a90 [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 Scandoloca097652020-08-14 09:49:23 -070012 # OpenONU GO Scale
Matteo Scandolob46bc402020-06-11 13:59:44 -070013 - 'voltha-scale-measurements':
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020014 name: 'voltha-openonu-go-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080015 'disable-job': false
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020016 build-node: 'onf-pod1-head-node'
17 time-trigger: "H H/4 * * *"
18 olts: 2
19 pons: 16
20 onus: 32
21 withFlows: true
22 provisionSubscribers: true
23 workflow: dt
24 withEapol: false
25 withDhcp: false
26 withIgmp: false
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020027 openonuAdapterReplicas: 1
28 openonuAdapterImg: voltha/voltha-openonu-adapter-go:master
29 extraHelmFlags: '--set use_openonu_adapter_go=true'
Matteo Scandolo45ad8f52020-08-11 09:07:49 -070030
Andrea Campanellabdb199e2020-10-27 10:47:16 +010031 - 'voltha-scale-measurements':
32 name: 'voltha-openonu-go-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandolo4c4fbdd2020-11-04 13:49:42 -080033 'disable-job': false
Andrea Campanellabdb199e2020-10-27 10:47:16 +010034 build-node: 'onf-pod1-head-node'
35 time-trigger: "H H/4 * * *"
36 olts: 1
37 pons: 16
38 onus: 32
39 withFlows: true
40 provisionSubscribers: true
41 withEapol: true
42 withDhcp: true
43 withIgmp: false
Andrea Campanellabdb199e2020-10-27 10:47:16 +010044 openonuAdapterReplicas: 1
45 openonuAdapterImg: voltha/voltha-openonu-adapter-go:master
Andrea Campanella68883592020-11-06 15:03:02 +010046 onosImg: andreacampanella/voltha-onos:olt-meter-removal-master
47 ofAgentImg: andreacampanella/voltha-ofagent-go:meter-log
48 rwCoreImg: andreacampanella/voltha-rw-core:meter-log
49 withPcap: true
Andrea Campanella04ca93a2020-11-07 14:57:50 +010050 extraHelmFlags: '--set use_openonu_adapter_go=true,authRetry=true,dhcpRetry=true'
Andrea Campanellabdb199e2020-10-27 10:47:16 +010051
Matteo Scandolo8df57162020-10-06 14:43:53 -070052 # this job will be used to test custom images without disrupting tests on master
53 - 'voltha-scale-measurements':
54 name: 'voltha-scale-measurements-master-experimental'
55 build-node: 'onf-pod1-head-node'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080056 'disable-job': false
Matteo Scandoloe6647a02020-11-02 10:27:52 -080057 # trigger on Feb 29th (a.k.a only trigger it manually)
58 time-trigger: "H 0 29 2 *"
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -070059 withMonitoring: false
Matteo Scandoloe6647a02020-11-02 10:27:52 -080060 olts: 2
Matteo Scandolo8df57162020-10-06 14:43:53 -070061 pons: 16
62 onus: 32
63 withFlows: true
64 provisionSubscribers: true
65 withEapol: true
66 withDhcp: true
67 withIgmp: false
Matteo Scandolo0feb5e92020-10-27 19:34:51 -070068 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo8df57162020-10-06 14:43:53 -070069 withPcap: true
Matteo Scandolo9665d592020-10-23 19:08:14 +000070
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080071 - 'voltha-scale-measurements':
72 name: 'voltha-scale-measurements-master-experimental-multi-stack'
73 build-node: 'onf-pod1-head-node'
74 pipeline-script: 'voltha-scale-multi-stack.groovy'
75 'disable-job': false
76 # trigger on Feb 29th (a.k.a only trigger it manually)
Matteo Scandolodc4608c2020-11-12 16:48:16 -080077 # time-trigger: "H 0 29 2 *"
78 time-trigger: "H H/4 * * *"
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080079 withMonitoring: false
80 volthaStacks: 2
81 olts: 2
Matteo Scandolodc4608c2020-11-12 16:48:16 -080082 pons: 8
83 onus: 16
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080084 withFlows: true
85 provisionSubscribers: true
86 withEapol: true
87 withDhcp: true
88 withIgmp: false
89 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
90 withPcap: true
91 volthaSystemTestsChange: refs/changes/27/21627/2
92 kindVolthaChange: refs/changes/85/21485/8
93
Matteo Scandolo8df57162020-10-06 14:43:53 -070094
Matteo Scandoloe51ef6c2020-09-28 10:32:12 -070095 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS (1 OLT)
Matteo Scandoloe4b04342020-05-28 07:35:45 -070096 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070097 name: 'voltha-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080098 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -070099 build-node: 'onf-pod1-head-node'
100 time-trigger: "H H/4 * * *"
101 olts: 1
102 pons: 16
103 onus: 32
104 withFlows: true
105 provisionSubscribers: true
106 withEapol: true
107 withDhcp: true
108 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700109 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700110
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700111 - 'voltha-scale-measurements':
112 name: 'voltha-scale-measurements-master-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800113 'disable-job': false
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700114 build-node: 'onf-pod1-head-node'
115 time-trigger: "H H/4 * * *"
116 olts: 1
117 pons: 16
118 onus: 32
119 withFlows: true
120 provisionSubscribers: true
121 workflow: tt
122 withEapol: false
123 withDhcp: true
124 withIgmp: true
Matteo Scandolo37cba472020-10-26 14:15:34 -0700125 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700126
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700127 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700128 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800129 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700130 build-node: 'onf-pod1-head-node'
131 time-trigger: "H H/4 * * *"
132 olts: 1
133 pons: 16
134 onus: 32
135 withFlows: true
136 provisionSubscribers: true
137 workflow: dt
138 withEapol: false
139 withDhcp: false
140 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700141 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200142
Matteo Scandolo272aed42020-05-08 15:05:57 -0700143 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700144 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700145 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandolof2c8a642020-11-05 08:54:50 -0800146 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700147 build-node: 'onf-pod1-head-node'
148 time-trigger: "H H/4 * * *"
149 olts: 2
150 pons: 16
151 onus: 32
152 withFlows: true
153 provisionSubscribers: true
154 withEapol: true
155 withDhcp: true
156 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700157 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700158
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700159 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700160 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800161 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700162 build-node: 'onf-pod1-head-node'
163 time-trigger: "H H/4 * * *"
164 olts: 2
165 pons: 16
166 onus: 32
167 withFlows: true
168 provisionSubscribers: true
169 workflow: dt
170 withEapol: false
171 withDhcp: false
172 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700173 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo86939302020-10-30 13:32:08 -0700174
175 - 'voltha-scale-measurements':
176 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800177 'disable-job': false
Matteo Scandolo86939302020-10-30 13:32:08 -0700178 build-node: 'onf-pod1-head-node'
179 time-trigger: "H H/4 * * *"
180 olts: 2
181 pons: 16
182 onus: 32
183 withFlows: true
184 provisionSubscribers: true
185 workflow: tt
186 withEapol: false
187 withDhcp: true
188 withIgmp: true
189 openonuAdapterReplicas: 8
190 onosReplicas: 3
191 atomixReplicas: 3
Matteo Scandolo86939302020-10-30 13:32:08 -0700192 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700193
Matteo Scandolo031bd982020-09-16 10:03:47 -0700194 # voltha-2.5 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700195 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700196 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800197 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700198 build-node: 'onf-pod1-head-node'
199 time-trigger: "H H/4 * * *"
200 olts: 1
201 pons: 16
202 onus: 32
203 withFlows: true
204 provisionSubscribers: true
205 withEapol: true
206 withDhcp: true
207 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700208 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700209 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700210 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700211 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700212 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700213 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700214 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200215 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700216
217 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700218 name: 'voltha-scale-measurements-voltha-2.5-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800219 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700220 build-node: 'onf-pod1-head-node'
221 time-trigger: "H H/4 * * *"
222 olts: 2
223 pons: 16
224 onus: 32
225 withFlows: true
226 provisionSubscribers: true
227 workflow: dt
228 withEapol: false
229 withDhcp: false
230 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700231 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700232 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700233 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700234 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700235 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700236 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700237 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200238 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700239
Matteo Scandolo031bd982020-09-16 10:03:47 -0700240 - 'voltha-scale-measurements':
241 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800242 'disable-job': false
Matteo Scandolo031bd982020-09-16 10:03:47 -0700243 build-node: 'onf-pod1-head-node'
244 time-trigger: "H H/4 * * *"
245 olts: 1
246 pons: 16
247 onus: 32
248 withFlows: true
249 provisionSubscribers: true
250 workflow: tt
251 withEapol: false
252 withDhcp: true
253 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700254 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
255 release: voltha-2.5
256 bbsimImg: ''
257 rwCoreImg: ''
258 ofAgentImg: ''
259 openoltAdapterImg: ''
260 openonuAdapterImg: ''
261 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700262
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700263 # per patchset job
264 - 'voltha-scale-measurements':
265 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
266 build-node: 'onf-pod1-head-node'
267 olts: 1
268 pons: 16
269 onus: 32
270 withFlows: true
271 provisionSubscribers: true
272 withEapol: true
273 withDhcp: true
274 withIgmp: false
275 withMonitoring: false
276 trigger-comment: "voltha scale test ATT"
277
278 - 'voltha-scale-measurements':
279 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
280 build-node: 'onf-pod1-head-node'
281 olts: 1
282 pons: 16
283 onus: 32
284 withFlows: true
285 provisionSubscribers: true
286 workflow: tt
287 withEapol: false
288 withDhcp: true
289 withIgmp: true
290 withMonitoring: false
291 trigger-comment: "voltha scale test TT"
292
293 - 'voltha-scale-measurements':
294 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
295 build-node: 'onf-pod1-head-node'
296 olts: 1
297 pons: 16
298 onus: 32
299 withFlows: true
300 provisionSubscribers: true
301 workflow: dt
302 withEapol: false
303 withDhcp: false
304 withIgmp: false
305 withMonitoring: false
306 trigger-comment: "voltha scale test DT"
307
Matteo Scandolo272aed42020-05-08 15:05:57 -0700308 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700309 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700310 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700311 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700312 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700313
Matteo Scandolodc930192020-08-27 15:56:16 -0700314 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700315 - 'voltha-scale-matrix':
316 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700317 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800318
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700319 # development matrix
320 - 'voltha-scale-matrix':
321 name: 'voltha-scale-matrix-voltha-master'
322 build-node: 'onf-pod1-head-node'
323 onosReplicas: 3
324 atomixReplicas: 3
325 kafkaReplicas: 3
326 etcdReplicas: 3
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800327 openonuAdapterReplicas: 8
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800328 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800329 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700330
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700331# list of parameters for the VOLTHA Jobs,
332# used as anchor so that can be shared across multiple jobs
333# to use in a job: `parameters: *voltha-build-job-parameters`
334- voltha-scale-job-parameters: &voltha-scale-job-parameters
335 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700336 parameters:
337 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800338 name: pipeline-script
339 default: '{pipeline-script}'
340 description: 'The pipeline script to use'
341
342 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700343 name: release
344 default: '{release}'
345 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
346
347 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700348 name: buildNode
349 default: '{build-node}'
350 description: 'Name of the Jenkins node to run the job on'
351
352 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700353 name: dockerRegistry
354 default: '{dockerRegistry}'
355 description: 'Address of the docker registry to use if we are building custom images'
356
357 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700358 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700359 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700360 description: 'Log level for all the components'
361
362 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800363 name: volthaStacks
364 default: '{volthaStacks}'
365 description: 'Number of VOLTHA Stacks to deploy'
366
367 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700368 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700369 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700370 description: 'Number of ONUs to provision'
371
372 - string:
373 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700374 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700375 description: 'Number of PONs to provision'
376
377 - string:
378 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700379 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700380 description: 'How many BBSim instances to run'
381
382 - string:
383 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700384 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700385 description: 'Which workflow are we testing (att, dt, tt)'
386
387 - bool:
388 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700389 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700390 description: 'Wheter to push flows from ONOS'
391
392 - bool:
393 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700394 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700395 description: 'Wheter to provision subscribers durint the tests'
396
397 - bool:
398 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700399 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700400 description: 'Wheter EAPOL is enabled for the test'
401
402 - bool:
403 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700404 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700405 description: 'Wheter DHCP is enabled for the test'
406
407 - bool:
408 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700409 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700410 description: 'Wheter IGMP is enabled for the test'
411
412 - bool:
413 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700414 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700415 description: 'Wheter Link Discovery is enabled for the test'
416
417 - bool:
418 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700419 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700420 description: 'Option to trigger MIB template command'
421
422 - bool:
423 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700424 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700425 description: 'Option to install Prometheus'
426
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700427 - bool:
428 name: withProfiling
429 default: '{withProfiling}'
430 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
431
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700432 - bool:
433 name: withPcap
434 default: '{withPcap}'
435 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
436
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700437 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700438 name: withRadius
439 default: '{withRadius}'
440 description: 'Value to pass to kind-voltha WITH_RADIUS'
441
442 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700443 name: extraHelmFlags
444 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700445 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 -0700446
Matteo Scandolo272aed42020-05-08 15:05:57 -0700447 - string:
448 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700449 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700450 description: 'How many OpenONU adapter instances to run'
451
452 - string:
453 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700454 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700455 description: 'How many ONOSes instances to run'
456
457 - string:
458 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700459 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700460 description: 'How many Atomix instances to run'
461
462 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700463 name: kafkaReplicas
464 default: '{kafkaReplicas}'
465 description: 'How many Kafka instances to run'
466
467 - string:
468 name: etcdReplicas
469 default: '{etcdReplicas}'
470 description: 'How many ETCD instances to run'
471
472 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700473 name: onosStatInterval
474 default: '{onosStatInterval}'
475 description: 'How often ONOS should poll for ports, flows and meters'
476
477 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700478 name: bbsimImg
479 default: '{bbsimImg}'
480 description: 'Custom image selection for BBSIM (repo:tag)'
481
482 - string:
483 name: bbsimChart
484 default: '{bbsimChart}'
485 description: 'BBSim chart name (or location on file system)'
486
487 - string:
488 name: rwCoreImg
489 default: '{rwCoreImg}'
490 description: 'Custom image selection for VOLTHA (repo:tag)'
491
492 - string:
493 name: ofAgentImg
494 default: '{ofAgentImg}'
495 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
496
497 - string:
498 name: volthaChart
499 default: '{volthaChart}'
500 description: 'VOLTHA chart name (or location on file system)'
501
502 - string:
503 name: openoltAdapterImg
504 default: '{openoltAdapterImg}'
505 description: 'Custom image selection for Openolt Adapter (repo:tag)'
506
507 - string:
508 name: openoltAdapterChart
509 default: '{openoltAdapterChart}'
510 description: 'OpenOLT chart name (or location on file system)'
511
512 - string:
513 name: openonuAdapterImg
514 default: '{openonuAdapterImg}'
515 description: 'Custom image selection for Openonu Adapter (repo:tag)'
516
517 - string:
518 name: openonuAdapterChart
519 default: '{openonuAdapterChart}'
520 description: 'OpenONU chart name (or location on file system)'
521
522 - string:
523 name: onosImg
524 default: '{onosImg}'
525 description: 'Custom image selection for Openonu Adapter (repo:tag)'
526
527 - string:
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700528 name: onosChart
529 default: '{onosChart}'
530 description: 'ONOS chart name (or location on file system)'
531
532 - string:
Matteo Scandolo06506102020-10-13 12:24:20 -0700533 name: radiusChart
534 default: '{radiusChart}'
535 description: 'freeradius chart name (or location on file system)'
536
537 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700538 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700539 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700540 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
541
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700542 - string:
543 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700544 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700545 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
546
Matteo Scandoloccc06192020-06-22 10:16:17 -0700547 - bool:
548 name: inMemoryEtcdStorage
549 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700550 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700551
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200552 - string:
553 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700554 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200555 description: 'Karaf home'
556
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700557- job-template:
558 id: 'voltha-scale-measurements'
559 name: '{name}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700560 disabled: '{disable-job}'
561
562 description: |
563 <!-- Managed by Jenkins Job Builder -->
564 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
565 Using pipeline {pipeline-script} <br/><br/>
566 Scale measurements for VOLTHA 2.x
567
568 properties:
569 - cord-infra-properties:
570 build-days-to-keep: 30
571 artifact-num-to-keep: 15
572
573 wrappers:
574 - lf-infra-wrappers:
575 build-timeout: '{build-timeout}'
576 jenkins-ssh-credential: '{jenkins-ssh-credential}'
577
578 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800579 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700580 release: master
581
582 bbsimImg: voltha/bbsim:master
583 rwCoreImg: voltha/voltha-rw-core:master
584 ofAgentImg: voltha/voltha-ofagent-go:master
585 openoltAdapterImg: voltha/voltha-openolt-adapter:master
586 openonuAdapterImg: voltha/voltha-openonu-adapter:master
587 onosImg: voltha/voltha-onos:master
588
589 bbsimChart: onf/bbsim
590 volthaChart: onf/voltha
591 openoltAdapterChart: onf/voltha-adapter-openolt
592 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700593 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700594 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700595
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800596 volthaStacks: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700597 olts: 2
598 pons: 2
599 onus: 2
600 workflow: att
601 withFlows: false
602 provisionSubscribers: false
603 withEapol: true
604 withDhcp: true
605 withIgmp: false
606 withLLDP: false
607 withMibTemplate: true
608 withMonitoring: true
609 withProfiling: false
610 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700611 withRadius: yes
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700612 openonuAdapterReplicas: 8
613 onosReplicas: 3
614 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700615 kafkaReplicas: 3
616 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700617 extraHelmFlags: ''
618 onosStatInterval: 5
619 volthaSystemTestsChange: ''
620 kindVolthaChange: ''
621 inMemoryEtcdStorage: true
622 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700623 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700624 dockerRegistry: 10.90.0.101:30500
625 trigger-comment: vv7CBoQQYYonvaN8xcru
626 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700627
628 <<: *voltha-scale-job-parameters
629
Matteo Scandolo272aed42020-05-08 15:05:57 -0700630 project-type: pipeline
631 concurrent: false
632
633 dsl: !include-raw-escape: pipeline/{pipeline-script}
634
Matteo Scandoloabb83972020-06-25 16:08:23 -0700635 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700636 # periodic jobs will set this every 4 hours
637 # 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 -0700638 - timed: |
639 TZ=America/Los_Angeles
640 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700641 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
642 # patchset jobs will set this to a meaningful comment
643 - gerrit:
644 server-name: '{gerrit-server-name}'
645 silent-start: false
646 successful-message: "PASSED scale test"
647 failure-message: "FAILED scale test"
648 unstable-message: "UNSTABLE scale test"
649 trigger-on:
650 - comment-added-contains-event:
651 comment-contains-value: '.*{trigger-comment}.*'
652 projects:
653 - project-compare-type: REG_EXP
654 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
655 branches:
656 - branch-compare-type: REG_EXP
657 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700658
659- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700660 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800661 name: '{name}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800662
663 description: |
664 <!-- Managed by Jenkins Job Builder -->
665 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
666 Using pipeline {pipeline-script} <br/><br/>
667 Scale measurements for VOLTHA 2.x
668
669 properties:
670 - cord-infra-properties:
671 build-days-to-keep: '{build-days-to-keep}'
672 artifact-num-to-keep: '{artifact-num-to-keep}'
673
674 wrappers:
675 - lf-infra-wrappers:
676 build-timeout: '{build-timeout}'
677 jenkins-ssh-credential: '{jenkins-ssh-credential}'
678
Matteo Scandolo0430f672020-05-07 11:50:26 -0700679 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800680 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700681 release: master
682
Matteo Scandolo0430f672020-05-07 11:50:26 -0700683 bbsimImg: voltha/bbsim:master
684 rwCoreImg: voltha/voltha-rw-core:master
685 ofAgentImg: voltha/voltha-ofagent-go:master
686 openoltAdapterImg: voltha/voltha-openolt-adapter:master
687 openonuAdapterImg: voltha/voltha-openonu-adapter:master
688 onosImg: voltha/voltha-onos:master
689
690 bbsimChart: onf/bbsim
691 volthaChart: onf/voltha
692 openoltAdapterChart: onf/voltha-adapter-openolt
693 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700694 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700695 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700696
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800697 volthaStacks: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700698 olts: 2
699 pons: 2
700 onus: 2
701 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700702 withFlows: true
703 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700704 withEapol: true
705 withDhcp: true
706 withIgmp: false
707 withLLDP: false
708 withMibTemplate: true
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700709 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700710 withProfiling: false
711 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700712 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700713 openonuAdapterReplicas: 1
714 onosReplicas: 1
715 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700716 kafkaReplicas: 1
717 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700718 extraHelmFlags: ''
719 onosStatInterval: 5
720 volthaSystemTestsChange: ''
721 kindVolthaChange: ''
722 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700723 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700724 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700725 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700726
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700727 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200728
Matteo Scandolo51b76302020-02-05 12:07:23 -0800729 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800730 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800731
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700732 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700733
Matteo Scandolo849db722020-10-21 10:58:41 -0700734 triggers:
735 - gerrit:
736 server-name: '{gerrit-server-name}'
737 silent-start: false
738 successful-message: "PASSED scale test"
739 failure-message: "FAILED scale test"
740 unstable-message: "UNSTABLE scale test"
741 trigger-on:
742 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700743 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700744 projects:
745 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700746 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700747 branches:
748 - branch-compare-type: REG_EXP
749 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700750- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700751 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700752 name: '{name}'
753 pipeline-script: 'voltha-scale-matrix.groovy'
754
755 description: |
756 <!-- Managed by Jenkins Job Builder -->
757 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
758 Using pipeline {pipeline-script} <br/><br/>
759 Scale measurements for VOLTHA 2.x
760
761 properties:
762 - cord-infra-properties:
763 build-days-to-keep: '{build-days-to-keep}'
764 artifact-num-to-keep: '{artifact-num-to-keep}'
765
766 wrappers:
767 - lf-infra-wrappers:
768 build-timeout: '{build-timeout}'
769 jenkins-ssh-credential: '{jenkins-ssh-credential}'
770
771 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800772 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700773 release: master
774 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700775 volthaSystemTestsChange: ''
776 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700777 onosReplicas: 1
778 atomixReplicas: 0
779 kafkaReplicas: 1
780 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800781 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800782 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700783
784 project-type: pipeline
785 concurrent: false
786
787 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700788
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700789 parameters:
790 - string:
791 name: release
792 default: '{release}'
793 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
794
795 - string:
796 name: buildNode
797 default: '{build-node}'
798 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700799
800 - string:
801 name: volthaSystemTestsChange
802 default: '{volthaSystemTestsChange}'
803 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
804
805 - string:
806 name: kindVolthaChange
807 default: '{kindVolthaChange}'
808 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700809
810 - string:
811 name: onosReplicas
812 default: '{onosReplicas}'
813 description: 'How many ONOSes instances to run'
814
815 - string:
816 name: atomixReplicas
817 default: '{atomixReplicas}'
818 description: 'How many Atomix instances to run'
819
820 - string:
821 name: kafkaReplicas
822 default: '{kafkaReplicas}'
823 description: 'How many Kafka instances to run'
824
825 - string:
826 name: etcdReplicas
827 default: '{etcdReplicas}'
828 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800829
830 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800831 name: openonuAdapterReplicas
832 default: '{openonuAdapterReplicas}'
833 description: 'How many OpenONU adapter instances to run'
834
835 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800836 name: topologies
837 default: '{topologies}'
838 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
839
840 triggers:
841 - timed: |
842 TZ=America/Los_Angeles
843 {time-trigger}