blob: 2d6a85947a9f4203aaf3f27b613bb76538faf4f2 [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
Girish Gowdra0de34422020-11-19 11:58:12 -080046 - 'voltha-scale-measurements':
47 name: 'voltha-openonu-go-scale-measurements-master-1-16-32-tt-subscribers'
48 'disable-job': false
49 build-node: 'onf-pod1-head-node'
50 time-trigger: "H H/4 * * *"
51 olts: 1
52 pons: 16
53 onus: 32
54 withFlows: true
55 workflow: tt
56 provisionSubscribers: true
57 withEapol: false
58 withDhcp: true
59 withIgmp: false
60 openonuAdapterReplicas: 1
61 openonuAdapterImg: voltha/voltha-openonu-adapter-go:master
62 extraHelmFlags: '--set use_openonu_adapter_go=true,dhcpRetry=true,defaults.incremental_evto_update=true'
63
Matteo Scandolo8df57162020-10-06 14:43:53 -070064 # this job will be used to test custom images without disrupting tests on master
65 - 'voltha-scale-measurements':
66 name: 'voltha-scale-measurements-master-experimental'
Matteo Scandolobe823242020-11-20 13:48:13 -080067 build-node: 'voltha-scale-2'
Andrea Campanella642e5502020-11-19 19:47:02 +010068 pipeline-script: 'voltha-scale-test-etcd-kafka-bitnami.groovy'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080069 'disable-job': false
Matteo Scandoloe6647a02020-11-02 10:27:52 -080070 # trigger on Feb 29th (a.k.a only trigger it manually)
71 time-trigger: "H 0 29 2 *"
Andrea Campanella642e5502020-11-19 19:47:02 +010072 withMonitoring: true
Matteo Scandoloe6647a02020-11-02 10:27:52 -080073 olts: 2
Matteo Scandolo8df57162020-10-06 14:43:53 -070074 pons: 16
75 onus: 32
76 withFlows: true
77 provisionSubscribers: true
78 withEapol: true
79 withDhcp: true
80 withIgmp: false
Matteo Scandolo0feb5e92020-10-27 19:34:51 -070081 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo8df57162020-10-06 14:43:53 -070082 withPcap: true
Matteo Scandolobe823242020-11-20 13:48:13 -080083 openoltAdapterImg: gcgirish/voltha-openolt-adapter:writeThroughCache
Matteo Scandolo9665d592020-10-23 19:08:14 +000084
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080085 - 'voltha-scale-measurements':
86 name: 'voltha-scale-measurements-master-experimental-multi-stack'
Matteo Scandolobe823242020-11-20 13:48:13 -080087 build-node: 'voltha-scale-2'
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080088 pipeline-script: 'voltha-scale-multi-stack.groovy'
89 'disable-job': false
90 # trigger on Feb 29th (a.k.a only trigger it manually)
Matteo Scandolodc4608c2020-11-12 16:48:16 -080091 # time-trigger: "H 0 29 2 *"
92 time-trigger: "H H/4 * * *"
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080093 withMonitoring: false
Matteo Scandolof7ca6312020-11-16 15:57:15 -080094 logLevel: WARN
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080095 volthaStacks: 2
96 olts: 2
Matteo Scandolof6656562020-11-16 14:45:44 -080097 pons: 16
98 onus: 32
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080099 withFlows: true
100 provisionSubscribers: true
Matteo Scandolof7ca6312020-11-16 15:57:15 -0800101 workflow: dt
102 withEapol: false
103 withDhcp: false
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800104 withIgmp: false
105 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800106 volthaSystemTestsChange: refs/changes/27/21627/2
107 kindVolthaChange: refs/changes/85/21485/8
Matteo Scandolof6656562020-11-16 14:45:44 -0800108 openoltAdapterImg: matteoscandolo/voltha-openolt-adapter:topic
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800109
Matteo Scandolo8df57162020-10-06 14:43:53 -0700110
Matteo Scandoloe51ef6c2020-09-28 10:32:12 -0700111 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS (1 OLT)
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700112 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700113 name: 'voltha-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800114 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700115 build-node: 'onf-pod1-head-node'
116 time-trigger: "H H/4 * * *"
117 olts: 1
118 pons: 16
119 onus: 32
120 withFlows: true
121 provisionSubscribers: true
122 withEapol: true
123 withDhcp: true
124 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700125 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700126
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700127 - 'voltha-scale-measurements':
128 name: 'voltha-scale-measurements-master-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800129 'disable-job': false
Matteo Scandoloc05da5c2020-09-01 15:05:50 -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: tt
138 withEapol: false
139 withDhcp: true
140 withIgmp: true
Matteo Scandolo37cba472020-10-26 14:15:34 -0700141 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700142
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700143 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700144 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800145 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700146 build-node: 'onf-pod1-head-node'
147 time-trigger: "H H/4 * * *"
148 olts: 1
149 pons: 16
150 onus: 32
151 withFlows: true
152 provisionSubscribers: true
153 workflow: dt
154 withEapol: false
155 withDhcp: false
156 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700157 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200158
Matteo Scandolo272aed42020-05-08 15:05:57 -0700159 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700160 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700161 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandolof2c8a642020-11-05 08:54:50 -0800162 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700163 build-node: 'onf-pod1-head-node'
164 time-trigger: "H H/4 * * *"
165 olts: 2
166 pons: 16
167 onus: 32
168 withFlows: true
169 provisionSubscribers: true
170 withEapol: true
171 withDhcp: true
172 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700173 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700174
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700175 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700176 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800177 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -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: dt
186 withEapol: false
187 withDhcp: false
188 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700189 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo86939302020-10-30 13:32:08 -0700190
191 - 'voltha-scale-measurements':
192 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800193 'disable-job': false
Matteo Scandolo86939302020-10-30 13:32:08 -0700194 build-node: 'onf-pod1-head-node'
195 time-trigger: "H H/4 * * *"
196 olts: 2
197 pons: 16
198 onus: 32
199 withFlows: true
200 provisionSubscribers: true
201 workflow: tt
202 withEapol: false
203 withDhcp: true
204 withIgmp: true
205 openonuAdapterReplicas: 8
206 onosReplicas: 3
207 atomixReplicas: 3
Matteo Scandolo86939302020-10-30 13:32:08 -0700208 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700209
Matteo Scandolo031bd982020-09-16 10:03:47 -0700210 # voltha-2.5 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700211 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700212 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800213 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700214 build-node: 'onf-pod1-head-node'
215 time-trigger: "H H/4 * * *"
216 olts: 1
217 pons: 16
218 onus: 32
219 withFlows: true
220 provisionSubscribers: true
221 withEapol: true
222 withDhcp: true
223 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700224 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700225 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700226 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700227 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700228 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700229 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700230 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200231 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700232
233 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700234 name: 'voltha-scale-measurements-voltha-2.5-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800235 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700236 build-node: 'onf-pod1-head-node'
237 time-trigger: "H H/4 * * *"
238 olts: 2
239 pons: 16
240 onus: 32
241 withFlows: true
242 provisionSubscribers: true
243 workflow: dt
244 withEapol: false
245 withDhcp: false
246 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700247 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700248 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700249 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700250 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700251 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700252 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700253 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200254 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700255
Matteo Scandolo031bd982020-09-16 10:03:47 -0700256 - 'voltha-scale-measurements':
257 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800258 'disable-job': false
Matteo Scandolo031bd982020-09-16 10:03:47 -0700259 build-node: 'onf-pod1-head-node'
260 time-trigger: "H H/4 * * *"
261 olts: 1
262 pons: 16
263 onus: 32
264 withFlows: true
265 provisionSubscribers: true
266 workflow: tt
267 withEapol: false
268 withDhcp: true
269 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700270 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
271 release: voltha-2.5
272 bbsimImg: ''
273 rwCoreImg: ''
274 ofAgentImg: ''
275 openoltAdapterImg: ''
276 openonuAdapterImg: ''
277 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700278
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700279 # per patchset job
280 - 'voltha-scale-measurements':
281 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
282 build-node: 'onf-pod1-head-node'
283 olts: 1
284 pons: 16
285 onus: 32
286 withFlows: true
287 provisionSubscribers: true
288 withEapol: true
289 withDhcp: true
290 withIgmp: false
291 withMonitoring: false
292 trigger-comment: "voltha scale test ATT"
293
294 - 'voltha-scale-measurements':
295 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
296 build-node: 'onf-pod1-head-node'
297 olts: 1
298 pons: 16
299 onus: 32
300 withFlows: true
301 provisionSubscribers: true
302 workflow: tt
303 withEapol: false
304 withDhcp: true
305 withIgmp: true
306 withMonitoring: false
307 trigger-comment: "voltha scale test TT"
308
309 - 'voltha-scale-measurements':
310 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
311 build-node: 'onf-pod1-head-node'
312 olts: 1
313 pons: 16
314 onus: 32
315 withFlows: true
316 provisionSubscribers: true
317 workflow: dt
318 withEapol: false
319 withDhcp: false
320 withIgmp: false
321 withMonitoring: false
322 trigger-comment: "voltha scale test DT"
323
Matteo Scandolo272aed42020-05-08 15:05:57 -0700324 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700325 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700326 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700327 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700328 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700329
Matteo Scandolodc930192020-08-27 15:56:16 -0700330 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700331 - 'voltha-scale-matrix':
332 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700333 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800334
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700335 # development matrix
336 - 'voltha-scale-matrix':
337 name: 'voltha-scale-matrix-voltha-master'
338 build-node: 'onf-pod1-head-node'
339 onosReplicas: 3
340 atomixReplicas: 3
341 kafkaReplicas: 3
342 etcdReplicas: 3
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800343 openonuAdapterReplicas: 8
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800344 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800345 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700346
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700347# list of parameters for the VOLTHA Jobs,
348# used as anchor so that can be shared across multiple jobs
349# to use in a job: `parameters: *voltha-build-job-parameters`
350- voltha-scale-job-parameters: &voltha-scale-job-parameters
351 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700352 parameters:
353 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800354 name: pipeline-script
355 default: '{pipeline-script}'
356 description: 'The pipeline script to use'
357
358 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700359 name: release
360 default: '{release}'
361 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
362
363 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700364 name: buildNode
365 default: '{build-node}'
366 description: 'Name of the Jenkins node to run the job on'
367
368 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700369 name: dockerRegistry
370 default: '{dockerRegistry}'
371 description: 'Address of the docker registry to use if we are building custom images'
372
373 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700374 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700375 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700376 description: 'Log level for all the components'
377
378 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800379 name: volthaStacks
380 default: '{volthaStacks}'
381 description: 'Number of VOLTHA Stacks to deploy'
382
383 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700384 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700385 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700386 description: 'Number of ONUs to provision'
387
388 - string:
389 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700390 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700391 description: 'Number of PONs to provision'
392
393 - string:
394 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700395 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700396 description: 'How many BBSim instances to run'
397
398 - string:
399 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700400 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700401 description: 'Which workflow are we testing (att, dt, tt)'
402
403 - bool:
404 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700405 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700406 description: 'Wheter to push flows from ONOS'
407
408 - bool:
409 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700410 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700411 description: 'Wheter to provision subscribers durint the tests'
412
413 - bool:
414 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700415 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700416 description: 'Wheter EAPOL is enabled for the test'
417
418 - bool:
419 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700420 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700421 description: 'Wheter DHCP is enabled for the test'
422
423 - bool:
424 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700425 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700426 description: 'Wheter IGMP is enabled for the test'
427
428 - bool:
429 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700430 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700431 description: 'Wheter Link Discovery is enabled for the test'
432
433 - bool:
434 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700435 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700436 description: 'Option to trigger MIB template command'
437
438 - bool:
439 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700440 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700441 description: 'Option to install Prometheus'
442
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700443 - bool:
444 name: withProfiling
445 default: '{withProfiling}'
446 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
447
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700448 - bool:
449 name: withPcap
450 default: '{withPcap}'
451 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
452
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700453 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700454 name: withRadius
455 default: '{withRadius}'
456 description: 'Value to pass to kind-voltha WITH_RADIUS'
457
458 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700459 name: extraHelmFlags
460 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700461 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 -0700462
Matteo Scandolo272aed42020-05-08 15:05:57 -0700463 - string:
464 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700465 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700466 description: 'How many OpenONU adapter instances to run'
467
468 - string:
469 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700470 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700471 description: 'How many ONOSes instances to run'
472
473 - string:
474 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700475 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700476 description: 'How many Atomix instances to run'
477
478 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700479 name: kafkaReplicas
480 default: '{kafkaReplicas}'
481 description: 'How many Kafka instances to run'
482
483 - string:
484 name: etcdReplicas
485 default: '{etcdReplicas}'
486 description: 'How many ETCD instances to run'
487
488 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700489 name: onosStatInterval
490 default: '{onosStatInterval}'
491 description: 'How often ONOS should poll for ports, flows and meters'
492
493 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700494 name: bbsimImg
495 default: '{bbsimImg}'
496 description: 'Custom image selection for BBSIM (repo:tag)'
497
498 - string:
499 name: bbsimChart
500 default: '{bbsimChart}'
501 description: 'BBSim chart name (or location on file system)'
502
503 - string:
504 name: rwCoreImg
505 default: '{rwCoreImg}'
506 description: 'Custom image selection for VOLTHA (repo:tag)'
507
508 - string:
509 name: ofAgentImg
510 default: '{ofAgentImg}'
511 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
512
513 - string:
514 name: volthaChart
515 default: '{volthaChart}'
516 description: 'VOLTHA chart name (or location on file system)'
517
518 - string:
519 name: openoltAdapterImg
520 default: '{openoltAdapterImg}'
521 description: 'Custom image selection for Openolt Adapter (repo:tag)'
522
523 - string:
524 name: openoltAdapterChart
525 default: '{openoltAdapterChart}'
526 description: 'OpenOLT chart name (or location on file system)'
527
528 - string:
529 name: openonuAdapterImg
530 default: '{openonuAdapterImg}'
531 description: 'Custom image selection for Openonu Adapter (repo:tag)'
532
533 - string:
Andrea Campanella28763082020-11-18 10:55:31 +0100534 name: openonuAdapterGoImg
535 default: '{openonuAdapterGoImg}'
536 description: 'Custom image selection for Openonu Go Adapter (repo:tag)'
537
538 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700539 name: openonuAdapterChart
540 default: '{openonuAdapterChart}'
541 description: 'OpenONU chart name (or location on file system)'
542
543 - string:
544 name: onosImg
545 default: '{onosImg}'
546 description: 'Custom image selection for Openonu Adapter (repo:tag)'
547
548 - string:
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700549 name: onosChart
550 default: '{onosChart}'
551 description: 'ONOS chart name (or location on file system)'
552
553 - string:
Matteo Scandolo06506102020-10-13 12:24:20 -0700554 name: radiusChart
555 default: '{radiusChart}'
556 description: 'freeradius chart name (or location on file system)'
557
558 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700559 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700560 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700561 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
562
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700563 - string:
564 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700565 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700566 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
567
Matteo Scandoloccc06192020-06-22 10:16:17 -0700568 - bool:
569 name: inMemoryEtcdStorage
570 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700571 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700572
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200573 - string:
574 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700575 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200576 description: 'Karaf home'
577
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700578- job-template:
579 id: 'voltha-scale-measurements'
580 name: '{name}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700581 disabled: '{disable-job}'
582
583 description: |
584 <!-- Managed by Jenkins Job Builder -->
585 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
586 Using pipeline {pipeline-script} <br/><br/>
587 Scale measurements for VOLTHA 2.x
588
589 properties:
590 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800591 build-days-to-keep: '{big-build-days-to-keep}'
592 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700593
594 wrappers:
595 - lf-infra-wrappers:
596 build-timeout: '{build-timeout}'
597 jenkins-ssh-credential: '{jenkins-ssh-credential}'
598
599 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800600 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700601 release: master
602
603 bbsimImg: voltha/bbsim:master
604 rwCoreImg: voltha/voltha-rw-core:master
605 ofAgentImg: voltha/voltha-ofagent-go:master
606 openoltAdapterImg: voltha/voltha-openolt-adapter:master
607 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100608 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700609 onosImg: voltha/voltha-onos:master
610
611 bbsimChart: onf/bbsim
612 volthaChart: onf/voltha
613 openoltAdapterChart: onf/voltha-adapter-openolt
614 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700615 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700616 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700617
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800618 volthaStacks: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700619 olts: 2
620 pons: 2
621 onus: 2
622 workflow: att
623 withFlows: false
624 provisionSubscribers: false
625 withEapol: true
626 withDhcp: true
627 withIgmp: false
628 withLLDP: false
629 withMibTemplate: true
630 withMonitoring: true
631 withProfiling: false
632 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700633 withRadius: yes
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700634 openonuAdapterReplicas: 8
635 onosReplicas: 3
636 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700637 kafkaReplicas: 3
638 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700639 extraHelmFlags: ''
640 onosStatInterval: 5
641 volthaSystemTestsChange: ''
642 kindVolthaChange: ''
643 inMemoryEtcdStorage: true
644 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700645 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700646 dockerRegistry: 10.90.0.101:30500
647 trigger-comment: vv7CBoQQYYonvaN8xcru
648 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700649
650 <<: *voltha-scale-job-parameters
651
Matteo Scandolo272aed42020-05-08 15:05:57 -0700652 project-type: pipeline
653 concurrent: false
654
655 dsl: !include-raw-escape: pipeline/{pipeline-script}
656
Matteo Scandoloabb83972020-06-25 16:08:23 -0700657 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700658 # periodic jobs will set this every 4 hours
659 # 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 -0700660 - timed: |
661 TZ=America/Los_Angeles
662 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700663 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
664 # patchset jobs will set this to a meaningful comment
665 - gerrit:
666 server-name: '{gerrit-server-name}'
667 silent-start: false
668 successful-message: "PASSED scale test"
669 failure-message: "FAILED scale test"
670 unstable-message: "UNSTABLE scale test"
671 trigger-on:
672 - comment-added-contains-event:
673 comment-contains-value: '.*{trigger-comment}.*'
674 projects:
675 - project-compare-type: REG_EXP
676 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
677 branches:
678 - branch-compare-type: REG_EXP
679 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700680
681- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700682 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800683 name: '{name}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800684
685 description: |
686 <!-- Managed by Jenkins Job Builder -->
687 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
688 Using pipeline {pipeline-script} <br/><br/>
689 Scale measurements for VOLTHA 2.x
690
691 properties:
692 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800693 build-days-to-keep: '{big-build-days-to-keep}'
694 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800695
696 wrappers:
697 - lf-infra-wrappers:
698 build-timeout: '{build-timeout}'
699 jenkins-ssh-credential: '{jenkins-ssh-credential}'
700
Matteo Scandolo0430f672020-05-07 11:50:26 -0700701 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800702 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700703 release: master
704
Matteo Scandolo0430f672020-05-07 11:50:26 -0700705 bbsimImg: voltha/bbsim:master
706 rwCoreImg: voltha/voltha-rw-core:master
707 ofAgentImg: voltha/voltha-ofagent-go:master
708 openoltAdapterImg: voltha/voltha-openolt-adapter:master
709 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100710 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandolo0430f672020-05-07 11:50:26 -0700711 onosImg: voltha/voltha-onos:master
712
713 bbsimChart: onf/bbsim
714 volthaChart: onf/voltha
715 openoltAdapterChart: onf/voltha-adapter-openolt
716 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700717 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700718 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700719
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800720 volthaStacks: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700721 olts: 2
722 pons: 2
723 onus: 2
724 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700725 withFlows: true
726 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700727 withEapol: true
728 withDhcp: true
729 withIgmp: false
730 withLLDP: false
731 withMibTemplate: true
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700732 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700733 withProfiling: false
734 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700735 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700736 openonuAdapterReplicas: 1
737 onosReplicas: 1
738 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700739 kafkaReplicas: 1
740 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700741 extraHelmFlags: ''
742 onosStatInterval: 5
743 volthaSystemTestsChange: ''
744 kindVolthaChange: ''
745 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700746 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700747 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700748 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700749
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700750 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200751
Matteo Scandolo51b76302020-02-05 12:07:23 -0800752 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800753 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800754
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700755 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700756
Matteo Scandolo849db722020-10-21 10:58:41 -0700757 triggers:
758 - gerrit:
759 server-name: '{gerrit-server-name}'
760 silent-start: false
761 successful-message: "PASSED scale test"
762 failure-message: "FAILED scale test"
763 unstable-message: "UNSTABLE scale test"
764 trigger-on:
765 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700766 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700767 projects:
768 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700769 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700770 branches:
771 - branch-compare-type: REG_EXP
772 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700773- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700774 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700775 name: '{name}'
776 pipeline-script: 'voltha-scale-matrix.groovy'
777
778 description: |
779 <!-- Managed by Jenkins Job Builder -->
780 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
781 Using pipeline {pipeline-script} <br/><br/>
782 Scale measurements for VOLTHA 2.x
783
784 properties:
785 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800786 build-days-to-keep: '{big-build-days-to-keep}'
787 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700788
789 wrappers:
790 - lf-infra-wrappers:
791 build-timeout: '{build-timeout}'
792 jenkins-ssh-credential: '{jenkins-ssh-credential}'
793
794 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800795 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700796 release: master
797 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700798 volthaSystemTestsChange: ''
799 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700800 onosReplicas: 1
801 atomixReplicas: 0
802 kafkaReplicas: 1
803 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800804 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800805 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700806
807 project-type: pipeline
808 concurrent: false
809
810 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700811
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700812 parameters:
813 - string:
814 name: release
815 default: '{release}'
816 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
817
818 - string:
819 name: buildNode
820 default: '{build-node}'
821 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700822
823 - string:
824 name: volthaSystemTestsChange
825 default: '{volthaSystemTestsChange}'
826 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
827
828 - string:
829 name: kindVolthaChange
830 default: '{kindVolthaChange}'
831 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 -0700832
833 - string:
834 name: onosReplicas
835 default: '{onosReplicas}'
836 description: 'How many ONOSes instances to run'
837
838 - string:
839 name: atomixReplicas
840 default: '{atomixReplicas}'
841 description: 'How many Atomix instances to run'
842
843 - string:
844 name: kafkaReplicas
845 default: '{kafkaReplicas}'
846 description: 'How many Kafka instances to run'
847
848 - string:
849 name: etcdReplicas
850 default: '{etcdReplicas}'
851 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800852
853 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800854 name: openonuAdapterReplicas
855 default: '{openonuAdapterReplicas}'
856 description: 'How many OpenONU adapter instances to run'
857
858 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800859 name: topologies
860 default: '{topologies}'
861 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
862
863 triggers:
864 - timed: |
865 TZ=America/Los_Angeles
866 {time-trigger}