blob: 9d12a41a2a876cc56773a88a838dd44be651ab0e [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
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020028 extraHelmFlags: '--set use_openonu_adapter_go=true'
Matteo Scandolo45ad8f52020-08-11 09:07:49 -070029
Andrea Campanellabdb199e2020-10-27 10:47:16 +010030 - 'voltha-scale-measurements':
Andrea Campanella37e8a452020-11-18 22:27:58 +010031 name: 'voltha-openonu-go-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandolo4c4fbdd2020-11-04 13:49:42 -080032 'disable-job': false
Andrea Campanellabdb199e2020-10-27 10:47:16 +010033 build-node: 'onf-pod1-head-node'
34 time-trigger: "H H/4 * * *"
Andrea Campanella37e8a452020-11-18 22:27:58 +010035 olts: 2
Andrea Campanellabdb199e2020-10-27 10:47:16 +010036 pons: 16
37 onus: 32
38 withFlows: true
39 provisionSubscribers: true
40 withEapol: true
41 withDhcp: true
42 withIgmp: false
Andrea Campanellabdb199e2020-10-27 10:47:16 +010043 openonuAdapterReplicas: 1
Andrea Campanella04ca93a2020-11-07 14:57:50 +010044 extraHelmFlags: '--set use_openonu_adapter_go=true,authRetry=true,dhcpRetry=true'
Andrea Campanellabdb199e2020-10-27 10:47:16 +010045
Matteo Scandolo8df57162020-10-06 14:43:53 -070046 # this job will be used to test custom images without disrupting tests on master
47 - 'voltha-scale-measurements':
48 name: 'voltha-scale-measurements-master-experimental'
49 build-node: 'onf-pod1-head-node'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080050 'disable-job': false
Matteo Scandoloe6647a02020-11-02 10:27:52 -080051 # trigger on Feb 29th (a.k.a only trigger it manually)
52 time-trigger: "H 0 29 2 *"
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -070053 withMonitoring: false
Matteo Scandoloe6647a02020-11-02 10:27:52 -080054 olts: 2
Matteo Scandolo8df57162020-10-06 14:43:53 -070055 pons: 16
56 onus: 32
57 withFlows: true
58 provisionSubscribers: true
59 withEapol: true
60 withDhcp: true
61 withIgmp: false
Matteo Scandolo0feb5e92020-10-27 19:34:51 -070062 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo8df57162020-10-06 14:43:53 -070063 withPcap: true
Matteo Scandolo9665d592020-10-23 19:08:14 +000064
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080065 - 'voltha-scale-measurements':
66 name: 'voltha-scale-measurements-master-experimental-multi-stack'
67 build-node: 'onf-pod1-head-node'
68 pipeline-script: 'voltha-scale-multi-stack.groovy'
69 'disable-job': false
70 # trigger on Feb 29th (a.k.a only trigger it manually)
Matteo Scandolodc4608c2020-11-12 16:48:16 -080071 # time-trigger: "H 0 29 2 *"
72 time-trigger: "H H/4 * * *"
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080073 withMonitoring: false
Matteo Scandolof7ca6312020-11-16 15:57:15 -080074 logLevel: WARN
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080075 volthaStacks: 2
76 olts: 2
Matteo Scandolof6656562020-11-16 14:45:44 -080077 pons: 16
78 onus: 32
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080079 withFlows: true
80 provisionSubscribers: true
Matteo Scandolof7ca6312020-11-16 15:57:15 -080081 workflow: dt
82 withEapol: false
83 withDhcp: false
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080084 withIgmp: false
85 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080086 volthaSystemTestsChange: refs/changes/27/21627/2
87 kindVolthaChange: refs/changes/85/21485/8
Matteo Scandolof6656562020-11-16 14:45:44 -080088 openoltAdapterImg: matteoscandolo/voltha-openolt-adapter:topic
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080089
Matteo Scandolo8df57162020-10-06 14:43:53 -070090
Matteo Scandoloe51ef6c2020-09-28 10:32:12 -070091 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS (1 OLT)
Matteo Scandoloe4b04342020-05-28 07:35:45 -070092 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070093 name: 'voltha-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080094 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -070095 build-node: 'onf-pod1-head-node'
96 time-trigger: "H H/4 * * *"
97 olts: 1
98 pons: 16
99 onus: 32
100 withFlows: true
101 provisionSubscribers: true
102 withEapol: true
103 withDhcp: true
104 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700105 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700106
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700107 - 'voltha-scale-measurements':
108 name: 'voltha-scale-measurements-master-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800109 'disable-job': false
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700110 build-node: 'onf-pod1-head-node'
111 time-trigger: "H H/4 * * *"
112 olts: 1
113 pons: 16
114 onus: 32
115 withFlows: true
116 provisionSubscribers: true
117 workflow: tt
118 withEapol: false
119 withDhcp: true
120 withIgmp: true
Matteo Scandolo37cba472020-10-26 14:15:34 -0700121 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700122
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700123 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700124 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800125 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700126 build-node: 'onf-pod1-head-node'
127 time-trigger: "H H/4 * * *"
128 olts: 1
129 pons: 16
130 onus: 32
131 withFlows: true
132 provisionSubscribers: true
133 workflow: dt
134 withEapol: false
135 withDhcp: false
136 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700137 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200138
Matteo Scandolo272aed42020-05-08 15:05:57 -0700139 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700140 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700141 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandolof2c8a642020-11-05 08:54:50 -0800142 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700143 build-node: 'onf-pod1-head-node'
144 time-trigger: "H H/4 * * *"
145 olts: 2
146 pons: 16
147 onus: 32
148 withFlows: true
149 provisionSubscribers: true
150 withEapol: true
151 withDhcp: true
152 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700153 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700154
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700155 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700156 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800157 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700158 build-node: 'onf-pod1-head-node'
159 time-trigger: "H H/4 * * *"
160 olts: 2
161 pons: 16
162 onus: 32
163 withFlows: true
164 provisionSubscribers: true
165 workflow: dt
166 withEapol: false
167 withDhcp: false
168 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700169 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo86939302020-10-30 13:32:08 -0700170
171 - 'voltha-scale-measurements':
172 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800173 'disable-job': false
Matteo Scandolo86939302020-10-30 13:32:08 -0700174 build-node: 'onf-pod1-head-node'
175 time-trigger: "H H/4 * * *"
176 olts: 2
177 pons: 16
178 onus: 32
179 withFlows: true
180 provisionSubscribers: true
181 workflow: tt
182 withEapol: false
183 withDhcp: true
184 withIgmp: true
185 openonuAdapterReplicas: 8
186 onosReplicas: 3
187 atomixReplicas: 3
Matteo Scandolo86939302020-10-30 13:32:08 -0700188 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700189
Matteo Scandolo031bd982020-09-16 10:03:47 -0700190 # voltha-2.5 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700191 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700192 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800193 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700194 build-node: 'onf-pod1-head-node'
195 time-trigger: "H H/4 * * *"
196 olts: 1
197 pons: 16
198 onus: 32
199 withFlows: true
200 provisionSubscribers: true
201 withEapol: true
202 withDhcp: true
203 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700204 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700205 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700206 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700207 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700208 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700209 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700210 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200211 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700212
213 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700214 name: 'voltha-scale-measurements-voltha-2.5-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800215 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700216 build-node: 'onf-pod1-head-node'
217 time-trigger: "H H/4 * * *"
218 olts: 2
219 pons: 16
220 onus: 32
221 withFlows: true
222 provisionSubscribers: true
223 workflow: dt
224 withEapol: false
225 withDhcp: false
226 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700227 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700228 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700229 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700230 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700231 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700232 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700233 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200234 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700235
Matteo Scandolo031bd982020-09-16 10:03:47 -0700236 - 'voltha-scale-measurements':
237 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800238 'disable-job': false
Matteo Scandolo031bd982020-09-16 10:03:47 -0700239 build-node: 'onf-pod1-head-node'
240 time-trigger: "H H/4 * * *"
241 olts: 1
242 pons: 16
243 onus: 32
244 withFlows: true
245 provisionSubscribers: true
246 workflow: tt
247 withEapol: false
248 withDhcp: true
249 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700250 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
251 release: voltha-2.5
252 bbsimImg: ''
253 rwCoreImg: ''
254 ofAgentImg: ''
255 openoltAdapterImg: ''
256 openonuAdapterImg: ''
257 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700258
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700259 # per patchset job
260 - 'voltha-scale-measurements':
261 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
262 build-node: 'onf-pod1-head-node'
263 olts: 1
264 pons: 16
265 onus: 32
266 withFlows: true
267 provisionSubscribers: true
268 withEapol: true
269 withDhcp: true
270 withIgmp: false
271 withMonitoring: false
272 trigger-comment: "voltha scale test ATT"
273
274 - 'voltha-scale-measurements':
275 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
276 build-node: 'onf-pod1-head-node'
277 olts: 1
278 pons: 16
279 onus: 32
280 withFlows: true
281 provisionSubscribers: true
282 workflow: tt
283 withEapol: false
284 withDhcp: true
285 withIgmp: true
286 withMonitoring: false
287 trigger-comment: "voltha scale test TT"
288
289 - 'voltha-scale-measurements':
290 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
291 build-node: 'onf-pod1-head-node'
292 olts: 1
293 pons: 16
294 onus: 32
295 withFlows: true
296 provisionSubscribers: true
297 workflow: dt
298 withEapol: false
299 withDhcp: false
300 withIgmp: false
301 withMonitoring: false
302 trigger-comment: "voltha scale test DT"
303
Matteo Scandolo272aed42020-05-08 15:05:57 -0700304 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700305 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700306 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700307 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700308 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700309
Matteo Scandolodc930192020-08-27 15:56:16 -0700310 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700311 - 'voltha-scale-matrix':
312 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700313 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800314
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700315 # development matrix
316 - 'voltha-scale-matrix':
317 name: 'voltha-scale-matrix-voltha-master'
318 build-node: 'onf-pod1-head-node'
319 onosReplicas: 3
320 atomixReplicas: 3
321 kafkaReplicas: 3
322 etcdReplicas: 3
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800323 openonuAdapterReplicas: 8
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800324 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800325 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700326
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700327# list of parameters for the VOLTHA Jobs,
328# used as anchor so that can be shared across multiple jobs
329# to use in a job: `parameters: *voltha-build-job-parameters`
330- voltha-scale-job-parameters: &voltha-scale-job-parameters
331 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700332 parameters:
333 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800334 name: pipeline-script
335 default: '{pipeline-script}'
336 description: 'The pipeline script to use'
337
338 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700339 name: release
340 default: '{release}'
341 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
342
343 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700344 name: buildNode
345 default: '{build-node}'
346 description: 'Name of the Jenkins node to run the job on'
347
348 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700349 name: dockerRegistry
350 default: '{dockerRegistry}'
351 description: 'Address of the docker registry to use if we are building custom images'
352
353 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700354 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700355 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700356 description: 'Log level for all the components'
357
358 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800359 name: volthaStacks
360 default: '{volthaStacks}'
361 description: 'Number of VOLTHA Stacks to deploy'
362
363 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700364 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700365 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700366 description: 'Number of ONUs to provision'
367
368 - string:
369 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700370 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700371 description: 'Number of PONs to provision'
372
373 - string:
374 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700375 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700376 description: 'How many BBSim instances to run'
377
378 - string:
379 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700380 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700381 description: 'Which workflow are we testing (att, dt, tt)'
382
383 - bool:
384 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700385 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700386 description: 'Wheter to push flows from ONOS'
387
388 - bool:
389 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700390 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700391 description: 'Wheter to provision subscribers durint the tests'
392
393 - bool:
394 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700395 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700396 description: 'Wheter EAPOL is enabled for the test'
397
398 - bool:
399 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700400 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700401 description: 'Wheter DHCP is enabled for the test'
402
403 - bool:
404 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700405 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700406 description: 'Wheter IGMP is enabled for the test'
407
408 - bool:
409 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700410 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700411 description: 'Wheter Link Discovery is enabled for the test'
412
413 - bool:
414 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700415 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700416 description: 'Option to trigger MIB template command'
417
418 - bool:
419 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700420 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700421 description: 'Option to install Prometheus'
422
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700423 - bool:
424 name: withProfiling
425 default: '{withProfiling}'
426 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
427
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700428 - bool:
429 name: withPcap
430 default: '{withPcap}'
431 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
432
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700433 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700434 name: withRadius
435 default: '{withRadius}'
436 description: 'Value to pass to kind-voltha WITH_RADIUS'
437
438 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700439 name: extraHelmFlags
440 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700441 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 -0700442
Matteo Scandolo272aed42020-05-08 15:05:57 -0700443 - string:
444 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700445 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700446 description: 'How many OpenONU adapter instances to run'
447
448 - string:
449 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700450 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700451 description: 'How many ONOSes instances to run'
452
453 - string:
454 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700455 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700456 description: 'How many Atomix instances to run'
457
458 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700459 name: kafkaReplicas
460 default: '{kafkaReplicas}'
461 description: 'How many Kafka instances to run'
462
463 - string:
464 name: etcdReplicas
465 default: '{etcdReplicas}'
466 description: 'How many ETCD instances to run'
467
468 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700469 name: onosStatInterval
470 default: '{onosStatInterval}'
471 description: 'How often ONOS should poll for ports, flows and meters'
472
473 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700474 name: bbsimImg
475 default: '{bbsimImg}'
476 description: 'Custom image selection for BBSIM (repo:tag)'
477
478 - string:
479 name: bbsimChart
480 default: '{bbsimChart}'
481 description: 'BBSim chart name (or location on file system)'
482
483 - string:
484 name: rwCoreImg
485 default: '{rwCoreImg}'
486 description: 'Custom image selection for VOLTHA (repo:tag)'
487
488 - string:
489 name: ofAgentImg
490 default: '{ofAgentImg}'
491 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
492
493 - string:
494 name: volthaChart
495 default: '{volthaChart}'
496 description: 'VOLTHA chart name (or location on file system)'
497
498 - string:
499 name: openoltAdapterImg
500 default: '{openoltAdapterImg}'
501 description: 'Custom image selection for Openolt Adapter (repo:tag)'
502
503 - string:
504 name: openoltAdapterChart
505 default: '{openoltAdapterChart}'
506 description: 'OpenOLT chart name (or location on file system)'
507
508 - string:
509 name: openonuAdapterImg
510 default: '{openonuAdapterImg}'
511 description: 'Custom image selection for Openonu Adapter (repo:tag)'
512
513 - string:
Andrea Campanella28763082020-11-18 10:55:31 +0100514 name: openonuAdapterGoImg
515 default: '{openonuAdapterGoImg}'
516 description: 'Custom image selection for Openonu Go Adapter (repo:tag)'
517
518 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700519 name: openonuAdapterChart
520 default: '{openonuAdapterChart}'
521 description: 'OpenONU chart name (or location on file system)'
522
523 - string:
524 name: onosImg
525 default: '{onosImg}'
526 description: 'Custom image selection for Openonu Adapter (repo:tag)'
527
528 - string:
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700529 name: onosChart
530 default: '{onosChart}'
531 description: 'ONOS chart name (or location on file system)'
532
533 - string:
Matteo Scandolo06506102020-10-13 12:24:20 -0700534 name: radiusChart
535 default: '{radiusChart}'
536 description: 'freeradius chart name (or location on file system)'
537
538 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700539 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700540 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700541 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
542
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700543 - string:
544 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700545 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700546 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
547
Matteo Scandoloccc06192020-06-22 10:16:17 -0700548 - bool:
549 name: inMemoryEtcdStorage
550 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700551 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700552
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200553 - string:
554 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700555 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200556 description: 'Karaf home'
557
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700558- job-template:
559 id: 'voltha-scale-measurements'
560 name: '{name}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700561 disabled: '{disable-job}'
562
563 description: |
564 <!-- Managed by Jenkins Job Builder -->
565 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
566 Using pipeline {pipeline-script} <br/><br/>
567 Scale measurements for VOLTHA 2.x
568
569 properties:
570 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800571 build-days-to-keep: '{big-build-days-to-keep}'
572 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700573
574 wrappers:
575 - lf-infra-wrappers:
576 build-timeout: '{build-timeout}'
577 jenkins-ssh-credential: '{jenkins-ssh-credential}'
578
579 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800580 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700581 release: master
582
583 bbsimImg: voltha/bbsim:master
584 rwCoreImg: voltha/voltha-rw-core:master
585 ofAgentImg: voltha/voltha-ofagent-go:master
586 openoltAdapterImg: voltha/voltha-openolt-adapter:master
587 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100588 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700589 onosImg: voltha/voltha-onos:master
590
591 bbsimChart: onf/bbsim
592 volthaChart: onf/voltha
593 openoltAdapterChart: onf/voltha-adapter-openolt
594 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700595 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700596 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700597
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800598 volthaStacks: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700599 olts: 2
600 pons: 2
601 onus: 2
602 workflow: att
603 withFlows: false
604 provisionSubscribers: false
605 withEapol: true
606 withDhcp: true
607 withIgmp: false
608 withLLDP: false
609 withMibTemplate: true
610 withMonitoring: true
611 withProfiling: false
612 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700613 withRadius: yes
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700614 openonuAdapterReplicas: 8
615 onosReplicas: 3
616 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700617 kafkaReplicas: 3
618 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700619 extraHelmFlags: ''
620 onosStatInterval: 5
621 volthaSystemTestsChange: ''
622 kindVolthaChange: ''
623 inMemoryEtcdStorage: true
624 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700625 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700626 dockerRegistry: 10.90.0.101:30500
627 trigger-comment: vv7CBoQQYYonvaN8xcru
628 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700629
630 <<: *voltha-scale-job-parameters
631
Matteo Scandolo272aed42020-05-08 15:05:57 -0700632 project-type: pipeline
633 concurrent: false
634
635 dsl: !include-raw-escape: pipeline/{pipeline-script}
636
Matteo Scandoloabb83972020-06-25 16:08:23 -0700637 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700638 # periodic jobs will set this every 4 hours
639 # 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 -0700640 - timed: |
641 TZ=America/Los_Angeles
642 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700643 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
644 # patchset jobs will set this to a meaningful comment
645 - gerrit:
646 server-name: '{gerrit-server-name}'
647 silent-start: false
648 successful-message: "PASSED scale test"
649 failure-message: "FAILED scale test"
650 unstable-message: "UNSTABLE scale test"
651 trigger-on:
652 - comment-added-contains-event:
653 comment-contains-value: '.*{trigger-comment}.*'
654 projects:
655 - project-compare-type: REG_EXP
656 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
657 branches:
658 - branch-compare-type: REG_EXP
659 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700660
661- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700662 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800663 name: '{name}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800664
665 description: |
666 <!-- Managed by Jenkins Job Builder -->
667 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
668 Using pipeline {pipeline-script} <br/><br/>
669 Scale measurements for VOLTHA 2.x
670
671 properties:
672 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800673 build-days-to-keep: '{big-build-days-to-keep}'
674 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800675
676 wrappers:
677 - lf-infra-wrappers:
678 build-timeout: '{build-timeout}'
679 jenkins-ssh-credential: '{jenkins-ssh-credential}'
680
Matteo Scandolo0430f672020-05-07 11:50:26 -0700681 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800682 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700683 release: master
684
Matteo Scandolo0430f672020-05-07 11:50:26 -0700685 bbsimImg: voltha/bbsim:master
686 rwCoreImg: voltha/voltha-rw-core:master
687 ofAgentImg: voltha/voltha-ofagent-go:master
688 openoltAdapterImg: voltha/voltha-openolt-adapter:master
689 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100690 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandolo0430f672020-05-07 11:50:26 -0700691 onosImg: voltha/voltha-onos:master
692
693 bbsimChart: onf/bbsim
694 volthaChart: onf/voltha
695 openoltAdapterChart: onf/voltha-adapter-openolt
696 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700697 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700698 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700699
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800700 volthaStacks: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700701 olts: 2
702 pons: 2
703 onus: 2
704 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700705 withFlows: true
706 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700707 withEapol: true
708 withDhcp: true
709 withIgmp: false
710 withLLDP: false
711 withMibTemplate: true
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700712 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700713 withProfiling: false
714 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700715 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700716 openonuAdapterReplicas: 1
717 onosReplicas: 1
718 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700719 kafkaReplicas: 1
720 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700721 extraHelmFlags: ''
722 onosStatInterval: 5
723 volthaSystemTestsChange: ''
724 kindVolthaChange: ''
725 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700726 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700727 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700728 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700729
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700730 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200731
Matteo Scandolo51b76302020-02-05 12:07:23 -0800732 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800733 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800734
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700735 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700736
Matteo Scandolo849db722020-10-21 10:58:41 -0700737 triggers:
738 - gerrit:
739 server-name: '{gerrit-server-name}'
740 silent-start: false
741 successful-message: "PASSED scale test"
742 failure-message: "FAILED scale test"
743 unstable-message: "UNSTABLE scale test"
744 trigger-on:
745 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700746 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700747 projects:
748 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700749 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700750 branches:
751 - branch-compare-type: REG_EXP
752 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700753- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700754 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700755 name: '{name}'
756 pipeline-script: 'voltha-scale-matrix.groovy'
757
758 description: |
759 <!-- Managed by Jenkins Job Builder -->
760 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
761 Using pipeline {pipeline-script} <br/><br/>
762 Scale measurements for VOLTHA 2.x
763
764 properties:
765 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800766 build-days-to-keep: '{big-build-days-to-keep}'
767 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700768
769 wrappers:
770 - lf-infra-wrappers:
771 build-timeout: '{build-timeout}'
772 jenkins-ssh-credential: '{jenkins-ssh-credential}'
773
774 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800775 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700776 release: master
777 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700778 volthaSystemTestsChange: ''
779 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700780 onosReplicas: 1
781 atomixReplicas: 0
782 kafkaReplicas: 1
783 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800784 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800785 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700786
787 project-type: pipeline
788 concurrent: false
789
790 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700791
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700792 parameters:
793 - string:
794 name: release
795 default: '{release}'
796 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
797
798 - string:
799 name: buildNode
800 default: '{build-node}'
801 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700802
803 - string:
804 name: volthaSystemTestsChange
805 default: '{volthaSystemTestsChange}'
806 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
807
808 - string:
809 name: kindVolthaChange
810 default: '{kindVolthaChange}'
811 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 -0700812
813 - string:
814 name: onosReplicas
815 default: '{onosReplicas}'
816 description: 'How many ONOSes instances to run'
817
818 - string:
819 name: atomixReplicas
820 default: '{atomixReplicas}'
821 description: 'How many Atomix instances to run'
822
823 - string:
824 name: kafkaReplicas
825 default: '{kafkaReplicas}'
826 description: 'How many Kafka instances to run'
827
828 - string:
829 name: etcdReplicas
830 default: '{etcdReplicas}'
831 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800832
833 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800834 name: openonuAdapterReplicas
835 default: '{openonuAdapterReplicas}'
836 description: 'How many OpenONU adapter instances to run'
837
838 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800839 name: topologies
840 default: '{topologies}'
841 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
842
843 triggers:
844 - timed: |
845 TZ=America/Los_Angeles
846 {time-trigger}