blob: 856aa7c54b4b6a7f2755353f208efb1e95bdea50 [file] [log] [blame]
Matteo Scandolo51b76302020-02-05 12:07:23 -08001---
2# VOLTHA 2.x scale measurements
3
4- project:
5 name: voltha-scale
6
7 project-name: '{name}'
8
9 jobs:
Matteo Scandolo272aed42020-05-08 15:05:57 -070010 # name format is <job-template>-<olts>-<pon>-<onus>-<setup>
Matteo Scandolo3136cca2020-05-15 14:14:27 -070011
Matteo Scandoloca097652020-08-14 09:49:23 -070012 # OpenONU GO Scale
Matteo Scandolob46bc402020-06-11 13:59:44 -070013 - 'voltha-scale-measurements':
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020014 name: 'voltha-openonu-go-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080015 'disable-job': false
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020016 build-node: 'onf-pod1-head-node'
17 time-trigger: "H H/4 * * *"
18 olts: 2
19 pons: 16
20 onus: 32
21 withFlows: true
22 provisionSubscribers: true
23 workflow: dt
24 withEapol: false
25 withDhcp: false
26 withIgmp: false
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020027 openonuAdapterReplicas: 1
28 openonuAdapterImg: voltha/voltha-openonu-adapter-go:master
29 extraHelmFlags: '--set use_openonu_adapter_go=true'
Matteo Scandolo45ad8f52020-08-11 09:07:49 -070030
Andrea Campanellabdb199e2020-10-27 10:47:16 +010031 - 'voltha-scale-measurements':
32 name: 'voltha-openonu-go-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandolo4c4fbdd2020-11-04 13:49:42 -080033 'disable-job': false
Andrea Campanellabdb199e2020-10-27 10:47:16 +010034 build-node: 'onf-pod1-head-node'
35 time-trigger: "H H/4 * * *"
36 olts: 1
37 pons: 16
38 onus: 32
39 withFlows: true
40 provisionSubscribers: true
41 withEapol: true
42 withDhcp: true
43 withIgmp: false
Andrea Campanellabdb199e2020-10-27 10:47:16 +010044 openonuAdapterReplicas: 1
45 openonuAdapterImg: voltha/voltha-openonu-adapter-go:master
Andrea Campanella04ca93a2020-11-07 14:57:50 +010046 extraHelmFlags: '--set use_openonu_adapter_go=true,authRetry=true,dhcpRetry=true'
Andrea Campanellabdb199e2020-10-27 10:47:16 +010047
Matteo Scandolo8df57162020-10-06 14:43:53 -070048 # this job will be used to test custom images without disrupting tests on master
49 - 'voltha-scale-measurements':
50 name: 'voltha-scale-measurements-master-experimental'
51 build-node: 'onf-pod1-head-node'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080052 'disable-job': false
Matteo Scandoloe6647a02020-11-02 10:27:52 -080053 # trigger on Feb 29th (a.k.a only trigger it manually)
54 time-trigger: "H 0 29 2 *"
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -070055 withMonitoring: false
Matteo Scandoloe6647a02020-11-02 10:27:52 -080056 olts: 2
Matteo Scandolo8df57162020-10-06 14:43:53 -070057 pons: 16
58 onus: 32
59 withFlows: true
60 provisionSubscribers: true
61 withEapol: true
62 withDhcp: true
63 withIgmp: false
Matteo Scandolo0feb5e92020-10-27 19:34:51 -070064 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo8df57162020-10-06 14:43:53 -070065 withPcap: true
Matteo Scandolo9665d592020-10-23 19:08:14 +000066
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080067 - 'voltha-scale-measurements':
68 name: 'voltha-scale-measurements-master-experimental-multi-stack'
69 build-node: 'onf-pod1-head-node'
70 pipeline-script: 'voltha-scale-multi-stack.groovy'
71 'disable-job': false
72 # trigger on Feb 29th (a.k.a only trigger it manually)
Matteo Scandolodc4608c2020-11-12 16:48:16 -080073 # time-trigger: "H 0 29 2 *"
74 time-trigger: "H H/4 * * *"
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080075 withMonitoring: false
76 volthaStacks: 2
77 olts: 2
Matteo Scandolof6656562020-11-16 14:45:44 -080078 pons: 16
79 onus: 32
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080080 withFlows: true
81 provisionSubscribers: true
82 withEapol: true
83 withDhcp: true
84 withIgmp: false
85 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
86 withPcap: true
87 volthaSystemTestsChange: refs/changes/27/21627/2
88 kindVolthaChange: refs/changes/85/21485/8
Matteo Scandolof6656562020-11-16 14:45:44 -080089 openoltAdapterImg: matteoscandolo/voltha-openolt-adapter:topic
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080090
Matteo Scandolo8df57162020-10-06 14:43:53 -070091
Matteo Scandoloe51ef6c2020-09-28 10:32:12 -070092 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS (1 OLT)
Matteo Scandoloe4b04342020-05-28 07:35:45 -070093 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070094 name: 'voltha-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080095 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -070096 build-node: 'onf-pod1-head-node'
97 time-trigger: "H H/4 * * *"
98 olts: 1
99 pons: 16
100 onus: 32
101 withFlows: true
102 provisionSubscribers: true
103 withEapol: true
104 withDhcp: true
105 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700106 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700107
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700108 - 'voltha-scale-measurements':
109 name: 'voltha-scale-measurements-master-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800110 'disable-job': false
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700111 build-node: 'onf-pod1-head-node'
112 time-trigger: "H H/4 * * *"
113 olts: 1
114 pons: 16
115 onus: 32
116 withFlows: true
117 provisionSubscribers: true
118 workflow: tt
119 withEapol: false
120 withDhcp: true
121 withIgmp: true
Matteo Scandolo37cba472020-10-26 14:15:34 -0700122 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700123
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700124 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700125 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800126 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700127 build-node: 'onf-pod1-head-node'
128 time-trigger: "H H/4 * * *"
129 olts: 1
130 pons: 16
131 onus: 32
132 withFlows: true
133 provisionSubscribers: true
134 workflow: dt
135 withEapol: false
136 withDhcp: false
137 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700138 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200139
Matteo Scandolo272aed42020-05-08 15:05:57 -0700140 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700141 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700142 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandolof2c8a642020-11-05 08:54:50 -0800143 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700144 build-node: 'onf-pod1-head-node'
145 time-trigger: "H H/4 * * *"
146 olts: 2
147 pons: 16
148 onus: 32
149 withFlows: true
150 provisionSubscribers: true
151 withEapol: true
152 withDhcp: true
153 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700154 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700155
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700156 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700157 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800158 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700159 build-node: 'onf-pod1-head-node'
160 time-trigger: "H H/4 * * *"
161 olts: 2
162 pons: 16
163 onus: 32
164 withFlows: true
165 provisionSubscribers: true
166 workflow: dt
167 withEapol: false
168 withDhcp: false
169 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700170 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo86939302020-10-30 13:32:08 -0700171
172 - 'voltha-scale-measurements':
173 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800174 'disable-job': false
Matteo Scandolo86939302020-10-30 13:32:08 -0700175 build-node: 'onf-pod1-head-node'
176 time-trigger: "H H/4 * * *"
177 olts: 2
178 pons: 16
179 onus: 32
180 withFlows: true
181 provisionSubscribers: true
182 workflow: tt
183 withEapol: false
184 withDhcp: true
185 withIgmp: true
186 openonuAdapterReplicas: 8
187 onosReplicas: 3
188 atomixReplicas: 3
Matteo Scandolo86939302020-10-30 13:32:08 -0700189 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700190
Matteo Scandolo031bd982020-09-16 10:03:47 -0700191 # voltha-2.5 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700192 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700193 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800194 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700195 build-node: 'onf-pod1-head-node'
196 time-trigger: "H H/4 * * *"
197 olts: 1
198 pons: 16
199 onus: 32
200 withFlows: true
201 provisionSubscribers: true
202 withEapol: true
203 withDhcp: true
204 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700205 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700206 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700207 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700208 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700209 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700210 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700211 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200212 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700213
214 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700215 name: 'voltha-scale-measurements-voltha-2.5-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800216 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700217 build-node: 'onf-pod1-head-node'
218 time-trigger: "H H/4 * * *"
219 olts: 2
220 pons: 16
221 onus: 32
222 withFlows: true
223 provisionSubscribers: true
224 workflow: dt
225 withEapol: false
226 withDhcp: false
227 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700228 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700229 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700230 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700231 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700232 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700233 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700234 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200235 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700236
Matteo Scandolo031bd982020-09-16 10:03:47 -0700237 - 'voltha-scale-measurements':
238 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800239 'disable-job': false
Matteo Scandolo031bd982020-09-16 10:03:47 -0700240 build-node: 'onf-pod1-head-node'
241 time-trigger: "H H/4 * * *"
242 olts: 1
243 pons: 16
244 onus: 32
245 withFlows: true
246 provisionSubscribers: true
247 workflow: tt
248 withEapol: false
249 withDhcp: true
250 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700251 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
252 release: voltha-2.5
253 bbsimImg: ''
254 rwCoreImg: ''
255 ofAgentImg: ''
256 openoltAdapterImg: ''
257 openonuAdapterImg: ''
258 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700259
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700260 # per patchset job
261 - 'voltha-scale-measurements':
262 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
263 build-node: 'onf-pod1-head-node'
264 olts: 1
265 pons: 16
266 onus: 32
267 withFlows: true
268 provisionSubscribers: true
269 withEapol: true
270 withDhcp: true
271 withIgmp: false
272 withMonitoring: false
273 trigger-comment: "voltha scale test ATT"
274
275 - 'voltha-scale-measurements':
276 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
277 build-node: 'onf-pod1-head-node'
278 olts: 1
279 pons: 16
280 onus: 32
281 withFlows: true
282 provisionSubscribers: true
283 workflow: tt
284 withEapol: false
285 withDhcp: true
286 withIgmp: true
287 withMonitoring: false
288 trigger-comment: "voltha scale test TT"
289
290 - 'voltha-scale-measurements':
291 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
292 build-node: 'onf-pod1-head-node'
293 olts: 1
294 pons: 16
295 onus: 32
296 withFlows: true
297 provisionSubscribers: true
298 workflow: dt
299 withEapol: false
300 withDhcp: false
301 withIgmp: false
302 withMonitoring: false
303 trigger-comment: "voltha scale test DT"
304
Matteo Scandolo272aed42020-05-08 15:05:57 -0700305 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700306 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700307 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700308 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700309 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700310
Matteo Scandolodc930192020-08-27 15:56:16 -0700311 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700312 - 'voltha-scale-matrix':
313 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700314 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800315
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700316 # development matrix
317 - 'voltha-scale-matrix':
318 name: 'voltha-scale-matrix-voltha-master'
319 build-node: 'onf-pod1-head-node'
320 onosReplicas: 3
321 atomixReplicas: 3
322 kafkaReplicas: 3
323 etcdReplicas: 3
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800324 openonuAdapterReplicas: 8
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800325 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800326 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700327
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700328# list of parameters for the VOLTHA Jobs,
329# used as anchor so that can be shared across multiple jobs
330# to use in a job: `parameters: *voltha-build-job-parameters`
331- voltha-scale-job-parameters: &voltha-scale-job-parameters
332 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700333 parameters:
334 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800335 name: pipeline-script
336 default: '{pipeline-script}'
337 description: 'The pipeline script to use'
338
339 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700340 name: release
341 default: '{release}'
342 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
343
344 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700345 name: buildNode
346 default: '{build-node}'
347 description: 'Name of the Jenkins node to run the job on'
348
349 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700350 name: dockerRegistry
351 default: '{dockerRegistry}'
352 description: 'Address of the docker registry to use if we are building custom images'
353
354 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700355 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700356 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700357 description: 'Log level for all the components'
358
359 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800360 name: volthaStacks
361 default: '{volthaStacks}'
362 description: 'Number of VOLTHA Stacks to deploy'
363
364 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700365 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700366 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700367 description: 'Number of ONUs to provision'
368
369 - string:
370 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700371 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700372 description: 'Number of PONs to provision'
373
374 - string:
375 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700376 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700377 description: 'How many BBSim instances to run'
378
379 - string:
380 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700381 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700382 description: 'Which workflow are we testing (att, dt, tt)'
383
384 - bool:
385 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700386 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700387 description: 'Wheter to push flows from ONOS'
388
389 - bool:
390 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700391 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700392 description: 'Wheter to provision subscribers durint the tests'
393
394 - bool:
395 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700396 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700397 description: 'Wheter EAPOL is enabled for the test'
398
399 - bool:
400 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700401 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700402 description: 'Wheter DHCP is enabled for the test'
403
404 - bool:
405 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700406 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700407 description: 'Wheter IGMP is enabled for the test'
408
409 - bool:
410 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700411 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700412 description: 'Wheter Link Discovery is enabled for the test'
413
414 - bool:
415 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700416 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700417 description: 'Option to trigger MIB template command'
418
419 - bool:
420 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700421 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700422 description: 'Option to install Prometheus'
423
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700424 - bool:
425 name: withProfiling
426 default: '{withProfiling}'
427 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
428
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700429 - bool:
430 name: withPcap
431 default: '{withPcap}'
432 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
433
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700434 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700435 name: withRadius
436 default: '{withRadius}'
437 description: 'Value to pass to kind-voltha WITH_RADIUS'
438
439 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700440 name: extraHelmFlags
441 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700442 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 -0700443
Matteo Scandolo272aed42020-05-08 15:05:57 -0700444 - string:
445 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700446 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700447 description: 'How many OpenONU adapter instances to run'
448
449 - string:
450 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700451 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700452 description: 'How many ONOSes instances to run'
453
454 - string:
455 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700456 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700457 description: 'How many Atomix instances to run'
458
459 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700460 name: kafkaReplicas
461 default: '{kafkaReplicas}'
462 description: 'How many Kafka instances to run'
463
464 - string:
465 name: etcdReplicas
466 default: '{etcdReplicas}'
467 description: 'How many ETCD instances to run'
468
469 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700470 name: onosStatInterval
471 default: '{onosStatInterval}'
472 description: 'How often ONOS should poll for ports, flows and meters'
473
474 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700475 name: bbsimImg
476 default: '{bbsimImg}'
477 description: 'Custom image selection for BBSIM (repo:tag)'
478
479 - string:
480 name: bbsimChart
481 default: '{bbsimChart}'
482 description: 'BBSim chart name (or location on file system)'
483
484 - string:
485 name: rwCoreImg
486 default: '{rwCoreImg}'
487 description: 'Custom image selection for VOLTHA (repo:tag)'
488
489 - string:
490 name: ofAgentImg
491 default: '{ofAgentImg}'
492 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
493
494 - string:
495 name: volthaChart
496 default: '{volthaChart}'
497 description: 'VOLTHA chart name (or location on file system)'
498
499 - string:
500 name: openoltAdapterImg
501 default: '{openoltAdapterImg}'
502 description: 'Custom image selection for Openolt Adapter (repo:tag)'
503
504 - string:
505 name: openoltAdapterChart
506 default: '{openoltAdapterChart}'
507 description: 'OpenOLT chart name (or location on file system)'
508
509 - string:
510 name: openonuAdapterImg
511 default: '{openonuAdapterImg}'
512 description: 'Custom image selection for Openonu Adapter (repo:tag)'
513
514 - string:
515 name: openonuAdapterChart
516 default: '{openonuAdapterChart}'
517 description: 'OpenONU chart name (or location on file system)'
518
519 - string:
520 name: onosImg
521 default: '{onosImg}'
522 description: 'Custom image selection for Openonu Adapter (repo:tag)'
523
524 - string:
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700525 name: onosChart
526 default: '{onosChart}'
527 description: 'ONOS chart name (or location on file system)'
528
529 - string:
Matteo Scandolo06506102020-10-13 12:24:20 -0700530 name: radiusChart
531 default: '{radiusChart}'
532 description: 'freeradius chart name (or location on file system)'
533
534 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700535 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700536 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700537 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
538
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700539 - string:
540 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700541 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700542 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
543
Matteo Scandoloccc06192020-06-22 10:16:17 -0700544 - bool:
545 name: inMemoryEtcdStorage
546 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700547 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700548
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200549 - string:
550 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700551 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200552 description: 'Karaf home'
553
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700554- job-template:
555 id: 'voltha-scale-measurements'
556 name: '{name}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700557 disabled: '{disable-job}'
558
559 description: |
560 <!-- Managed by Jenkins Job Builder -->
561 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
562 Using pipeline {pipeline-script} <br/><br/>
563 Scale measurements for VOLTHA 2.x
564
565 properties:
566 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800567 build-days-to-keep: '{big-build-days-to-keep}'
568 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700569
570 wrappers:
571 - lf-infra-wrappers:
572 build-timeout: '{build-timeout}'
573 jenkins-ssh-credential: '{jenkins-ssh-credential}'
574
575 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800576 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700577 release: master
578
579 bbsimImg: voltha/bbsim:master
580 rwCoreImg: voltha/voltha-rw-core:master
581 ofAgentImg: voltha/voltha-ofagent-go:master
582 openoltAdapterImg: voltha/voltha-openolt-adapter:master
583 openonuAdapterImg: voltha/voltha-openonu-adapter:master
584 onosImg: voltha/voltha-onos:master
585
586 bbsimChart: onf/bbsim
587 volthaChart: onf/voltha
588 openoltAdapterChart: onf/voltha-adapter-openolt
589 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700590 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700591 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700592
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800593 volthaStacks: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700594 olts: 2
595 pons: 2
596 onus: 2
597 workflow: att
598 withFlows: false
599 provisionSubscribers: false
600 withEapol: true
601 withDhcp: true
602 withIgmp: false
603 withLLDP: false
604 withMibTemplate: true
605 withMonitoring: true
606 withProfiling: false
607 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700608 withRadius: yes
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700609 openonuAdapterReplicas: 8
610 onosReplicas: 3
611 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700612 kafkaReplicas: 3
613 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700614 extraHelmFlags: ''
615 onosStatInterval: 5
616 volthaSystemTestsChange: ''
617 kindVolthaChange: ''
618 inMemoryEtcdStorage: true
619 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700620 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700621 dockerRegistry: 10.90.0.101:30500
622 trigger-comment: vv7CBoQQYYonvaN8xcru
623 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700624
625 <<: *voltha-scale-job-parameters
626
Matteo Scandolo272aed42020-05-08 15:05:57 -0700627 project-type: pipeline
628 concurrent: false
629
630 dsl: !include-raw-escape: pipeline/{pipeline-script}
631
Matteo Scandoloabb83972020-06-25 16:08:23 -0700632 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700633 # periodic jobs will set this every 4 hours
634 # 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 -0700635 - timed: |
636 TZ=America/Los_Angeles
637 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700638 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
639 # patchset jobs will set this to a meaningful comment
640 - gerrit:
641 server-name: '{gerrit-server-name}'
642 silent-start: false
643 successful-message: "PASSED scale test"
644 failure-message: "FAILED scale test"
645 unstable-message: "UNSTABLE scale test"
646 trigger-on:
647 - comment-added-contains-event:
648 comment-contains-value: '.*{trigger-comment}.*'
649 projects:
650 - project-compare-type: REG_EXP
651 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
652 branches:
653 - branch-compare-type: REG_EXP
654 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700655
656- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700657 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800658 name: '{name}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800659
660 description: |
661 <!-- Managed by Jenkins Job Builder -->
662 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
663 Using pipeline {pipeline-script} <br/><br/>
664 Scale measurements for VOLTHA 2.x
665
666 properties:
667 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800668 build-days-to-keep: '{big-build-days-to-keep}'
669 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800670
671 wrappers:
672 - lf-infra-wrappers:
673 build-timeout: '{build-timeout}'
674 jenkins-ssh-credential: '{jenkins-ssh-credential}'
675
Matteo Scandolo0430f672020-05-07 11:50:26 -0700676 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800677 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700678 release: master
679
Matteo Scandolo0430f672020-05-07 11:50:26 -0700680 bbsimImg: voltha/bbsim:master
681 rwCoreImg: voltha/voltha-rw-core:master
682 ofAgentImg: voltha/voltha-ofagent-go:master
683 openoltAdapterImg: voltha/voltha-openolt-adapter:master
684 openonuAdapterImg: voltha/voltha-openonu-adapter:master
685 onosImg: voltha/voltha-onos:master
686
687 bbsimChart: onf/bbsim
688 volthaChart: onf/voltha
689 openoltAdapterChart: onf/voltha-adapter-openolt
690 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700691 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700692 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700693
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800694 volthaStacks: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700695 olts: 2
696 pons: 2
697 onus: 2
698 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700699 withFlows: true
700 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700701 withEapol: true
702 withDhcp: true
703 withIgmp: false
704 withLLDP: false
705 withMibTemplate: true
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700706 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700707 withProfiling: false
708 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700709 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700710 openonuAdapterReplicas: 1
711 onosReplicas: 1
712 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700713 kafkaReplicas: 1
714 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700715 extraHelmFlags: ''
716 onosStatInterval: 5
717 volthaSystemTestsChange: ''
718 kindVolthaChange: ''
719 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700720 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700721 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700722 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700723
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700724 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200725
Matteo Scandolo51b76302020-02-05 12:07:23 -0800726 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800727 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800728
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700729 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700730
Matteo Scandolo849db722020-10-21 10:58:41 -0700731 triggers:
732 - gerrit:
733 server-name: '{gerrit-server-name}'
734 silent-start: false
735 successful-message: "PASSED scale test"
736 failure-message: "FAILED scale test"
737 unstable-message: "UNSTABLE scale test"
738 trigger-on:
739 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700740 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700741 projects:
742 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700743 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700744 branches:
745 - branch-compare-type: REG_EXP
746 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700747- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700748 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700749 name: '{name}'
750 pipeline-script: 'voltha-scale-matrix.groovy'
751
752 description: |
753 <!-- Managed by Jenkins Job Builder -->
754 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
755 Using pipeline {pipeline-script} <br/><br/>
756 Scale measurements for VOLTHA 2.x
757
758 properties:
759 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800760 build-days-to-keep: '{big-build-days-to-keep}'
761 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700762
763 wrappers:
764 - lf-infra-wrappers:
765 build-timeout: '{build-timeout}'
766 jenkins-ssh-credential: '{jenkins-ssh-credential}'
767
768 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800769 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700770 release: master
771 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700772 volthaSystemTestsChange: ''
773 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700774 onosReplicas: 1
775 atomixReplicas: 0
776 kafkaReplicas: 1
777 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800778 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800779 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700780
781 project-type: pipeline
782 concurrent: false
783
784 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700785
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700786 parameters:
787 - string:
788 name: release
789 default: '{release}'
790 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
791
792 - string:
793 name: buildNode
794 default: '{build-node}'
795 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700796
797 - string:
798 name: volthaSystemTestsChange
799 default: '{volthaSystemTestsChange}'
800 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
801
802 - string:
803 name: kindVolthaChange
804 default: '{kindVolthaChange}'
805 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 -0700806
807 - string:
808 name: onosReplicas
809 default: '{onosReplicas}'
810 description: 'How many ONOSes instances to run'
811
812 - string:
813 name: atomixReplicas
814 default: '{atomixReplicas}'
815 description: 'How many Atomix instances to run'
816
817 - string:
818 name: kafkaReplicas
819 default: '{kafkaReplicas}'
820 description: 'How many Kafka instances to run'
821
822 - string:
823 name: etcdReplicas
824 default: '{etcdReplicas}'
825 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800826
827 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800828 name: openonuAdapterReplicas
829 default: '{openonuAdapterReplicas}'
830 description: 'How many OpenONU adapter instances to run'
831
832 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800833 name: topologies
834 default: '{topologies}'
835 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
836
837 triggers:
838 - timed: |
839 TZ=America/Los_Angeles
840 {time-trigger}