blob: 360c158898953f5632ece96a4e2c07d12edbdf73 [file] [log] [blame]
Matteo Scandolo51b76302020-02-05 12:07:23 -08001---
2# VOLTHA 2.x scale measurements
3
4- project:
5 name: voltha-scale
6
7 project-name: '{name}'
8
9 jobs:
Matteo Scandolo272aed42020-05-08 15:05:57 -070010 # name format is <job-template>-<olts>-<pon>-<onus>-<setup>
Matteo Scandolo3136cca2020-05-15 14:14:27 -070011
Matteo Scandoloca097652020-08-14 09:49:23 -070012 # OpenONU GO Scale
Matteo Scandolob46bc402020-06-11 13:59:44 -070013 - 'voltha-scale-measurements':
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020014 name: 'voltha-openonu-go-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080015 'disable-job': false
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020016 build-node: 'onf-pod1-head-node'
17 time-trigger: "H H/4 * * *"
18 olts: 2
19 pons: 16
20 onus: 32
21 withFlows: true
22 provisionSubscribers: true
23 workflow: dt
24 withEapol: false
25 withDhcp: false
26 withIgmp: false
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020027 openonuAdapterReplicas: 1
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020028 extraHelmFlags: '--set use_openonu_adapter_go=true'
Matteo Scandolo45ad8f52020-08-11 09:07:49 -070029
Andrea Campanellabdb199e2020-10-27 10:47:16 +010030 - 'voltha-scale-measurements':
Andrea Campanella37e8a452020-11-18 22:27:58 +010031 name: 'voltha-openonu-go-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandolo4c4fbdd2020-11-04 13:49:42 -080032 'disable-job': false
Andrea Campanellabdb199e2020-10-27 10:47:16 +010033 build-node: 'onf-pod1-head-node'
34 time-trigger: "H H/4 * * *"
Andrea Campanella37e8a452020-11-18 22:27:58 +010035 olts: 2
Andrea Campanellabdb199e2020-10-27 10:47:16 +010036 pons: 16
37 onus: 32
38 withFlows: true
39 provisionSubscribers: true
40 withEapol: true
41 withDhcp: true
42 withIgmp: false
Andrea Campanellabdb199e2020-10-27 10:47:16 +010043 openonuAdapterReplicas: 1
Andrea Campanella04ca93a2020-11-07 14:57:50 +010044 extraHelmFlags: '--set use_openonu_adapter_go=true,authRetry=true,dhcpRetry=true'
Andrea Campanellabdb199e2020-10-27 10:47:16 +010045
Girish Gowdra0de34422020-11-19 11:58:12 -080046 - 'voltha-scale-measurements':
Andrea Campanella945a21d2020-11-24 11:09:53 +010047 name: 'voltha-openonu-go-scale-measurements-master-2-16-32-tt-subscribers'
Girish Gowdra0de34422020-11-19 11:58:12 -080048 'disable-job': false
49 build-node: 'onf-pod1-head-node'
50 time-trigger: "H H/4 * * *"
Andrea Campanella945a21d2020-11-24 11:09:53 +010051 olts: 2
Girish Gowdra0de34422020-11-19 11:58:12 -080052 pons: 16
53 onus: 32
54 withFlows: true
55 workflow: tt
56 provisionSubscribers: true
57 withEapol: false
58 withDhcp: true
59 withIgmp: false
60 openonuAdapterReplicas: 1
61 openonuAdapterImg: voltha/voltha-openonu-adapter-go:master
62 extraHelmFlags: '--set use_openonu_adapter_go=true,dhcpRetry=true,defaults.incremental_evto_update=true'
63
Matteo Scandolo8df57162020-10-06 14:43:53 -070064 # this job will be used to test custom images without disrupting tests on master
65 - 'voltha-scale-measurements':
66 name: 'voltha-scale-measurements-master-experimental'
Matteo Scandolobe823242020-11-20 13:48:13 -080067 build-node: 'voltha-scale-2'
Andrea Campanella642e5502020-11-19 19:47:02 +010068 pipeline-script: 'voltha-scale-test-etcd-kafka-bitnami.groovy'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080069 'disable-job': false
Matteo Scandoloe6647a02020-11-02 10:27:52 -080070 # trigger on Feb 29th (a.k.a only trigger it manually)
71 time-trigger: "H 0 29 2 *"
Andrea Campanella642e5502020-11-19 19:47:02 +010072 withMonitoring: true
Matteo Scandoloe6647a02020-11-02 10:27:52 -080073 olts: 2
Matteo Scandolo8df57162020-10-06 14:43:53 -070074 pons: 16
75 onus: 32
76 withFlows: true
77 provisionSubscribers: true
78 withEapol: true
79 withDhcp: true
80 withIgmp: false
Matteo Scandolo0feb5e92020-10-27 19:34:51 -070081 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo08d7d002020-11-20 17:37:56 -080082 withPcap: false
Matteo Scandolobe823242020-11-20 13:48:13 -080083 openoltAdapterImg: gcgirish/voltha-openolt-adapter:writeThroughCache
Matteo Scandolo9665d592020-10-23 19:08:14 +000084
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080085 - 'voltha-scale-measurements':
86 name: 'voltha-scale-measurements-master-experimental-multi-stack'
Matteo Scandolobe823242020-11-20 13:48:13 -080087 build-node: 'voltha-scale-2'
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080088 pipeline-script: 'voltha-scale-multi-stack.groovy'
89 'disable-job': false
90 # trigger on Feb 29th (a.k.a only trigger it manually)
Matteo Scandoloffe19c92020-11-24 15:25:25 -080091 time-trigger: "H 0 29 2 *"
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080092 withMonitoring: false
Matteo Scandolof7ca6312020-11-16 15:57:15 -080093 logLevel: WARN
Matteo Scandoloffe19c92020-11-24 15:25:25 -080094 volthaStacks: 5
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080095 olts: 2
Matteo Scandolof6656562020-11-16 14:45:44 -080096 pons: 16
97 onus: 32
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080098 withFlows: true
99 provisionSubscribers: true
Matteo Scandolof7ca6312020-11-16 15:57:15 -0800100 workflow: dt
101 withEapol: false
102 withDhcp: false
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800103 withIgmp: false
104 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloffe19c92020-11-24 15:25:25 -0800105 volthaSystemTestsChange: refs/changes/27/21627/3
106 kindVolthaChange: refs/changes/85/21485/11
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800107
Matteo Scandolo8df57162020-10-06 14:43:53 -0700108
Matteo Scandoloe51ef6c2020-09-28 10:32:12 -0700109 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS (1 OLT)
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700110 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700111 name: 'voltha-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800112 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700113 build-node: 'onf-pod1-head-node'
114 time-trigger: "H H/4 * * *"
115 olts: 1
116 pons: 16
117 onus: 32
118 withFlows: true
119 provisionSubscribers: true
120 withEapol: true
121 withDhcp: true
122 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700123 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700124
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700125 - 'voltha-scale-measurements':
126 name: 'voltha-scale-measurements-master-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800127 'disable-job': false
Matteo Scandoloc05da5c2020-09-01 15:05:50 -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: tt
136 withEapol: false
137 withDhcp: true
138 withIgmp: true
Matteo Scandolo37cba472020-10-26 14:15:34 -0700139 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700140
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700141 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700142 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800143 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700144 build-node: 'onf-pod1-head-node'
145 time-trigger: "H H/4 * * *"
146 olts: 1
147 pons: 16
148 onus: 32
149 withFlows: true
150 provisionSubscribers: true
151 workflow: dt
152 withEapol: false
153 withDhcp: false
154 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700155 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200156
Matteo Scandolo272aed42020-05-08 15:05:57 -0700157 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700158 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700159 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandolof2c8a642020-11-05 08:54:50 -0800160 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700161 build-node: 'onf-pod1-head-node'
162 time-trigger: "H H/4 * * *"
163 olts: 2
164 pons: 16
165 onus: 32
166 withFlows: true
167 provisionSubscribers: true
168 withEapol: true
169 withDhcp: true
170 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700171 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700172
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700173 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700174 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800175 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -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: dt
184 withEapol: false
185 withDhcp: false
186 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700187 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo86939302020-10-30 13:32:08 -0700188
189 - 'voltha-scale-measurements':
190 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800191 'disable-job': false
Matteo Scandolo86939302020-10-30 13:32:08 -0700192 build-node: 'onf-pod1-head-node'
193 time-trigger: "H H/4 * * *"
194 olts: 2
195 pons: 16
196 onus: 32
197 withFlows: true
198 provisionSubscribers: true
199 workflow: tt
200 withEapol: false
201 withDhcp: true
202 withIgmp: true
203 openonuAdapterReplicas: 8
204 onosReplicas: 3
205 atomixReplicas: 3
Matteo Scandolo86939302020-10-30 13:32:08 -0700206 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700207
Matteo Scandolo031bd982020-09-16 10:03:47 -0700208 # voltha-2.5 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700209 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700210 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800211 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700212 build-node: 'onf-pod1-head-node'
213 time-trigger: "H H/4 * * *"
214 olts: 1
215 pons: 16
216 onus: 32
217 withFlows: true
218 provisionSubscribers: true
219 withEapol: true
220 withDhcp: true
221 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700222 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700223 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700224 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700225 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700226 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700227 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700228 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200229 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700230
231 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700232 name: 'voltha-scale-measurements-voltha-2.5-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800233 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700234 build-node: 'onf-pod1-head-node'
235 time-trigger: "H H/4 * * *"
236 olts: 2
237 pons: 16
238 onus: 32
239 withFlows: true
240 provisionSubscribers: true
241 workflow: dt
242 withEapol: false
243 withDhcp: false
244 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700245 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700246 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700247 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700248 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700249 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700250 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700251 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200252 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700253
Matteo Scandolo031bd982020-09-16 10:03:47 -0700254 - 'voltha-scale-measurements':
255 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800256 'disable-job': false
Matteo Scandolo031bd982020-09-16 10:03:47 -0700257 build-node: 'onf-pod1-head-node'
258 time-trigger: "H H/4 * * *"
259 olts: 1
260 pons: 16
261 onus: 32
262 withFlows: true
263 provisionSubscribers: true
264 workflow: tt
265 withEapol: false
266 withDhcp: true
267 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700268 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
269 release: voltha-2.5
270 bbsimImg: ''
271 rwCoreImg: ''
272 ofAgentImg: ''
273 openoltAdapterImg: ''
274 openonuAdapterImg: ''
275 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700276
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700277 # per patchset job
278 - 'voltha-scale-measurements':
279 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
280 build-node: 'onf-pod1-head-node'
281 olts: 1
282 pons: 16
283 onus: 32
284 withFlows: true
285 provisionSubscribers: true
286 withEapol: true
287 withDhcp: true
288 withIgmp: false
289 withMonitoring: false
290 trigger-comment: "voltha scale test ATT"
291
292 - 'voltha-scale-measurements':
293 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
294 build-node: 'onf-pod1-head-node'
295 olts: 1
296 pons: 16
297 onus: 32
298 withFlows: true
299 provisionSubscribers: true
300 workflow: tt
301 withEapol: false
302 withDhcp: true
303 withIgmp: true
304 withMonitoring: false
305 trigger-comment: "voltha scale test TT"
306
307 - 'voltha-scale-measurements':
308 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
309 build-node: 'onf-pod1-head-node'
310 olts: 1
311 pons: 16
312 onus: 32
313 withFlows: true
314 provisionSubscribers: true
315 workflow: dt
316 withEapol: false
317 withDhcp: false
318 withIgmp: false
319 withMonitoring: false
320 trigger-comment: "voltha scale test DT"
321
Matteo Scandolo272aed42020-05-08 15:05:57 -0700322 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700323 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700324 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700325 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700326 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700327
Matteo Scandolodc930192020-08-27 15:56:16 -0700328 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700329 - 'voltha-scale-matrix':
330 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700331 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800332
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700333 # development matrix
334 - 'voltha-scale-matrix':
335 name: 'voltha-scale-matrix-voltha-master'
336 build-node: 'onf-pod1-head-node'
337 onosReplicas: 3
338 atomixReplicas: 3
339 kafkaReplicas: 3
340 etcdReplicas: 3
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800341 openonuAdapterReplicas: 8
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800342 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800343 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700344
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700345# list of parameters for the VOLTHA Jobs,
346# used as anchor so that can be shared across multiple jobs
347# to use in a job: `parameters: *voltha-build-job-parameters`
348- voltha-scale-job-parameters: &voltha-scale-job-parameters
349 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700350 parameters:
351 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800352 name: pipeline-script
353 default: '{pipeline-script}'
354 description: 'The pipeline script to use'
355
356 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700357 name: release
358 default: '{release}'
359 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
360
361 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700362 name: buildNode
363 default: '{build-node}'
364 description: 'Name of the Jenkins node to run the job on'
365
366 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700367 name: dockerRegistry
368 default: '{dockerRegistry}'
369 description: 'Address of the docker registry to use if we are building custom images'
370
371 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700372 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700373 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700374 description: 'Log level for all the components'
375
376 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800377 name: volthaStacks
378 default: '{volthaStacks}'
379 description: 'Number of VOLTHA Stacks to deploy'
380
381 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700382 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700383 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700384 description: 'Number of ONUs to provision'
385
386 - string:
387 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700388 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700389 description: 'Number of PONs to provision'
390
391 - string:
392 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700393 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700394 description: 'How many BBSim instances to run'
395
396 - string:
397 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700398 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700399 description: 'Which workflow are we testing (att, dt, tt)'
400
401 - bool:
402 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700403 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700404 description: 'Wheter to push flows from ONOS'
405
406 - bool:
407 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700408 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700409 description: 'Wheter to provision subscribers durint the tests'
410
411 - bool:
412 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700413 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700414 description: 'Wheter EAPOL is enabled for the test'
415
416 - bool:
417 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700418 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700419 description: 'Wheter DHCP is enabled for the test'
420
421 - bool:
422 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700423 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700424 description: 'Wheter IGMP is enabled for the test'
425
426 - bool:
427 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700428 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700429 description: 'Wheter Link Discovery is enabled for the test'
430
431 - bool:
432 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700433 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700434 description: 'Option to trigger MIB template command'
435
436 - bool:
437 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700438 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700439 description: 'Option to install Prometheus'
440
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700441 - bool:
442 name: withProfiling
443 default: '{withProfiling}'
444 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
445
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700446 - bool:
447 name: withPcap
448 default: '{withPcap}'
449 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
450
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700451 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700452 name: withRadius
453 default: '{withRadius}'
454 description: 'Value to pass to kind-voltha WITH_RADIUS'
455
456 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700457 name: extraHelmFlags
458 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700459 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 -0700460
Matteo Scandolo272aed42020-05-08 15:05:57 -0700461 - string:
462 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700463 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700464 description: 'How many OpenONU adapter instances to run'
465
466 - string:
467 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700468 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700469 description: 'How many ONOSes instances to run'
470
471 - string:
472 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700473 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700474 description: 'How many Atomix instances to run'
475
476 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700477 name: kafkaReplicas
478 default: '{kafkaReplicas}'
479 description: 'How many Kafka instances to run'
480
481 - string:
482 name: etcdReplicas
483 default: '{etcdReplicas}'
484 description: 'How many ETCD instances to run'
485
486 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700487 name: onosStatInterval
488 default: '{onosStatInterval}'
489 description: 'How often ONOS should poll for ports, flows and meters'
490
491 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700492 name: bbsimImg
493 default: '{bbsimImg}'
494 description: 'Custom image selection for BBSIM (repo:tag)'
495
496 - string:
497 name: bbsimChart
498 default: '{bbsimChart}'
499 description: 'BBSim chart name (or location on file system)'
500
501 - string:
502 name: rwCoreImg
503 default: '{rwCoreImg}'
504 description: 'Custom image selection for VOLTHA (repo:tag)'
505
506 - string:
507 name: ofAgentImg
508 default: '{ofAgentImg}'
509 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
510
511 - string:
512 name: volthaChart
513 default: '{volthaChart}'
514 description: 'VOLTHA chart name (or location on file system)'
515
516 - string:
517 name: openoltAdapterImg
518 default: '{openoltAdapterImg}'
519 description: 'Custom image selection for Openolt Adapter (repo:tag)'
520
521 - string:
522 name: openoltAdapterChart
523 default: '{openoltAdapterChart}'
524 description: 'OpenOLT chart name (or location on file system)'
525
526 - string:
527 name: openonuAdapterImg
528 default: '{openonuAdapterImg}'
529 description: 'Custom image selection for Openonu Adapter (repo:tag)'
530
531 - string:
Andrea Campanella28763082020-11-18 10:55:31 +0100532 name: openonuAdapterGoImg
533 default: '{openonuAdapterGoImg}'
534 description: 'Custom image selection for Openonu Go Adapter (repo:tag)'
535
536 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700537 name: openonuAdapterChart
538 default: '{openonuAdapterChart}'
539 description: 'OpenONU chart name (or location on file system)'
540
541 - string:
542 name: onosImg
543 default: '{onosImg}'
544 description: 'Custom image selection for Openonu Adapter (repo:tag)'
545
546 - string:
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700547 name: onosChart
548 default: '{onosChart}'
549 description: 'ONOS chart name (or location on file system)'
550
551 - string:
Matteo Scandolo06506102020-10-13 12:24:20 -0700552 name: radiusChart
553 default: '{radiusChart}'
554 description: 'freeradius chart name (or location on file system)'
555
556 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700557 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700558 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700559 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
560
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700561 - string:
562 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700563 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700564 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
565
Matteo Scandoloccc06192020-06-22 10:16:17 -0700566 - bool:
567 name: inMemoryEtcdStorage
568 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700569 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700570
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200571 - string:
572 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700573 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200574 description: 'Karaf home'
575
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700576- job-template:
577 id: 'voltha-scale-measurements'
578 name: '{name}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700579 disabled: '{disable-job}'
580
581 description: |
582 <!-- Managed by Jenkins Job Builder -->
583 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
584 Using pipeline {pipeline-script} <br/><br/>
585 Scale measurements for VOLTHA 2.x
586
587 properties:
588 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800589 build-days-to-keep: '{big-build-days-to-keep}'
590 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700591
592 wrappers:
593 - lf-infra-wrappers:
594 build-timeout: '{build-timeout}'
595 jenkins-ssh-credential: '{jenkins-ssh-credential}'
596
597 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800598 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700599 release: master
600
601 bbsimImg: voltha/bbsim:master
602 rwCoreImg: voltha/voltha-rw-core:master
603 ofAgentImg: voltha/voltha-ofagent-go:master
604 openoltAdapterImg: voltha/voltha-openolt-adapter:master
605 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100606 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700607 onosImg: voltha/voltha-onos:master
608
609 bbsimChart: onf/bbsim
610 volthaChart: onf/voltha
611 openoltAdapterChart: onf/voltha-adapter-openolt
612 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700613 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700614 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700615
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800616 volthaStacks: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700617 olts: 2
618 pons: 2
619 onus: 2
620 workflow: att
621 withFlows: false
622 provisionSubscribers: false
623 withEapol: true
624 withDhcp: true
625 withIgmp: false
626 withLLDP: false
627 withMibTemplate: true
628 withMonitoring: true
629 withProfiling: false
630 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700631 withRadius: yes
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700632 openonuAdapterReplicas: 8
633 onosReplicas: 3
634 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700635 kafkaReplicas: 3
636 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700637 extraHelmFlags: ''
638 onosStatInterval: 5
639 volthaSystemTestsChange: ''
640 kindVolthaChange: ''
641 inMemoryEtcdStorage: true
642 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700643 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700644 dockerRegistry: 10.90.0.101:30500
645 trigger-comment: vv7CBoQQYYonvaN8xcru
646 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700647
648 <<: *voltha-scale-job-parameters
649
Matteo Scandolo272aed42020-05-08 15:05:57 -0700650 project-type: pipeline
651 concurrent: false
652
653 dsl: !include-raw-escape: pipeline/{pipeline-script}
654
Matteo Scandoloabb83972020-06-25 16:08:23 -0700655 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700656 # periodic jobs will set this every 4 hours
657 # 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 -0700658 - timed: |
659 TZ=America/Los_Angeles
660 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700661 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
662 # patchset jobs will set this to a meaningful comment
663 - gerrit:
664 server-name: '{gerrit-server-name}'
665 silent-start: false
666 successful-message: "PASSED scale test"
667 failure-message: "FAILED scale test"
668 unstable-message: "UNSTABLE scale test"
669 trigger-on:
670 - comment-added-contains-event:
671 comment-contains-value: '.*{trigger-comment}.*'
672 projects:
673 - project-compare-type: REG_EXP
674 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
675 branches:
676 - branch-compare-type: REG_EXP
677 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700678
679- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700680 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800681 name: '{name}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800682
683 description: |
684 <!-- Managed by Jenkins Job Builder -->
685 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
686 Using pipeline {pipeline-script} <br/><br/>
687 Scale measurements for VOLTHA 2.x
688
689 properties:
690 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800691 build-days-to-keep: '{big-build-days-to-keep}'
692 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800693
694 wrappers:
695 - lf-infra-wrappers:
696 build-timeout: '{build-timeout}'
697 jenkins-ssh-credential: '{jenkins-ssh-credential}'
698
Matteo Scandolo0430f672020-05-07 11:50:26 -0700699 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800700 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700701 release: master
702
Matteo Scandolo0430f672020-05-07 11:50:26 -0700703 bbsimImg: voltha/bbsim:master
704 rwCoreImg: voltha/voltha-rw-core:master
705 ofAgentImg: voltha/voltha-ofagent-go:master
706 openoltAdapterImg: voltha/voltha-openolt-adapter:master
707 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100708 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandolo0430f672020-05-07 11:50:26 -0700709 onosImg: voltha/voltha-onos:master
710
711 bbsimChart: onf/bbsim
712 volthaChart: onf/voltha
713 openoltAdapterChart: onf/voltha-adapter-openolt
714 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700715 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700716 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700717
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800718 volthaStacks: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700719 olts: 2
720 pons: 2
721 onus: 2
722 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700723 withFlows: true
724 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700725 withEapol: true
726 withDhcp: true
727 withIgmp: false
728 withLLDP: false
729 withMibTemplate: true
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700730 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700731 withProfiling: false
732 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700733 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700734 openonuAdapterReplicas: 1
735 onosReplicas: 1
736 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700737 kafkaReplicas: 1
738 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700739 extraHelmFlags: ''
740 onosStatInterval: 5
741 volthaSystemTestsChange: ''
742 kindVolthaChange: ''
743 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700744 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700745 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700746 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700747
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700748 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200749
Matteo Scandolo51b76302020-02-05 12:07:23 -0800750 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800751 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800752
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700753 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700754
Matteo Scandolo849db722020-10-21 10:58:41 -0700755 triggers:
756 - gerrit:
757 server-name: '{gerrit-server-name}'
758 silent-start: false
759 successful-message: "PASSED scale test"
760 failure-message: "FAILED scale test"
761 unstable-message: "UNSTABLE scale test"
762 trigger-on:
763 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700764 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700765 projects:
766 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700767 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700768 branches:
769 - branch-compare-type: REG_EXP
770 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700771- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700772 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700773 name: '{name}'
774 pipeline-script: 'voltha-scale-matrix.groovy'
775
776 description: |
777 <!-- Managed by Jenkins Job Builder -->
778 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
779 Using pipeline {pipeline-script} <br/><br/>
780 Scale measurements for VOLTHA 2.x
781
782 properties:
783 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800784 build-days-to-keep: '{big-build-days-to-keep}'
785 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700786
787 wrappers:
788 - lf-infra-wrappers:
789 build-timeout: '{build-timeout}'
790 jenkins-ssh-credential: '{jenkins-ssh-credential}'
791
792 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800793 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700794 release: master
795 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700796 volthaSystemTestsChange: ''
797 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700798 onosReplicas: 1
799 atomixReplicas: 0
800 kafkaReplicas: 1
801 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800802 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800803 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700804
805 project-type: pipeline
806 concurrent: false
807
808 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700809
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700810 parameters:
811 - string:
812 name: release
813 default: '{release}'
814 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
815
816 - string:
817 name: buildNode
818 default: '{build-node}'
819 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700820
821 - string:
822 name: volthaSystemTestsChange
823 default: '{volthaSystemTestsChange}'
824 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
825
826 - string:
827 name: kindVolthaChange
828 default: '{kindVolthaChange}'
829 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 -0700830
831 - string:
832 name: onosReplicas
833 default: '{onosReplicas}'
834 description: 'How many ONOSes instances to run'
835
836 - string:
837 name: atomixReplicas
838 default: '{atomixReplicas}'
839 description: 'How many Atomix instances to run'
840
841 - string:
842 name: kafkaReplicas
843 default: '{kafkaReplicas}'
844 description: 'How many Kafka instances to run'
845
846 - string:
847 name: etcdReplicas
848 default: '{etcdReplicas}'
849 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800850
851 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800852 name: openonuAdapterReplicas
853 default: '{openonuAdapterReplicas}'
854 description: 'How many OpenONU adapter instances to run'
855
856 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800857 name: topologies
858 default: '{topologies}'
859 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
860
861 triggers:
862 - timed: |
863 TZ=America/Los_Angeles
864 {time-trigger}