blob: 02cf5e4b1add523393bce3b58d5eea5b5893cda6 [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 Scandolo87b042e2020-10-27 09:07:45 -070015 'disable-job': true
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020016 build-node: 'onf-pod1-head-node'
17 time-trigger: "H H/4 * * *"
18 olts: 2
19 pons: 16
20 onus: 32
21 withFlows: true
22 provisionSubscribers: true
23 workflow: dt
24 withEapol: false
25 withDhcp: false
26 withIgmp: false
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020027 openonuAdapterReplicas: 1
28 openonuAdapterImg: voltha/voltha-openonu-adapter-go:master
29 extraHelmFlags: '--set use_openonu_adapter_go=true'
Matteo Scandolo45ad8f52020-08-11 09:07:49 -070030
Andrea Campanellabdb199e2020-10-27 10:47:16 +010031 - 'voltha-scale-measurements':
32 name: 'voltha-openonu-go-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandolo4c4fbdd2020-11-04 13:49:42 -080033 'disable-job': false
Andrea Campanellabdb199e2020-10-27 10:47:16 +010034 build-node: 'onf-pod1-head-node'
35 time-trigger: "H H/4 * * *"
36 olts: 1
37 pons: 16
38 onus: 32
39 withFlows: true
40 provisionSubscribers: true
41 withEapol: true
42 withDhcp: true
43 withIgmp: false
Andrea Campanellabdb199e2020-10-27 10:47:16 +010044 openonuAdapterReplicas: 1
45 openonuAdapterImg: voltha/voltha-openonu-adapter-go:master
Andrea Campanella68883592020-11-06 15:03:02 +010046 onosImg: andreacampanella/voltha-onos:olt-meter-removal-master
47 ofAgentImg: andreacampanella/voltha-ofagent-go:meter-log
48 rwCoreImg: andreacampanella/voltha-rw-core:meter-log
49 withPcap: true
Andrea Campanellabdb199e2020-10-27 10:47:16 +010050 extraHelmFlags: '--set use_openonu_adapter_go=true'
51
Matteo Scandolo8df57162020-10-06 14:43:53 -070052 # this job will be used to test custom images without disrupting tests on master
53 - 'voltha-scale-measurements':
54 name: 'voltha-scale-measurements-master-experimental'
55 build-node: 'onf-pod1-head-node'
Matteo Scandolo4c4fbdd2020-11-04 13:49:42 -080056 'disable-job': true
Matteo Scandoloe6647a02020-11-02 10:27:52 -080057 # trigger on Feb 29th (a.k.a only trigger it manually)
58 time-trigger: "H 0 29 2 *"
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -070059 withMonitoring: false
Matteo Scandoloe6647a02020-11-02 10:27:52 -080060 olts: 2
Matteo Scandolo8df57162020-10-06 14:43:53 -070061 pons: 16
62 onus: 32
63 withFlows: true
64 provisionSubscribers: true
65 withEapol: true
66 withDhcp: true
67 withIgmp: false
Matteo Scandolo0feb5e92020-10-27 19:34:51 -070068 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo8df57162020-10-06 14:43:53 -070069 withPcap: true
Matteo Scandolo9665d592020-10-23 19:08:14 +000070
Matteo Scandolo8df57162020-10-06 14:43:53 -070071
Matteo Scandoloe51ef6c2020-09-28 10:32:12 -070072 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS (1 OLT)
Matteo Scandoloe4b04342020-05-28 07:35:45 -070073 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070074 name: 'voltha-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandolo4c4fbdd2020-11-04 13:49:42 -080075 'disable-job': true
Matteo Scandoloe4b04342020-05-28 07:35:45 -070076 build-node: 'onf-pod1-head-node'
77 time-trigger: "H H/4 * * *"
78 olts: 1
79 pons: 16
80 onus: 32
81 withFlows: true
82 provisionSubscribers: true
83 withEapol: true
84 withDhcp: true
85 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -070086 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloe4b04342020-05-28 07:35:45 -070087
Matteo Scandoloc05da5c2020-09-01 15:05:50 -070088 - 'voltha-scale-measurements':
89 name: 'voltha-scale-measurements-master-1-16-32-tt-subscribers'
Matteo Scandolo4c4fbdd2020-11-04 13:49:42 -080090 'disable-job': true
Matteo Scandoloc05da5c2020-09-01 15:05:50 -070091 build-node: 'onf-pod1-head-node'
92 time-trigger: "H H/4 * * *"
93 olts: 1
94 pons: 16
95 onus: 32
96 withFlows: true
97 provisionSubscribers: true
98 workflow: tt
99 withEapol: false
100 withDhcp: true
101 withIgmp: true
Matteo Scandolo37cba472020-10-26 14:15:34 -0700102 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700103
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700104 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700105 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandolo4c4fbdd2020-11-04 13:49:42 -0800106 'disable-job': true
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700107 build-node: 'onf-pod1-head-node'
108 time-trigger: "H H/4 * * *"
109 olts: 1
110 pons: 16
111 onus: 32
112 withFlows: true
113 provisionSubscribers: true
114 workflow: dt
115 withEapol: false
116 withDhcp: false
117 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700118 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200119
Matteo Scandolo272aed42020-05-08 15:05:57 -0700120 # jobs for 1024 ONUs with a 8 openonu-adapters and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700121 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700122 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandolof2c8a642020-11-05 08:54:50 -0800123 'disable-job': false
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700124 build-node: 'onf-pod1-head-node'
125 time-trigger: "H H/4 * * *"
126 olts: 2
127 pons: 16
128 onus: 32
129 withFlows: true
130 provisionSubscribers: true
131 withEapol: true
132 withDhcp: true
133 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700134 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolof2c8a642020-11-05 08:54:50 -0800135 onosImg: andreacampanella/voltha-onos:olt-queue
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700136
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700137 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700138 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo4c4fbdd2020-11-04 13:49:42 -0800139 'disable-job': true
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700140 build-node: 'onf-pod1-head-node'
141 time-trigger: "H H/4 * * *"
142 olts: 2
143 pons: 16
144 onus: 32
145 withFlows: true
146 provisionSubscribers: true
147 workflow: dt
148 withEapol: false
149 withDhcp: false
150 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700151 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo86939302020-10-30 13:32:08 -0700152
153 - 'voltha-scale-measurements':
154 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Matteo Scandolo4c4fbdd2020-11-04 13:49:42 -0800155 'disable-job': true
Matteo Scandolo86939302020-10-30 13:32:08 -0700156 build-node: 'onf-pod1-head-node'
157 time-trigger: "H H/4 * * *"
158 olts: 2
159 pons: 16
160 onus: 32
161 withFlows: true
162 provisionSubscribers: true
163 workflow: tt
164 withEapol: false
165 withDhcp: true
166 withIgmp: true
167 openonuAdapterReplicas: 8
168 onosReplicas: 3
169 atomixReplicas: 3
Matteo Scandolo86939302020-10-30 13:32:08 -0700170 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700171
Matteo Scandolo031bd982020-09-16 10:03:47 -0700172 # voltha-2.5 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700173 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700174 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-att-subscribers'
Matteo Scandolo4c4fbdd2020-11-04 13:49:42 -0800175 'disable-job': true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700176 build-node: 'onf-pod1-head-node'
177 time-trigger: "H H/4 * * *"
178 olts: 1
179 pons: 16
180 onus: 32
181 withFlows: true
182 provisionSubscribers: true
183 withEapol: true
184 withDhcp: true
185 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700186 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700187 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700188 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700189 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700190 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700191 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700192 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200193 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700194
195 - 'voltha-scale-measurements':
Matteo Scandolo031bd982020-09-16 10:03:47 -0700196 name: 'voltha-scale-measurements-voltha-2.5-2-16-32-dt-subscribers'
Matteo Scandolo4c4fbdd2020-11-04 13:49:42 -0800197 'disable-job': true
Matteo Scandolod43064b2020-07-13 17:18:45 -0700198 build-node: 'onf-pod1-head-node'
199 time-trigger: "H H/4 * * *"
200 olts: 2
201 pons: 16
202 onus: 32
203 withFlows: true
204 provisionSubscribers: true
205 workflow: dt
206 withEapol: false
207 withDhcp: false
208 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700209 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo031bd982020-09-16 10:03:47 -0700210 release: voltha-2.5
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700211 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700212 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700213 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700214 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700215 openonuAdapterImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200216 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700217
Matteo Scandolo031bd982020-09-16 10:03:47 -0700218 - 'voltha-scale-measurements':
219 name: 'voltha-scale-measurements-voltha-2.5-1-16-32-tt-subscribers'
Matteo Scandolo4c4fbdd2020-11-04 13:49:42 -0800220 'disable-job': true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700221 build-node: 'onf-pod1-head-node'
222 time-trigger: "H H/4 * * *"
223 olts: 1
224 pons: 16
225 onus: 32
226 withFlows: true
227 provisionSubscribers: true
228 workflow: tt
229 withEapol: false
230 withDhcp: true
231 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700232 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
233 release: voltha-2.5
234 bbsimImg: ''
235 rwCoreImg: ''
236 ofAgentImg: ''
237 openoltAdapterImg: ''
238 openonuAdapterImg: ''
239 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700240
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700241 # per patchset job
242 - 'voltha-scale-measurements':
243 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
244 build-node: 'onf-pod1-head-node'
245 olts: 1
246 pons: 16
247 onus: 32
248 withFlows: true
249 provisionSubscribers: true
250 withEapol: true
251 withDhcp: true
252 withIgmp: false
253 withMonitoring: false
254 trigger-comment: "voltha scale test ATT"
255
256 - 'voltha-scale-measurements':
257 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
258 build-node: 'onf-pod1-head-node'
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
268 withMonitoring: false
269 trigger-comment: "voltha scale test TT"
270
271 - 'voltha-scale-measurements':
272 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
273 build-node: 'onf-pod1-head-node'
274 olts: 1
275 pons: 16
276 onus: 32
277 withFlows: true
278 provisionSubscribers: true
279 workflow: dt
280 withEapol: false
281 withDhcp: false
282 withIgmp: false
283 withMonitoring: false
284 trigger-comment: "voltha scale test DT"
285
Matteo Scandolo272aed42020-05-08 15:05:57 -0700286 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700287 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700288 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700289 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700290 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700291
Matteo Scandolodc930192020-08-27 15:56:16 -0700292 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700293 - 'voltha-scale-matrix':
294 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700295 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800296
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700297 # development matrix
298 - 'voltha-scale-matrix':
299 name: 'voltha-scale-matrix-voltha-master'
300 build-node: 'onf-pod1-head-node'
301 onosReplicas: 3
302 atomixReplicas: 3
303 kafkaReplicas: 3
304 etcdReplicas: 3
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800305 openonuAdapterReplicas: 8
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800306 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800307 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700308
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700309# list of parameters for the VOLTHA Jobs,
310# used as anchor so that can be shared across multiple jobs
311# to use in a job: `parameters: *voltha-build-job-parameters`
312- voltha-scale-job-parameters: &voltha-scale-job-parameters
313 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700314 parameters:
315 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700316 name: release
317 default: '{release}'
318 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
319
320 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700321 name: buildNode
322 default: '{build-node}'
323 description: 'Name of the Jenkins node to run the job on'
324
325 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700326 name: dockerRegistry
327 default: '{dockerRegistry}'
328 description: 'Address of the docker registry to use if we are building custom images'
329
330 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700331 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700332 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700333 description: 'Log level for all the components'
334
335 - string:
336 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700337 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700338 description: 'Number of ONUs to provision'
339
340 - string:
341 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700342 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700343 description: 'Number of PONs to provision'
344
345 - string:
346 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700347 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700348 description: 'How many BBSim instances to run'
349
350 - string:
351 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700352 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700353 description: 'Which workflow are we testing (att, dt, tt)'
354
355 - bool:
356 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700357 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700358 description: 'Wheter to push flows from ONOS'
359
360 - bool:
361 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700362 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700363 description: 'Wheter to provision subscribers durint the tests'
364
365 - bool:
366 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700367 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700368 description: 'Wheter EAPOL is enabled for the test'
369
370 - bool:
371 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700372 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700373 description: 'Wheter DHCP is enabled for the test'
374
375 - bool:
376 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700377 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700378 description: 'Wheter IGMP is enabled for the test'
379
380 - bool:
381 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700382 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700383 description: 'Wheter Link Discovery is enabled for the test'
384
385 - bool:
386 name: withMibTemplate
Matteo Scandolo393add12020-05-08 18:03:17 -0700387 default: '{withMibTemplate}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700388 description: 'Option to trigger MIB template command'
389
390 - bool:
391 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700392 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700393 description: 'Option to install Prometheus'
394
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700395 - bool:
396 name: withProfiling
397 default: '{withProfiling}'
398 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
399
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700400 - bool:
401 name: withPcap
402 default: '{withPcap}'
403 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
404
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700405 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700406 name: withRadius
407 default: '{withRadius}'
408 description: 'Value to pass to kind-voltha WITH_RADIUS'
409
410 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700411 name: extraHelmFlags
412 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700413 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 -0700414
Matteo Scandolo272aed42020-05-08 15:05:57 -0700415 - string:
416 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700417 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700418 description: 'How many OpenONU adapter instances to run'
419
420 - string:
421 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700422 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700423 description: 'How many ONOSes instances to run'
424
425 - string:
426 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700427 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700428 description: 'How many Atomix instances to run'
429
430 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700431 name: kafkaReplicas
432 default: '{kafkaReplicas}'
433 description: 'How many Kafka instances to run'
434
435 - string:
436 name: etcdReplicas
437 default: '{etcdReplicas}'
438 description: 'How many ETCD instances to run'
439
440 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700441 name: onosStatInterval
442 default: '{onosStatInterval}'
443 description: 'How often ONOS should poll for ports, flows and meters'
444
445 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700446 name: bbsimImg
447 default: '{bbsimImg}'
448 description: 'Custom image selection for BBSIM (repo:tag)'
449
450 - string:
451 name: bbsimChart
452 default: '{bbsimChart}'
453 description: 'BBSim chart name (or location on file system)'
454
455 - string:
456 name: rwCoreImg
457 default: '{rwCoreImg}'
458 description: 'Custom image selection for VOLTHA (repo:tag)'
459
460 - string:
461 name: ofAgentImg
462 default: '{ofAgentImg}'
463 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
464
465 - string:
466 name: volthaChart
467 default: '{volthaChart}'
468 description: 'VOLTHA chart name (or location on file system)'
469
470 - string:
471 name: openoltAdapterImg
472 default: '{openoltAdapterImg}'
473 description: 'Custom image selection for Openolt Adapter (repo:tag)'
474
475 - string:
476 name: openoltAdapterChart
477 default: '{openoltAdapterChart}'
478 description: 'OpenOLT chart name (or location on file system)'
479
480 - string:
481 name: openonuAdapterImg
482 default: '{openonuAdapterImg}'
483 description: 'Custom image selection for Openonu Adapter (repo:tag)'
484
485 - string:
486 name: openonuAdapterChart
487 default: '{openonuAdapterChart}'
488 description: 'OpenONU chart name (or location on file system)'
489
490 - string:
491 name: onosImg
492 default: '{onosImg}'
493 description: 'Custom image selection for Openonu Adapter (repo:tag)'
494
495 - string:
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700496 name: onosChart
497 default: '{onosChart}'
498 description: 'ONOS chart name (or location on file system)'
499
500 - string:
Matteo Scandolo06506102020-10-13 12:24:20 -0700501 name: radiusChart
502 default: '{radiusChart}'
503 description: 'freeradius chart name (or location on file system)'
504
505 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700506 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700507 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700508 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
509
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700510 - string:
511 name: kindVolthaChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700512 default: '{kindVolthaChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700513 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
514
Matteo Scandoloccc06192020-06-22 10:16:17 -0700515 - bool:
516 name: inMemoryEtcdStorage
517 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700518 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700519
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200520 - string:
521 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700522 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200523 description: 'Karaf home'
524
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700525- job-template:
526 id: 'voltha-scale-measurements'
527 name: '{name}'
528 pipeline-script: 'voltha-scale-test.groovy'
529 disabled: '{disable-job}'
530
531 description: |
532 <!-- Managed by Jenkins Job Builder -->
533 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
534 Using pipeline {pipeline-script} <br/><br/>
535 Scale measurements for VOLTHA 2.x
536
537 properties:
538 - cord-infra-properties:
539 build-days-to-keep: 30
540 artifact-num-to-keep: 15
541
542 wrappers:
543 - lf-infra-wrappers:
544 build-timeout: '{build-timeout}'
545 jenkins-ssh-credential: '{jenkins-ssh-credential}'
546
547 # default values
548 release: master
549
550 bbsimImg: voltha/bbsim:master
551 rwCoreImg: voltha/voltha-rw-core:master
552 ofAgentImg: voltha/voltha-ofagent-go:master
553 openoltAdapterImg: voltha/voltha-openolt-adapter:master
554 openonuAdapterImg: voltha/voltha-openonu-adapter:master
555 onosImg: voltha/voltha-onos:master
556
557 bbsimChart: onf/bbsim
558 volthaChart: onf/voltha
559 openoltAdapterChart: onf/voltha-adapter-openolt
560 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700561 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700562 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700563
564 olts: 2
565 pons: 2
566 onus: 2
567 workflow: att
568 withFlows: false
569 provisionSubscribers: false
570 withEapol: true
571 withDhcp: true
572 withIgmp: false
573 withLLDP: false
574 withMibTemplate: true
575 withMonitoring: true
576 withProfiling: false
577 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700578 withRadius: yes
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700579 openonuAdapterReplicas: 8
580 onosReplicas: 3
581 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700582 kafkaReplicas: 3
583 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700584 extraHelmFlags: ''
585 onosStatInterval: 5
586 volthaSystemTestsChange: ''
587 kindVolthaChange: ''
588 inMemoryEtcdStorage: true
589 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700590 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700591 dockerRegistry: 10.90.0.101:30500
592 trigger-comment: vv7CBoQQYYonvaN8xcru
593 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700594
595 <<: *voltha-scale-job-parameters
596
Matteo Scandolo272aed42020-05-08 15:05:57 -0700597 project-type: pipeline
598 concurrent: false
599
600 dsl: !include-raw-escape: pipeline/{pipeline-script}
601
Matteo Scandoloabb83972020-06-25 16:08:23 -0700602 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700603 # periodic jobs will set this every 4 hours
604 # 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 -0700605 - timed: |
606 TZ=America/Los_Angeles
607 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700608 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
609 # patchset jobs will set this to a meaningful comment
610 - gerrit:
611 server-name: '{gerrit-server-name}'
612 silent-start: false
613 successful-message: "PASSED scale test"
614 failure-message: "FAILED scale test"
615 unstable-message: "UNSTABLE scale test"
616 trigger-on:
617 - comment-added-contains-event:
618 comment-contains-value: '.*{trigger-comment}.*'
619 projects:
620 - project-compare-type: REG_EXP
621 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
622 branches:
623 - branch-compare-type: REG_EXP
624 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700625
626- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700627 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800628 name: '{name}'
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700629 pipeline-script: 'voltha-scale-test.groovy'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800630
631 description: |
632 <!-- Managed by Jenkins Job Builder -->
633 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
634 Using pipeline {pipeline-script} <br/><br/>
635 Scale measurements for VOLTHA 2.x
636
637 properties:
638 - cord-infra-properties:
639 build-days-to-keep: '{build-days-to-keep}'
640 artifact-num-to-keep: '{artifact-num-to-keep}'
641
642 wrappers:
643 - lf-infra-wrappers:
644 build-timeout: '{build-timeout}'
645 jenkins-ssh-credential: '{jenkins-ssh-credential}'
646
Matteo Scandolo0430f672020-05-07 11:50:26 -0700647 # default values
Matteo Scandolo68776b72020-07-21 14:06:06 -0700648 release: master
649
Matteo Scandolo0430f672020-05-07 11:50:26 -0700650 bbsimImg: voltha/bbsim:master
651 rwCoreImg: voltha/voltha-rw-core:master
652 ofAgentImg: voltha/voltha-ofagent-go:master
653 openoltAdapterImg: voltha/voltha-openolt-adapter:master
654 openonuAdapterImg: voltha/voltha-openonu-adapter:master
655 onosImg: voltha/voltha-onos:master
656
657 bbsimChart: onf/bbsim
658 volthaChart: onf/voltha
659 openoltAdapterChart: onf/voltha-adapter-openolt
660 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700661 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700662 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700663
Matteo Scandolo68776b72020-07-21 14:06:06 -0700664 olts: 2
665 pons: 2
666 onus: 2
667 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700668 withFlows: true
669 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700670 withEapol: true
671 withDhcp: true
672 withIgmp: false
673 withLLDP: false
674 withMibTemplate: true
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700675 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700676 withProfiling: false
677 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700678 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700679 openonuAdapterReplicas: 1
680 onosReplicas: 1
681 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700682 kafkaReplicas: 1
683 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700684 extraHelmFlags: ''
685 onosStatInterval: 5
686 volthaSystemTestsChange: ''
687 kindVolthaChange: ''
688 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700689 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700690 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700691 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700692
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700693 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200694
Matteo Scandolo51b76302020-02-05 12:07:23 -0800695 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800696 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800697
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700698 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700699
Matteo Scandolo849db722020-10-21 10:58:41 -0700700 triggers:
701 - gerrit:
702 server-name: '{gerrit-server-name}'
703 silent-start: false
704 successful-message: "PASSED scale test"
705 failure-message: "FAILED scale test"
706 unstable-message: "UNSTABLE scale test"
707 trigger-on:
708 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700709 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700710 projects:
711 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700712 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700713 branches:
714 - branch-compare-type: REG_EXP
715 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700716- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700717 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700718 name: '{name}'
719 pipeline-script: 'voltha-scale-matrix.groovy'
720
721 description: |
722 <!-- Managed by Jenkins Job Builder -->
723 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
724 Using pipeline {pipeline-script} <br/><br/>
725 Scale measurements for VOLTHA 2.x
726
727 properties:
728 - cord-infra-properties:
729 build-days-to-keep: '{build-days-to-keep}'
730 artifact-num-to-keep: '{artifact-num-to-keep}'
731
732 wrappers:
733 - lf-infra-wrappers:
734 build-timeout: '{build-timeout}'
735 jenkins-ssh-credential: '{jenkins-ssh-credential}'
736
737 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800738 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700739 release: master
740 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700741 volthaSystemTestsChange: ''
742 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700743 onosReplicas: 1
744 atomixReplicas: 0
745 kafkaReplicas: 1
746 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800747 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800748 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700749
750 project-type: pipeline
751 concurrent: false
752
753 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700754
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700755 parameters:
756 - string:
757 name: release
758 default: '{release}'
759 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
760
761 - string:
762 name: buildNode
763 default: '{build-node}'
764 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700765
766 - string:
767 name: volthaSystemTestsChange
768 default: '{volthaSystemTestsChange}'
769 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
770
771 - string:
772 name: kindVolthaChange
773 default: '{kindVolthaChange}'
774 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 -0700775
776 - string:
777 name: onosReplicas
778 default: '{onosReplicas}'
779 description: 'How many ONOSes instances to run'
780
781 - string:
782 name: atomixReplicas
783 default: '{atomixReplicas}'
784 description: 'How many Atomix instances to run'
785
786 - string:
787 name: kafkaReplicas
788 default: '{kafkaReplicas}'
789 description: 'How many Kafka instances to run'
790
791 - string:
792 name: etcdReplicas
793 default: '{etcdReplicas}'
794 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800795
796 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800797 name: openonuAdapterReplicas
798 default: '{openonuAdapterReplicas}'
799 description: 'How many OpenONU adapter instances to run'
800
801 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800802 name: topologies
803 default: '{topologies}'
804 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
805
806 triggers:
807 - timed: |
808 TZ=America/Los_Angeles
809 {time-trigger}