blob: 5c7bab1e2a1825d40127cc5904818cf492ef65af [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'
67 build-node: 'onf-pod1-head-node'
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 Scandolo9665d592020-10-23 19:08:14 +000083
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080084 - 'voltha-scale-measurements':
85 name: 'voltha-scale-measurements-master-experimental-multi-stack'
86 build-node: 'onf-pod1-head-node'
87 pipeline-script: 'voltha-scale-multi-stack.groovy'
88 'disable-job': false
89 # trigger on Feb 29th (a.k.a only trigger it manually)
Matteo Scandolodc4608c2020-11-12 16:48:16 -080090 # time-trigger: "H 0 29 2 *"
91 time-trigger: "H H/4 * * *"
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080092 withMonitoring: false
Matteo Scandolof7ca6312020-11-16 15:57:15 -080093 logLevel: WARN
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080094 volthaStacks: 2
95 olts: 2
Matteo Scandolof6656562020-11-16 14:45:44 -080096 pons: 16
97 onus: 32
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080098 withFlows: true
99 provisionSubscribers: true
Matteo Scandolof7ca6312020-11-16 15:57:15 -0800100 workflow: dt
101 withEapol: false
102 withDhcp: false
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800103 withIgmp: false
104 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800105 volthaSystemTestsChange: refs/changes/27/21627/2
106 kindVolthaChange: refs/changes/85/21485/8
Matteo Scandolof6656562020-11-16 14:45:44 -0800107 openoltAdapterImg: matteoscandolo/voltha-openolt-adapter:topic
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800108
Matteo Scandolo8df57162020-10-06 14:43:53 -0700109
Matteo Scandoloe51ef6c2020-09-28 10:32:12 -0700110 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS (1 OLT)
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700111 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700112 name: 'voltha-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800113 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -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 withEapol: true
122 withDhcp: true
123 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700124 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700125
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700126 - 'voltha-scale-measurements':
127 name: 'voltha-scale-measurements-master-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800128 'disable-job': false
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700129 build-node: 'onf-pod1-head-node'
130 time-trigger: "H H/4 * * *"
131 olts: 1
132 pons: 16
133 onus: 32
134 withFlows: true
135 provisionSubscribers: true
136 workflow: tt
137 withEapol: false
138 withDhcp: true
139 withIgmp: true
Matteo Scandolo37cba472020-10-26 14:15:34 -0700140 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700141
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700142 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700143 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800144 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700145 build-node: 'onf-pod1-head-node'
146 time-trigger: "H H/4 * * *"
147 olts: 1
148 pons: 16
149 onus: 32
150 withFlows: true
151 provisionSubscribers: true
152 workflow: dt
153 withEapol: false
154 withDhcp: false
155 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700156 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200157
Matteo Scandolo272aed42020-05-08 15:05:57 -0700158 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700159 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700160 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandolof2c8a642020-11-05 08:54:50 -0800161 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700162 build-node: 'onf-pod1-head-node'
163 time-trigger: "H H/4 * * *"
164 olts: 2
165 pons: 16
166 onus: 32
167 withFlows: true
168 provisionSubscribers: true
169 withEapol: true
170 withDhcp: true
171 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700172 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700173
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700174 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700175 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800176 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700177 build-node: 'onf-pod1-head-node'
178 time-trigger: "H H/4 * * *"
179 olts: 2
180 pons: 16
181 onus: 32
182 withFlows: true
183 provisionSubscribers: true
184 workflow: dt
185 withEapol: false
186 withDhcp: false
187 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700188 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo86939302020-10-30 13:32:08 -0700189
190 - 'voltha-scale-measurements':
191 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800192 'disable-job': false
Matteo Scandolo86939302020-10-30 13:32:08 -0700193 build-node: 'onf-pod1-head-node'
194 time-trigger: "H H/4 * * *"
195 olts: 2
196 pons: 16
197 onus: 32
198 withFlows: true
199 provisionSubscribers: true
200 workflow: tt
201 withEapol: false
202 withDhcp: true
203 withIgmp: true
204 openonuAdapterReplicas: 8
205 onosReplicas: 3
206 atomixReplicas: 3
Matteo Scandolo86939302020-10-30 13:32:08 -0700207 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700208
Matteo Scandolo031bd982020-09-16 10:03:47 -0700209 # voltha-2.5 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700210 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700211 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800212 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700213 build-node: 'onf-pod1-head-node'
214 time-trigger: "H H/4 * * *"
215 olts: 1
216 pons: 16
217 onus: 32
218 withFlows: true
219 provisionSubscribers: true
220 withEapol: true
221 withDhcp: true
222 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700223 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700224 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700225 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700226 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700227 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700228 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700229 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200230 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700231
232 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700233 name: 'voltha-scale-measurements-voltha-2.5-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800234 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700235 build-node: 'onf-pod1-head-node'
236 time-trigger: "H H/4 * * *"
237 olts: 2
238 pons: 16
239 onus: 32
240 withFlows: true
241 provisionSubscribers: true
242 workflow: dt
243 withEapol: false
244 withDhcp: false
245 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700246 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700247 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700248 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700249 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700250 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700251 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700252 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200253 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700254
Matteo Scandolo031bd982020-09-16 10:03:47 -0700255 - 'voltha-scale-measurements':
256 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800257 'disable-job': false
Matteo Scandolo031bd982020-09-16 10:03:47 -0700258 build-node: 'onf-pod1-head-node'
259 time-trigger: "H H/4 * * *"
260 olts: 1
261 pons: 16
262 onus: 32
263 withFlows: true
264 provisionSubscribers: true
265 workflow: tt
266 withEapol: false
267 withDhcp: true
268 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700269 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
270 release: voltha-2.5
271 bbsimImg: ''
272 rwCoreImg: ''
273 ofAgentImg: ''
274 openoltAdapterImg: ''
275 openonuAdapterImg: ''
276 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700277
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700278 # per patchset job
279 - 'voltha-scale-measurements':
280 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
281 build-node: 'onf-pod1-head-node'
282 olts: 1
283 pons: 16
284 onus: 32
285 withFlows: true
286 provisionSubscribers: true
287 withEapol: true
288 withDhcp: true
289 withIgmp: false
290 withMonitoring: false
291 trigger-comment: "voltha scale test ATT"
292
293 - 'voltha-scale-measurements':
294 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
295 build-node: 'onf-pod1-head-node'
296 olts: 1
297 pons: 16
298 onus: 32
299 withFlows: true
300 provisionSubscribers: true
301 workflow: tt
302 withEapol: false
303 withDhcp: true
304 withIgmp: true
305 withMonitoring: false
306 trigger-comment: "voltha scale test TT"
307
308 - 'voltha-scale-measurements':
309 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
310 build-node: 'onf-pod1-head-node'
311 olts: 1
312 pons: 16
313 onus: 32
314 withFlows: true
315 provisionSubscribers: true
316 workflow: dt
317 withEapol: false
318 withDhcp: false
319 withIgmp: false
320 withMonitoring: false
321 trigger-comment: "voltha scale test DT"
322
Matteo Scandolo272aed42020-05-08 15:05:57 -0700323 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700324 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700325 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700326 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700327 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700328
Matteo Scandolodc930192020-08-27 15:56:16 -0700329 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700330 - 'voltha-scale-matrix':
331 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700332 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800333
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700334 # development matrix
335 - 'voltha-scale-matrix':
336 name: 'voltha-scale-matrix-voltha-master'
337 build-node: 'onf-pod1-head-node'
338 onosReplicas: 3
339 atomixReplicas: 3
340 kafkaReplicas: 3
341 etcdReplicas: 3
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800342 openonuAdapterReplicas: 8
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800343 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800344 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700345
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700346# list of parameters for the VOLTHA Jobs,
347# used as anchor so that can be shared across multiple jobs
348# to use in a job: `parameters: *voltha-build-job-parameters`
349- voltha-scale-job-parameters: &voltha-scale-job-parameters
350 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700351 parameters:
352 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800353 name: pipeline-script
354 default: '{pipeline-script}'
355 description: 'The pipeline script to use'
356
357 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700358 name: release
359 default: '{release}'
360 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
361
362 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700363 name: buildNode
364 default: '{build-node}'
365 description: 'Name of the Jenkins node to run the job on'
366
367 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700368 name: dockerRegistry
369 default: '{dockerRegistry}'
370 description: 'Address of the docker registry to use if we are building custom images'
371
372 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700373 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700374 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700375 description: 'Log level for all the components'
376
377 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800378 name: volthaStacks
379 default: '{volthaStacks}'
380 description: 'Number of VOLTHA Stacks to deploy'
381
382 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700383 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700384 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700385 description: 'Number of ONUs to provision'
386
387 - string:
388 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700389 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700390 description: 'Number of PONs to provision'
391
392 - string:
393 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700394 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700395 description: 'How many BBSim instances to run'
396
397 - string:
398 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700399 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700400 description: 'Which workflow are we testing (att, dt, tt)'
401
402 - bool:
403 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700404 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700405 description: 'Wheter to push flows from ONOS'
406
407 - bool:
408 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700409 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700410 description: 'Wheter to provision subscribers durint the tests'
411
412 - bool:
413 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700414 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700415 description: 'Wheter EAPOL is enabled for the test'
416
417 - bool:
418 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700419 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700420 description: 'Wheter DHCP is enabled for the test'
421
422 - bool:
423 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700424 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700425 description: 'Wheter IGMP is enabled for the test'
426
427 - bool:
428 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700429 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700430 description: 'Wheter Link Discovery is enabled for the test'
431
432 - bool:
433 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700434 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700435 description: 'Option to trigger MIB template command'
436
437 - bool:
438 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700439 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700440 description: 'Option to install Prometheus'
441
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700442 - bool:
443 name: withProfiling
444 default: '{withProfiling}'
445 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
446
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700447 - bool:
448 name: withPcap
449 default: '{withPcap}'
450 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
451
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700452 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700453 name: withRadius
454 default: '{withRadius}'
455 description: 'Value to pass to kind-voltha WITH_RADIUS'
456
457 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700458 name: extraHelmFlags
459 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700460 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 -0700461
Matteo Scandolo272aed42020-05-08 15:05:57 -0700462 - string:
463 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700464 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700465 description: 'How many OpenONU adapter instances to run'
466
467 - string:
468 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700469 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700470 description: 'How many ONOSes instances to run'
471
472 - string:
473 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700474 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700475 description: 'How many Atomix instances to run'
476
477 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700478 name: kafkaReplicas
479 default: '{kafkaReplicas}'
480 description: 'How many Kafka instances to run'
481
482 - string:
483 name: etcdReplicas
484 default: '{etcdReplicas}'
485 description: 'How many ETCD instances to run'
486
487 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700488 name: onosStatInterval
489 default: '{onosStatInterval}'
490 description: 'How often ONOS should poll for ports, flows and meters'
491
492 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700493 name: bbsimImg
494 default: '{bbsimImg}'
495 description: 'Custom image selection for BBSIM (repo:tag)'
496
497 - string:
498 name: bbsimChart
499 default: '{bbsimChart}'
500 description: 'BBSim chart name (or location on file system)'
501
502 - string:
503 name: rwCoreImg
504 default: '{rwCoreImg}'
505 description: 'Custom image selection for VOLTHA (repo:tag)'
506
507 - string:
508 name: ofAgentImg
509 default: '{ofAgentImg}'
510 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
511
512 - string:
513 name: volthaChart
514 default: '{volthaChart}'
515 description: 'VOLTHA chart name (or location on file system)'
516
517 - string:
518 name: openoltAdapterImg
519 default: '{openoltAdapterImg}'
520 description: 'Custom image selection for Openolt Adapter (repo:tag)'
521
522 - string:
523 name: openoltAdapterChart
524 default: '{openoltAdapterChart}'
525 description: 'OpenOLT chart name (or location on file system)'
526
527 - string:
528 name: openonuAdapterImg
529 default: '{openonuAdapterImg}'
530 description: 'Custom image selection for Openonu Adapter (repo:tag)'
531
532 - string:
Andrea Campanella28763082020-11-18 10:55:31 +0100533 name: openonuAdapterGoImg
534 default: '{openonuAdapterGoImg}'
535 description: 'Custom image selection for Openonu Go Adapter (repo:tag)'
536
537 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700538 name: openonuAdapterChart
539 default: '{openonuAdapterChart}'
540 description: 'OpenONU chart name (or location on file system)'
541
542 - string:
543 name: onosImg
544 default: '{onosImg}'
545 description: 'Custom image selection for Openonu Adapter (repo:tag)'
546
547 - string:
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700548 name: onosChart
549 default: '{onosChart}'
550 description: 'ONOS chart name (or location on file system)'
551
552 - string:
Matteo Scandolo06506102020-10-13 12:24:20 -0700553 name: radiusChart
554 default: '{radiusChart}'
555 description: 'freeradius chart name (or location on file system)'
556
557 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700558 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700559 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700560 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
561
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700562 - string:
563 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700564 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700565 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
566
Matteo Scandoloccc06192020-06-22 10:16:17 -0700567 - bool:
568 name: inMemoryEtcdStorage
569 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700570 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700571
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200572 - string:
573 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700574 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200575 description: 'Karaf home'
576
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700577- job-template:
578 id: 'voltha-scale-measurements'
579 name: '{name}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700580 disabled: '{disable-job}'
581
582 description: |
583 <!-- Managed by Jenkins Job Builder -->
584 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
585 Using pipeline {pipeline-script} <br/><br/>
586 Scale measurements for VOLTHA 2.x
587
588 properties:
589 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800590 build-days-to-keep: '{big-build-days-to-keep}'
591 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700592
593 wrappers:
594 - lf-infra-wrappers:
595 build-timeout: '{build-timeout}'
596 jenkins-ssh-credential: '{jenkins-ssh-credential}'
597
598 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800599 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700600 release: master
601
602 bbsimImg: voltha/bbsim:master
603 rwCoreImg: voltha/voltha-rw-core:master
604 ofAgentImg: voltha/voltha-ofagent-go:master
605 openoltAdapterImg: voltha/voltha-openolt-adapter:master
606 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100607 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700608 onosImg: voltha/voltha-onos:master
609
610 bbsimChart: onf/bbsim
611 volthaChart: onf/voltha
612 openoltAdapterChart: onf/voltha-adapter-openolt
613 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700614 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700615 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700616
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800617 volthaStacks: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700618 olts: 2
619 pons: 2
620 onus: 2
621 workflow: att
622 withFlows: false
623 provisionSubscribers: false
624 withEapol: true
625 withDhcp: true
626 withIgmp: false
627 withLLDP: false
628 withMibTemplate: true
629 withMonitoring: true
630 withProfiling: false
631 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700632 withRadius: yes
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700633 openonuAdapterReplicas: 8
634 onosReplicas: 3
635 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700636 kafkaReplicas: 3
637 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700638 extraHelmFlags: ''
639 onosStatInterval: 5
640 volthaSystemTestsChange: ''
641 kindVolthaChange: ''
642 inMemoryEtcdStorage: true
643 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700644 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700645 dockerRegistry: 10.90.0.101:30500
646 trigger-comment: vv7CBoQQYYonvaN8xcru
647 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700648
649 <<: *voltha-scale-job-parameters
650
Matteo Scandolo272aed42020-05-08 15:05:57 -0700651 project-type: pipeline
652 concurrent: false
653
654 dsl: !include-raw-escape: pipeline/{pipeline-script}
655
Matteo Scandoloabb83972020-06-25 16:08:23 -0700656 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700657 # periodic jobs will set this every 4 hours
658 # 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 -0700659 - timed: |
660 TZ=America/Los_Angeles
661 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700662 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
663 # patchset jobs will set this to a meaningful comment
664 - gerrit:
665 server-name: '{gerrit-server-name}'
666 silent-start: false
667 successful-message: "PASSED scale test"
668 failure-message: "FAILED scale test"
669 unstable-message: "UNSTABLE scale test"
670 trigger-on:
671 - comment-added-contains-event:
672 comment-contains-value: '.*{trigger-comment}.*'
673 projects:
674 - project-compare-type: REG_EXP
675 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
676 branches:
677 - branch-compare-type: REG_EXP
678 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700679
680- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700681 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800682 name: '{name}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800683
684 description: |
685 <!-- Managed by Jenkins Job Builder -->
686 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
687 Using pipeline {pipeline-script} <br/><br/>
688 Scale measurements for VOLTHA 2.x
689
690 properties:
691 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800692 build-days-to-keep: '{big-build-days-to-keep}'
693 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800694
695 wrappers:
696 - lf-infra-wrappers:
697 build-timeout: '{build-timeout}'
698 jenkins-ssh-credential: '{jenkins-ssh-credential}'
699
Matteo Scandolo0430f672020-05-07 11:50:26 -0700700 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800701 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700702 release: master
703
Matteo Scandolo0430f672020-05-07 11:50:26 -0700704 bbsimImg: voltha/bbsim:master
705 rwCoreImg: voltha/voltha-rw-core:master
706 ofAgentImg: voltha/voltha-ofagent-go:master
707 openoltAdapterImg: voltha/voltha-openolt-adapter:master
708 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100709 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandolo0430f672020-05-07 11:50:26 -0700710 onosImg: voltha/voltha-onos:master
711
712 bbsimChart: onf/bbsim
713 volthaChart: onf/voltha
714 openoltAdapterChart: onf/voltha-adapter-openolt
715 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700716 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700717 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700718
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800719 volthaStacks: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700720 olts: 2
721 pons: 2
722 onus: 2
723 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700724 withFlows: true
725 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700726 withEapol: true
727 withDhcp: true
728 withIgmp: false
729 withLLDP: false
730 withMibTemplate: true
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700731 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700732 withProfiling: false
733 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700734 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700735 openonuAdapterReplicas: 1
736 onosReplicas: 1
737 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700738 kafkaReplicas: 1
739 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700740 extraHelmFlags: ''
741 onosStatInterval: 5
742 volthaSystemTestsChange: ''
743 kindVolthaChange: ''
744 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700745 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700746 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700747 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700748
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700749 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200750
Matteo Scandolo51b76302020-02-05 12:07:23 -0800751 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800752 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800753
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700754 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700755
Matteo Scandolo849db722020-10-21 10:58:41 -0700756 triggers:
757 - gerrit:
758 server-name: '{gerrit-server-name}'
759 silent-start: false
760 successful-message: "PASSED scale test"
761 failure-message: "FAILED scale test"
762 unstable-message: "UNSTABLE scale test"
763 trigger-on:
764 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700765 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700766 projects:
767 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700768 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700769 branches:
770 - branch-compare-type: REG_EXP
771 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700772- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700773 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700774 name: '{name}'
775 pipeline-script: 'voltha-scale-matrix.groovy'
776
777 description: |
778 <!-- Managed by Jenkins Job Builder -->
779 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
780 Using pipeline {pipeline-script} <br/><br/>
781 Scale measurements for VOLTHA 2.x
782
783 properties:
784 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800785 build-days-to-keep: '{big-build-days-to-keep}'
786 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700787
788 wrappers:
789 - lf-infra-wrappers:
790 build-timeout: '{build-timeout}'
791 jenkins-ssh-credential: '{jenkins-ssh-credential}'
792
793 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800794 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700795 release: master
796 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700797 volthaSystemTestsChange: ''
798 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700799 onosReplicas: 1
800 atomixReplicas: 0
801 kafkaReplicas: 1
802 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800803 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800804 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700805
806 project-type: pipeline
807 concurrent: false
808
809 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700810
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700811 parameters:
812 - string:
813 name: release
814 default: '{release}'
815 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
816
817 - string:
818 name: buildNode
819 default: '{build-node}'
820 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700821
822 - string:
823 name: volthaSystemTestsChange
824 default: '{volthaSystemTestsChange}'
825 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
826
827 - string:
828 name: kindVolthaChange
829 default: '{kindVolthaChange}'
830 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 -0700831
832 - string:
833 name: onosReplicas
834 default: '{onosReplicas}'
835 description: 'How many ONOSes instances to run'
836
837 - string:
838 name: atomixReplicas
839 default: '{atomixReplicas}'
840 description: 'How many Atomix instances to run'
841
842 - string:
843 name: kafkaReplicas
844 default: '{kafkaReplicas}'
845 description: 'How many Kafka instances to run'
846
847 - string:
848 name: etcdReplicas
849 default: '{etcdReplicas}'
850 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800851
852 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800853 name: openonuAdapterReplicas
854 default: '{openonuAdapterReplicas}'
855 description: 'How many OpenONU adapter instances to run'
856
857 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800858 name: topologies
859 default: '{topologies}'
860 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
861
862 triggers:
863 - timed: |
864 TZ=America/Los_Angeles
865 {time-trigger}