blob: 706068fb40714a96801782d106e90b4991febd4e [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':
31 name: 'voltha-openonu-go-scale-measurements-master-1-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 * * *"
35 olts: 1
36 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'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080050 'disable-job': false
Matteo Scandoloe6647a02020-11-02 10:27:52 -080051 # trigger on Feb 29th (a.k.a only trigger it manually)
52 time-trigger: "H 0 29 2 *"
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -070053 withMonitoring: false
Matteo Scandoloe6647a02020-11-02 10:27:52 -080054 olts: 2
Matteo Scandolo8df57162020-10-06 14:43:53 -070055 pons: 16
56 onus: 32
57 withFlows: true
58 provisionSubscribers: true
59 withEapol: true
60 withDhcp: true
61 withIgmp: false
Matteo Scandolo0feb5e92020-10-27 19:34:51 -070062 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellad4bbfbd2020-11-17 18:36:47 +010063 openonuAdapterImg: amghosh/voltha-openonu-py-adapter:onftest
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'
Andrea Campanellad4bbfbd2020-11-17 18:36:47 +0100107 openonuAdapterImg: amghosh/voltha-openonu-py-adapter:onftest
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700108
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700109 - 'voltha-scale-measurements':
110 name: 'voltha-scale-measurements-master-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800111 'disable-job': false
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700112 build-node: 'onf-pod1-head-node'
113 time-trigger: "H H/4 * * *"
114 olts: 1
115 pons: 16
116 onus: 32
117 withFlows: true
118 provisionSubscribers: true
119 workflow: tt
120 withEapol: false
121 withDhcp: true
122 withIgmp: true
Matteo Scandolo37cba472020-10-26 14:15:34 -0700123 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellad4bbfbd2020-11-17 18:36:47 +0100124 openonuAdapterImg: amghosh/voltha-openonu-py-adapter:onftest
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700125
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700126 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700127 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800128 'disable-job': false
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700129 build-node: 'onf-pod1-head-node'
130 time-trigger: "H H/4 * * *"
131 olts: 1
132 pons: 16
133 onus: 32
134 withFlows: true
135 provisionSubscribers: true
136 workflow: dt
137 withEapol: false
138 withDhcp: false
139 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700140 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellad4bbfbd2020-11-17 18:36:47 +0100141 openonuAdapterImg: amghosh/voltha-openonu-py-adapter:onftest
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200142
Matteo Scandolo272aed42020-05-08 15:05:57 -0700143 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700144 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700145 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandolof2c8a642020-11-05 08:54:50 -0800146 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700147 build-node: 'onf-pod1-head-node'
148 time-trigger: "H H/4 * * *"
149 olts: 2
150 pons: 16
151 onus: 32
152 withFlows: true
153 provisionSubscribers: true
154 withEapol: true
155 withDhcp: true
156 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700157 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellad4bbfbd2020-11-17 18:36:47 +0100158 openonuAdapterImg: amghosh/voltha-openonu-py-adapter:onftest
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700159
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700160 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700161 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800162 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700163 build-node: 'onf-pod1-head-node'
164 time-trigger: "H H/4 * * *"
165 olts: 2
166 pons: 16
167 onus: 32
168 withFlows: true
169 provisionSubscribers: true
170 workflow: dt
171 withEapol: false
172 withDhcp: false
173 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700174 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellad4bbfbd2020-11-17 18:36:47 +0100175 openonuAdapterImg: amghosh/voltha-openonu-py-adapter:onftest
Matteo Scandolo86939302020-10-30 13:32:08 -0700176
177 - 'voltha-scale-measurements':
178 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800179 'disable-job': false
Matteo Scandolo86939302020-10-30 13:32:08 -0700180 build-node: 'onf-pod1-head-node'
181 time-trigger: "H H/4 * * *"
182 olts: 2
183 pons: 16
184 onus: 32
185 withFlows: true
186 provisionSubscribers: true
187 workflow: tt
188 withEapol: false
189 withDhcp: true
190 withIgmp: true
191 openonuAdapterReplicas: 8
192 onosReplicas: 3
193 atomixReplicas: 3
Matteo Scandolo86939302020-10-30 13:32:08 -0700194 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellad4bbfbd2020-11-17 18:36:47 +0100195 openonuAdapterImg: amghosh/voltha-openonu-py-adapter:onftest
Matteo Scandolo272aed42020-05-08 15:05:57 -0700196
Matteo Scandolo031bd982020-09-16 10:03:47 -0700197 # voltha-2.5 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700198 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700199 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-att-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800200 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700201 build-node: 'onf-pod1-head-node'
202 time-trigger: "H H/4 * * *"
203 olts: 1
204 pons: 16
205 onus: 32
206 withFlows: true
207 provisionSubscribers: true
208 withEapol: true
209 withDhcp: true
210 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700211 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700212 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700213 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700214 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700215 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700216 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700217 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200218 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700219
220 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700221 name: 'voltha-scale-measurements-voltha-2.5-2-16-32-dt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800222 'disable-job': false
Matteo Scandolod43064b2020-07-13 17:18:45 -0700223 build-node: 'onf-pod1-head-node'
224 time-trigger: "H H/4 * * *"
225 olts: 2
226 pons: 16
227 onus: 32
228 withFlows: true
229 provisionSubscribers: true
230 workflow: dt
231 withEapol: false
232 withDhcp: false
233 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700234 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700235 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700236 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700237 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700238 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700239 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700240 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200241 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700242
Matteo Scandolo031bd982020-09-16 10:03:47 -0700243 - 'voltha-scale-measurements':
244 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-tt-subscribers'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -0800245 'disable-job': false
Matteo Scandolo031bd982020-09-16 10:03:47 -0700246 build-node: 'onf-pod1-head-node'
247 time-trigger: "H H/4 * * *"
248 olts: 1
249 pons: 16
250 onus: 32
251 withFlows: true
252 provisionSubscribers: true
253 workflow: tt
254 withEapol: false
255 withDhcp: true
256 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700257 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
258 release: voltha-2.5
259 bbsimImg: ''
260 rwCoreImg: ''
261 ofAgentImg: ''
262 openoltAdapterImg: ''
263 openonuAdapterImg: ''
264 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700265
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700266 # per patchset job
267 - 'voltha-scale-measurements':
268 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
269 build-node: 'onf-pod1-head-node'
270 olts: 1
271 pons: 16
272 onus: 32
273 withFlows: true
274 provisionSubscribers: true
275 withEapol: true
276 withDhcp: true
277 withIgmp: false
278 withMonitoring: false
279 trigger-comment: "voltha scale test ATT"
280
281 - 'voltha-scale-measurements':
282 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
283 build-node: 'onf-pod1-head-node'
284 olts: 1
285 pons: 16
286 onus: 32
287 withFlows: true
288 provisionSubscribers: true
289 workflow: tt
290 withEapol: false
291 withDhcp: true
292 withIgmp: true
293 withMonitoring: false
294 trigger-comment: "voltha scale test TT"
295
296 - 'voltha-scale-measurements':
297 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
298 build-node: 'onf-pod1-head-node'
299 olts: 1
300 pons: 16
301 onus: 32
302 withFlows: true
303 provisionSubscribers: true
304 workflow: dt
305 withEapol: false
306 withDhcp: false
307 withIgmp: false
308 withMonitoring: false
309 trigger-comment: "voltha scale test DT"
310
Matteo Scandolo272aed42020-05-08 15:05:57 -0700311 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700312 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700313 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700314 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700315 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700316
Matteo Scandolodc930192020-08-27 15:56:16 -0700317 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700318 - 'voltha-scale-matrix':
319 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700320 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800321
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700322 # development matrix
323 - 'voltha-scale-matrix':
324 name: 'voltha-scale-matrix-voltha-master'
325 build-node: 'onf-pod1-head-node'
326 onosReplicas: 3
327 atomixReplicas: 3
328 kafkaReplicas: 3
329 etcdReplicas: 3
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800330 openonuAdapterReplicas: 8
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800331 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800332 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700333
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700334# list of parameters for the VOLTHA Jobs,
335# used as anchor so that can be shared across multiple jobs
336# to use in a job: `parameters: *voltha-build-job-parameters`
337- voltha-scale-job-parameters: &voltha-scale-job-parameters
338 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700339 parameters:
340 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800341 name: pipeline-script
342 default: '{pipeline-script}'
343 description: 'The pipeline script to use'
344
345 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700346 name: release
347 default: '{release}'
348 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
349
350 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700351 name: buildNode
352 default: '{build-node}'
353 description: 'Name of the Jenkins node to run the job on'
354
355 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700356 name: dockerRegistry
357 default: '{dockerRegistry}'
358 description: 'Address of the docker registry to use if we are building custom images'
359
360 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700361 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700362 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700363 description: 'Log level for all the components'
364
365 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800366 name: volthaStacks
367 default: '{volthaStacks}'
368 description: 'Number of VOLTHA Stacks to deploy'
369
370 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700371 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700372 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700373 description: 'Number of ONUs to provision'
374
375 - string:
376 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700377 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700378 description: 'Number of PONs to provision'
379
380 - string:
381 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700382 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700383 description: 'How many BBSim instances to run'
384
385 - string:
386 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700387 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700388 description: 'Which workflow are we testing (att, dt, tt)'
389
390 - bool:
391 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700392 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700393 description: 'Wheter to push flows from ONOS'
394
395 - bool:
396 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700397 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700398 description: 'Wheter to provision subscribers durint the tests'
399
400 - bool:
401 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700402 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700403 description: 'Wheter EAPOL is enabled for the test'
404
405 - bool:
406 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700407 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700408 description: 'Wheter DHCP is enabled for the test'
409
410 - bool:
411 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700412 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700413 description: 'Wheter IGMP is enabled for the test'
414
415 - bool:
416 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700417 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700418 description: 'Wheter Link Discovery is enabled for the test'
419
420 - bool:
421 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700422 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700423 description: 'Option to trigger MIB template command'
424
425 - bool:
426 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700427 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700428 description: 'Option to install Prometheus'
429
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700430 - bool:
431 name: withProfiling
432 default: '{withProfiling}'
433 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
434
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700435 - bool:
436 name: withPcap
437 default: '{withPcap}'
438 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
439
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700440 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700441 name: withRadius
442 default: '{withRadius}'
443 description: 'Value to pass to kind-voltha WITH_RADIUS'
444
445 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700446 name: extraHelmFlags
447 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700448 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 -0700449
Matteo Scandolo272aed42020-05-08 15:05:57 -0700450 - string:
451 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700452 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700453 description: 'How many OpenONU adapter instances to run'
454
455 - string:
456 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700457 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700458 description: 'How many ONOSes instances to run'
459
460 - string:
461 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700462 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700463 description: 'How many Atomix instances to run'
464
465 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700466 name: kafkaReplicas
467 default: '{kafkaReplicas}'
468 description: 'How many Kafka instances to run'
469
470 - string:
471 name: etcdReplicas
472 default: '{etcdReplicas}'
473 description: 'How many ETCD instances to run'
474
475 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700476 name: onosStatInterval
477 default: '{onosStatInterval}'
478 description: 'How often ONOS should poll for ports, flows and meters'
479
480 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700481 name: bbsimImg
482 default: '{bbsimImg}'
483 description: 'Custom image selection for BBSIM (repo:tag)'
484
485 - string:
486 name: bbsimChart
487 default: '{bbsimChart}'
488 description: 'BBSim chart name (or location on file system)'
489
490 - string:
491 name: rwCoreImg
492 default: '{rwCoreImg}'
493 description: 'Custom image selection for VOLTHA (repo:tag)'
494
495 - string:
496 name: ofAgentImg
497 default: '{ofAgentImg}'
498 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
499
500 - string:
501 name: volthaChart
502 default: '{volthaChart}'
503 description: 'VOLTHA chart name (or location on file system)'
504
505 - string:
506 name: openoltAdapterImg
507 default: '{openoltAdapterImg}'
508 description: 'Custom image selection for Openolt Adapter (repo:tag)'
509
510 - string:
511 name: openoltAdapterChart
512 default: '{openoltAdapterChart}'
513 description: 'OpenOLT chart name (or location on file system)'
514
515 - string:
516 name: openonuAdapterImg
517 default: '{openonuAdapterImg}'
518 description: 'Custom image selection for Openonu Adapter (repo:tag)'
519
520 - string:
Andrea Campanella28763082020-11-18 10:55:31 +0100521 name: openonuAdapterGoImg
522 default: '{openonuAdapterGoImg}'
523 description: 'Custom image selection for Openonu Go Adapter (repo:tag)'
524
525 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700526 name: openonuAdapterChart
527 default: '{openonuAdapterChart}'
528 description: 'OpenONU chart name (or location on file system)'
529
530 - string:
531 name: onosImg
532 default: '{onosImg}'
533 description: 'Custom image selection for Openonu Adapter (repo:tag)'
534
535 - string:
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700536 name: onosChart
537 default: '{onosChart}'
538 description: 'ONOS chart name (or location on file system)'
539
540 - string:
Matteo Scandolo06506102020-10-13 12:24:20 -0700541 name: radiusChart
542 default: '{radiusChart}'
543 description: 'freeradius chart name (or location on file system)'
544
545 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700546 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700547 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700548 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
549
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700550 - string:
551 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700552 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700553 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
554
Matteo Scandoloccc06192020-06-22 10:16:17 -0700555 - bool:
556 name: inMemoryEtcdStorage
557 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700558 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700559
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200560 - string:
561 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700562 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200563 description: 'Karaf home'
564
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700565- job-template:
566 id: 'voltha-scale-measurements'
567 name: '{name}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700568 disabled: '{disable-job}'
569
570 description: |
571 <!-- Managed by Jenkins Job Builder -->
572 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
573 Using pipeline {pipeline-script} <br/><br/>
574 Scale measurements for VOLTHA 2.x
575
576 properties:
577 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800578 build-days-to-keep: '{big-build-days-to-keep}'
579 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700580
581 wrappers:
582 - lf-infra-wrappers:
583 build-timeout: '{build-timeout}'
584 jenkins-ssh-credential: '{jenkins-ssh-credential}'
585
586 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800587 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700588 release: master
589
590 bbsimImg: voltha/bbsim:master
591 rwCoreImg: voltha/voltha-rw-core:master
592 ofAgentImg: voltha/voltha-ofagent-go:master
593 openoltAdapterImg: voltha/voltha-openolt-adapter:master
594 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100595 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700596 onosImg: voltha/voltha-onos:master
597
598 bbsimChart: onf/bbsim
599 volthaChart: onf/voltha
600 openoltAdapterChart: onf/voltha-adapter-openolt
601 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700602 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700603 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700604
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800605 volthaStacks: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700606 olts: 2
607 pons: 2
608 onus: 2
609 workflow: att
610 withFlows: false
611 provisionSubscribers: false
612 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 Scandolo9cdacc52020-10-21 14:54:06 -0700621 openonuAdapterReplicas: 8
622 onosReplicas: 3
623 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700624 kafkaReplicas: 3
625 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700626 extraHelmFlags: ''
627 onosStatInterval: 5
628 volthaSystemTestsChange: ''
629 kindVolthaChange: ''
630 inMemoryEtcdStorage: true
631 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700632 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700633 dockerRegistry: 10.90.0.101:30500
634 trigger-comment: vv7CBoQQYYonvaN8xcru
635 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700636
637 <<: *voltha-scale-job-parameters
638
Matteo Scandolo272aed42020-05-08 15:05:57 -0700639 project-type: pipeline
640 concurrent: false
641
642 dsl: !include-raw-escape: pipeline/{pipeline-script}
643
Matteo Scandoloabb83972020-06-25 16:08:23 -0700644 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700645 # periodic jobs will set this every 4 hours
646 # 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 -0700647 - timed: |
648 TZ=America/Los_Angeles
649 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700650 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
651 # patchset jobs will set this to a meaningful comment
652 - gerrit:
653 server-name: '{gerrit-server-name}'
654 silent-start: false
655 successful-message: "PASSED scale test"
656 failure-message: "FAILED scale test"
657 unstable-message: "UNSTABLE scale test"
658 trigger-on:
659 - comment-added-contains-event:
660 comment-contains-value: '.*{trigger-comment}.*'
661 projects:
662 - project-compare-type: REG_EXP
663 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
664 branches:
665 - branch-compare-type: REG_EXP
666 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700667
668- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700669 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800670 name: '{name}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800671
672 description: |
673 <!-- Managed by Jenkins Job Builder -->
674 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
675 Using pipeline {pipeline-script} <br/><br/>
676 Scale measurements for VOLTHA 2.x
677
678 properties:
679 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800680 build-days-to-keep: '{big-build-days-to-keep}'
681 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800682
683 wrappers:
684 - lf-infra-wrappers:
685 build-timeout: '{build-timeout}'
686 jenkins-ssh-credential: '{jenkins-ssh-credential}'
687
Matteo Scandolo0430f672020-05-07 11:50:26 -0700688 # default values
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800689 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700690 release: master
691
Matteo Scandolo0430f672020-05-07 11:50:26 -0700692 bbsimImg: voltha/bbsim:master
693 rwCoreImg: voltha/voltha-rw-core:master
694 ofAgentImg: voltha/voltha-ofagent-go:master
695 openoltAdapterImg: voltha/voltha-openolt-adapter:master
696 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100697 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandolo0430f672020-05-07 11:50:26 -0700698 onosImg: voltha/voltha-onos:master
699
700 bbsimChart: onf/bbsim
701 volthaChart: onf/voltha
702 openoltAdapterChart: onf/voltha-adapter-openolt
703 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700704 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700705 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700706
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800707 volthaStacks: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700708 olts: 2
709 pons: 2
710 onus: 2
711 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700712 withFlows: true
713 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700714 withEapol: true
715 withDhcp: true
716 withIgmp: false
717 withLLDP: false
718 withMibTemplate: true
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700719 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700720 withProfiling: false
721 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700722 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700723 openonuAdapterReplicas: 1
724 onosReplicas: 1
725 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700726 kafkaReplicas: 1
727 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700728 extraHelmFlags: ''
729 onosStatInterval: 5
730 volthaSystemTestsChange: ''
731 kindVolthaChange: ''
732 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700733 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700734 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700735 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700736
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700737 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200738
Matteo Scandolo51b76302020-02-05 12:07:23 -0800739 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800740 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800741
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700742 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700743
Matteo Scandolo849db722020-10-21 10:58:41 -0700744 triggers:
745 - gerrit:
746 server-name: '{gerrit-server-name}'
747 silent-start: false
748 successful-message: "PASSED scale test"
749 failure-message: "FAILED scale test"
750 unstable-message: "UNSTABLE scale test"
751 trigger-on:
752 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700753 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700754 projects:
755 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700756 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700757 branches:
758 - branch-compare-type: REG_EXP
759 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700760- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700761 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700762 name: '{name}'
763 pipeline-script: 'voltha-scale-matrix.groovy'
764
765 description: |
766 <!-- Managed by Jenkins Job Builder -->
767 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
768 Using pipeline {pipeline-script} <br/><br/>
769 Scale measurements for VOLTHA 2.x
770
771 properties:
772 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800773 build-days-to-keep: '{big-build-days-to-keep}'
774 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700775
776 wrappers:
777 - lf-infra-wrappers:
778 build-timeout: '{build-timeout}'
779 jenkins-ssh-credential: '{jenkins-ssh-credential}'
780
781 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800782 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700783 release: master
784 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700785 volthaSystemTestsChange: ''
786 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700787 onosReplicas: 1
788 atomixReplicas: 0
789 kafkaReplicas: 1
790 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800791 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800792 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700793
794 project-type: pipeline
795 concurrent: false
796
797 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700798
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700799 parameters:
800 - string:
801 name: release
802 default: '{release}'
803 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
804
805 - string:
806 name: buildNode
807 default: '{build-node}'
808 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700809
810 - string:
811 name: volthaSystemTestsChange
812 default: '{volthaSystemTestsChange}'
813 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
814
815 - string:
816 name: kindVolthaChange
817 default: '{kindVolthaChange}'
818 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 -0700819
820 - string:
821 name: onosReplicas
822 default: '{onosReplicas}'
823 description: 'How many ONOSes instances to run'
824
825 - string:
826 name: atomixReplicas
827 default: '{atomixReplicas}'
828 description: 'How many Atomix instances to run'
829
830 - string:
831 name: kafkaReplicas
832 default: '{kafkaReplicas}'
833 description: 'How many Kafka instances to run'
834
835 - string:
836 name: etcdReplicas
837 default: '{etcdReplicas}'
838 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800839
840 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800841 name: openonuAdapterReplicas
842 default: '{openonuAdapterReplicas}'
843 description: 'How many OpenONU adapter instances to run'
844
845 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800846 name: topologies
847 default: '{topologies}'
848 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
849
850 triggers:
851 - timed: |
852 TZ=America/Los_Angeles
853 {time-trigger}