blob: 880c9dbc092d414c3d6c26cb3adf2b8165927584 [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 Scandoloac5ff3f2021-06-01 17:05:41 -070034 pipeline-script: 'voltha/master/voltha-scale-multi-stack-experimental.groovy'
35 'disable-job': false
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 Scandoloac5ff3f2021-06-01 17:05:41 -070050 volthaHelmChartsChange: "refs/changes/04/23104/1"
51 volthaSystemTestsChange: "refs/changes/31/25131/4"
52 # extraHelmFlags: "-f voltha-stack/values-redis.yaml "
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080053
Matteo Scandolofebf6512021-03-02 11:37:37 -080054 # jobs for 1024 ONUs with openonu-go and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -070055 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070056 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandoloc1895e12021-03-11 15:14:20 -080057 'disable-job': false
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -080058 build-node: 'voltha-scale-1'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070059 time-trigger: "H H/4 * * *"
60 olts: 2
61 pons: 16
62 onus: 32
63 withFlows: true
64 provisionSubscribers: true
65 withEapol: true
66 withDhcp: true
67 withIgmp: false
Matteo Scandoloa1b5d792021-06-01 12:19:31 -070068 extraHelmFlags: '--set authRetry=true,dhcpRetry=true --set global.log_correlation.enabled=true -f /home/jenkins/voltha-scale/voltha-values.yaml --set etcd.persistence.enabled=true,etcd.persistence.storageClass=longhorn'
Andrea Campanellaac21e152021-05-27 15:44:54 +020069 onosImg: andreacampanella/voltha-onos:voltha-onos-2.5
Girish Gowdra483c9672021-05-29 16:08:26 -070070 bbsimImg: gcgirish/bbsim:etcd
71 rwCoreImg: volthacore/voltha-rw-core:noflows
72 ofAgentImg: volthacore/voltha-ofagent:noflows
73 openoltAdapterImg: gcgirish/voltha-openolt-adapter:etcdNew
74 openonuAdapterGoImg: gcgirish/voltha-openonu-adapter-go:etcdNew
Matteo Scandolo756f3ec2021-05-28 12:43:40 -070075 volthaHelmChartsChange: refs/changes/69/25069/7
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070076
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070077 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070078 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -070079 'disable-job': true
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -080080 build-node: 'voltha-scale-1'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070081 time-trigger: "H H/4 * * *"
82 olts: 2
83 pons: 16
84 onus: 32
85 withFlows: true
86 provisionSubscribers: true
87 workflow: dt
88 withEapol: false
89 withDhcp: false
90 withIgmp: false
Matteo Scandolo433f60d2021-03-26 12:04:34 -070091 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 +020092 onosImg: andreacampanella/voltha-onos:voltha-onos-2.5
Matteo Scandolo86939302020-10-30 13:32:08 -070093
94 - 'voltha-scale-measurements':
95 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -070096 'disable-job': true
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -080097 build-node: 'voltha-scale-1'
Matteo Scandolo86939302020-10-30 13:32:08 -070098 time-trigger: "H H/4 * * *"
99 olts: 2
100 pons: 16
101 onus: 32
102 withFlows: true
103 provisionSubscribers: true
104 workflow: tt
105 withEapol: false
106 withDhcp: true
107 withIgmp: true
Matteo Scandolo86939302020-10-30 13:32:08 -0700108 onosReplicas: 3
109 atomixReplicas: 3
Andrea Campanella9c93ded2021-04-29 18:59:53 +0200110 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 Campanellaac21e152021-05-27 15:44:54 +0200111 onosImg: andreacampanella/voltha-onos:voltha-onos-2.5
Matteo Scandolo272aed42020-05-08 15:05:57 -0700112
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800113 # multi-stack jobs
114 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800115 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-att-subscribers'
116 build-node: 'voltha-scale-2'
Matteo Scandoloc1895e12021-03-11 15:14:20 -0800117 'disable-job': false
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800118 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800119 time-trigger: "H H/4 * * *"
120 withMonitoring: false
121 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800122 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800123 olts: 2
124 pons: 16
125 onus: 32
126 withFlows: true
127 provisionSubscribers: true
128 workflow: att
129 withEapol: true
130 withDhcp: true
131 withIgmp: false
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700132 extraHelmFlags: "-f /home/jenkins/voltha-scale/voltha-values.yaml "
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800133
134 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800135 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-dt-subscribers'
136 build-node: 'voltha-scale-2'
Matteo Scandoloc1895e12021-03-11 15:14:20 -0800137 'disable-job': false
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800138 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800139 time-trigger: "H H/4 * * *"
140 withMonitoring: false
141 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800142 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800143 olts: 2
144 pons: 16
145 onus: 32
146 withFlows: true
147 provisionSubscribers: true
148 workflow: dt
149 withEapol: false
150 withDhcp: false
151 withIgmp: false
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700152 extraHelmFlags: "-f /home/jenkins/voltha-scale/voltha-values.yaml "
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800153
154 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800155 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-tt-subscribers'
156 build-node: 'voltha-scale-2'
Matteo Scandoloc1895e12021-03-11 15:14:20 -0800157 'disable-job': false
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800158 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800159 time-trigger: "H H/4 * * *"
160 withMonitoring: false
161 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800162 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800163 olts: 2
164 pons: 16
165 onus: 32
166 withFlows: true
167 provisionSubscribers: true
168 workflow: tt
169 withEapol: false
170 withDhcp: true
171 withIgmp: true
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700172 extraHelmFlags: "-f /home/jenkins/voltha-scale/voltha-values.yaml "
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800173
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700174 # voltha-2.7 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700175 - 'voltha-scale-measurements':
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700176 name: 'voltha-scale-measurements-voltha-2.7-2-16-32-att-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -0700177 'disable-job': true
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700178 pipeline-script: 'voltha/voltha-2.7/voltha-scale-test.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800179 build-node: 'voltha-scale-1'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700180 time-trigger: "H H/4 * * *"
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700181 olts: 2
Matteo Scandolod43064b2020-07-13 17:18:45 -0700182 pons: 16
183 onus: 32
184 withFlows: true
185 provisionSubscribers: true
186 withEapol: true
187 withDhcp: true
188 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700189 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700190 release: voltha-2.7
Andrea Campanellabc5ee952021-04-30 10:47:54 +0200191 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700192 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700193 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700194 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700195 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800196 openonuAdapterGoImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200197 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700198
199 - 'voltha-scale-measurements':
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700200 name: 'voltha-scale-measurements-voltha-2.7-2-16-32-dt-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -0700201 'disable-job': true
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700202 pipeline-script: 'voltha/voltha-2.7/voltha-scale-test.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800203 build-node: 'voltha-scale-1'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700204 time-trigger: "H H/4 * * *"
205 olts: 2
206 pons: 16
207 onus: 32
208 withFlows: true
209 provisionSubscribers: true
210 workflow: dt
211 withEapol: false
212 withDhcp: false
213 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700214 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700215 release: voltha-2.7
Andrea Campanellabc5ee952021-04-30 10:47:54 +0200216 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700217 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700218 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700219 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700220 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800221 openonuAdapterGoImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200222 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700223
Matteo Scandolo031bd982020-09-16 10:03:47 -0700224 - 'voltha-scale-measurements':
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700225 name: 'voltha-scale-measurements-voltha-2.7-2-16-32-tt-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -0700226 'disable-job': true
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700227 pipeline-script: 'voltha/voltha-2.7/voltha-scale-test.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800228 build-node: 'voltha-scale-1'
Matteo Scandolo031bd982020-09-16 10:03:47 -0700229 time-trigger: "H H/4 * * *"
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700230 olts: 2
Matteo Scandolo031bd982020-09-16 10:03:47 -0700231 pons: 16
232 onus: 32
233 withFlows: true
234 provisionSubscribers: true
235 workflow: tt
236 withEapol: false
237 withDhcp: true
238 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700239 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700240 release: voltha-2.7
Andrea Campanellabc5ee952021-04-30 10:47:54 +0200241 bbsimImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700242 rwCoreImg: ''
243 ofAgentImg: ''
244 openoltAdapterImg: ''
245 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800246 openonuAdapterGoImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700247 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700248
Andrea Campanella27b5a662020-12-18 18:49:26 +0100249 # 2.6 multi-stack jobs
250 - 'voltha-scale-measurements':
251 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-att-subscribers'
252 build-node: 'voltha-scale-2'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700253 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100254 pipeline-script: 'voltha-scale-multi-stack.groovy'
Andrea Campanella27b5a662020-12-18 18:49:26 +0100255 time-trigger: "H H/4 * * *"
256 withMonitoring: false
257 logLevel: WARN
258 volthaStacks: 10
259 olts: 2
260 pons: 16
261 onus: 32
262 withFlows: true
263 provisionSubscribers: true
264 release: voltha-2.6
265 workflow: att
266 withEapol: true
267 withDhcp: true
268 withIgmp: false
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800269 bbsimImg: ''
270 rwCoreImg: ''
271 ofAgentImg: ''
272 openoltAdapterImg: ''
273 openonuAdapterImg: ''
274 openonuAdapterGoImg: ''
275 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100276
277 - 'voltha-scale-measurements':
278 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-dt-subscribers'
279 build-node: 'voltha-scale-2'
280 pipeline-script: 'voltha-scale-multi-stack.groovy'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700281 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100282 time-trigger: "H H/4 * * *"
283 withMonitoring: false
284 logLevel: WARN
285 volthaStacks: 10
286 olts: 2
287 pons: 16
288 onus: 32
289 withFlows: true
290 provisionSubscribers: true
291 release: voltha-2.6
292 workflow: dt
293 withEapol: false
294 withDhcp: false
295 withIgmp: false
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800296 bbsimImg: ''
297 rwCoreImg: ''
298 ofAgentImg: ''
299 openoltAdapterImg: ''
300 openonuAdapterImg: ''
301 openonuAdapterGoImg: ''
302 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100303
304 - 'voltha-scale-measurements':
305 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-tt-subscribers'
306 build-node: 'voltha-scale-2'
307 pipeline-script: 'voltha-scale-multi-stack.groovy'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700308 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100309 time-trigger: "H H/4 * * *"
310 withMonitoring: false
311 logLevel: WARN
312 volthaStacks: 10
313 olts: 2
314 pons: 16
315 onus: 32
316 withFlows: true
317 provisionSubscribers: true
318 release: voltha-2.6
319 workflow: tt
320 withEapol: false
321 withDhcp: true
322 withIgmp: true
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800323 bbsimImg: ''
324 rwCoreImg: ''
325 ofAgentImg: ''
326 openoltAdapterImg: ''
327 openonuAdapterImg: ''
328 openonuAdapterGoImg: ''
329 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100330
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700331 # per patchset job
332 - 'voltha-scale-measurements':
333 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800334 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700335 olts: 1
336 pons: 16
337 onus: 32
338 withFlows: true
339 provisionSubscribers: true
340 withEapol: true
341 withDhcp: true
342 withIgmp: false
343 withMonitoring: false
344 trigger-comment: "voltha scale test ATT"
345
346 - 'voltha-scale-measurements':
347 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800348 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700349 olts: 1
350 pons: 16
351 onus: 32
352 withFlows: true
353 provisionSubscribers: true
354 workflow: tt
355 withEapol: false
356 withDhcp: true
357 withIgmp: true
358 withMonitoring: false
359 trigger-comment: "voltha scale test TT"
360
361 - 'voltha-scale-measurements':
362 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800363 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700364 olts: 1
365 pons: 16
366 onus: 32
367 withFlows: true
368 provisionSubscribers: true
369 workflow: dt
370 withEapol: false
371 withDhcp: false
372 withIgmp: false
373 withMonitoring: false
374 trigger-comment: "voltha scale test DT"
375
Matteo Scandolo272aed42020-05-08 15:05:57 -0700376 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700377 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700378 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700379 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700380 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700381
Matteo Scandolodc930192020-08-27 15:56:16 -0700382 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700383 - 'voltha-scale-matrix':
384 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700385 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800386
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700387 # development matrix
388 - 'voltha-scale-matrix':
389 name: 'voltha-scale-matrix-voltha-master'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800390 build-node: 'voltha-scale-1'
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700391 onosReplicas: 3
392 atomixReplicas: 3
393 kafkaReplicas: 3
394 etcdReplicas: 3
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800395 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800396 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700397
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700398# list of parameters for the VOLTHA Jobs,
399# used as anchor so that can be shared across multiple jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700400# to use in a job: `parameters: *voltha-scale-job-parameters`
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700401- voltha-scale-job-parameters: &voltha-scale-job-parameters
402 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700403 parameters:
404 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800405 name: pipeline-script
406 default: '{pipeline-script}'
407 description: 'The pipeline script to use'
408
409 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700410 name: release
411 default: '{release}'
Matteo Scandolo49bc0472021-04-20 09:37:55 -0700412 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 -0700413
414 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700415 name: buildNode
416 default: '{build-node}'
417 description: 'Name of the Jenkins node to run the job on'
418
419 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700420 name: dockerRegistry
421 default: '{dockerRegistry}'
422 description: 'Address of the docker registry to use if we are building custom images'
423
424 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700425 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700426 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700427 description: 'Log level for all the components'
428
429 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800430 name: volthaStacks
431 default: '{volthaStacks}'
432 description: 'Number of VOLTHA Stacks to deploy'
433
434 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700435 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700436 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700437 description: 'Number of ONUs to provision'
438
439 - string:
440 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700441 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700442 description: 'Number of PONs to provision'
443
444 - string:
445 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700446 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700447 description: 'How many BBSim instances to run'
448
449 - string:
450 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700451 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700452 description: 'Which workflow are we testing (att, dt, tt)'
453
454 - bool:
455 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700456 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700457 description: 'Wheter to push flows from ONOS'
458
459 - bool:
460 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700461 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700462 description: 'Wheter to provision subscribers durint the tests'
463
464 - bool:
465 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700466 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700467 description: 'Wheter EAPOL is enabled for the test'
468
469 - bool:
470 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700471 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700472 description: 'Wheter DHCP is enabled for the test'
473
474 - bool:
475 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700476 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700477 description: 'Wheter IGMP is enabled for the test'
478
479 - bool:
480 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700481 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700482 description: 'Wheter Link Discovery is enabled for the test'
483
484 - bool:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700485 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700486 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700487 description: 'Option to install Prometheus'
488
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700489 - bool:
490 name: withProfiling
491 default: '{withProfiling}'
492 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
493
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700494 - bool:
495 name: withPcap
496 default: '{withPcap}'
497 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
498
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700499 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700500 name: withRadius
501 default: '{withRadius}'
502 description: 'Value to pass to kind-voltha WITH_RADIUS'
503
504 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700505 name: extraHelmFlags
506 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700507 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 -0700508
Matteo Scandolo272aed42020-05-08 15:05:57 -0700509 - string:
510 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700511 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700512 description: 'How many OpenONU adapter instances to run'
513
514 - string:
515 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700516 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700517 description: 'How many ONOSes instances to run'
518
519 - string:
520 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700521 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700522 description: 'How many Atomix instances to run'
523
524 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700525 name: kafkaReplicas
526 default: '{kafkaReplicas}'
527 description: 'How many Kafka instances to run'
528
529 - string:
530 name: etcdReplicas
531 default: '{etcdReplicas}'
532 description: 'How many ETCD instances to run'
533
534 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700535 name: onosStatInterval
536 default: '{onosStatInterval}'
537 description: 'How often ONOS should poll for ports, flows and meters'
538
539 - string:
Andrea Campanella15f22942021-04-08 17:24:21 +0200540 name: onosGroupInterval
541 default: '{onosGroupInterval}'
542 description: 'How often ONOS should poll for groups'
543
544 - string:
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200545 name: flowObjWorkerThreads
546 default: '{flowObjWorkerThreads}'
547 description: 'How many threads are used by the FlowObjectiveManager worker pool'
548
549 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700550 name: bbsimImg
551 default: '{bbsimImg}'
552 description: 'Custom image selection for BBSIM (repo:tag)'
553
554 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700555 name: rwCoreImg
556 default: '{rwCoreImg}'
557 description: 'Custom image selection for VOLTHA (repo:tag)'
558
559 - string:
560 name: ofAgentImg
561 default: '{ofAgentImg}'
562 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
563
564 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700565 name: openoltAdapterImg
566 default: '{openoltAdapterImg}'
567 description: 'Custom image selection for Openolt Adapter (repo:tag)'
568
569 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700570 name: openonuAdapterImg
571 default: '{openonuAdapterImg}'
572 description: 'Custom image selection for Openonu Adapter (repo:tag)'
573
574 - string:
Andrea Campanella28763082020-11-18 10:55:31 +0100575 name: openonuAdapterGoImg
576 default: '{openonuAdapterGoImg}'
577 description: 'Custom image selection for Openonu Go Adapter (repo:tag)'
578
579 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700580 name: onosImg
581 default: '{onosImg}'
582 description: 'Custom image selection for Openonu Adapter (repo:tag)'
583
584 - string:
585 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700586 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700587 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
588
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700589 - string:
Matteo Scandolo11311742021-01-25 13:56:22 -0800590 name: volthaHelmChartsChange
591 default: '{volthaHelmChartsChange}'
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700592 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 -0700593
Matteo Scandoloccc06192020-06-22 10:16:17 -0700594 - bool:
595 name: inMemoryEtcdStorage
596 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700597 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700598
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200599 - string:
600 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700601 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200602 description: 'Karaf home'
603
Matteo Scandolo001003e2021-02-03 15:39:26 -0800604 # remove once voltha-2.6 is deprecated
605 - string:
606 name: kindVolthaChange
607 default: '{kindVolthaChange}'
608 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 -0800609 - bool:
610 name: withMibTemplate
611 default: true
Matteo Scandolo001003e2021-02-03 15:39:26 -0800612
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700613- job-template:
614 id: 'voltha-scale-measurements'
615 name: '{name}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700616 disabled: '{disable-job}'
617
618 description: |
619 <!-- Managed by Jenkins Job Builder -->
620 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
621 Using pipeline {pipeline-script} <br/><br/>
622 Scale measurements for VOLTHA 2.x
623
624 properties:
625 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800626 build-days-to-keep: '{big-build-days-to-keep}'
627 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700628
629 wrappers:
630 - lf-infra-wrappers:
631 build-timeout: '{build-timeout}'
632 jenkins-ssh-credential: '{jenkins-ssh-credential}'
633
634 # default values
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -0800635 pipeline-script: 'voltha/master/voltha-scale-test.groovy'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700636 release: master
637
638 bbsimImg: voltha/bbsim:master
639 rwCoreImg: voltha/voltha-rw-core:master
640 ofAgentImg: voltha/voltha-ofagent-go:master
641 openoltAdapterImg: voltha/voltha-openolt-adapter:master
642 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100643 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700644 onosImg: voltha/voltha-onos:master
645
646 bbsimChart: onf/bbsim
647 volthaChart: onf/voltha
648 openoltAdapterChart: onf/voltha-adapter-openolt
649 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700650 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700651 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700652
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800653 volthaStacks: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700654 olts: 2
655 pons: 2
656 onus: 2
657 workflow: att
658 withFlows: false
659 provisionSubscribers: false
660 withEapol: true
661 withDhcp: true
662 withIgmp: false
663 withLLDP: false
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700664 withMonitoring: true
665 withProfiling: false
666 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700667 withRadius: yes
Andrea Campanellac179de22020-12-10 17:24:40 +0100668 openonuAdapterReplicas: 1
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700669 onosReplicas: 3
670 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700671 kafkaReplicas: 3
672 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700673 extraHelmFlags: ''
674 onosStatInterval: 5
Andrea Campanella15f22942021-04-08 17:24:21 +0200675 onosGroupInterval: 1
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200676 flowObjWorkerThreads: 12
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700677 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800678 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800679 kindVolthaChange: ''
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700680 inMemoryEtcdStorage: true
681 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700682 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700683 dockerRegistry: 10.90.0.101:30500
684 trigger-comment: vv7CBoQQYYonvaN8xcru
685 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700686
687 <<: *voltha-scale-job-parameters
688
Matteo Scandolo272aed42020-05-08 15:05:57 -0700689 project-type: pipeline
690 concurrent: false
691
692 dsl: !include-raw-escape: pipeline/{pipeline-script}
693
Matteo Scandoloabb83972020-06-25 16:08:23 -0700694 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700695 # periodic jobs will set this every 4 hours
696 # 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 -0700697 - timed: |
698 TZ=America/Los_Angeles
699 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700700 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
701 # patchset jobs will set this to a meaningful comment
702 - gerrit:
703 server-name: '{gerrit-server-name}'
704 silent-start: false
705 successful-message: "PASSED scale test"
706 failure-message: "FAILED scale test"
707 unstable-message: "UNSTABLE scale test"
708 trigger-on:
709 - comment-added-contains-event:
710 comment-contains-value: '.*{trigger-comment}.*'
711 projects:
712 - project-compare-type: REG_EXP
713 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
714 branches:
715 - branch-compare-type: REG_EXP
716 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700717
718- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700719 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800720 name: '{name}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800721
722 description: |
723 <!-- Managed by Jenkins Job Builder -->
724 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
725 Using pipeline {pipeline-script} <br/><br/>
726 Scale measurements for VOLTHA 2.x
727
728 properties:
729 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800730 build-days-to-keep: '{big-build-days-to-keep}'
731 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800732
733 wrappers:
734 - lf-infra-wrappers:
735 build-timeout: '{build-timeout}'
736 jenkins-ssh-credential: '{jenkins-ssh-credential}'
737
Matteo Scandolo0430f672020-05-07 11:50:26 -0700738 # default values
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -0800739 pipeline-script: 'voltha/master/voltha-scale-test.groovy'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700740 release: master
741
Matteo Scandolo0430f672020-05-07 11:50:26 -0700742 bbsimImg: voltha/bbsim:master
743 rwCoreImg: voltha/voltha-rw-core:master
744 ofAgentImg: voltha/voltha-ofagent-go:master
745 openoltAdapterImg: voltha/voltha-openolt-adapter:master
746 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100747 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandolo0430f672020-05-07 11:50:26 -0700748 onosImg: voltha/voltha-onos:master
749
750 bbsimChart: onf/bbsim
751 volthaChart: onf/voltha
752 openoltAdapterChart: onf/voltha-adapter-openolt
753 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700754 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700755 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700756
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800757 volthaStacks: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700758 olts: 2
759 pons: 2
760 onus: 2
761 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700762 withFlows: true
763 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700764 withEapol: true
765 withDhcp: true
766 withIgmp: false
767 withLLDP: false
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700768 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700769 withProfiling: false
770 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700771 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700772 openonuAdapterReplicas: 1
773 onosReplicas: 1
774 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700775 kafkaReplicas: 1
776 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700777 extraHelmFlags: ''
778 onosStatInterval: 5
Andrea Campanella15f22942021-04-08 17:24:21 +0200779 onosGroupInterval: 1
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200780 flowObjWorkerThreads: 12
Matteo Scandolo68776b72020-07-21 14:06:06 -0700781 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800782 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800783 kindVolthaChange: ''
Matteo Scandolo68776b72020-07-21 14:06:06 -0700784 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700785 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700786 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700787 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700788
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700789 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200790
Matteo Scandolo51b76302020-02-05 12:07:23 -0800791 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800792 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800793
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700794 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700795
Matteo Scandolo849db722020-10-21 10:58:41 -0700796 triggers:
797 - gerrit:
798 server-name: '{gerrit-server-name}'
799 silent-start: false
800 successful-message: "PASSED scale test"
801 failure-message: "FAILED scale test"
802 unstable-message: "UNSTABLE scale test"
803 trigger-on:
804 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700805 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700806 projects:
807 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700808 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700809 branches:
810 - branch-compare-type: REG_EXP
811 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700812- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700813 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700814 name: '{name}'
815 pipeline-script: 'voltha-scale-matrix.groovy'
816
817 description: |
818 <!-- Managed by Jenkins Job Builder -->
819 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
820 Using pipeline {pipeline-script} <br/><br/>
821 Scale measurements for VOLTHA 2.x
822
823 properties:
824 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800825 build-days-to-keep: '{big-build-days-to-keep}'
826 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700827
828 wrappers:
829 - lf-infra-wrappers:
830 build-timeout: '{build-timeout}'
831 jenkins-ssh-credential: '{jenkins-ssh-credential}'
832
833 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800834 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700835 release: master
836 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700837 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800838 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800839 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700840 onosReplicas: 1
841 atomixReplicas: 0
842 kafkaReplicas: 1
843 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800844 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800845 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700846
847 project-type: pipeline
848 concurrent: false
849
850 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700851
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700852 parameters:
853 - string:
854 name: release
855 default: '{release}'
856 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
857
858 - string:
859 name: buildNode
860 default: '{build-node}'
861 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700862
863 - string:
864 name: volthaSystemTestsChange
865 default: '{volthaSystemTestsChange}'
866 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
867
868 - string:
Matteo Scandolo11311742021-01-25 13:56:22 -0800869 name: volthaHelmChartsChange
870 default: '{volthaHelmChartsChange}'
871 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 -0700872
873 - string:
874 name: onosReplicas
875 default: '{onosReplicas}'
876 description: 'How many ONOSes instances to run'
877
878 - string:
879 name: atomixReplicas
880 default: '{atomixReplicas}'
881 description: 'How many Atomix instances to run'
882
883 - string:
884 name: kafkaReplicas
885 default: '{kafkaReplicas}'
886 description: 'How many Kafka instances to run'
887
888 - string:
889 name: etcdReplicas
890 default: '{etcdReplicas}'
891 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800892
893 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800894 name: openonuAdapterReplicas
895 default: '{openonuAdapterReplicas}'
896 description: 'How many OpenONU adapter instances to run'
897
898 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800899 name: topologies
900 default: '{topologies}'
901 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
902
903 triggers:
904 - timed: |
905 TZ=America/Los_Angeles
906 {time-trigger}