blob: 673294ce05978da764f8adc150db9c1f77e07a49 [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':
Matteo Scandolo45ad8f52020-08-11 09:07:49 -070014 name: 'voltha-openonu-go-scale-measurements-master-1-16-64-activation'
15 build-node: 'onf-pod1-head-node'
16 time-trigger: "H H/4 * * *"
17 olts: 1
18 pons: 16
19 onus: 64
20 withFlows: false
21 provisionSubscribers: false
22 withEapol: false
23 withDhcp: false
24 withIgmp: false
25 openonuAdapterReplicas: 1
26 openonuAdapterImg: voltha/voltha-openonu-adapter-go:master
27 extraHelmFlags: '--set use_openonu_adapter_go=true'
Andrea Campanella350c6102020-10-01 09:56:40 +020028
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020029 - 'voltha-scale-measurements':
30 name: 'voltha-openonu-go-scale-measurements-master-2-16-32-dt-subscribers'
31 build-node: 'onf-pod1-head-node'
32 time-trigger: "H H/4 * * *"
33 olts: 2
34 pons: 16
35 onus: 32
36 withFlows: true
37 provisionSubscribers: true
38 workflow: dt
39 withEapol: false
40 withDhcp: false
41 withIgmp: false
42 onosReplicas: 3
43 atomixReplicas: 3
44 openonuAdapterReplicas: 1
45 openonuAdapterImg: voltha/voltha-openonu-adapter-go:master
46 extraHelmFlags: '--set use_openonu_adapter_go=true'
Matteo Scandolo45ad8f52020-08-11 09:07:49 -070047
Andrea Campanellabdb199e2020-10-27 10:47:16 +010048 - 'voltha-scale-measurements':
49 name: 'voltha-openonu-go-scale-measurements-master-1-16-32-att-subscribers'
50 build-node: 'onf-pod1-head-node'
51 time-trigger: "H H/4 * * *"
52 olts: 1
53 pons: 16
54 onus: 32
55 withFlows: true
56 provisionSubscribers: true
57 withEapol: true
58 withDhcp: true
59 withIgmp: false
60 onosReplicas: 3
61 atomixReplicas: 3
62 openonuAdapterReplicas: 1
63 openonuAdapterImg: voltha/voltha-openonu-adapter-go:master
64 extraHelmFlags: '--set use_openonu_adapter_go=true'
65
Matteo Scandolo8df57162020-10-06 14:43:53 -070066 # this job will be used to test custom images without disrupting tests on master
67 - 'voltha-scale-measurements':
68 name: 'voltha-scale-measurements-master-experimental'
69 build-node: 'onf-pod1-head-node'
Matteo Scandolo85f67e72020-10-09 15:23:38 -070070 'disable-job': false
Matteo Scandolo8df57162020-10-06 14:43:53 -070071 time-trigger: "H H/4 * * *"
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -070072 withMonitoring: false
Matteo Scandolo8df57162020-10-06 14:43:53 -070073 olts: 1
74 pons: 16
75 onus: 32
76 withFlows: true
77 provisionSubscribers: true
78 withEapol: true
79 withDhcp: true
80 withIgmp: false
81 openonuAdapterReplicas: 8
82 onosReplicas: 3
83 atomixReplicas: 3
Matteo Scandolo37cba472020-10-26 14:15:34 -070084 extraHelmFlags: '--set authRetry=true'
Matteo Scandolo8df57162020-10-06 14:43:53 -070085 withPcap: true
Matteo Scandoloa4e082f2020-10-23 13:57:04 -070086 bbsimImg: matteoscandolo/bbsim:nni-packet-logs
Matteo Scandolo9665d592020-10-23 19:08:14 +000087
Matteo Scandolo8df57162020-10-06 14:43:53 -070088
Matteo Scandoloe51ef6c2020-09-28 10:32:12 -070089 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS (1 OLT)
Matteo Scandoloe4b04342020-05-28 07:35:45 -070090 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070091 name: 'voltha-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandolo37cba472020-10-26 14:15:34 -070092 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -070093 build-node: 'onf-pod1-head-node'
94 time-trigger: "H H/4 * * *"
95 olts: 1
96 pons: 16
97 onus: 32
98 withFlows: true
99 provisionSubscribers: true
100 withEapol: true
101 withDhcp: true
102 withIgmp: false
103 openonuAdapterReplicas: 8
104 onosReplicas: 3
105 atomixReplicas: 3
Matteo Scandolo91337832020-08-25 18:39:33 -0700106 withPcap: true
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 Scandolo37cba472020-10-26 14:15:34 -0700111 '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
123 openonuAdapterReplicas: 8
124 onosReplicas: 3
125 atomixReplicas: 3
Matteo Scandolo79184172020-09-17 10:16:42 -0700126 withPcap: true
Matteo Scandolo37cba472020-10-26 14:15:34 -0700127 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700128
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700129 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700130 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandolo37cba472020-10-26 14:15:34 -0700131 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700132 build-node: 'onf-pod1-head-node'
133 time-trigger: "H H/4 * * *"
134 olts: 1
135 pons: 16
136 onus: 32
137 withFlows: true
138 provisionSubscribers: true
139 workflow: dt
140 withEapol: false
141 withDhcp: false
142 withIgmp: false
143 openonuAdapterReplicas: 8
144 onosReplicas: 3
145 atomixReplicas: 3
Matteo Scandolo37cba472020-10-26 14:15:34 -0700146 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200147
Matteo Scandolo272aed42020-05-08 15:05:57 -0700148 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700149 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700150 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandolo37cba472020-10-26 14:15:34 -0700151 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700152 build-node: 'onf-pod1-head-node'
153 time-trigger: "H H/4 * * *"
154 olts: 2
155 pons: 16
156 onus: 32
157 withFlows: true
158 provisionSubscribers: true
159 withEapol: true
160 withDhcp: true
161 withIgmp: false
162 openonuAdapterReplicas: 8
163 onosReplicas: 3
164 atomixReplicas: 3
Matteo Scandolo37cba472020-10-26 14:15:34 -0700165 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloe28521c2020-09-24 14:30:35 -0700166 withPcap: true
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700167
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700168 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700169 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo37cba472020-10-26 14:15:34 -0700170 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700171 build-node: 'onf-pod1-head-node'
172 time-trigger: "H H/4 * * *"
173 olts: 2
174 pons: 16
175 onus: 32
176 withFlows: true
177 provisionSubscribers: true
178 workflow: dt
179 withEapol: false
180 withDhcp: false
181 withIgmp: false
182 openonuAdapterReplicas: 8
183 onosReplicas: 3
184 atomixReplicas: 3
Matteo Scandolo37cba472020-10-26 14:15:34 -0700185 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700186
Matteo Scandolo031bd982020-09-16 10:03:47 -0700187 # voltha-2.5 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700188 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700189 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-att-subscribers'
Matteo Scandoloc348aea2020-10-07 13:36:04 -0700190 'disable-job': true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700191 build-node: 'onf-pod1-head-node'
192 time-trigger: "H H/4 * * *"
193 olts: 1
194 pons: 16
195 onus: 32
196 withFlows: true
197 provisionSubscribers: true
198 withEapol: true
199 withDhcp: true
200 withIgmp: false
201 openonuAdapterReplicas: 8
202 onosReplicas: 3
203 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700204 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700205 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700206 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700207 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700208 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700209 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700210 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200211 onosImg: ''
Matteo Scandolof1097ce2020-08-25 09:57:41 -0700212 withPcap: true
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 Scandoloc348aea2020-10-07 13:36:04 -0700216 'disable-job': true
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
228 openonuAdapterReplicas: 8
229 onosReplicas: 3
230 atomixReplicas: 3
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700231 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700232 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700233 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700234 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700235 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700236 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700237 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200238 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700239
Matteo Scandolo031bd982020-09-16 10:03:47 -0700240 - 'voltha-scale-measurements':
241 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-tt-subscribers'
Matteo Scandoloc348aea2020-10-07 13:36:04 -0700242 'disable-job': true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700243 build-node: 'onf-pod1-head-node'
244 time-trigger: "H H/4 * * *"
245 olts: 1
246 pons: 16
247 onus: 32
248 withFlows: true
249 provisionSubscribers: true
250 workflow: tt
251 withEapol: false
252 withDhcp: true
253 withIgmp: true
254 openonuAdapterReplicas: 8
255 onosReplicas: 3
256 atomixReplicas: 3
257 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
258 release: voltha-2.5
259 bbsimImg: ''
260 rwCoreImg: ''
261 ofAgentImg: ''
262 openoltAdapterImg: ''
263 openonuAdapterImg: ''
264 onosImg: ''
265 withPcap: true
266
Matteo Scandolo272aed42020-05-08 15:05:57 -0700267 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700268 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700269 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700270 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700271 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700272
Matteo Scandolodc930192020-08-27 15:56:16 -0700273 # development matrix
274 - 'voltha-scale-matrix-dev':
275 name: 'voltha-scale-matrix-voltha-2.4-dev'
276 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800277
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700278# list of parameters for the VOLTHA Jobs,
279# used as anchor so that can be shared across multiple jobs
280# to use in a job: `parameters: *voltha-build-job-parameters`
281- voltha-scale-job-parameters: &voltha-scale-job-parameters
282 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700283 parameters:
284 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700285 name: release
286 default: '{release}'
287 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
288
289 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700290 name: buildNode
291 default: '{build-node}'
292 description: 'Name of the Jenkins node to run the job on'
293
294 - string:
295 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700296 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700297 description: 'Log level for all the components'
298
299 - string:
300 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700301 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700302 description: 'Number of ONUs to provision'
303
304 - string:
305 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700306 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700307 description: 'Number of PONs to provision'
308
309 - string:
310 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700311 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700312 description: 'How many BBSim instances to run'
313
314 - string:
315 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700316 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700317 description: 'Which workflow are we testing (att, dt, tt)'
318
319 - bool:
320 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700321 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700322 description: 'Wheter to push flows from ONOS'
323
324 - bool:
325 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700326 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700327 description: 'Wheter to provision subscribers durint the tests'
328
329 - bool:
330 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700331 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700332 description: 'Wheter EAPOL is enabled for the test'
333
334 - bool:
335 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700336 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700337 description: 'Wheter DHCP is enabled for the test'
338
339 - bool:
340 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700341 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700342 description: 'Wheter IGMP is enabled for the test'
343
344 - bool:
345 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700346 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700347 description: 'Wheter Link Discovery is enabled for the test'
348
349 - bool:
350 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700351 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700352 description: 'Option to trigger MIB template command'
353
354 - bool:
355 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700356 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700357 description: 'Option to install Prometheus'
358
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700359 - bool:
360 name: withProfiling
361 default: '{withProfiling}'
362 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
363
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700364 - bool:
365 name: withPcap
366 default: '{withPcap}'
367 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
368
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700369 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700370 name: withRadius
371 default: '{withRadius}'
372 description: 'Value to pass to kind-voltha WITH_RADIUS'
373
374 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700375 name: extraHelmFlags
376 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700377 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 -0700378
Matteo Scandolo272aed42020-05-08 15:05:57 -0700379 - string:
380 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700381 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700382 description: 'How many OpenONU adapter instances to run'
383
384 - string:
385 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700386 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700387 description: 'How many ONOSes instances to run'
388
389 - string:
390 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700391 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700392 description: 'How many Atomix instances to run'
393
394 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700395 name: kafkaReplicas
396 default: '{kafkaReplicas}'
397 description: 'How many Kafka instances to run'
398
399 - string:
400 name: etcdReplicas
401 default: '{etcdReplicas}'
402 description: 'How many ETCD instances to run'
403
404 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700405 name: onosStatInterval
406 default: '{onosStatInterval}'
407 description: 'How often ONOS should poll for ports, flows and meters'
408
409 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700410 name: bbsimImg
411 default: '{bbsimImg}'
412 description: 'Custom image selection for BBSIM (repo:tag)'
413
414 - string:
415 name: bbsimChart
416 default: '{bbsimChart}'
417 description: 'BBSim chart name (or location on file system)'
418
419 - string:
420 name: rwCoreImg
421 default: '{rwCoreImg}'
422 description: 'Custom image selection for VOLTHA (repo:tag)'
423
424 - string:
425 name: ofAgentImg
426 default: '{ofAgentImg}'
427 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
428
429 - string:
430 name: volthaChart
431 default: '{volthaChart}'
432 description: 'VOLTHA chart name (or location on file system)'
433
434 - string:
435 name: openoltAdapterImg
436 default: '{openoltAdapterImg}'
437 description: 'Custom image selection for Openolt Adapter (repo:tag)'
438
439 - string:
440 name: openoltAdapterChart
441 default: '{openoltAdapterChart}'
442 description: 'OpenOLT chart name (or location on file system)'
443
444 - string:
445 name: openonuAdapterImg
446 default: '{openonuAdapterImg}'
447 description: 'Custom image selection for Openonu Adapter (repo:tag)'
448
449 - string:
450 name: openonuAdapterChart
451 default: '{openonuAdapterChart}'
452 description: 'OpenONU chart name (or location on file system)'
453
454 - string:
455 name: onosImg
456 default: '{onosImg}'
457 description: 'Custom image selection for Openonu Adapter (repo:tag)'
458
459 - string:
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700460 name: onosChart
461 default: '{onosChart}'
462 description: 'ONOS chart name (or location on file system)'
463
464 - string:
Matteo Scandolo06506102020-10-13 12:24:20 -0700465 name: radiusChart
466 default: '{radiusChart}'
467 description: 'freeradius chart name (or location on file system)'
468
469 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700470 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700471 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700472 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
473
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700474 - string:
475 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700476 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700477 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
478
Matteo Scandoloccc06192020-06-22 10:16:17 -0700479 - bool:
480 name: inMemoryEtcdStorage
481 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700482 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700483
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200484 - string:
485 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700486 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200487 description: 'Karaf home'
488
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700489- job-template:
490 id: 'voltha-scale-measurements'
491 name: '{name}'
492 pipeline-script: 'voltha-scale-test.groovy'
493 disabled: '{disable-job}'
494
495 description: |
496 <!-- Managed by Jenkins Job Builder -->
497 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
498 Using pipeline {pipeline-script} <br/><br/>
499 Scale measurements for VOLTHA 2.x
500
501 properties:
502 - cord-infra-properties:
503 build-days-to-keep: 30
504 artifact-num-to-keep: 15
505
506 wrappers:
507 - lf-infra-wrappers:
508 build-timeout: '{build-timeout}'
509 jenkins-ssh-credential: '{jenkins-ssh-credential}'
510
511 # default values
512 release: master
513
514 bbsimImg: voltha/bbsim:master
515 rwCoreImg: voltha/voltha-rw-core:master
516 ofAgentImg: voltha/voltha-ofagent-go:master
517 openoltAdapterImg: voltha/voltha-openolt-adapter:master
518 openonuAdapterImg: voltha/voltha-openonu-adapter:master
519 onosImg: voltha/voltha-onos:master
520
521 bbsimChart: onf/bbsim
522 volthaChart: onf/voltha
523 openoltAdapterChart: onf/voltha-adapter-openolt
524 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700525 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700526 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700527
528 olts: 2
529 pons: 2
530 onus: 2
531 workflow: att
532 withFlows: false
533 provisionSubscribers: false
534 withEapol: true
535 withDhcp: true
536 withIgmp: false
537 withLLDP: false
538 withMibTemplate: true
539 withMonitoring: true
540 withProfiling: false
541 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700542 withRadius: yes
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700543 openonuAdapterReplicas: 1
544 onosReplicas: 1
545 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700546 kafkaReplicas: 3
547 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700548 extraHelmFlags: ''
549 onosStatInterval: 5
550 volthaSystemTestsChange: ''
551 kindVolthaChange: ''
552 inMemoryEtcdStorage: true
553 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700554 logLevel: 'INFO'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700555
556 <<: *voltha-scale-job-parameters
557
Matteo Scandolo272aed42020-05-08 15:05:57 -0700558 project-type: pipeline
559 concurrent: false
560
561 dsl: !include-raw-escape: pipeline/{pipeline-script}
562
Matteo Scandoloabb83972020-06-25 16:08:23 -0700563 triggers:
564 - timed: |
565 TZ=America/Los_Angeles
566 {time-trigger}
Matteo Scandolo272aed42020-05-08 15:05:57 -0700567
568- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700569 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800570 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700571 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800572
573 description: |
574 <!-- Managed by Jenkins Job Builder -->
575 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
576 Using pipeline {pipeline-script} <br/><br/>
577 Scale measurements for VOLTHA 2.x
578
579 properties:
580 - cord-infra-properties:
581 build-days-to-keep: '{build-days-to-keep}'
582 artifact-num-to-keep: '{artifact-num-to-keep}'
583
584 wrappers:
585 - lf-infra-wrappers:
586 build-timeout: '{build-timeout}'
587 jenkins-ssh-credential: '{jenkins-ssh-credential}'
588
Matteo Scandolo0430f672020-05-07 11:50:26 -0700589 # default values
Matteo Scandolo68776b72020-07-21 14:06:06 -0700590 release: master
591
Matteo Scandolo0430f672020-05-07 11:50:26 -0700592 bbsimImg: voltha/bbsim:master
593 rwCoreImg: voltha/voltha-rw-core:master
594 ofAgentImg: voltha/voltha-ofagent-go:master
595 openoltAdapterImg: voltha/voltha-openolt-adapter:master
596 openonuAdapterImg: voltha/voltha-openonu-adapter:master
597 onosImg: voltha/voltha-onos:master
598
599 bbsimChart: onf/bbsim
600 volthaChart: onf/voltha
601 openoltAdapterChart: onf/voltha-adapter-openolt
602 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700603 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700604 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700605
Matteo Scandolo68776b72020-07-21 14:06:06 -0700606 olts: 2
607 pons: 2
608 onus: 2
609 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700610 withFlows: true
611 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700612 withEapol: true
613 withDhcp: true
614 withIgmp: false
615 withLLDP: false
616 withMibTemplate: true
617 withMonitoring: true
618 withProfiling: false
619 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700620 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700621 openonuAdapterReplicas: 1
622 onosReplicas: 1
623 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700624 kafkaReplicas: 1
625 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700626 extraHelmFlags: ''
627 onosStatInterval: 5
628 volthaSystemTestsChange: ''
629 kindVolthaChange: ''
630 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700631 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700632 logLevel: 'INFO'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700633
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700634 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200635
Matteo Scandolo51b76302020-02-05 12:07:23 -0800636 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800637 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800638
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700639 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700640
Matteo Scandolo849db722020-10-21 10:58:41 -0700641 triggers:
642 - gerrit:
643 server-name: '{gerrit-server-name}'
644 silent-start: false
645 successful-message: "PASSED scale test"
646 failure-message: "FAILED scale test"
647 unstable-message: "UNSTABLE scale test"
648 trigger-on:
649 - comment-added-contains-event:
650 comment-contains-value: '.*scale test.*'
651 projects:
652 - project-compare-type: REG_EXP
653 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos)$'
654 branches:
655 - branch-compare-type: REG_EXP
656 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700657- job-template:
658 id: 'voltha-scale-matrix-dev'
659 name: '{name}'
660 pipeline-script: 'voltha-scale-matrix.groovy'
661
662 description: |
663 <!-- Managed by Jenkins Job Builder -->
664 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
665 Using pipeline {pipeline-script} <br/><br/>
666 Scale measurements for VOLTHA 2.x
667
668 properties:
669 - cord-infra-properties:
670 build-days-to-keep: '{build-days-to-keep}'
671 artifact-num-to-keep: '{artifact-num-to-keep}'
672
673 wrappers:
674 - lf-infra-wrappers:
675 build-timeout: '{build-timeout}'
676 jenkins-ssh-credential: '{jenkins-ssh-credential}'
677
678 # default values
679 release: master
680 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700681 volthaSystemTestsChange: ''
682 kindVolthaChange: ''
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700683
684 project-type: pipeline
685 concurrent: false
686
687 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700688
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700689 parameters:
690 - string:
691 name: release
692 default: '{release}'
693 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
694
695 - string:
696 name: buildNode
697 default: '{build-node}'
698 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700699
700 - string:
701 name: volthaSystemTestsChange
702 default: '{volthaSystemTestsChange}'
703 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
704
705 - string:
706 name: kindVolthaChange
707 default: '{kindVolthaChange}'
708 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'