blob: 542419575a7121a79d0b433ec18f48e6adc1bb7b [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 Scandolo8df57162020-10-06 14:43:53 -070012 # this job will be used to test custom images without disrupting tests on master
13 - 'voltha-scale-measurements':
14 name: 'voltha-scale-measurements-master-experimental'
Matteo Scandolobb31fc72021-03-16 17:09:46 -070015 build-node: 'voltha-scale-1'
Matteo Scandolo8a82e9c2020-11-06 11:53:19 -080016 'disable-job': false
Matteo Scandoloe6647a02020-11-02 10:27:52 -080017 # trigger on Feb 29th (a.k.a only trigger it manually)
18 time-trigger: "H 0 29 2 *"
Andrea Campanella642e5502020-11-19 19:47:02 +010019 withMonitoring: true
Matteo Scandolo0b5317e2021-03-16 16:44:14 -070020 olts: 1
Matteo Scandolo3329f402021-03-18 18:23:07 -070021 pons: 16
Matteo Scandolo8df57162020-10-06 14:43:53 -070022 onus: 32
23 withFlows: true
24 provisionSubscribers: true
25 withEapol: true
26 withDhcp: true
27 withIgmp: false
Matteo Scandolo0feb5e92020-10-27 19:34:51 -070028 extraHelmFlags: '--set authRetry=true,dhcpRetry=true'
Matteo Scandolo08d7d002020-11-20 17:37:56 -080029 withPcap: false
Matteo Scandolo9665d592020-10-23 19:08:14 +000030
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080031 - 'voltha-scale-measurements':
32 name: 'voltha-scale-measurements-master-experimental-multi-stack'
Matteo Scandolobe823242020-11-20 13:48:13 -080033 build-node: 'voltha-scale-2'
Matteo Scandolo2bc660a2021-02-12 10:52:25 -080034 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Andrea Campanella9389b0d2021-02-24 19:04:21 -080035 'disable-job': true
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080036 # trigger on Feb 29th (a.k.a only trigger it manually)
Matteo Scandoloffe19c92020-11-24 15:25:25 -080037 time-trigger: "H 0 29 2 *"
Matteo Scandolod4d55b72020-11-25 12:29:07 -080038 withMonitoring: true
Matteo Scandolof7ca6312020-11-16 15:57:15 -080039 logLevel: WARN
Matteo Scandolo2bc660a2021-02-12 10:52:25 -080040 volthaStacks: 2
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080041 olts: 2
Matteo Scandolo2bc660a2021-02-12 10:52:25 -080042 pons: 2
43 onus: 2
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080044 withFlows: true
45 provisionSubscribers: true
Matteo Scandolof7ca6312020-11-16 15:57:15 -080046 workflow: dt
47 withEapol: false
48 withDhcp: false
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080049 withIgmp: false
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080050
Matteo Scandolofebf6512021-03-02 11:37:37 -080051 # jobs for 1024 ONUs with openonu-go and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -070052 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070053 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandoloc1895e12021-03-11 15:14:20 -080054 'disable-job': false
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -080055 build-node: 'voltha-scale-1'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070056 time-trigger: "H H/4 * * *"
57 olts: 2
58 pons: 16
59 onus: 32
60 withFlows: true
61 provisionSubscribers: true
62 withEapol: true
63 withDhcp: true
64 withIgmp: false
Matteo Scandolod668e3a2021-03-25 17:35:38 -070065 extraHelmFlags: '--set authRetry=true,dhcpRetry=true --set global.log_correlation.enabled=true -f /home/jenkins/voltha-scale/voltha-values.yaml'
Andrea Campanellaac21e152021-05-27 15:44:54 +020066 onosImg: andreacampanella/voltha-onos:voltha-onos-2.5
Girish Gowdra483c9672021-05-29 16:08:26 -070067 bbsimImg: gcgirish/bbsim:etcd
68 rwCoreImg: volthacore/voltha-rw-core:noflows
69 ofAgentImg: volthacore/voltha-ofagent:noflows
70 openoltAdapterImg: gcgirish/voltha-openolt-adapter:etcdNew
71 openonuAdapterGoImg: gcgirish/voltha-openonu-adapter-go:etcdNew
Matteo Scandolo756f3ec2021-05-28 12:43:40 -070072 volthaHelmChartsChange: refs/changes/69/25069/7
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070073
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070074 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070075 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -070076 'disable-job': true
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -080077 build-node: 'voltha-scale-1'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070078 time-trigger: "H H/4 * * *"
79 olts: 2
80 pons: 16
81 onus: 32
82 withFlows: true
83 provisionSubscribers: true
84 workflow: dt
85 withEapol: false
86 withDhcp: false
87 withIgmp: false
Matteo Scandolo433f60d2021-03-26 12:04:34 -070088 extraHelmFlags: '--set authRetry=true,dhcpRetry=true --set global.log_correlation.enabled=true -f /home/jenkins/voltha-scale/voltha-values.yaml '
Andrea Campanelladfc4b2f2021-05-28 09:50:11 +020089 onosImg: andreacampanella/voltha-onos:voltha-onos-2.5
Matteo Scandolo86939302020-10-30 13:32:08 -070090
91 - 'voltha-scale-measurements':
92 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -070093 'disable-job': true
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -080094 build-node: 'voltha-scale-1'
Matteo Scandolo86939302020-10-30 13:32:08 -070095 time-trigger: "H H/4 * * *"
96 olts: 2
97 pons: 16
98 onus: 32
99 withFlows: true
100 provisionSubscribers: true
101 workflow: tt
102 withEapol: false
103 withDhcp: true
104 withIgmp: true
Matteo Scandolo86939302020-10-30 13:32:08 -0700105 onosReplicas: 3
106 atomixReplicas: 3
Andrea Campanella9c93ded2021-04-29 18:59:53 +0200107 extraHelmFlags: '--set authRetry=true,dhcpRetry=true --set global.rw_core.core_timeout=60s --set global.log_correlation.enabled=true -f /home/jenkins/voltha-scale/voltha-values.yaml '
Andrea Campanella67850712021-06-04 08:13:08 +0000108 onosImg: andreacampanella/voltha-onos:olt-group-pkt-req-mcast-fix
Matteo Scandolo272aed42020-05-08 15:05:57 -0700109
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800110 # multi-stack jobs
111 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800112 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-att-subscribers'
113 build-node: 'voltha-scale-2'
Matteo Scandoloc1895e12021-03-11 15:14:20 -0800114 'disable-job': false
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800115 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800116 time-trigger: "H H/4 * * *"
117 withMonitoring: false
118 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800119 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800120 olts: 2
121 pons: 16
122 onus: 32
123 withFlows: true
124 provisionSubscribers: true
125 workflow: att
126 withEapol: true
127 withDhcp: true
128 withIgmp: false
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700129 extraHelmFlags: "-f /home/jenkins/voltha-scale/voltha-values.yaml "
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800130
131 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800132 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-dt-subscribers'
133 build-node: 'voltha-scale-2'
Matteo Scandoloc1895e12021-03-11 15:14:20 -0800134 'disable-job': false
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800135 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800136 time-trigger: "H H/4 * * *"
137 withMonitoring: false
138 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800139 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800140 olts: 2
141 pons: 16
142 onus: 32
143 withFlows: true
144 provisionSubscribers: true
145 workflow: dt
146 withEapol: false
147 withDhcp: false
148 withIgmp: false
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700149 extraHelmFlags: "-f /home/jenkins/voltha-scale/voltha-values.yaml "
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800150
151 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800152 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-tt-subscribers'
153 build-node: 'voltha-scale-2'
Matteo Scandoloc1895e12021-03-11 15:14:20 -0800154 'disable-job': false
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800155 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800156 time-trigger: "H H/4 * * *"
157 withMonitoring: false
158 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800159 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800160 olts: 2
161 pons: 16
162 onus: 32
163 withFlows: true
164 provisionSubscribers: true
165 workflow: tt
166 withEapol: false
167 withDhcp: true
168 withIgmp: true
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700169 extraHelmFlags: "-f /home/jenkins/voltha-scale/voltha-values.yaml "
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800170
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700171 # voltha-2.7 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700172 - 'voltha-scale-measurements':
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700173 name: 'voltha-scale-measurements-voltha-2.7-2-16-32-att-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -0700174 'disable-job': true
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700175 pipeline-script: 'voltha/voltha-2.7/voltha-scale-test.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800176 build-node: 'voltha-scale-1'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700177 time-trigger: "H H/4 * * *"
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700178 olts: 2
Matteo Scandolod43064b2020-07-13 17:18:45 -0700179 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 Scandolofed6bab2021-03-31 14:19:57 -0700187 release: voltha-2.7
Andrea Campanellabc5ee952021-04-30 10:47:54 +0200188 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: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800193 openonuAdapterGoImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200194 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700195
196 - 'voltha-scale-measurements':
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700197 name: 'voltha-scale-measurements-voltha-2.7-2-16-32-dt-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -0700198 'disable-job': true
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700199 pipeline-script: 'voltha/voltha-2.7/voltha-scale-test.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800200 build-node: 'voltha-scale-1'
Matteo Scandolod43064b2020-07-13 17:18:45 -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 Scandolo35177dd2020-07-24 10:44:44 -0700211 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700212 release: voltha-2.7
Andrea Campanellabc5ee952021-04-30 10:47:54 +0200213 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: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800218 openonuAdapterGoImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200219 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700220
Matteo Scandolo031bd982020-09-16 10:03:47 -0700221 - 'voltha-scale-measurements':
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700222 name: 'voltha-scale-measurements-voltha-2.7-2-16-32-tt-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -0700223 'disable-job': true
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700224 pipeline-script: 'voltha/voltha-2.7/voltha-scale-test.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800225 build-node: 'voltha-scale-1'
Matteo Scandolo031bd982020-09-16 10:03:47 -0700226 time-trigger: "H H/4 * * *"
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700227 olts: 2
Matteo Scandolo031bd982020-09-16 10:03:47 -0700228 pons: 16
229 onus: 32
230 withFlows: true
231 provisionSubscribers: true
232 workflow: tt
233 withEapol: false
234 withDhcp: true
235 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700236 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700237 release: voltha-2.7
Andrea Campanellabc5ee952021-04-30 10:47:54 +0200238 bbsimImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700239 rwCoreImg: ''
240 ofAgentImg: ''
241 openoltAdapterImg: ''
242 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800243 openonuAdapterGoImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700244 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700245
Andrea Campanella27b5a662020-12-18 18:49:26 +0100246 # 2.6 multi-stack jobs
247 - 'voltha-scale-measurements':
248 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-att-subscribers'
249 build-node: 'voltha-scale-2'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700250 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100251 pipeline-script: 'voltha-scale-multi-stack.groovy'
Andrea Campanella27b5a662020-12-18 18:49:26 +0100252 time-trigger: "H H/4 * * *"
253 withMonitoring: false
254 logLevel: WARN
255 volthaStacks: 10
256 olts: 2
257 pons: 16
258 onus: 32
259 withFlows: true
260 provisionSubscribers: true
261 release: voltha-2.6
262 workflow: att
263 withEapol: true
264 withDhcp: true
265 withIgmp: false
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800266 bbsimImg: ''
267 rwCoreImg: ''
268 ofAgentImg: ''
269 openoltAdapterImg: ''
270 openonuAdapterImg: ''
271 openonuAdapterGoImg: ''
272 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100273
274 - 'voltha-scale-measurements':
275 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-dt-subscribers'
276 build-node: 'voltha-scale-2'
277 pipeline-script: 'voltha-scale-multi-stack.groovy'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700278 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100279 time-trigger: "H H/4 * * *"
280 withMonitoring: false
281 logLevel: WARN
282 volthaStacks: 10
283 olts: 2
284 pons: 16
285 onus: 32
286 withFlows: true
287 provisionSubscribers: true
288 release: voltha-2.6
289 workflow: dt
290 withEapol: false
291 withDhcp: false
292 withIgmp: false
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800293 bbsimImg: ''
294 rwCoreImg: ''
295 ofAgentImg: ''
296 openoltAdapterImg: ''
297 openonuAdapterImg: ''
298 openonuAdapterGoImg: ''
299 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100300
301 - 'voltha-scale-measurements':
302 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-tt-subscribers'
303 build-node: 'voltha-scale-2'
304 pipeline-script: 'voltha-scale-multi-stack.groovy'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700305 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100306 time-trigger: "H H/4 * * *"
307 withMonitoring: false
308 logLevel: WARN
309 volthaStacks: 10
310 olts: 2
311 pons: 16
312 onus: 32
313 withFlows: true
314 provisionSubscribers: true
315 release: voltha-2.6
316 workflow: tt
317 withEapol: false
318 withDhcp: true
319 withIgmp: true
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800320 bbsimImg: ''
321 rwCoreImg: ''
322 ofAgentImg: ''
323 openoltAdapterImg: ''
324 openonuAdapterImg: ''
325 openonuAdapterGoImg: ''
326 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100327
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700328 # per patchset job
329 - 'voltha-scale-measurements':
330 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800331 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700332 olts: 1
333 pons: 16
334 onus: 32
335 withFlows: true
336 provisionSubscribers: true
337 withEapol: true
338 withDhcp: true
339 withIgmp: false
340 withMonitoring: false
341 trigger-comment: "voltha scale test ATT"
342
343 - 'voltha-scale-measurements':
344 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800345 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700346 olts: 1
347 pons: 16
348 onus: 32
349 withFlows: true
350 provisionSubscribers: true
351 workflow: tt
352 withEapol: false
353 withDhcp: true
354 withIgmp: true
355 withMonitoring: false
356 trigger-comment: "voltha scale test TT"
357
358 - 'voltha-scale-measurements':
359 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800360 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700361 olts: 1
362 pons: 16
363 onus: 32
364 withFlows: true
365 provisionSubscribers: true
366 workflow: dt
367 withEapol: false
368 withDhcp: false
369 withIgmp: false
370 withMonitoring: false
371 trigger-comment: "voltha scale test DT"
372
Matteo Scandolo272aed42020-05-08 15:05:57 -0700373 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700374 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700375 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700376 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700377 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700378
Matteo Scandolodc930192020-08-27 15:56:16 -0700379 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700380 - 'voltha-scale-matrix':
381 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700382 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800383
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700384 # development matrix
385 - 'voltha-scale-matrix':
386 name: 'voltha-scale-matrix-voltha-master'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800387 build-node: 'voltha-scale-1'
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700388 onosReplicas: 3
389 atomixReplicas: 3
390 kafkaReplicas: 3
391 etcdReplicas: 3
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800392 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800393 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700394
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700395# list of parameters for the VOLTHA Jobs,
396# used as anchor so that can be shared across multiple jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700397# to use in a job: `parameters: *voltha-scale-job-parameters`
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700398- voltha-scale-job-parameters: &voltha-scale-job-parameters
399 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700400 parameters:
401 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800402 name: pipeline-script
403 default: '{pipeline-script}'
404 description: 'The pipeline script to use'
405
406 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700407 name: release
408 default: '{release}'
Matteo Scandolo49bc0472021-04-20 09:37:55 -0700409 description: 'Version of the code to test (matches a branch in voltha-helm-charts and voltha-system-tests repos)'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700410
411 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700412 name: buildNode
413 default: '{build-node}'
414 description: 'Name of the Jenkins node to run the job on'
415
416 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700417 name: dockerRegistry
418 default: '{dockerRegistry}'
419 description: 'Address of the docker registry to use if we are building custom images'
420
421 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700422 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700423 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700424 description: 'Log level for all the components'
425
426 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800427 name: volthaStacks
428 default: '{volthaStacks}'
429 description: 'Number of VOLTHA Stacks to deploy'
430
431 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700432 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700433 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700434 description: 'Number of ONUs to provision'
435
436 - string:
437 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700438 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700439 description: 'Number of PONs to provision'
440
441 - string:
442 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700443 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700444 description: 'How many BBSim instances to run'
445
446 - string:
447 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700448 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700449 description: 'Which workflow are we testing (att, dt, tt)'
450
451 - bool:
452 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700453 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700454 description: 'Wheter to push flows from ONOS'
455
456 - bool:
457 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700458 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700459 description: 'Wheter to provision subscribers durint the tests'
460
461 - bool:
462 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700463 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700464 description: 'Wheter EAPOL is enabled for the test'
465
466 - bool:
467 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700468 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700469 description: 'Wheter DHCP is enabled for the test'
470
471 - bool:
472 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700473 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700474 description: 'Wheter IGMP is enabled for the test'
475
476 - bool:
477 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700478 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700479 description: 'Wheter Link Discovery is enabled for the test'
480
481 - bool:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700482 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700483 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700484 description: 'Option to install Prometheus'
485
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700486 - bool:
487 name: withProfiling
488 default: '{withProfiling}'
489 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
490
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700491 - bool:
492 name: withPcap
493 default: '{withPcap}'
494 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
495
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700496 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700497 name: withRadius
498 default: '{withRadius}'
499 description: 'Value to pass to kind-voltha WITH_RADIUS'
500
501 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700502 name: extraHelmFlags
503 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700504 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 -0700505
Matteo Scandolo272aed42020-05-08 15:05:57 -0700506 - string:
507 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700508 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700509 description: 'How many OpenONU adapter instances to run'
510
511 - string:
512 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700513 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700514 description: 'How many ONOSes instances to run'
515
516 - string:
517 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700518 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700519 description: 'How many Atomix instances to run'
520
521 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700522 name: kafkaReplicas
523 default: '{kafkaReplicas}'
524 description: 'How many Kafka instances to run'
525
526 - string:
527 name: etcdReplicas
528 default: '{etcdReplicas}'
529 description: 'How many ETCD instances to run'
530
531 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700532 name: onosStatInterval
533 default: '{onosStatInterval}'
534 description: 'How often ONOS should poll for ports, flows and meters'
535
536 - string:
Andrea Campanella15f22942021-04-08 17:24:21 +0200537 name: onosGroupInterval
538 default: '{onosGroupInterval}'
539 description: 'How often ONOS should poll for groups'
540
541 - string:
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200542 name: flowObjWorkerThreads
543 default: '{flowObjWorkerThreads}'
544 description: 'How many threads are used by the FlowObjectiveManager worker pool'
545
546 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700547 name: bbsimImg
548 default: '{bbsimImg}'
549 description: 'Custom image selection for BBSIM (repo:tag)'
550
551 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700552 name: rwCoreImg
553 default: '{rwCoreImg}'
554 description: 'Custom image selection for VOLTHA (repo:tag)'
555
556 - string:
557 name: ofAgentImg
558 default: '{ofAgentImg}'
559 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
560
561 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700562 name: openoltAdapterImg
563 default: '{openoltAdapterImg}'
564 description: 'Custom image selection for Openolt Adapter (repo:tag)'
565
566 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700567 name: openonuAdapterImg
568 default: '{openonuAdapterImg}'
569 description: 'Custom image selection for Openonu Adapter (repo:tag)'
570
571 - string:
Andrea Campanella28763082020-11-18 10:55:31 +0100572 name: openonuAdapterGoImg
573 default: '{openonuAdapterGoImg}'
574 description: 'Custom image selection for Openonu Go Adapter (repo:tag)'
575
576 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700577 name: onosImg
578 default: '{onosImg}'
579 description: 'Custom image selection for Openonu Adapter (repo:tag)'
580
581 - string:
582 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700583 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700584 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
585
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700586 - string:
Matteo Scandolo11311742021-01-25 13:56:22 -0800587 name: volthaHelmChartsChange
588 default: '{volthaHelmChartsChange}'
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700589 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/32/19132/1"'
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700590
Matteo Scandoloccc06192020-06-22 10:16:17 -0700591 - bool:
592 name: inMemoryEtcdStorage
593 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700594 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700595
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200596 - string:
597 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700598 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200599 description: 'Karaf home'
600
Matteo Scandolo001003e2021-02-03 15:39:26 -0800601 # remove once voltha-2.6 is deprecated
602 - string:
603 name: kindVolthaChange
604 default: '{kindVolthaChange}'
605 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 -0800606 - bool:
607 name: withMibTemplate
608 default: true
Matteo Scandolo001003e2021-02-03 15:39:26 -0800609
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700610- job-template:
611 id: 'voltha-scale-measurements'
612 name: '{name}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700613 disabled: '{disable-job}'
614
615 description: |
616 <!-- Managed by Jenkins Job Builder -->
617 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
618 Using pipeline {pipeline-script} <br/><br/>
619 Scale measurements for VOLTHA 2.x
620
621 properties:
622 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800623 build-days-to-keep: '{big-build-days-to-keep}'
624 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700625
626 wrappers:
627 - lf-infra-wrappers:
628 build-timeout: '{build-timeout}'
629 jenkins-ssh-credential: '{jenkins-ssh-credential}'
630
631 # default values
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -0800632 pipeline-script: 'voltha/master/voltha-scale-test.groovy'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700633 release: master
634
635 bbsimImg: voltha/bbsim:master
636 rwCoreImg: voltha/voltha-rw-core:master
637 ofAgentImg: voltha/voltha-ofagent-go:master
638 openoltAdapterImg: voltha/voltha-openolt-adapter:master
639 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100640 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700641 onosImg: voltha/voltha-onos:master
642
643 bbsimChart: onf/bbsim
644 volthaChart: onf/voltha
645 openoltAdapterChart: onf/voltha-adapter-openolt
646 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700647 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700648 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700649
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800650 volthaStacks: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700651 olts: 2
652 pons: 2
653 onus: 2
654 workflow: att
655 withFlows: false
656 provisionSubscribers: false
657 withEapol: true
658 withDhcp: true
659 withIgmp: false
660 withLLDP: false
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700661 withMonitoring: true
662 withProfiling: false
663 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700664 withRadius: yes
Andrea Campanellac179de22020-12-10 17:24:40 +0100665 openonuAdapterReplicas: 1
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700666 onosReplicas: 3
667 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700668 kafkaReplicas: 3
669 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700670 extraHelmFlags: ''
671 onosStatInterval: 5
Andrea Campanella15f22942021-04-08 17:24:21 +0200672 onosGroupInterval: 1
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200673 flowObjWorkerThreads: 12
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700674 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800675 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800676 kindVolthaChange: ''
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700677 inMemoryEtcdStorage: true
678 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700679 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700680 dockerRegistry: 10.90.0.101:30500
681 trigger-comment: vv7CBoQQYYonvaN8xcru
682 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700683
684 <<: *voltha-scale-job-parameters
685
Matteo Scandolo272aed42020-05-08 15:05:57 -0700686 project-type: pipeline
687 concurrent: false
688
689 dsl: !include-raw-escape: pipeline/{pipeline-script}
690
Matteo Scandoloabb83972020-06-25 16:08:23 -0700691 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700692 # periodic jobs will set this every 4 hours
693 # 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 -0700694 - timed: |
695 TZ=America/Los_Angeles
696 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700697 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
698 # patchset jobs will set this to a meaningful comment
699 - gerrit:
700 server-name: '{gerrit-server-name}'
701 silent-start: false
702 successful-message: "PASSED scale test"
703 failure-message: "FAILED scale test"
704 unstable-message: "UNSTABLE scale test"
705 trigger-on:
706 - comment-added-contains-event:
707 comment-contains-value: '.*{trigger-comment}.*'
708 projects:
709 - project-compare-type: REG_EXP
710 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
711 branches:
712 - branch-compare-type: REG_EXP
713 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700714
715- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700716 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800717 name: '{name}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800718
719 description: |
720 <!-- Managed by Jenkins Job Builder -->
721 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
722 Using pipeline {pipeline-script} <br/><br/>
723 Scale measurements for VOLTHA 2.x
724
725 properties:
726 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800727 build-days-to-keep: '{big-build-days-to-keep}'
728 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800729
730 wrappers:
731 - lf-infra-wrappers:
732 build-timeout: '{build-timeout}'
733 jenkins-ssh-credential: '{jenkins-ssh-credential}'
734
Matteo Scandolo0430f672020-05-07 11:50:26 -0700735 # default values
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -0800736 pipeline-script: 'voltha/master/voltha-scale-test.groovy'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700737 release: master
738
Matteo Scandolo0430f672020-05-07 11:50:26 -0700739 bbsimImg: voltha/bbsim:master
740 rwCoreImg: voltha/voltha-rw-core:master
741 ofAgentImg: voltha/voltha-ofagent-go:master
742 openoltAdapterImg: voltha/voltha-openolt-adapter:master
743 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100744 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandolo0430f672020-05-07 11:50:26 -0700745 onosImg: voltha/voltha-onos:master
746
747 bbsimChart: onf/bbsim
748 volthaChart: onf/voltha
749 openoltAdapterChart: onf/voltha-adapter-openolt
750 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700751 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700752 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700753
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800754 volthaStacks: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700755 olts: 2
756 pons: 2
757 onus: 2
758 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700759 withFlows: true
760 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700761 withEapol: true
762 withDhcp: true
763 withIgmp: false
764 withLLDP: false
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700765 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700766 withProfiling: false
767 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700768 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700769 openonuAdapterReplicas: 1
770 onosReplicas: 1
771 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700772 kafkaReplicas: 1
773 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700774 extraHelmFlags: ''
775 onosStatInterval: 5
Andrea Campanella15f22942021-04-08 17:24:21 +0200776 onosGroupInterval: 1
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200777 flowObjWorkerThreads: 12
Matteo Scandolo68776b72020-07-21 14:06:06 -0700778 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800779 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800780 kindVolthaChange: ''
Matteo Scandolo68776b72020-07-21 14:06:06 -0700781 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700782 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700783 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700784 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700785
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700786 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200787
Matteo Scandolo51b76302020-02-05 12:07:23 -0800788 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800789 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800790
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700791 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700792
Matteo Scandolo849db722020-10-21 10:58:41 -0700793 triggers:
794 - gerrit:
795 server-name: '{gerrit-server-name}'
796 silent-start: false
797 successful-message: "PASSED scale test"
798 failure-message: "FAILED scale test"
799 unstable-message: "UNSTABLE scale test"
800 trigger-on:
801 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700802 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700803 projects:
804 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700805 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700806 branches:
807 - branch-compare-type: REG_EXP
808 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700809- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700810 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700811 name: '{name}'
812 pipeline-script: 'voltha-scale-matrix.groovy'
813
814 description: |
815 <!-- Managed by Jenkins Job Builder -->
816 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
817 Using pipeline {pipeline-script} <br/><br/>
818 Scale measurements for VOLTHA 2.x
819
820 properties:
821 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800822 build-days-to-keep: '{big-build-days-to-keep}'
823 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700824
825 wrappers:
826 - lf-infra-wrappers:
827 build-timeout: '{build-timeout}'
828 jenkins-ssh-credential: '{jenkins-ssh-credential}'
829
830 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800831 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700832 release: master
833 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700834 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800835 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800836 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700837 onosReplicas: 1
838 atomixReplicas: 0
839 kafkaReplicas: 1
840 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800841 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800842 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700843
844 project-type: pipeline
845 concurrent: false
846
847 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700848
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700849 parameters:
850 - string:
851 name: release
852 default: '{release}'
853 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
854
855 - string:
856 name: buildNode
857 default: '{build-node}'
858 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700859
860 - string:
861 name: volthaSystemTestsChange
862 default: '{volthaSystemTestsChange}'
863 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
864
865 - string:
Matteo Scandolo11311742021-01-25 13:56:22 -0800866 name: volthaHelmChartsChange
867 default: '{volthaHelmChartsChange}'
868 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 -0700869
870 - string:
871 name: onosReplicas
872 default: '{onosReplicas}'
873 description: 'How many ONOSes instances to run'
874
875 - string:
876 name: atomixReplicas
877 default: '{atomixReplicas}'
878 description: 'How many Atomix instances to run'
879
880 - string:
881 name: kafkaReplicas
882 default: '{kafkaReplicas}'
883 description: 'How many Kafka instances to run'
884
885 - string:
886 name: etcdReplicas
887 default: '{etcdReplicas}'
888 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800889
890 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800891 name: openonuAdapterReplicas
892 default: '{openonuAdapterReplicas}'
893 description: 'How many OpenONU adapter instances to run'
894
895 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800896 name: topologies
897 default: '{topologies}'
898 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
899
900 triggers:
901 - timed: |
902 TZ=America/Los_Angeles
903 {time-trigger}