blob: 9d90ec2889e5b9583a06c7f65dd41db0ceaf6a4a [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 Scandolof6fe0092020-12-10 09:43:04 -080012 # OpenONU PY Scale
Matteo Scandolob46bc402020-06-11 13:59:44 -070013 - 'voltha-scale-measurements':
Andrea Campanella27b5a662020-12-18 18:49:26 +010014 name: 'voltha-openonu-py-scale-measurements-2.6-2-16-32-dt-subscribers'
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -080015 pipeline-script: 'voltha-scale-test-2.6.groovy'
Andrea Campanella9389b0d2021-02-24 19:04:21 -080016 'disable-job': true
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -080017 build-node: 'voltha-scale-1'
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020018 time-trigger: "H H/4 * * *"
19 olts: 2
20 pons: 16
21 onus: 32
22 withFlows: true
23 provisionSubscribers: true
24 workflow: dt
Andrea Campanella27b5a662020-12-18 18:49:26 +010025 release: voltha-2.6
Andrea Campanellaf8e852b2020-09-30 14:48:09 +020026 withEapol: false
27 withDhcp: false
28 withIgmp: false
Matteo Scandolof6fe0092020-12-10 09:43:04 -080029 openonuAdapterReplicas: 8
30 extraHelmFlags: '--set use_openonu_adapter_go=false'
Matteo Scandoloebe4f722021-02-04 09:53:07 -080031 bbsimImg: ''
32 rwCoreImg: ''
33 ofAgentImg: ''
34 openoltAdapterImg: ''
35 openonuAdapterImg: ''
36 openonuAdapterGoImg: ''
37 onosImg: ''
Matteo Scandolo45ad8f52020-08-11 09:07:49 -070038
Andrea Campanellabdb199e2020-10-27 10:47:16 +010039 - 'voltha-scale-measurements':
Andrea Campanella27b5a662020-12-18 18:49:26 +010040 name: 'voltha-openonu-py-scale-measurements-2.6-2-16-32-att-subscribers'
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -080041 pipeline-script: 'voltha-scale-test-2.6.groovy'
Andrea Campanella9389b0d2021-02-24 19:04:21 -080042 'disable-job': true
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -080043 build-node: 'voltha-scale-1'
Andrea Campanellabdb199e2020-10-27 10:47:16 +010044 time-trigger: "H H/4 * * *"
Andrea Campanella37e8a452020-11-18 22:27:58 +010045 olts: 2
Andrea Campanellabdb199e2020-10-27 10:47:16 +010046 pons: 16
47 onus: 32
48 withFlows: true
49 provisionSubscribers: true
Andrea Campanella27b5a662020-12-18 18:49:26 +010050 release: voltha-2.6
Andrea Campanellabdb199e2020-10-27 10:47:16 +010051 withEapol: true
52 withDhcp: true
53 withIgmp: false
Matteo Scandolof6fe0092020-12-10 09:43:04 -080054 openonuAdapterReplicas: 8
55 extraHelmFlags: '--set use_openonu_adapter_go=false,authRetry=true,dhcpRetry=true'
Matteo Scandoloebe4f722021-02-04 09:53:07 -080056 bbsimImg: ''
57 rwCoreImg: ''
58 ofAgentImg: ''
59 openoltAdapterImg: ''
60 openonuAdapterImg: ''
61 openonuAdapterGoImg: ''
62 onosImg: ''
Andrea Campanellabdb199e2020-10-27 10:47:16 +010063
Girish Gowdra0de34422020-11-19 11:58:12 -080064 - 'voltha-scale-measurements':
Andrea Campanella27b5a662020-12-18 18:49:26 +010065 name: 'voltha-openonu-py-scale-measurements-2.6-2-16-32-tt-subscribers'
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -080066 pipeline-script: 'voltha-scale-test-2.6.groovy'
Andrea Campanella9389b0d2021-02-24 19:04:21 -080067 'disable-job': true
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -080068 build-node: 'voltha-scale-1'
Girish Gowdra0de34422020-11-19 11:58:12 -080069 time-trigger: "H H/4 * * *"
Andrea Campanella945a21d2020-11-24 11:09:53 +010070 olts: 2
Girish Gowdra0de34422020-11-19 11:58:12 -080071 pons: 16
72 onus: 32
73 withFlows: true
74 workflow: tt
75 provisionSubscribers: true
Andrea Campanella27b5a662020-12-18 18:49:26 +010076 release: voltha-2.6
Girish Gowdra0de34422020-11-19 11:58:12 -080077 withEapol: false
78 withDhcp: true
79 withIgmp: false
Matteo Scandolof6fe0092020-12-10 09:43:04 -080080 openonuAdapterReplicas: 8
81 extraHelmFlags: '--set use_openonu_adapter_go=false,dhcpRetry=true,defaults.incremental_evto_update=true'
Matteo Scandoloebe4f722021-02-04 09:53:07 -080082 bbsimImg: ''
83 rwCoreImg: ''
84 ofAgentImg: ''
85 openoltAdapterImg: ''
86 openonuAdapterImg: ''
87 openonuAdapterGoImg: ''
88 onosImg: ''
Girish Gowdra0de34422020-11-19 11:58:12 -080089
Matteo Scandolo8df57162020-10-06 14:43:53 -070090 # this job will be used to test custom images without disrupting tests on master
91 - 'voltha-scale-measurements':
92 name: 'voltha-scale-measurements-master-experimental'
Matteo Scandolobb31fc72021-03-16 17:09:46 -070093 build-node: 'voltha-scale-1'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080094 'disable-job': false
Matteo Scandoloe6647a02020-11-02 10:27:52 -080095 # trigger on Feb 29th (a.k.a only trigger it manually)
96 time-trigger: "H 0 29 2 *"
Andrea Campanella642e5502020-11-19 19:47:02 +010097 withMonitoring: true
Matteo Scandolo0b5317e2021-03-16 16:44:14 -070098 olts: 1
Matteo Scandolo3329f402021-03-18 18:23:07 -070099 pons: 16
Matteo Scandolo8df57162020-10-06 14:43:53 -0700100 onus: 32
101 withFlows: true
102 provisionSubscribers: true
103 withEapol: true
104 withDhcp: true
105 withIgmp: false
Matteo Scandolo0feb5e92020-10-27 19:34:51 -0700106 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo08d7d002020-11-20 17:37:56 -0800107 withPcap: false
Matteo Scandolo9665d592020-10-23 19:08:14 +0000108
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800109 - 'voltha-scale-measurements':
110 name: 'voltha-scale-measurements-master-experimental-multi-stack'
Matteo Scandolobe823242020-11-20 13:48:13 -0800111 build-node: 'voltha-scale-2'
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800112 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Andrea Campanella9389b0d2021-02-24 19:04:21 -0800113 'disable-job': true
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800114 # trigger on Feb 29th (a.k.a only trigger it manually)
Matteo Scandoloffe19c92020-11-24 15:25:25 -0800115 time-trigger: "H 0 29 2 *"
Matteo Scandolod4d55b72020-11-25 12:29:07 -0800116 withMonitoring: true
Matteo Scandolof7ca6312020-11-16 15:57:15 -0800117 logLevel: WARN
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800118 volthaStacks: 2
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800119 olts: 2
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800120 pons: 2
121 onus: 2
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800122 withFlows: true
123 provisionSubscribers: true
Matteo Scandolof7ca6312020-11-16 15:57:15 -0800124 workflow: dt
125 withEapol: false
126 withDhcp: false
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800127 withIgmp: false
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800128
Matteo Scandolo8df57162020-10-06 14:43:53 -0700129
Matteo Scandoloe51ef6c2020-09-28 10:32:12 -0700130 # jobs for 512 ONUs with a 8 openonu-adapters and clustered ONOS (1 OLT)
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700131 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700132 name: 'voltha-scale-measurements-master-1-16-32-att-subscribers'
Matteo Scandolo90c5ccc2021-02-26 13:53:14 -0800133 'disable-job': true
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800134 build-node: 'voltha-scale-1'
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700135 time-trigger: "H H/4 * * *"
136 olts: 1
137 pons: 16
138 onus: 32
139 withFlows: true
140 provisionSubscribers: true
141 withEapol: true
142 withDhcp: true
143 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700144 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700145
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700146 - 'voltha-scale-measurements':
147 name: 'voltha-scale-measurements-master-1-16-32-tt-subscribers'
Matteo Scandolo90c5ccc2021-02-26 13:53:14 -0800148 'disable-job': true
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800149 build-node: 'voltha-scale-1'
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700150 time-trigger: "H H/4 * * *"
151 olts: 1
152 pons: 16
153 onus: 32
154 withFlows: true
155 provisionSubscribers: true
156 workflow: tt
157 withEapol: false
158 withDhcp: true
159 withIgmp: true
Matteo Scandolo37cba472020-10-26 14:15:34 -0700160 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandoloc05da5c2020-09-01 15:05:50 -0700161
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700162 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700163 name: 'voltha-scale-measurements-master-1-16-32-dt-subscribers'
Matteo Scandolo90c5ccc2021-02-26 13:53:14 -0800164 'disable-job': true
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800165 build-node: 'voltha-scale-1'
Matteo Scandoloe4b04342020-05-28 07:35:45 -0700166 time-trigger: "H H/4 * * *"
167 olts: 1
168 pons: 16
169 onus: 32
170 withFlows: true
171 provisionSubscribers: true
172 workflow: dt
173 withEapol: false
174 withDhcp: false
175 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700176 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanellafc7c9492020-05-12 12:56:38 +0200177
Matteo Scandolofebf6512021-03-02 11:37:37 -0800178 # jobs for 1024 ONUs with openonu-go and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -0700179 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700180 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandoloc1895e12021-03-11 15:14:20 -0800181 'disable-job': false
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800182 build-node: 'voltha-scale-1'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700183 time-trigger: "H H/4 * * *"
184 olts: 2
185 pons: 16
186 onus: 32
187 withFlows: true
188 provisionSubscribers: true
189 withEapol: true
190 withDhcp: true
191 withIgmp: false
Matteo Scandolod668e3a2021-03-25 17:35:38 -0700192 extraHelmFlags: '--set authRetry=true,dhcpRetry=true --set global.log_correlation.enabled=true -f /home/jenkins/voltha-scale/voltha-values.yaml'
Matteo Scandolo7757e0a2021-03-25 13:31:46 -0700193 # onosImg: registry.menlo.onlab.us/voltha-dev/voltha-onos:default-tp
194 # volthaHelmChartsChange: refs/changes/29/23729/3
195 openoltAdapterImg: gcgirish/voltha-openolt-adapter:meter
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700196
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700197 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700198 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700199 'disable-job': true
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800200 build-node: 'voltha-scale-1'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -0700201 time-trigger: "H H/4 * * *"
202 olts: 2
203 pons: 16
204 onus: 32
205 withFlows: true
206 provisionSubscribers: true
207 workflow: dt
208 withEapol: false
209 withDhcp: false
210 withIgmp: false
Matteo Scandolo37cba472020-10-26 14:15:34 -0700211 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanella9eeb4e72021-03-19 10:00:43 +0100212# onosImg: andreacampanella/voltha-onos:olt-mac-integration
Matteo Scandolo86939302020-10-30 13:32:08 -0700213
214 - 'voltha-scale-measurements':
215 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700216 'disable-job': true
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800217 build-node: 'voltha-scale-1'
Matteo Scandolo86939302020-10-30 13:32:08 -0700218 time-trigger: "H H/4 * * *"
219 olts: 2
220 pons: 16
221 onus: 32
222 withFlows: true
223 provisionSubscribers: true
224 workflow: tt
225 withEapol: false
226 withDhcp: true
227 withIgmp: true
Matteo Scandolo86939302020-10-30 13:32:08 -0700228 onosReplicas: 3
229 atomixReplicas: 3
Matteo Scandolo86939302020-10-30 13:32:08 -0700230 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Andrea Campanella9eeb4e72021-03-19 10:00:43 +0100231 onosImg: andreacampanella/voltha-onos:olt-group-pkt-req-mcast-fix
Matteo Scandolo272aed42020-05-08 15:05:57 -0700232
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800233 # multi-stack jobs
234 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800235 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-att-subscribers'
236 build-node: 'voltha-scale-2'
Matteo Scandoloc1895e12021-03-11 15:14:20 -0800237 'disable-job': false
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800238 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800239 time-trigger: "H H/4 * * *"
240 withMonitoring: false
241 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800242 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800243 olts: 2
244 pons: 16
245 onus: 32
246 withFlows: true
247 provisionSubscribers: true
248 workflow: att
249 withEapol: true
250 withDhcp: true
251 withIgmp: false
Andrea Campanella9eeb4e72021-03-19 10:00:43 +0100252 #onosImg: andreacampanella/voltha-onos:olt-mac-integration
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800253
254 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800255 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-dt-subscribers'
256 build-node: 'voltha-scale-2'
Matteo Scandoloc1895e12021-03-11 15:14:20 -0800257 'disable-job': false
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800258 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800259 time-trigger: "H H/4 * * *"
260 withMonitoring: false
261 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800262 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800263 olts: 2
264 pons: 16
265 onus: 32
266 withFlows: true
267 provisionSubscribers: true
268 workflow: dt
269 withEapol: false
270 withDhcp: false
271 withIgmp: false
Andrea Campanella9eeb4e72021-03-19 10:00:43 +0100272 #onosImg: andreacampanella/voltha-onos:olt-mac-integration
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800273
274 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800275 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-tt-subscribers'
276 build-node: 'voltha-scale-2'
Matteo Scandoloc1895e12021-03-11 15:14:20 -0800277 'disable-job': false
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800278 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800279 time-trigger: "H H/4 * * *"
280 withMonitoring: false
281 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800282 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800283 olts: 2
284 pons: 16
285 onus: 32
286 withFlows: true
287 provisionSubscribers: true
288 workflow: tt
289 withEapol: false
290 withDhcp: true
291 withIgmp: true
Andrea Campanella9eeb4e72021-03-19 10:00:43 +0100292 onosImg: andreacampanella/voltha-onos:olt-group-pkt-req-mcast-fix
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800293
Matteo Scandolo17321b82020-12-11 10:05:10 -0800294 # voltha-2.6 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700295 - 'voltha-scale-measurements':
Matteo Scandolo17321b82020-12-11 10:05:10 -0800296 name: 'voltha-scale-measurements-voltha-2.6-1-16-32-att-subscribers'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700297 'disable-job': true
Matteo Scandolo11311742021-01-25 13:56:22 -0800298 pipeline-script: 'voltha-scale-test-2.6.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800299 build-node: 'voltha-scale-1'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700300 time-trigger: "H H/4 * * *"
301 olts: 1
302 pons: 16
303 onus: 32
304 withFlows: true
305 provisionSubscribers: true
306 withEapol: true
307 withDhcp: true
308 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700309 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo17321b82020-12-11 10:05:10 -0800310 release: voltha-2.6
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700311 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700312 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700313 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700314 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700315 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800316 openonuAdapterGoImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200317 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700318
319 - 'voltha-scale-measurements':
Matteo Scandolo17321b82020-12-11 10:05:10 -0800320 name: 'voltha-scale-measurements-voltha-2.6-2-16-32-dt-subscribers'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700321 'disable-job': true
Matteo Scandolo11311742021-01-25 13:56:22 -0800322 pipeline-script: 'voltha-scale-test-2.6.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800323 build-node: 'voltha-scale-1'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700324 time-trigger: "H H/4 * * *"
325 olts: 2
326 pons: 16
327 onus: 32
328 withFlows: true
329 provisionSubscribers: true
330 workflow: dt
331 withEapol: false
332 withDhcp: false
333 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700334 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo17321b82020-12-11 10:05:10 -0800335 release: voltha-2.6
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700336 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700337 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700338 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700339 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700340 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800341 openonuAdapterGoImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200342 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700343
Matteo Scandolo031bd982020-09-16 10:03:47 -0700344 - 'voltha-scale-measurements':
Matteo Scandolo17321b82020-12-11 10:05:10 -0800345 name: 'voltha-scale-measurements-voltha-2.6-1-16-32-tt-subscribers'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700346 'disable-job': true
Matteo Scandolo11311742021-01-25 13:56:22 -0800347 pipeline-script: 'voltha-scale-test-2.6.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800348 build-node: 'voltha-scale-1'
Matteo Scandolo031bd982020-09-16 10:03:47 -0700349 time-trigger: "H H/4 * * *"
350 olts: 1
351 pons: 16
352 onus: 32
353 withFlows: true
354 provisionSubscribers: true
355 workflow: tt
356 withEapol: false
357 withDhcp: true
358 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700359 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolo17321b82020-12-11 10:05:10 -0800360 release: voltha-2.6
Matteo Scandolo031bd982020-09-16 10:03:47 -0700361 bbsimImg: ''
362 rwCoreImg: ''
363 ofAgentImg: ''
364 openoltAdapterImg: ''
365 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800366 openonuAdapterGoImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700367 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700368
Andrea Campanella27b5a662020-12-18 18:49:26 +0100369 # 2.6 multi-stack jobs
370 - 'voltha-scale-measurements':
371 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-att-subscribers'
372 build-node: 'voltha-scale-2'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700373 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100374 pipeline-script: 'voltha-scale-multi-stack.groovy'
Andrea Campanella27b5a662020-12-18 18:49:26 +0100375 time-trigger: "H H/4 * * *"
376 withMonitoring: false
377 logLevel: WARN
378 volthaStacks: 10
379 olts: 2
380 pons: 16
381 onus: 32
382 withFlows: true
383 provisionSubscribers: true
384 release: voltha-2.6
385 workflow: att
386 withEapol: true
387 withDhcp: true
388 withIgmp: false
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800389 bbsimImg: ''
390 rwCoreImg: ''
391 ofAgentImg: ''
392 openoltAdapterImg: ''
393 openonuAdapterImg: ''
394 openonuAdapterGoImg: ''
395 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100396
397 - 'voltha-scale-measurements':
398 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-dt-subscribers'
399 build-node: 'voltha-scale-2'
400 pipeline-script: 'voltha-scale-multi-stack.groovy'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700401 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100402 time-trigger: "H H/4 * * *"
403 withMonitoring: false
404 logLevel: WARN
405 volthaStacks: 10
406 olts: 2
407 pons: 16
408 onus: 32
409 withFlows: true
410 provisionSubscribers: true
411 release: voltha-2.6
412 workflow: dt
413 withEapol: false
414 withDhcp: false
415 withIgmp: false
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800416 bbsimImg: ''
417 rwCoreImg: ''
418 ofAgentImg: ''
419 openoltAdapterImg: ''
420 openonuAdapterImg: ''
421 openonuAdapterGoImg: ''
422 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100423
424 - 'voltha-scale-measurements':
425 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-tt-subscribers'
426 build-node: 'voltha-scale-2'
427 pipeline-script: 'voltha-scale-multi-stack.groovy'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700428 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100429 time-trigger: "H H/4 * * *"
430 withMonitoring: false
431 logLevel: WARN
432 volthaStacks: 10
433 olts: 2
434 pons: 16
435 onus: 32
436 withFlows: true
437 provisionSubscribers: true
438 release: voltha-2.6
439 workflow: tt
440 withEapol: false
441 withDhcp: true
442 withIgmp: true
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800443 bbsimImg: ''
444 rwCoreImg: ''
445 ofAgentImg: ''
446 openoltAdapterImg: ''
447 openonuAdapterImg: ''
448 openonuAdapterGoImg: ''
449 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100450
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700451 # per patchset job
452 - 'voltha-scale-measurements':
453 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800454 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700455 olts: 1
456 pons: 16
457 onus: 32
458 withFlows: true
459 provisionSubscribers: true
460 withEapol: true
461 withDhcp: true
462 withIgmp: false
463 withMonitoring: false
464 trigger-comment: "voltha scale test ATT"
465
466 - 'voltha-scale-measurements':
467 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800468 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700469 olts: 1
470 pons: 16
471 onus: 32
472 withFlows: true
473 provisionSubscribers: true
474 workflow: tt
475 withEapol: false
476 withDhcp: true
477 withIgmp: true
478 withMonitoring: false
479 trigger-comment: "voltha scale test TT"
480
481 - 'voltha-scale-measurements':
482 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800483 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700484 olts: 1
485 pons: 16
486 onus: 32
487 withFlows: true
488 provisionSubscribers: true
489 workflow: dt
490 withEapol: false
491 withDhcp: false
492 withIgmp: false
493 withMonitoring: false
494 trigger-comment: "voltha scale test DT"
495
Matteo Scandolo272aed42020-05-08 15:05:57 -0700496 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700497 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700498 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700499 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700500 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700501
Matteo Scandolodc930192020-08-27 15:56:16 -0700502 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700503 - 'voltha-scale-matrix':
504 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700505 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800506
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700507 # development matrix
508 - 'voltha-scale-matrix':
509 name: 'voltha-scale-matrix-voltha-master'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800510 build-node: 'voltha-scale-1'
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700511 onosReplicas: 3
512 atomixReplicas: 3
513 kafkaReplicas: 3
514 etcdReplicas: 3
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800515 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800516 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700517
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700518# list of parameters for the VOLTHA Jobs,
519# used as anchor so that can be shared across multiple jobs
520# to use in a job: `parameters: *voltha-build-job-parameters`
521- voltha-scale-job-parameters: &voltha-scale-job-parameters
522 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700523 parameters:
524 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800525 name: pipeline-script
526 default: '{pipeline-script}'
527 description: 'The pipeline script to use'
528
529 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700530 name: release
531 default: '{release}'
532 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
533
534 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700535 name: buildNode
536 default: '{build-node}'
537 description: 'Name of the Jenkins node to run the job on'
538
539 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700540 name: dockerRegistry
541 default: '{dockerRegistry}'
542 description: 'Address of the docker registry to use if we are building custom images'
543
544 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700545 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700546 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700547 description: 'Log level for all the components'
548
549 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800550 name: volthaStacks
551 default: '{volthaStacks}'
552 description: 'Number of VOLTHA Stacks to deploy'
553
554 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700555 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700556 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700557 description: 'Number of ONUs to provision'
558
559 - string:
560 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700561 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700562 description: 'Number of PONs to provision'
563
564 - string:
565 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700566 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700567 description: 'How many BBSim instances to run'
568
569 - string:
570 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700571 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700572 description: 'Which workflow are we testing (att, dt, tt)'
573
574 - bool:
575 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700576 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700577 description: 'Wheter to push flows from ONOS'
578
579 - bool:
580 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700581 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700582 description: 'Wheter to provision subscribers durint the tests'
583
584 - bool:
585 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700586 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700587 description: 'Wheter EAPOL is enabled for the test'
588
589 - bool:
590 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700591 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700592 description: 'Wheter DHCP is enabled for the test'
593
594 - bool:
595 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700596 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700597 description: 'Wheter IGMP is enabled for the test'
598
599 - bool:
600 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700601 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700602 description: 'Wheter Link Discovery is enabled for the test'
603
604 - bool:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700605 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700606 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700607 description: 'Option to install Prometheus'
608
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700609 - bool:
610 name: withProfiling
611 default: '{withProfiling}'
612 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
613
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700614 - bool:
615 name: withPcap
616 default: '{withPcap}'
617 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
618
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700619 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700620 name: withRadius
621 default: '{withRadius}'
622 description: 'Value to pass to kind-voltha WITH_RADIUS'
623
624 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700625 name: extraHelmFlags
626 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700627 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 -0700628
Matteo Scandolo272aed42020-05-08 15:05:57 -0700629 - string:
630 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700631 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700632 description: 'How many OpenONU adapter instances to run'
633
634 - string:
635 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700636 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700637 description: 'How many ONOSes instances to run'
638
639 - string:
640 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700641 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700642 description: 'How many Atomix instances to run'
643
644 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700645 name: kafkaReplicas
646 default: '{kafkaReplicas}'
647 description: 'How many Kafka instances to run'
648
649 - string:
650 name: etcdReplicas
651 default: '{etcdReplicas}'
652 description: 'How many ETCD instances to run'
653
654 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700655 name: onosStatInterval
656 default: '{onosStatInterval}'
657 description: 'How often ONOS should poll for ports, flows and meters'
658
659 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700660 name: bbsimImg
661 default: '{bbsimImg}'
662 description: 'Custom image selection for BBSIM (repo:tag)'
663
664 - string:
665 name: bbsimChart
666 default: '{bbsimChart}'
667 description: 'BBSim chart name (or location on file system)'
668
669 - string:
670 name: rwCoreImg
671 default: '{rwCoreImg}'
672 description: 'Custom image selection for VOLTHA (repo:tag)'
673
674 - string:
675 name: ofAgentImg
676 default: '{ofAgentImg}'
677 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
678
679 - string:
680 name: volthaChart
681 default: '{volthaChart}'
682 description: 'VOLTHA chart name (or location on file system)'
683
684 - string:
685 name: openoltAdapterImg
686 default: '{openoltAdapterImg}'
687 description: 'Custom image selection for Openolt Adapter (repo:tag)'
688
689 - string:
690 name: openoltAdapterChart
691 default: '{openoltAdapterChart}'
692 description: 'OpenOLT chart name (or location on file system)'
693
694 - string:
695 name: openonuAdapterImg
696 default: '{openonuAdapterImg}'
697 description: 'Custom image selection for Openonu Adapter (repo:tag)'
698
699 - string:
Andrea Campanella28763082020-11-18 10:55:31 +0100700 name: openonuAdapterGoImg
701 default: '{openonuAdapterGoImg}'
702 description: 'Custom image selection for Openonu Go Adapter (repo:tag)'
703
704 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700705 name: openonuAdapterChart
706 default: '{openonuAdapterChart}'
707 description: 'OpenONU chart name (or location on file system)'
708
709 - string:
710 name: onosImg
711 default: '{onosImg}'
712 description: 'Custom image selection for Openonu Adapter (repo:tag)'
713
714 - string:
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700715 name: onosChart
716 default: '{onosChart}'
717 description: 'ONOS chart name (or location on file system)'
718
719 - string:
Matteo Scandolo06506102020-10-13 12:24:20 -0700720 name: radiusChart
721 default: '{radiusChart}'
722 description: 'freeradius chart name (or location on file system)'
723
724 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700725 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700726 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700727 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
728
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700729 - string:
Matteo Scandolo11311742021-01-25 13:56:22 -0800730 name: volthaHelmChartsChange
731 default: '{volthaHelmChartsChange}'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700732 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
733
Matteo Scandoloccc06192020-06-22 10:16:17 -0700734 - bool:
735 name: inMemoryEtcdStorage
736 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700737 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700738
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200739 - string:
740 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700741 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200742 description: 'Karaf home'
743
Matteo Scandolo001003e2021-02-03 15:39:26 -0800744 # remove once voltha-2.6 is deprecated
745 - string:
746 name: kindVolthaChange
747 default: '{kindVolthaChange}'
748 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
Matteo Scandolo90c5ccc2021-02-26 13:53:14 -0800749 - bool:
750 name: withMibTemplate
751 default: true
Matteo Scandolo001003e2021-02-03 15:39:26 -0800752
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700753- job-template:
754 id: 'voltha-scale-measurements'
755 name: '{name}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700756 disabled: '{disable-job}'
757
758 description: |
759 <!-- Managed by Jenkins Job Builder -->
760 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
761 Using pipeline {pipeline-script} <br/><br/>
762 Scale measurements for VOLTHA 2.x
763
764 properties:
765 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800766 build-days-to-keep: '{big-build-days-to-keep}'
767 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700768
769 wrappers:
770 - lf-infra-wrappers:
771 build-timeout: '{build-timeout}'
772 jenkins-ssh-credential: '{jenkins-ssh-credential}'
773
774 # default values
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -0800775 pipeline-script: 'voltha/master/voltha-scale-test.groovy'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700776 release: master
777
778 bbsimImg: voltha/bbsim:master
779 rwCoreImg: voltha/voltha-rw-core:master
780 ofAgentImg: voltha/voltha-ofagent-go:master
781 openoltAdapterImg: voltha/voltha-openolt-adapter:master
782 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100783 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700784 onosImg: voltha/voltha-onos:master
785
786 bbsimChart: onf/bbsim
787 volthaChart: onf/voltha
788 openoltAdapterChart: onf/voltha-adapter-openolt
789 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700790 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700791 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700792
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800793 volthaStacks: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700794 olts: 2
795 pons: 2
796 onus: 2
797 workflow: att
798 withFlows: false
799 provisionSubscribers: false
800 withEapol: true
801 withDhcp: true
802 withIgmp: false
803 withLLDP: false
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700804 withMonitoring: true
805 withProfiling: false
806 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700807 withRadius: yes
Andrea Campanellac179de22020-12-10 17:24:40 +0100808 openonuAdapterReplicas: 1
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700809 onosReplicas: 3
810 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700811 kafkaReplicas: 3
812 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700813 extraHelmFlags: ''
814 onosStatInterval: 5
815 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800816 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800817 kindVolthaChange: ''
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700818 inMemoryEtcdStorage: true
819 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700820 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700821 dockerRegistry: 10.90.0.101:30500
822 trigger-comment: vv7CBoQQYYonvaN8xcru
823 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700824
825 <<: *voltha-scale-job-parameters
826
Matteo Scandolo272aed42020-05-08 15:05:57 -0700827 project-type: pipeline
828 concurrent: false
829
830 dsl: !include-raw-escape: pipeline/{pipeline-script}
831
Matteo Scandoloabb83972020-06-25 16:08:23 -0700832 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700833 # periodic jobs will set this every 4 hours
834 # 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 -0700835 - timed: |
836 TZ=America/Los_Angeles
837 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700838 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
839 # patchset jobs will set this to a meaningful comment
840 - gerrit:
841 server-name: '{gerrit-server-name}'
842 silent-start: false
843 successful-message: "PASSED scale test"
844 failure-message: "FAILED scale test"
845 unstable-message: "UNSTABLE scale test"
846 trigger-on:
847 - comment-added-contains-event:
848 comment-contains-value: '.*{trigger-comment}.*'
849 projects:
850 - project-compare-type: REG_EXP
851 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
852 branches:
853 - branch-compare-type: REG_EXP
854 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700855
856- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700857 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800858 name: '{name}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800859
860 description: |
861 <!-- Managed by Jenkins Job Builder -->
862 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
863 Using pipeline {pipeline-script} <br/><br/>
864 Scale measurements for VOLTHA 2.x
865
866 properties:
867 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800868 build-days-to-keep: '{big-build-days-to-keep}'
869 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800870
871 wrappers:
872 - lf-infra-wrappers:
873 build-timeout: '{build-timeout}'
874 jenkins-ssh-credential: '{jenkins-ssh-credential}'
875
Matteo Scandolo0430f672020-05-07 11:50:26 -0700876 # default values
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -0800877 pipeline-script: 'voltha/master/voltha-scale-test.groovy'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700878 release: master
879
Matteo Scandolo0430f672020-05-07 11:50:26 -0700880 bbsimImg: voltha/bbsim:master
881 rwCoreImg: voltha/voltha-rw-core:master
882 ofAgentImg: voltha/voltha-ofagent-go:master
883 openoltAdapterImg: voltha/voltha-openolt-adapter:master
884 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100885 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandolo0430f672020-05-07 11:50:26 -0700886 onosImg: voltha/voltha-onos:master
887
888 bbsimChart: onf/bbsim
889 volthaChart: onf/voltha
890 openoltAdapterChart: onf/voltha-adapter-openolt
891 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700892 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700893 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700894
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800895 volthaStacks: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700896 olts: 2
897 pons: 2
898 onus: 2
899 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700900 withFlows: true
901 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700902 withEapol: true
903 withDhcp: true
904 withIgmp: false
905 withLLDP: false
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700906 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700907 withProfiling: false
908 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700909 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700910 openonuAdapterReplicas: 1
911 onosReplicas: 1
912 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700913 kafkaReplicas: 1
914 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700915 extraHelmFlags: ''
916 onosStatInterval: 5
917 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800918 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800919 kindVolthaChange: ''
Matteo Scandolo68776b72020-07-21 14:06:06 -0700920 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700921 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700922 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700923 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700924
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700925 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200926
Matteo Scandolo51b76302020-02-05 12:07:23 -0800927 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800928 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800929
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700930 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700931
Matteo Scandolo849db722020-10-21 10:58:41 -0700932 triggers:
933 - gerrit:
934 server-name: '{gerrit-server-name}'
935 silent-start: false
936 successful-message: "PASSED scale test"
937 failure-message: "FAILED scale test"
938 unstable-message: "UNSTABLE scale test"
939 trigger-on:
940 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700941 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700942 projects:
943 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700944 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700945 branches:
946 - branch-compare-type: REG_EXP
947 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700948- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700949 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700950 name: '{name}'
951 pipeline-script: 'voltha-scale-matrix.groovy'
952
953 description: |
954 <!-- Managed by Jenkins Job Builder -->
955 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
956 Using pipeline {pipeline-script} <br/><br/>
957 Scale measurements for VOLTHA 2.x
958
959 properties:
960 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800961 build-days-to-keep: '{big-build-days-to-keep}'
962 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700963
964 wrappers:
965 - lf-infra-wrappers:
966 build-timeout: '{build-timeout}'
967 jenkins-ssh-credential: '{jenkins-ssh-credential}'
968
969 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800970 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700971 release: master
972 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700973 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800974 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800975 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700976 onosReplicas: 1
977 atomixReplicas: 0
978 kafkaReplicas: 1
979 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800980 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800981 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700982
983 project-type: pipeline
984 concurrent: false
985
986 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700987
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700988 parameters:
989 - string:
990 name: release
991 default: '{release}'
992 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
993
994 - string:
995 name: buildNode
996 default: '{build-node}'
997 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700998
999 - string:
1000 name: volthaSystemTestsChange
1001 default: '{volthaSystemTestsChange}'
1002 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
1003
1004 - string:
Matteo Scandolo11311742021-01-25 13:56:22 -08001005 name: volthaHelmChartsChange
1006 default: '{volthaHelmChartsChange}'
1007 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/32/19132/1"'
Matteo Scandolo5fec8022020-08-27 17:29:35 -07001008
1009 - string:
1010 name: onosReplicas
1011 default: '{onosReplicas}'
1012 description: 'How many ONOSes instances to run'
1013
1014 - string:
1015 name: atomixReplicas
1016 default: '{atomixReplicas}'
1017 description: 'How many Atomix instances to run'
1018
1019 - string:
1020 name: kafkaReplicas
1021 default: '{kafkaReplicas}'
1022 description: 'How many Kafka instances to run'
1023
1024 - string:
1025 name: etcdReplicas
1026 default: '{etcdReplicas}'
1027 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -08001028
1029 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -08001030 name: openonuAdapterReplicas
1031 default: '{openonuAdapterReplicas}'
1032 description: 'How many OpenONU adapter instances to run'
1033
1034 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -08001035 name: topologies
1036 default: '{topologies}'
1037 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
1038
1039 triggers:
1040 - timed: |
1041 TZ=America/Los_Angeles
1042 {time-trigger}