blob: c0daf365d46adb97e1b62186aa14bddd3214c495 [file] [log] [blame]
Matteo Scandolo51b76302020-02-05 12:07:23 -08001---
2# VOLTHA 2.x scale measurements
3
4- project:
5 name: voltha-scale
6
7 project-name: '{name}'
8
9 jobs:
Matteo Scandolo272aed42020-05-08 15:05:57 -070010 # name format is <job-template>-<olts>-<pon>-<onus>-<setup>
Matteo Scandolo3136cca2020-05-15 14:14:27 -070011
Matteo Scandoloca097652020-08-14 09:49:23 -070012 # OpenONU GO Scale
Matteo Scandolob46bc402020-06-11 13:59:44 -070013 - 'voltha-scale-measurements':
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020014 name: 'voltha-openonu-go-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080015 'disable-job': false
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020016 build-node: 'onf-pod1-head-node'
17 time-trigger: "H H/4 * * *"
18 olts: 2
19 pons: 16
20 onus: 32
21 withFlows: true
22 provisionSubscribers: true
23 workflow: dt
24 withEapol: false
25 withDhcp: false
26 withIgmp: false
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020027 openonuAdapterReplicas: 1
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020028 extraHelmFlags: '--set use_openonu_adapter_go=true'
Matteo Scandolo45ad8f52020-08-11 09:07:49 -070029
Andrea Campanellabdb199e2020-10-27 10:47:16 +010030 - 'voltha-scale-measurements':
Andrea Campanella37e8a452020-11-18 22:27:58 +010031 name: 'voltha-openonu-go-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandolo4c4fbdd2020-11-04 13:49:42 -080032 'disable-job': false
Andrea Campanellabdb199e2020-10-27 10:47:16 +010033 build-node: 'onf-pod1-head-node'
34 time-trigger: "H H/4 * * *"
Andrea Campanella37e8a452020-11-18 22:27:58 +010035 olts: 2
Andrea Campanellabdb199e2020-10-27 10:47:16 +010036 pons: 16
37 onus: 32
38 withFlows: true
39 provisionSubscribers: true
40 withEapol: true
41 withDhcp: true
42 withIgmp: false
Andrea Campanellabdb199e2020-10-27 10:47:16 +010043 openonuAdapterReplicas: 1
Andrea Campanella04ca93a2020-11-07 14:57:50 +010044 extraHelmFlags: '--set use_openonu_adapter_go=true,authRetry=true,dhcpRetry=true'
Andrea Campanellabdb199e2020-10-27 10:47:16 +010045
Matteo Scandolo8df57162020-10-06 14:43:53 -070046 # this job will be used to test custom images without disrupting tests on master
47 - 'voltha-scale-measurements':
48 name: 'voltha-scale-measurements-master-experimental'
49 build-node: 'onf-pod1-head-node'
Andrea Campanella642e5502020-11-19 19:47:02 +010050 pipeline-script: 'voltha-scale-test-etcd-kafka-bitnami.groovy'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080051 'disable-job': false
Matteo Scandoloe6647a02020-11-02 10:27:52 -080052 # trigger on Feb 29th (a.k.a only trigger it manually)
53 time-trigger: "H 0 29 2 *"
Andrea Campanella642e5502020-11-19 19:47:02 +010054 withMonitoring: true
Matteo Scandoloe6647a02020-11-02 10:27:52 -080055 olts: 2
Matteo Scandolo8df57162020-10-06 14:43:53 -070056 pons: 16
57 onus: 32
58 withFlows: true
59 provisionSubscribers: true
60 withEapol: true
61 withDhcp: true
62 withIgmp: false
Matteo Scandolo0feb5e92020-10-27 19:34:51 -070063 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo8df57162020-10-06 14:43:53 -070064 withPcap: true
Matteo Scandolo9665d592020-10-23 19:08:14 +000065
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080066 - 'voltha-scale-measurements':
67 name: 'voltha-scale-measurements-master-experimental-multi-stack'
68 build-node: 'onf-pod1-head-node'
69 pipeline-script: 'voltha-scale-multi-stack.groovy'
70 'disable-job': false
71 # trigger on Feb 29th (a.k.a only trigger it manually)
Matteo Scandolodc4608c2020-11-12 16:48:16 -080072 # time-trigger: "H 0 29 2 *"
73 time-trigger: "H H/4 * * *"
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080074 withMonitoring: false
Matteo Scandolof7ca6312020-11-16 15:57:15 -080075 logLevel: WARN
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080076 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
Matteo Scandolof7ca6312020-11-16 15:57:15 -080082 workflow: dt
83 withEapol: false
84 withDhcp: false
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080085 withIgmp: false
86 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080087 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:
Andrea Campanella28763082020-11-18 10:55:31 +0100515 name: openonuAdapterGoImg
516 default: '{openonuAdapterGoImg}'
517 description: 'Custom image selection for Openonu Go Adapter (repo:tag)'
518
519 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700520 name: openonuAdapterChart
521 default: '{openonuAdapterChart}'
522 description: 'OpenONU chart name (or location on file system)'
523
524 - string:
525 name: onosImg
526 default: '{onosImg}'
527 description: 'Custom image selection for Openonu Adapter (repo:tag)'
528
529 - string:
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700530 name: onosChart
531 default: '{onosChart}'
532 description: 'ONOS chart name (or location on file system)'
533
534 - string:
Matteo Scandolo06506102020-10-13 12:24:20 -0700535 name: radiusChart
536 default: '{radiusChart}'
537 description: 'freeradius chart name (or location on file system)'
538
539 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700540 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700541 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700542 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
543
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700544 - string:
545 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700546 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700547 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
548
Matteo Scandoloccc06192020-06-22 10:16:17 -0700549 - bool:
550 name: inMemoryEtcdStorage
551 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700552 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700553
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200554 - string:
555 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700556 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200557 description: 'Karaf home'
558
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700559- job-template:
560 id: 'voltha-scale-measurements'
561 name: '{name}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700562 disabled: '{disable-job}'
563
564 description: |
565 <!-- Managed by Jenkins Job Builder -->
566 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
567 Using pipeline {pipeline-script} <br/><br/>
568 Scale measurements for VOLTHA 2.x
569
570 properties:
571 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800572 build-days-to-keep: '{big-build-days-to-keep}'
573 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700574
575 wrappers:
576 - lf-infra-wrappers:
577 build-timeout: '{build-timeout}'
578 jenkins-ssh-credential: '{jenkins-ssh-credential}'
579
580 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800581 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700582 release: master
583
584 bbsimImg: voltha/bbsim:master
585 rwCoreImg: voltha/voltha-rw-core:master
586 ofAgentImg: voltha/voltha-ofagent-go:master
587 openoltAdapterImg: voltha/voltha-openolt-adapter:master
588 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100589 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700590 onosImg: voltha/voltha-onos:master
591
592 bbsimChart: onf/bbsim
593 volthaChart: onf/voltha
594 openoltAdapterChart: onf/voltha-adapter-openolt
595 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700596 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700597 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700598
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800599 volthaStacks: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700600 olts: 2
601 pons: 2
602 onus: 2
603 workflow: att
604 withFlows: false
605 provisionSubscribers: false
606 withEapol: true
607 withDhcp: true
608 withIgmp: false
609 withLLDP: false
610 withMibTemplate: true
611 withMonitoring: true
612 withProfiling: false
613 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700614 withRadius: yes
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700615 openonuAdapterReplicas: 8
616 onosReplicas: 3
617 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700618 kafkaReplicas: 3
619 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700620 extraHelmFlags: ''
621 onosStatInterval: 5
622 volthaSystemTestsChange: ''
623 kindVolthaChange: ''
624 inMemoryEtcdStorage: true
625 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700626 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700627 dockerRegistry: 10.90.0.101:30500
628 trigger-comment: vv7CBoQQYYonvaN8xcru
629 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700630
631 <<: *voltha-scale-job-parameters
632
Matteo Scandolo272aed42020-05-08 15:05:57 -0700633 project-type: pipeline
634 concurrent: false
635
636 dsl: !include-raw-escape: pipeline/{pipeline-script}
637
Matteo Scandoloabb83972020-06-25 16:08:23 -0700638 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700639 # periodic jobs will set this every 4 hours
640 # 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 -0700641 - timed: |
642 TZ=America/Los_Angeles
643 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700644 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
645 # patchset jobs will set this to a meaningful comment
646 - gerrit:
647 server-name: '{gerrit-server-name}'
648 silent-start: false
649 successful-message: "PASSED scale test"
650 failure-message: "FAILED scale test"
651 unstable-message: "UNSTABLE scale test"
652 trigger-on:
653 - comment-added-contains-event:
654 comment-contains-value: '.*{trigger-comment}.*'
655 projects:
656 - project-compare-type: REG_EXP
657 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
658 branches:
659 - branch-compare-type: REG_EXP
660 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700661
662- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700663 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800664 name: '{name}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800665
666 description: |
667 <!-- Managed by Jenkins Job Builder -->
668 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
669 Using pipeline {pipeline-script} <br/><br/>
670 Scale measurements for VOLTHA 2.x
671
672 properties:
673 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800674 build-days-to-keep: '{big-build-days-to-keep}'
675 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800676
677 wrappers:
678 - lf-infra-wrappers:
679 build-timeout: '{build-timeout}'
680 jenkins-ssh-credential: '{jenkins-ssh-credential}'
681
Matteo Scandolo0430f672020-05-07 11:50:26 -0700682 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800683 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700684 release: master
685
Matteo Scandolo0430f672020-05-07 11:50:26 -0700686 bbsimImg: voltha/bbsim:master
687 rwCoreImg: voltha/voltha-rw-core:master
688 ofAgentImg: voltha/voltha-ofagent-go:master
689 openoltAdapterImg: voltha/voltha-openolt-adapter:master
690 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100691 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandolo0430f672020-05-07 11:50:26 -0700692 onosImg: voltha/voltha-onos:master
693
694 bbsimChart: onf/bbsim
695 volthaChart: onf/voltha
696 openoltAdapterChart: onf/voltha-adapter-openolt
697 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700698 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700699 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700700
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800701 volthaStacks: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700702 olts: 2
703 pons: 2
704 onus: 2
705 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700706 withFlows: true
707 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700708 withEapol: true
709 withDhcp: true
710 withIgmp: false
711 withLLDP: false
712 withMibTemplate: true
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700713 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700714 withProfiling: false
715 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700716 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700717 openonuAdapterReplicas: 1
718 onosReplicas: 1
719 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700720 kafkaReplicas: 1
721 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700722 extraHelmFlags: ''
723 onosStatInterval: 5
724 volthaSystemTestsChange: ''
725 kindVolthaChange: ''
726 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700727 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700728 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700729 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700730
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700731 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200732
Matteo Scandolo51b76302020-02-05 12:07:23 -0800733 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800734 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800735
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700736 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700737
Matteo Scandolo849db722020-10-21 10:58:41 -0700738 triggers:
739 - gerrit:
740 server-name: '{gerrit-server-name}'
741 silent-start: false
742 successful-message: "PASSED scale test"
743 failure-message: "FAILED scale test"
744 unstable-message: "UNSTABLE scale test"
745 trigger-on:
746 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700747 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700748 projects:
749 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700750 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700751 branches:
752 - branch-compare-type: REG_EXP
753 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700754- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700755 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700756 name: '{name}'
757 pipeline-script: 'voltha-scale-matrix.groovy'
758
759 description: |
760 <!-- Managed by Jenkins Job Builder -->
761 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
762 Using pipeline {pipeline-script} <br/><br/>
763 Scale measurements for VOLTHA 2.x
764
765 properties:
766 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800767 build-days-to-keep: '{big-build-days-to-keep}'
768 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700769
770 wrappers:
771 - lf-infra-wrappers:
772 build-timeout: '{build-timeout}'
773 jenkins-ssh-credential: '{jenkins-ssh-credential}'
774
775 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800776 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700777 release: master
778 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700779 volthaSystemTestsChange: ''
780 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700781 onosReplicas: 1
782 atomixReplicas: 0
783 kafkaReplicas: 1
784 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800785 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800786 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700787
788 project-type: pipeline
789 concurrent: false
790
791 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700792
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700793 parameters:
794 - string:
795 name: release
796 default: '{release}'
797 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
798
799 - string:
800 name: buildNode
801 default: '{build-node}'
802 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700803
804 - string:
805 name: volthaSystemTestsChange
806 default: '{volthaSystemTestsChange}'
807 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
808
809 - string:
810 name: kindVolthaChange
811 default: '{kindVolthaChange}'
812 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 -0700813
814 - string:
815 name: onosReplicas
816 default: '{onosReplicas}'
817 description: 'How many ONOSes instances to run'
818
819 - string:
820 name: atomixReplicas
821 default: '{atomixReplicas}'
822 description: 'How many Atomix instances to run'
823
824 - string:
825 name: kafkaReplicas
826 default: '{kafkaReplicas}'
827 description: 'How many Kafka instances to run'
828
829 - string:
830 name: etcdReplicas
831 default: '{etcdReplicas}'
832 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800833
834 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800835 name: openonuAdapterReplicas
836 default: '{openonuAdapterReplicas}'
837 description: 'How many OpenONU adapter instances to run'
838
839 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800840 name: topologies
841 default: '{topologies}'
842 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
843
844 triggers:
845 - timed: |
846 TZ=America/Los_Angeles
847 {time-trigger}