blob: cda6f4d60487753b2e178aae219f3e4d2a0b929d [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
Matteo Scandolof7ca6312020-11-16 15:57:15 -080076 logLevel: WARN
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080077 volthaStacks: 2
78 olts: 2
Matteo Scandolof6656562020-11-16 14:45:44 -080079 pons: 16
80 onus: 32
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080081 withFlows: true
82 provisionSubscribers: true
Matteo Scandolof7ca6312020-11-16 15:57:15 -080083 workflow: dt
84 withEapol: false
85 withDhcp: false
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080086 withIgmp: false
87 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080088 volthaSystemTestsChange: refs/changes/27/21627/2
89 kindVolthaChange: refs/changes/85/21485/8
Matteo Scandolof6656562020-11-16 14:45:44 -080090 openoltAdapterImg: matteoscandolo/voltha-openolt-adapter:topic
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080091
Matteo Scandolo8df57162020-10-06 14:43:53 -070092
Matteo Scandoloe51ef6c2020-09-28 10:32:12 -070093 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS (1 OLT)
Matteo Scandoloe4b04342020-05-28 07:35:45 -070094 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070095 name: 'voltha-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080096 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -070097 build-node: 'onf-pod1-head-node'
98 time-trigger: "H H/4 * * *"
99 olts: 1
100 pons: 16
101 onus: 32
102 withFlows: true
103 provisionSubscribers: true
104 withEapol: true
105 withDhcp: true
106 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700107 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700108
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700109 - 'voltha-scale-measurements':
110 name: 'voltha-scale-measurements-master-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800111 'disable-job': false
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700112 build-node: 'onf-pod1-head-node'
113 time-trigger: "H H/4 * * *"
114 olts: 1
115 pons: 16
116 onus: 32
117 withFlows: true
118 provisionSubscribers: true
119 workflow: tt
120 withEapol: false
121 withDhcp: true
122 withIgmp: true
Matteo Scandolo37cba472020-10-26 14:15:34 -0700123 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700124
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700125 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700126 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800127 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700128 build-node: 'onf-pod1-head-node'
129 time-trigger: "H H/4 * * *"
130 olts: 1
131 pons: 16
132 onus: 32
133 withFlows: true
134 provisionSubscribers: true
135 workflow: dt
136 withEapol: false
137 withDhcp: false
138 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700139 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200140
Matteo Scandolo272aed42020-05-08 15:05:57 -0700141 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700142 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700143 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandolof2c8a642020-11-05 08:54:50 -0800144 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700145 build-node: 'onf-pod1-head-node'
146 time-trigger: "H H/4 * * *"
147 olts: 2
148 pons: 16
149 onus: 32
150 withFlows: true
151 provisionSubscribers: true
152 withEapol: true
153 withDhcp: true
154 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700155 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700156
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700157 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700158 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800159 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700160 build-node: 'onf-pod1-head-node'
161 time-trigger: "H H/4 * * *"
162 olts: 2
163 pons: 16
164 onus: 32
165 withFlows: true
166 provisionSubscribers: true
167 workflow: dt
168 withEapol: false
169 withDhcp: false
170 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700171 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo86939302020-10-30 13:32:08 -0700172
173 - 'voltha-scale-measurements':
174 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800175 'disable-job': false
Matteo Scandolo86939302020-10-30 13:32:08 -0700176 build-node: 'onf-pod1-head-node'
177 time-trigger: "H H/4 * * *"
178 olts: 2
179 pons: 16
180 onus: 32
181 withFlows: true
182 provisionSubscribers: true
183 workflow: tt
184 withEapol: false
185 withDhcp: true
186 withIgmp: true
187 openonuAdapterReplicas: 8
188 onosReplicas: 3
189 atomixReplicas: 3
Matteo Scandolo86939302020-10-30 13:32:08 -0700190 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700191
Matteo Scandolo031bd982020-09-16 10:03:47 -0700192 # voltha-2.5 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700193 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700194 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800195 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700196 build-node: 'onf-pod1-head-node'
197 time-trigger: "H H/4 * * *"
198 olts: 1
199 pons: 16
200 onus: 32
201 withFlows: true
202 provisionSubscribers: true
203 withEapol: true
204 withDhcp: true
205 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700206 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700207 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700208 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700209 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700210 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700211 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700212 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200213 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700214
215 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700216 name: 'voltha-scale-measurements-voltha-2.5-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800217 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700218 build-node: 'onf-pod1-head-node'
219 time-trigger: "H H/4 * * *"
220 olts: 2
221 pons: 16
222 onus: 32
223 withFlows: true
224 provisionSubscribers: true
225 workflow: dt
226 withEapol: false
227 withDhcp: false
228 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700229 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700230 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700231 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700232 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700233 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700234 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700235 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200236 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700237
Matteo Scandolo031bd982020-09-16 10:03:47 -0700238 - 'voltha-scale-measurements':
239 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800240 'disable-job': false
Matteo Scandolo031bd982020-09-16 10:03:47 -0700241 build-node: 'onf-pod1-head-node'
242 time-trigger: "H H/4 * * *"
243 olts: 1
244 pons: 16
245 onus: 32
246 withFlows: true
247 provisionSubscribers: true
248 workflow: tt
249 withEapol: false
250 withDhcp: true
251 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700252 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
253 release: voltha-2.5
254 bbsimImg: ''
255 rwCoreImg: ''
256 ofAgentImg: ''
257 openoltAdapterImg: ''
258 openonuAdapterImg: ''
259 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700260
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700261 # per patchset job
262 - 'voltha-scale-measurements':
263 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
264 build-node: 'onf-pod1-head-node'
265 olts: 1
266 pons: 16
267 onus: 32
268 withFlows: true
269 provisionSubscribers: true
270 withEapol: true
271 withDhcp: true
272 withIgmp: false
273 withMonitoring: false
274 trigger-comment: "voltha scale test ATT"
275
276 - 'voltha-scale-measurements':
277 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
278 build-node: 'onf-pod1-head-node'
279 olts: 1
280 pons: 16
281 onus: 32
282 withFlows: true
283 provisionSubscribers: true
284 workflow: tt
285 withEapol: false
286 withDhcp: true
287 withIgmp: true
288 withMonitoring: false
289 trigger-comment: "voltha scale test TT"
290
291 - 'voltha-scale-measurements':
292 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
293 build-node: 'onf-pod1-head-node'
294 olts: 1
295 pons: 16
296 onus: 32
297 withFlows: true
298 provisionSubscribers: true
299 workflow: dt
300 withEapol: false
301 withDhcp: false
302 withIgmp: false
303 withMonitoring: false
304 trigger-comment: "voltha scale test DT"
305
Matteo Scandolo272aed42020-05-08 15:05:57 -0700306 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700307 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700308 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700309 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700310 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700311
Matteo Scandolodc930192020-08-27 15:56:16 -0700312 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700313 - 'voltha-scale-matrix':
314 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700315 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800316
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700317 # development matrix
318 - 'voltha-scale-matrix':
319 name: 'voltha-scale-matrix-voltha-master'
320 build-node: 'onf-pod1-head-node'
321 onosReplicas: 3
322 atomixReplicas: 3
323 kafkaReplicas: 3
324 etcdReplicas: 3
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800325 openonuAdapterReplicas: 8
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800326 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800327 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700328
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700329# list of parameters for the VOLTHA Jobs,
330# used as anchor so that can be shared across multiple jobs
331# to use in a job: `parameters: *voltha-build-job-parameters`
332- voltha-scale-job-parameters: &voltha-scale-job-parameters
333 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700334 parameters:
335 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800336 name: pipeline-script
337 default: '{pipeline-script}'
338 description: 'The pipeline script to use'
339
340 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700341 name: release
342 default: '{release}'
343 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
344
345 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700346 name: buildNode
347 default: '{build-node}'
348 description: 'Name of the Jenkins node to run the job on'
349
350 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700351 name: dockerRegistry
352 default: '{dockerRegistry}'
353 description: 'Address of the docker registry to use if we are building custom images'
354
355 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700356 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700357 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700358 description: 'Log level for all the components'
359
360 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800361 name: volthaStacks
362 default: '{volthaStacks}'
363 description: 'Number of VOLTHA Stacks to deploy'
364
365 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700366 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700367 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700368 description: 'Number of ONUs to provision'
369
370 - string:
371 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700372 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700373 description: 'Number of PONs to provision'
374
375 - string:
376 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700377 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700378 description: 'How many BBSim instances to run'
379
380 - string:
381 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700382 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700383 description: 'Which workflow are we testing (att, dt, tt)'
384
385 - bool:
386 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700387 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700388 description: 'Wheter to push flows from ONOS'
389
390 - bool:
391 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700392 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700393 description: 'Wheter to provision subscribers durint the tests'
394
395 - bool:
396 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700397 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700398 description: 'Wheter EAPOL is enabled for the test'
399
400 - bool:
401 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700402 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700403 description: 'Wheter DHCP is enabled for the test'
404
405 - bool:
406 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700407 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700408 description: 'Wheter IGMP is enabled for the test'
409
410 - bool:
411 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700412 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700413 description: 'Wheter Link Discovery is enabled for the test'
414
415 - bool:
416 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700417 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700418 description: 'Option to trigger MIB template command'
419
420 - bool:
421 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700422 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700423 description: 'Option to install Prometheus'
424
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700425 - bool:
426 name: withProfiling
427 default: '{withProfiling}'
428 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
429
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700430 - bool:
431 name: withPcap
432 default: '{withPcap}'
433 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
434
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700435 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700436 name: withRadius
437 default: '{withRadius}'
438 description: 'Value to pass to kind-voltha WITH_RADIUS'
439
440 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700441 name: extraHelmFlags
442 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700443 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 -0700444
Matteo Scandolo272aed42020-05-08 15:05:57 -0700445 - string:
446 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700447 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700448 description: 'How many OpenONU adapter instances to run'
449
450 - string:
451 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700452 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700453 description: 'How many ONOSes instances to run'
454
455 - string:
456 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700457 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700458 description: 'How many Atomix instances to run'
459
460 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700461 name: kafkaReplicas
462 default: '{kafkaReplicas}'
463 description: 'How many Kafka instances to run'
464
465 - string:
466 name: etcdReplicas
467 default: '{etcdReplicas}'
468 description: 'How many ETCD instances to run'
469
470 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700471 name: onosStatInterval
472 default: '{onosStatInterval}'
473 description: 'How often ONOS should poll for ports, flows and meters'
474
475 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700476 name: bbsimImg
477 default: '{bbsimImg}'
478 description: 'Custom image selection for BBSIM (repo:tag)'
479
480 - string:
481 name: bbsimChart
482 default: '{bbsimChart}'
483 description: 'BBSim chart name (or location on file system)'
484
485 - string:
486 name: rwCoreImg
487 default: '{rwCoreImg}'
488 description: 'Custom image selection for VOLTHA (repo:tag)'
489
490 - string:
491 name: ofAgentImg
492 default: '{ofAgentImg}'
493 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
494
495 - string:
496 name: volthaChart
497 default: '{volthaChart}'
498 description: 'VOLTHA chart name (or location on file system)'
499
500 - string:
501 name: openoltAdapterImg
502 default: '{openoltAdapterImg}'
503 description: 'Custom image selection for Openolt Adapter (repo:tag)'
504
505 - string:
506 name: openoltAdapterChart
507 default: '{openoltAdapterChart}'
508 description: 'OpenOLT chart name (or location on file system)'
509
510 - string:
511 name: openonuAdapterImg
512 default: '{openonuAdapterImg}'
513 description: 'Custom image selection for Openonu Adapter (repo:tag)'
514
515 - string:
516 name: openonuAdapterChart
517 default: '{openonuAdapterChart}'
518 description: 'OpenONU chart name (or location on file system)'
519
520 - string:
521 name: onosImg
522 default: '{onosImg}'
523 description: 'Custom image selection for Openonu Adapter (repo:tag)'
524
525 - string:
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700526 name: onosChart
527 default: '{onosChart}'
528 description: 'ONOS chart name (or location on file system)'
529
530 - string:
Matteo Scandolo06506102020-10-13 12:24:20 -0700531 name: radiusChart
532 default: '{radiusChart}'
533 description: 'freeradius chart name (or location on file system)'
534
535 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700536 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700537 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700538 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
539
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700540 - string:
541 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700542 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700543 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
544
Matteo Scandoloccc06192020-06-22 10:16:17 -0700545 - bool:
546 name: inMemoryEtcdStorage
547 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700548 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700549
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200550 - string:
551 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700552 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200553 description: 'Karaf home'
554
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700555- job-template:
556 id: 'voltha-scale-measurements'
557 name: '{name}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700558 disabled: '{disable-job}'
559
560 description: |
561 <!-- Managed by Jenkins Job Builder -->
562 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
563 Using pipeline {pipeline-script} <br/><br/>
564 Scale measurements for VOLTHA 2.x
565
566 properties:
567 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800568 build-days-to-keep: '{big-build-days-to-keep}'
569 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700570
571 wrappers:
572 - lf-infra-wrappers:
573 build-timeout: '{build-timeout}'
574 jenkins-ssh-credential: '{jenkins-ssh-credential}'
575
576 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800577 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700578 release: master
579
580 bbsimImg: voltha/bbsim:master
581 rwCoreImg: voltha/voltha-rw-core:master
582 ofAgentImg: voltha/voltha-ofagent-go:master
583 openoltAdapterImg: voltha/voltha-openolt-adapter:master
584 openonuAdapterImg: voltha/voltha-openonu-adapter:master
585 onosImg: voltha/voltha-onos:master
586
587 bbsimChart: onf/bbsim
588 volthaChart: onf/voltha
589 openoltAdapterChart: onf/voltha-adapter-openolt
590 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700591 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700592 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700593
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800594 volthaStacks: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700595 olts: 2
596 pons: 2
597 onus: 2
598 workflow: att
599 withFlows: false
600 provisionSubscribers: false
601 withEapol: true
602 withDhcp: true
603 withIgmp: false
604 withLLDP: false
605 withMibTemplate: true
606 withMonitoring: true
607 withProfiling: false
608 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700609 withRadius: yes
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700610 openonuAdapterReplicas: 8
611 onosReplicas: 3
612 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700613 kafkaReplicas: 3
614 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700615 extraHelmFlags: ''
616 onosStatInterval: 5
617 volthaSystemTestsChange: ''
618 kindVolthaChange: ''
619 inMemoryEtcdStorage: true
620 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700621 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700622 dockerRegistry: 10.90.0.101:30500
623 trigger-comment: vv7CBoQQYYonvaN8xcru
624 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700625
626 <<: *voltha-scale-job-parameters
627
Matteo Scandolo272aed42020-05-08 15:05:57 -0700628 project-type: pipeline
629 concurrent: false
630
631 dsl: !include-raw-escape: pipeline/{pipeline-script}
632
Matteo Scandoloabb83972020-06-25 16:08:23 -0700633 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700634 # periodic jobs will set this every 4 hours
635 # 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 -0700636 - timed: |
637 TZ=America/Los_Angeles
638 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700639 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
640 # patchset jobs will set this to a meaningful comment
641 - gerrit:
642 server-name: '{gerrit-server-name}'
643 silent-start: false
644 successful-message: "PASSED scale test"
645 failure-message: "FAILED scale test"
646 unstable-message: "UNSTABLE scale test"
647 trigger-on:
648 - comment-added-contains-event:
649 comment-contains-value: '.*{trigger-comment}.*'
650 projects:
651 - project-compare-type: REG_EXP
652 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
653 branches:
654 - branch-compare-type: REG_EXP
655 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700656
657- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700658 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800659 name: '{name}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800660
661 description: |
662 <!-- Managed by Jenkins Job Builder -->
663 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
664 Using pipeline {pipeline-script} <br/><br/>
665 Scale measurements for VOLTHA 2.x
666
667 properties:
668 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800669 build-days-to-keep: '{big-build-days-to-keep}'
670 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800671
672 wrappers:
673 - lf-infra-wrappers:
674 build-timeout: '{build-timeout}'
675 jenkins-ssh-credential: '{jenkins-ssh-credential}'
676
Matteo Scandolo0430f672020-05-07 11:50:26 -0700677 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800678 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700679 release: master
680
Matteo Scandolo0430f672020-05-07 11:50:26 -0700681 bbsimImg: voltha/bbsim:master
682 rwCoreImg: voltha/voltha-rw-core:master
683 ofAgentImg: voltha/voltha-ofagent-go:master
684 openoltAdapterImg: voltha/voltha-openolt-adapter:master
685 openonuAdapterImg: voltha/voltha-openonu-adapter:master
686 onosImg: voltha/voltha-onos:master
687
688 bbsimChart: onf/bbsim
689 volthaChart: onf/voltha
690 openoltAdapterChart: onf/voltha-adapter-openolt
691 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700692 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700693 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700694
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800695 volthaStacks: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700696 olts: 2
697 pons: 2
698 onus: 2
699 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700700 withFlows: true
701 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700702 withEapol: true
703 withDhcp: true
704 withIgmp: false
705 withLLDP: false
706 withMibTemplate: true
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700707 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700708 withProfiling: false
709 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700710 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700711 openonuAdapterReplicas: 1
712 onosReplicas: 1
713 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700714 kafkaReplicas: 1
715 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700716 extraHelmFlags: ''
717 onosStatInterval: 5
718 volthaSystemTestsChange: ''
719 kindVolthaChange: ''
720 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700721 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700722 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700723 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700724
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700725 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200726
Matteo Scandolo51b76302020-02-05 12:07:23 -0800727 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800728 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800729
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700730 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700731
Matteo Scandolo849db722020-10-21 10:58:41 -0700732 triggers:
733 - gerrit:
734 server-name: '{gerrit-server-name}'
735 silent-start: false
736 successful-message: "PASSED scale test"
737 failure-message: "FAILED scale test"
738 unstable-message: "UNSTABLE scale test"
739 trigger-on:
740 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700741 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700742 projects:
743 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700744 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700745 branches:
746 - branch-compare-type: REG_EXP
747 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700748- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700749 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700750 name: '{name}'
751 pipeline-script: 'voltha-scale-matrix.groovy'
752
753 description: |
754 <!-- Managed by Jenkins Job Builder -->
755 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
756 Using pipeline {pipeline-script} <br/><br/>
757 Scale measurements for VOLTHA 2.x
758
759 properties:
760 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800761 build-days-to-keep: '{big-build-days-to-keep}'
762 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700763
764 wrappers:
765 - lf-infra-wrappers:
766 build-timeout: '{build-timeout}'
767 jenkins-ssh-credential: '{jenkins-ssh-credential}'
768
769 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800770 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700771 release: master
772 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700773 volthaSystemTestsChange: ''
774 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700775 onosReplicas: 1
776 atomixReplicas: 0
777 kafkaReplicas: 1
778 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800779 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800780 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700781
782 project-type: pipeline
783 concurrent: false
784
785 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700786
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700787 parameters:
788 - string:
789 name: release
790 default: '{release}'
791 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
792
793 - string:
794 name: buildNode
795 default: '{build-node}'
796 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700797
798 - string:
799 name: volthaSystemTestsChange
800 default: '{volthaSystemTestsChange}'
801 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
802
803 - string:
804 name: kindVolthaChange
805 default: '{kindVolthaChange}'
806 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 -0700807
808 - string:
809 name: onosReplicas
810 default: '{onosReplicas}'
811 description: 'How many ONOSes instances to run'
812
813 - string:
814 name: atomixReplicas
815 default: '{atomixReplicas}'
816 description: 'How many Atomix instances to run'
817
818 - string:
819 name: kafkaReplicas
820 default: '{kafkaReplicas}'
821 description: 'How many Kafka instances to run'
822
823 - string:
824 name: etcdReplicas
825 default: '{etcdReplicas}'
826 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800827
828 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800829 name: openonuAdapterReplicas
830 default: '{openonuAdapterReplicas}'
831 description: 'How many OpenONU adapter instances to run'
832
833 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800834 name: topologies
835 default: '{topologies}'
836 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
837
838 triggers:
839 - timed: |
840 TZ=America/Los_Angeles
841 {time-trigger}