blob: 54d481937babb2f54a6f3322c203c880be5e020b [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 Campanella04ca93a2020-11-07 14:57:50 +010046 extraHelmFlags: '--set use_openonu_adapter_go=true,authRetry=true,dhcpRetry=true'
Andrea Campanellabdb199e2020-10-27 10:47:16 +010047
Matteo Scandolo8df57162020-10-06 14:43:53 -070048 # this job will be used to test custom images without disrupting tests on master
49 - 'voltha-scale-measurements':
50 name: 'voltha-scale-measurements-master-experimental'
51 build-node: 'onf-pod1-head-node'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080052 'disable-job': false
Matteo Scandoloe6647a02020-11-02 10:27:52 -080053 # trigger on Feb 29th (a.k.a only trigger it manually)
54 time-trigger: "H 0 29 2 *"
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -070055 withMonitoring: false
Matteo Scandoloe6647a02020-11-02 10:27:52 -080056 olts: 2
Matteo Scandolo8df57162020-10-06 14:43:53 -070057 pons: 16
58 onus: 32
59 withFlows: true
60 provisionSubscribers: true
61 withEapol: true
62 withDhcp: true
63 withIgmp: false
Matteo Scandolo0feb5e92020-10-27 19:34:51 -070064 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellad4bbfbd2020-11-17 18:36:47 +010065 openonuAdapterImg: amghosh/voltha-openonu-py-adapter:onftest
Matteo Scandolo8df57162020-10-06 14:43:53 -070066 withPcap: true
Matteo Scandolo9665d592020-10-23 19:08:14 +000067
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080068 - 'voltha-scale-measurements':
69 name: 'voltha-scale-measurements-master-experimental-multi-stack'
70 build-node: 'onf-pod1-head-node'
71 pipeline-script: 'voltha-scale-multi-stack.groovy'
72 'disable-job': false
73 # trigger on Feb 29th (a.k.a only trigger it manually)
Matteo Scandolodc4608c2020-11-12 16:48:16 -080074 # time-trigger: "H 0 29 2 *"
75 time-trigger: "H H/4 * * *"
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080076 withMonitoring: false
Matteo Scandolof7ca6312020-11-16 15:57:15 -080077 logLevel: WARN
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080078 volthaStacks: 2
79 olts: 2
Matteo Scandolof6656562020-11-16 14:45:44 -080080 pons: 16
81 onus: 32
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080082 withFlows: true
83 provisionSubscribers: true
Matteo Scandolof7ca6312020-11-16 15:57:15 -080084 workflow: dt
85 withEapol: false
86 withDhcp: false
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080087 withIgmp: false
88 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080089 volthaSystemTestsChange: refs/changes/27/21627/2
90 kindVolthaChange: refs/changes/85/21485/8
Matteo Scandolof6656562020-11-16 14:45:44 -080091 openoltAdapterImg: matteoscandolo/voltha-openolt-adapter:topic
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080092
Matteo Scandolo8df57162020-10-06 14:43:53 -070093
Matteo Scandoloe51ef6c2020-09-28 10:32:12 -070094 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS (1 OLT)
Matteo Scandoloe4b04342020-05-28 07:35:45 -070095 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070096 name: 'voltha-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080097 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -070098 build-node: 'onf-pod1-head-node'
99 time-trigger: "H H/4 * * *"
100 olts: 1
101 pons: 16
102 onus: 32
103 withFlows: true
104 provisionSubscribers: true
105 withEapol: true
106 withDhcp: true
107 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700108 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellad4bbfbd2020-11-17 18:36:47 +0100109 openonuAdapterImg: amghosh/voltha-openonu-py-adapter:onftest
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'
Andrea Campanellad4bbfbd2020-11-17 18:36:47 +0100126 openonuAdapterImg: amghosh/voltha-openonu-py-adapter:onftest
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700127
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700128 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700129 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800130 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700131 build-node: 'onf-pod1-head-node'
132 time-trigger: "H H/4 * * *"
133 olts: 1
134 pons: 16
135 onus: 32
136 withFlows: true
137 provisionSubscribers: true
138 workflow: dt
139 withEapol: false
140 withDhcp: false
141 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700142 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellad4bbfbd2020-11-17 18:36:47 +0100143 openonuAdapterImg: amghosh/voltha-openonu-py-adapter:onftest
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200144
Matteo Scandolo272aed42020-05-08 15:05:57 -0700145 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700146 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700147 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandolof2c8a642020-11-05 08:54:50 -0800148 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700149 build-node: 'onf-pod1-head-node'
150 time-trigger: "H H/4 * * *"
151 olts: 2
152 pons: 16
153 onus: 32
154 withFlows: true
155 provisionSubscribers: true
156 withEapol: true
157 withDhcp: true
158 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700159 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellad4bbfbd2020-11-17 18:36:47 +0100160 openonuAdapterImg: amghosh/voltha-openonu-py-adapter:onftest
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700161
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700162 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700163 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800164 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700165 build-node: 'onf-pod1-head-node'
166 time-trigger: "H H/4 * * *"
167 olts: 2
168 pons: 16
169 onus: 32
170 withFlows: true
171 provisionSubscribers: true
172 workflow: dt
173 withEapol: false
174 withDhcp: false
175 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700176 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellad4bbfbd2020-11-17 18:36:47 +0100177 openonuAdapterImg: amghosh/voltha-openonu-py-adapter:onftest
Matteo Scandolo86939302020-10-30 13:32:08 -0700178
179 - 'voltha-scale-measurements':
180 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800181 'disable-job': false
Matteo Scandolo86939302020-10-30 13:32:08 -0700182 build-node: 'onf-pod1-head-node'
183 time-trigger: "H H/4 * * *"
184 olts: 2
185 pons: 16
186 onus: 32
187 withFlows: true
188 provisionSubscribers: true
189 workflow: tt
190 withEapol: false
191 withDhcp: true
192 withIgmp: true
193 openonuAdapterReplicas: 8
194 onosReplicas: 3
195 atomixReplicas: 3
Matteo Scandolo86939302020-10-30 13:32:08 -0700196 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellad4bbfbd2020-11-17 18:36:47 +0100197 openonuAdapterImg: amghosh/voltha-openonu-py-adapter:onftest
Matteo Scandolo272aed42020-05-08 15:05:57 -0700198
Matteo Scandolo031bd982020-09-16 10:03:47 -0700199 # voltha-2.5 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700200 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700201 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800202 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700203 build-node: 'onf-pod1-head-node'
204 time-trigger: "H H/4 * * *"
205 olts: 1
206 pons: 16
207 onus: 32
208 withFlows: true
209 provisionSubscribers: true
210 withEapol: true
211 withDhcp: true
212 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700213 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700214 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700215 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: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200220 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700221
222 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700223 name: 'voltha-scale-measurements-voltha-2.5-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800224 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700225 build-node: 'onf-pod1-head-node'
226 time-trigger: "H H/4 * * *"
227 olts: 2
228 pons: 16
229 onus: 32
230 withFlows: true
231 provisionSubscribers: true
232 workflow: dt
233 withEapol: false
234 withDhcp: false
235 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700236 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700237 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700238 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700239 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700240 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700241 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700242 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200243 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700244
Matteo Scandolo031bd982020-09-16 10:03:47 -0700245 - 'voltha-scale-measurements':
246 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800247 'disable-job': false
Matteo Scandolo031bd982020-09-16 10:03:47 -0700248 build-node: 'onf-pod1-head-node'
249 time-trigger: "H H/4 * * *"
250 olts: 1
251 pons: 16
252 onus: 32
253 withFlows: true
254 provisionSubscribers: true
255 workflow: tt
256 withEapol: false
257 withDhcp: true
258 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700259 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
260 release: voltha-2.5
261 bbsimImg: ''
262 rwCoreImg: ''
263 ofAgentImg: ''
264 openoltAdapterImg: ''
265 openonuAdapterImg: ''
266 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700267
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700268 # per patchset job
269 - 'voltha-scale-measurements':
270 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
271 build-node: 'onf-pod1-head-node'
272 olts: 1
273 pons: 16
274 onus: 32
275 withFlows: true
276 provisionSubscribers: true
277 withEapol: true
278 withDhcp: true
279 withIgmp: false
280 withMonitoring: false
281 trigger-comment: "voltha scale test ATT"
282
283 - 'voltha-scale-measurements':
284 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
285 build-node: 'onf-pod1-head-node'
286 olts: 1
287 pons: 16
288 onus: 32
289 withFlows: true
290 provisionSubscribers: true
291 workflow: tt
292 withEapol: false
293 withDhcp: true
294 withIgmp: true
295 withMonitoring: false
296 trigger-comment: "voltha scale test TT"
297
298 - 'voltha-scale-measurements':
299 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
300 build-node: 'onf-pod1-head-node'
301 olts: 1
302 pons: 16
303 onus: 32
304 withFlows: true
305 provisionSubscribers: true
306 workflow: dt
307 withEapol: false
308 withDhcp: false
309 withIgmp: false
310 withMonitoring: false
311 trigger-comment: "voltha scale test DT"
312
Matteo Scandolo272aed42020-05-08 15:05:57 -0700313 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700314 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700315 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700316 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700317 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700318
Matteo Scandolodc930192020-08-27 15:56:16 -0700319 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700320 - 'voltha-scale-matrix':
321 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700322 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800323
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700324 # development matrix
325 - 'voltha-scale-matrix':
326 name: 'voltha-scale-matrix-voltha-master'
327 build-node: 'onf-pod1-head-node'
328 onosReplicas: 3
329 atomixReplicas: 3
330 kafkaReplicas: 3
331 etcdReplicas: 3
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800332 openonuAdapterReplicas: 8
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800333 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800334 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700335
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700336# list of parameters for the VOLTHA Jobs,
337# used as anchor so that can be shared across multiple jobs
338# to use in a job: `parameters: *voltha-build-job-parameters`
339- voltha-scale-job-parameters: &voltha-scale-job-parameters
340 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700341 parameters:
342 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800343 name: pipeline-script
344 default: '{pipeline-script}'
345 description: 'The pipeline script to use'
346
347 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700348 name: release
349 default: '{release}'
350 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
351
352 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700353 name: buildNode
354 default: '{build-node}'
355 description: 'Name of the Jenkins node to run the job on'
356
357 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700358 name: dockerRegistry
359 default: '{dockerRegistry}'
360 description: 'Address of the docker registry to use if we are building custom images'
361
362 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700363 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700364 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700365 description: 'Log level for all the components'
366
367 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800368 name: volthaStacks
369 default: '{volthaStacks}'
370 description: 'Number of VOLTHA Stacks to deploy'
371
372 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700373 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700374 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700375 description: 'Number of ONUs to provision'
376
377 - string:
378 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700379 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700380 description: 'Number of PONs to provision'
381
382 - string:
383 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700384 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700385 description: 'How many BBSim instances to run'
386
387 - string:
388 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700389 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700390 description: 'Which workflow are we testing (att, dt, tt)'
391
392 - bool:
393 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700394 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700395 description: 'Wheter to push flows from ONOS'
396
397 - bool:
398 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700399 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700400 description: 'Wheter to provision subscribers durint the tests'
401
402 - bool:
403 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700404 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700405 description: 'Wheter EAPOL is enabled for the test'
406
407 - bool:
408 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700409 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700410 description: 'Wheter DHCP is enabled for the test'
411
412 - bool:
413 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700414 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700415 description: 'Wheter IGMP is enabled for the test'
416
417 - bool:
418 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700419 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700420 description: 'Wheter Link Discovery is enabled for the test'
421
422 - bool:
423 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700424 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700425 description: 'Option to trigger MIB template command'
426
427 - bool:
428 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700429 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700430 description: 'Option to install Prometheus'
431
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700432 - bool:
433 name: withProfiling
434 default: '{withProfiling}'
435 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
436
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700437 - bool:
438 name: withPcap
439 default: '{withPcap}'
440 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
441
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700442 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700443 name: withRadius
444 default: '{withRadius}'
445 description: 'Value to pass to kind-voltha WITH_RADIUS'
446
447 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700448 name: extraHelmFlags
449 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700450 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 -0700451
Matteo Scandolo272aed42020-05-08 15:05:57 -0700452 - string:
453 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700454 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700455 description: 'How many OpenONU adapter instances to run'
456
457 - string:
458 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700459 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700460 description: 'How many ONOSes instances to run'
461
462 - string:
463 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700464 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700465 description: 'How many Atomix instances to run'
466
467 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700468 name: kafkaReplicas
469 default: '{kafkaReplicas}'
470 description: 'How many Kafka instances to run'
471
472 - string:
473 name: etcdReplicas
474 default: '{etcdReplicas}'
475 description: 'How many ETCD instances to run'
476
477 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700478 name: onosStatInterval
479 default: '{onosStatInterval}'
480 description: 'How often ONOS should poll for ports, flows and meters'
481
482 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700483 name: bbsimImg
484 default: '{bbsimImg}'
485 description: 'Custom image selection for BBSIM (repo:tag)'
486
487 - string:
488 name: bbsimChart
489 default: '{bbsimChart}'
490 description: 'BBSim chart name (or location on file system)'
491
492 - string:
493 name: rwCoreImg
494 default: '{rwCoreImg}'
495 description: 'Custom image selection for VOLTHA (repo:tag)'
496
497 - string:
498 name: ofAgentImg
499 default: '{ofAgentImg}'
500 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
501
502 - string:
503 name: volthaChart
504 default: '{volthaChart}'
505 description: 'VOLTHA chart name (or location on file system)'
506
507 - string:
508 name: openoltAdapterImg
509 default: '{openoltAdapterImg}'
510 description: 'Custom image selection for Openolt Adapter (repo:tag)'
511
512 - string:
513 name: openoltAdapterChart
514 default: '{openoltAdapterChart}'
515 description: 'OpenOLT chart name (or location on file system)'
516
517 - string:
518 name: openonuAdapterImg
519 default: '{openonuAdapterImg}'
520 description: 'Custom image selection for Openonu Adapter (repo:tag)'
521
522 - string:
523 name: openonuAdapterChart
524 default: '{openonuAdapterChart}'
525 description: 'OpenONU chart name (or location on file system)'
526
527 - string:
528 name: onosImg
529 default: '{onosImg}'
530 description: 'Custom image selection for Openonu Adapter (repo:tag)'
531
532 - string:
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700533 name: onosChart
534 default: '{onosChart}'
535 description: 'ONOS chart name (or location on file system)'
536
537 - string:
Matteo Scandolo06506102020-10-13 12:24:20 -0700538 name: radiusChart
539 default: '{radiusChart}'
540 description: 'freeradius chart name (or location on file system)'
541
542 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700543 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700544 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700545 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
546
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700547 - string:
548 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700549 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700550 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
551
Matteo Scandoloccc06192020-06-22 10:16:17 -0700552 - bool:
553 name: inMemoryEtcdStorage
554 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700555 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700556
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200557 - string:
558 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700559 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200560 description: 'Karaf home'
561
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700562- job-template:
563 id: 'voltha-scale-measurements'
564 name: '{name}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700565 disabled: '{disable-job}'
566
567 description: |
568 <!-- Managed by Jenkins Job Builder -->
569 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
570 Using pipeline {pipeline-script} <br/><br/>
571 Scale measurements for VOLTHA 2.x
572
573 properties:
574 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800575 build-days-to-keep: '{big-build-days-to-keep}'
576 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700577
578 wrappers:
579 - lf-infra-wrappers:
580 build-timeout: '{build-timeout}'
581 jenkins-ssh-credential: '{jenkins-ssh-credential}'
582
583 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800584 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700585 release: master
586
587 bbsimImg: voltha/bbsim:master
588 rwCoreImg: voltha/voltha-rw-core:master
589 ofAgentImg: voltha/voltha-ofagent-go:master
590 openoltAdapterImg: voltha/voltha-openolt-adapter:master
591 openonuAdapterImg: voltha/voltha-openonu-adapter:master
592 onosImg: voltha/voltha-onos:master
593
594 bbsimChart: onf/bbsim
595 volthaChart: onf/voltha
596 openoltAdapterChart: onf/voltha-adapter-openolt
597 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700598 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700599 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700600
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800601 volthaStacks: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700602 olts: 2
603 pons: 2
604 onus: 2
605 workflow: att
606 withFlows: false
607 provisionSubscribers: false
608 withEapol: true
609 withDhcp: true
610 withIgmp: false
611 withLLDP: false
612 withMibTemplate: true
613 withMonitoring: true
614 withProfiling: false
615 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700616 withRadius: yes
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700617 openonuAdapterReplicas: 8
618 onosReplicas: 3
619 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700620 kafkaReplicas: 3
621 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700622 extraHelmFlags: ''
623 onosStatInterval: 5
624 volthaSystemTestsChange: ''
625 kindVolthaChange: ''
626 inMemoryEtcdStorage: true
627 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700628 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700629 dockerRegistry: 10.90.0.101:30500
630 trigger-comment: vv7CBoQQYYonvaN8xcru
631 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700632
633 <<: *voltha-scale-job-parameters
634
Matteo Scandolo272aed42020-05-08 15:05:57 -0700635 project-type: pipeline
636 concurrent: false
637
638 dsl: !include-raw-escape: pipeline/{pipeline-script}
639
Matteo Scandoloabb83972020-06-25 16:08:23 -0700640 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700641 # periodic jobs will set this every 4 hours
642 # 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 -0700643 - timed: |
644 TZ=America/Los_Angeles
645 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700646 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
647 # patchset jobs will set this to a meaningful comment
648 - gerrit:
649 server-name: '{gerrit-server-name}'
650 silent-start: false
651 successful-message: "PASSED scale test"
652 failure-message: "FAILED scale test"
653 unstable-message: "UNSTABLE scale test"
654 trigger-on:
655 - comment-added-contains-event:
656 comment-contains-value: '.*{trigger-comment}.*'
657 projects:
658 - project-compare-type: REG_EXP
659 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
660 branches:
661 - branch-compare-type: REG_EXP
662 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700663
664- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700665 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800666 name: '{name}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800667
668 description: |
669 <!-- Managed by Jenkins Job Builder -->
670 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
671 Using pipeline {pipeline-script} <br/><br/>
672 Scale measurements for VOLTHA 2.x
673
674 properties:
675 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800676 build-days-to-keep: '{big-build-days-to-keep}'
677 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800678
679 wrappers:
680 - lf-infra-wrappers:
681 build-timeout: '{build-timeout}'
682 jenkins-ssh-credential: '{jenkins-ssh-credential}'
683
Matteo Scandolo0430f672020-05-07 11:50:26 -0700684 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800685 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700686 release: master
687
Matteo Scandolo0430f672020-05-07 11:50:26 -0700688 bbsimImg: voltha/bbsim:master
689 rwCoreImg: voltha/voltha-rw-core:master
690 ofAgentImg: voltha/voltha-ofagent-go:master
691 openoltAdapterImg: voltha/voltha-openolt-adapter:master
692 openonuAdapterImg: voltha/voltha-openonu-adapter:master
693 onosImg: voltha/voltha-onos:master
694
695 bbsimChart: onf/bbsim
696 volthaChart: onf/voltha
697 openoltAdapterChart: onf/voltha-adapter-openolt
698 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700699 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700700 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700701
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800702 volthaStacks: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700703 olts: 2
704 pons: 2
705 onus: 2
706 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700707 withFlows: true
708 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700709 withEapol: true
710 withDhcp: true
711 withIgmp: false
712 withLLDP: false
713 withMibTemplate: true
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700714 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700715 withProfiling: false
716 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700717 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700718 openonuAdapterReplicas: 1
719 onosReplicas: 1
720 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700721 kafkaReplicas: 1
722 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700723 extraHelmFlags: ''
724 onosStatInterval: 5
725 volthaSystemTestsChange: ''
726 kindVolthaChange: ''
727 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700728 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700729 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700730 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700731
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700732 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200733
Matteo Scandolo51b76302020-02-05 12:07:23 -0800734 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800735 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800736
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700737 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700738
Matteo Scandolo849db722020-10-21 10:58:41 -0700739 triggers:
740 - gerrit:
741 server-name: '{gerrit-server-name}'
742 silent-start: false
743 successful-message: "PASSED scale test"
744 failure-message: "FAILED scale test"
745 unstable-message: "UNSTABLE scale test"
746 trigger-on:
747 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700748 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700749 projects:
750 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700751 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700752 branches:
753 - branch-compare-type: REG_EXP
754 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700755- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700756 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700757 name: '{name}'
758 pipeline-script: 'voltha-scale-matrix.groovy'
759
760 description: |
761 <!-- Managed by Jenkins Job Builder -->
762 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
763 Using pipeline {pipeline-script} <br/><br/>
764 Scale measurements for VOLTHA 2.x
765
766 properties:
767 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800768 build-days-to-keep: '{big-build-days-to-keep}'
769 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700770
771 wrappers:
772 - lf-infra-wrappers:
773 build-timeout: '{build-timeout}'
774 jenkins-ssh-credential: '{jenkins-ssh-credential}'
775
776 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800777 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700778 release: master
779 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700780 volthaSystemTestsChange: ''
781 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700782 onosReplicas: 1
783 atomixReplicas: 0
784 kafkaReplicas: 1
785 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800786 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800787 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700788
789 project-type: pipeline
790 concurrent: false
791
792 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700793
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700794 parameters:
795 - string:
796 name: release
797 default: '{release}'
798 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
799
800 - string:
801 name: buildNode
802 default: '{build-node}'
803 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700804
805 - string:
806 name: volthaSystemTestsChange
807 default: '{volthaSystemTestsChange}'
808 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
809
810 - string:
811 name: kindVolthaChange
812 default: '{kindVolthaChange}'
813 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 -0700814
815 - string:
816 name: onosReplicas
817 default: '{onosReplicas}'
818 description: 'How many ONOSes instances to run'
819
820 - string:
821 name: atomixReplicas
822 default: '{atomixReplicas}'
823 description: 'How many Atomix instances to run'
824
825 - string:
826 name: kafkaReplicas
827 default: '{kafkaReplicas}'
828 description: 'How many Kafka instances to run'
829
830 - string:
831 name: etcdReplicas
832 default: '{etcdReplicas}'
833 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800834
835 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800836 name: openonuAdapterReplicas
837 default: '{openonuAdapterReplicas}'
838 description: 'How many OpenONU adapter instances to run'
839
840 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800841 name: topologies
842 default: '{topologies}'
843 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
844
845 triggers:
846 - timed: |
847 TZ=America/Los_Angeles
848 {time-trigger}