blob: e298930ad376d7bce847c612d891ff2ff97ec582 [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 Scandolo554bbee2021-06-29 10:31:58 +020034 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandoloac5ff3f2021-06-01 17:05:41 -070035 '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 Scandolo95f3bc12021-06-03 15:25:47 -070040 volthaStacks: 10
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080041 olts: 2
Matteo Scandolo95f3bc12021-06-03 15:25:47 -070042 pons: 16
43 onus: 32
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 Scandolo554bbee2021-06-29 10:31:58 +020050 extraHelmFlags: " -f /home/jenkins/voltha-scale/voltha-values.yaml --set etcd.persistence.enabled=true,etcd.persistence.storageClass=longhorn "
Matteo Scandolo4b006ae2020-11-09 16:14:40 -080051
Matteo Scandolo4d355992021-06-08 11:18:59 +020052 - 'voltha-scale-measurements':
53 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers-ssd'
Matteo Scandoloa58c0572021-06-30 14:39:29 +020054 'disable-job': true
Matteo Scandolo4d355992021-06-08 11:18:59 +020055 build-node: 'voltha-scale-z1d'
56 time-trigger: "H H/1 * * *"
57 olts: 2
58 pons: 16
59 onus: 32
60 withFlows: true
61 provisionSubscribers: true
62 withEapol: true
63 withDhcp: true
64 withIgmp: false
Andrea Campanellaa2a99872021-06-08 14:47:02 +020065 inMemoryEtcdStorage: false
Matteo Scandolo554bbee2021-06-29 10:31:58 +020066 extraHelmFlags: '--set authRetry=true,dhcpRetry=true -f /home/jenkins/voltha-scale/voltha-values.yaml --set etcd.persistence.enabled=true,etcd.persistence.storageClass=longhorn'
Matteo Scandolo4d355992021-06-08 11:18:59 +020067 onosImg: andreacampanella/voltha-onos:voltha-onos-2.5
68 bbsimImg: gcgirish/bbsim:etcd
69 rwCoreImg: volthacore/voltha-rw-core:noflows
70 ofAgentImg: volthacore/voltha-ofagent:noflows
71 openoltAdapterImg: gcgirish/voltha-openolt-adapter:etcdNew
72 openonuAdapterGoImg: gcgirish/voltha-openonu-adapter-go:etcdNew
73 volthaHelmChartsChange: refs/changes/69/25069/7
74
Matteo Scandolofebf6512021-03-02 11:37:37 -080075 # jobs for 1024 ONUs with openonu-go and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -070076 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070077 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandoloc1895e12021-03-11 15:14:20 -080078 'disable-job': false
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -080079 build-node: 'voltha-scale-1'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070080 time-trigger: "H H/4 * * *"
81 olts: 2
82 pons: 16
83 onus: 32
84 withFlows: true
85 provisionSubscribers: true
86 withEapol: true
87 withDhcp: true
88 withIgmp: false
Matteo Scandolo554bbee2021-06-29 10:31:58 +020089 extraHelmFlags: '--set authRetry=true,dhcpRetry=true -f /home/jenkins/voltha-scale/voltha-values.yaml '
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070090
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070091 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070092 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo554bbee2021-06-29 10:31:58 +020093 'disable-job': false
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -080094 build-node: 'voltha-scale-1'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070095 time-trigger: "H H/4 * * *"
96 olts: 2
97 pons: 16
98 onus: 32
99 withFlows: true
100 provisionSubscribers: true
101 workflow: dt
102 withEapol: false
103 withDhcp: false
104 withIgmp: false
Matteo Scandolo554bbee2021-06-29 10:31:58 +0200105 extraHelmFlags: '-f /home/jenkins/voltha-scale/voltha-values.yaml '
Matteo Scandolo86939302020-10-30 13:32:08 -0700106
107 - 'voltha-scale-measurements':
108 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Andrea Campanella23c5fc32021-06-30 11:14:29 +0200109 'disable-job': false
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800110 build-node: 'voltha-scale-1'
Matteo Scandolo86939302020-10-30 13:32:08 -0700111 time-trigger: "H H/4 * * *"
112 olts: 2
113 pons: 16
114 onus: 32
115 withFlows: true
116 provisionSubscribers: true
117 workflow: tt
118 withEapol: false
119 withDhcp: true
120 withIgmp: true
Matteo Scandolo86939302020-10-30 13:32:08 -0700121 onosReplicas: 3
122 atomixReplicas: 3
Matteo Scandolo554bbee2021-06-29 10:31:58 +0200123 extraHelmFlags: '--set dhcpRetry=true -f /home/jenkins/voltha-scale/voltha-values.yaml '
Matteo Scandolo272aed42020-05-08 15:05:57 -0700124
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800125 # multi-stack jobs
126 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800127 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-att-subscribers'
128 build-node: 'voltha-scale-2'
Matteo Scandolo554bbee2021-06-29 10:31:58 +0200129 'disable-job': false
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800130 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800131 time-trigger: "H H/4 * * *"
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800132 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800133 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800134 olts: 2
135 pons: 16
136 onus: 32
137 withFlows: true
138 provisionSubscribers: true
139 workflow: att
140 withEapol: true
141 withDhcp: true
142 withIgmp: false
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700143 extraHelmFlags: "-f /home/jenkins/voltha-scale/voltha-values.yaml "
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800144
145 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800146 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-dt-subscribers'
147 build-node: 'voltha-scale-2'
Matteo Scandolo554bbee2021-06-29 10:31:58 +0200148 'disable-job': false
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800149 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800150 time-trigger: "H H/4 * * *"
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800151 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800152 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800153 olts: 2
154 pons: 16
155 onus: 32
156 withFlows: true
157 provisionSubscribers: true
158 workflow: dt
159 withEapol: false
160 withDhcp: false
161 withIgmp: false
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700162 extraHelmFlags: "-f /home/jenkins/voltha-scale/voltha-values.yaml "
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800163
164 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800165 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-tt-subscribers'
166 build-node: 'voltha-scale-2'
Matteo Scandolo554bbee2021-06-29 10:31:58 +0200167 'disable-job': false
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800168 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800169 time-trigger: "H H/4 * * *"
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800170 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800171 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800172 olts: 2
173 pons: 16
174 onus: 32
175 withFlows: true
176 provisionSubscribers: true
177 workflow: tt
178 withEapol: false
179 withDhcp: true
180 withIgmp: true
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700181 extraHelmFlags: "-f /home/jenkins/voltha-scale/voltha-values.yaml "
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800182
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700183 # voltha-2.7 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700184 - 'voltha-scale-measurements':
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700185 name: 'voltha-scale-measurements-voltha-2.7-2-16-32-att-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -0700186 'disable-job': true
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700187 pipeline-script: 'voltha/voltha-2.7/voltha-scale-test.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800188 build-node: 'voltha-scale-1'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700189 time-trigger: "H H/4 * * *"
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700190 olts: 2
Matteo Scandolod43064b2020-07-13 17:18:45 -0700191 pons: 16
192 onus: 32
193 withFlows: true
194 provisionSubscribers: true
195 withEapol: true
196 withDhcp: true
197 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700198 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700199 release: voltha-2.7
Andrea Campanellabc5ee952021-04-30 10:47:54 +0200200 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700201 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700202 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700203 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700204 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800205 openonuAdapterGoImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200206 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700207
208 - 'voltha-scale-measurements':
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700209 name: 'voltha-scale-measurements-voltha-2.7-2-16-32-dt-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -0700210 'disable-job': true
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700211 pipeline-script: 'voltha/voltha-2.7/voltha-scale-test.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800212 build-node: 'voltha-scale-1'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700213 time-trigger: "H H/4 * * *"
214 olts: 2
215 pons: 16
216 onus: 32
217 withFlows: true
218 provisionSubscribers: true
219 workflow: dt
220 withEapol: false
221 withDhcp: false
222 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700223 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700224 release: voltha-2.7
Andrea Campanellabc5ee952021-04-30 10:47:54 +0200225 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700226 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700227 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700228 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700229 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800230 openonuAdapterGoImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200231 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700232
Matteo Scandolo031bd982020-09-16 10:03:47 -0700233 - 'voltha-scale-measurements':
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700234 name: 'voltha-scale-measurements-voltha-2.7-2-16-32-tt-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -0700235 'disable-job': true
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700236 pipeline-script: 'voltha/voltha-2.7/voltha-scale-test.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800237 build-node: 'voltha-scale-1'
Matteo Scandolo031bd982020-09-16 10:03:47 -0700238 time-trigger: "H H/4 * * *"
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700239 olts: 2
Matteo Scandolo031bd982020-09-16 10:03:47 -0700240 pons: 16
241 onus: 32
242 withFlows: true
243 provisionSubscribers: true
244 workflow: tt
245 withEapol: false
246 withDhcp: true
247 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700248 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700249 release: voltha-2.7
Andrea Campanellabc5ee952021-04-30 10:47:54 +0200250 bbsimImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700251 rwCoreImg: ''
252 ofAgentImg: ''
253 openoltAdapterImg: ''
254 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800255 openonuAdapterGoImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700256 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700257
Andrea Campanella27b5a662020-12-18 18:49:26 +0100258 # 2.6 multi-stack jobs
259 - 'voltha-scale-measurements':
260 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-att-subscribers'
261 build-node: 'voltha-scale-2'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700262 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100263 pipeline-script: 'voltha-scale-multi-stack.groovy'
Andrea Campanella27b5a662020-12-18 18:49:26 +0100264 time-trigger: "H H/4 * * *"
265 withMonitoring: false
266 logLevel: WARN
267 volthaStacks: 10
268 olts: 2
269 pons: 16
270 onus: 32
271 withFlows: true
272 provisionSubscribers: true
273 release: voltha-2.6
274 workflow: att
275 withEapol: true
276 withDhcp: true
277 withIgmp: false
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800278 bbsimImg: ''
279 rwCoreImg: ''
280 ofAgentImg: ''
281 openoltAdapterImg: ''
282 openonuAdapterImg: ''
283 openonuAdapterGoImg: ''
284 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100285
286 - 'voltha-scale-measurements':
287 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-dt-subscribers'
288 build-node: 'voltha-scale-2'
289 pipeline-script: 'voltha-scale-multi-stack.groovy'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700290 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100291 time-trigger: "H H/4 * * *"
292 withMonitoring: false
293 logLevel: WARN
294 volthaStacks: 10
295 olts: 2
296 pons: 16
297 onus: 32
298 withFlows: true
299 provisionSubscribers: true
300 release: voltha-2.6
301 workflow: dt
302 withEapol: false
303 withDhcp: false
304 withIgmp: false
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800305 bbsimImg: ''
306 rwCoreImg: ''
307 ofAgentImg: ''
308 openoltAdapterImg: ''
309 openonuAdapterImg: ''
310 openonuAdapterGoImg: ''
311 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100312
313 - 'voltha-scale-measurements':
314 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-tt-subscribers'
315 build-node: 'voltha-scale-2'
316 pipeline-script: 'voltha-scale-multi-stack.groovy'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700317 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100318 time-trigger: "H H/4 * * *"
319 withMonitoring: false
320 logLevel: WARN
321 volthaStacks: 10
322 olts: 2
323 pons: 16
324 onus: 32
325 withFlows: true
326 provisionSubscribers: true
327 release: voltha-2.6
328 workflow: tt
329 withEapol: false
330 withDhcp: true
331 withIgmp: true
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800332 bbsimImg: ''
333 rwCoreImg: ''
334 ofAgentImg: ''
335 openoltAdapterImg: ''
336 openonuAdapterImg: ''
337 openonuAdapterGoImg: ''
338 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100339
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700340 # per patchset job
341 - 'voltha-scale-measurements':
342 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800343 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700344 olts: 1
345 pons: 16
346 onus: 32
347 withFlows: true
348 provisionSubscribers: true
349 withEapol: true
350 withDhcp: true
351 withIgmp: false
352 withMonitoring: false
353 trigger-comment: "voltha scale test ATT"
354
355 - 'voltha-scale-measurements':
356 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800357 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700358 olts: 1
359 pons: 16
360 onus: 32
361 withFlows: true
362 provisionSubscribers: true
363 workflow: tt
364 withEapol: false
365 withDhcp: true
366 withIgmp: true
367 withMonitoring: false
368 trigger-comment: "voltha scale test TT"
369
370 - 'voltha-scale-measurements':
371 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800372 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700373 olts: 1
374 pons: 16
375 onus: 32
376 withFlows: true
377 provisionSubscribers: true
378 workflow: dt
379 withEapol: false
380 withDhcp: false
381 withIgmp: false
382 withMonitoring: false
383 trigger-comment: "voltha scale test DT"
384
Matteo Scandolo272aed42020-05-08 15:05:57 -0700385 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700386 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700387 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700388 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700389 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700390
Matteo Scandolodc930192020-08-27 15:56:16 -0700391 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700392 - 'voltha-scale-matrix':
393 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700394 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800395
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700396 # development matrix
397 - 'voltha-scale-matrix':
398 name: 'voltha-scale-matrix-voltha-master'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800399 build-node: 'voltha-scale-1'
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700400 onosReplicas: 3
401 atomixReplicas: 3
402 kafkaReplicas: 3
403 etcdReplicas: 3
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800404 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800405 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700406
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700407# list of parameters for the VOLTHA Jobs,
408# used as anchor so that can be shared across multiple jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700409# to use in a job: `parameters: *voltha-scale-job-parameters`
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700410- voltha-scale-job-parameters: &voltha-scale-job-parameters
411 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700412 parameters:
413 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800414 name: pipeline-script
415 default: '{pipeline-script}'
416 description: 'The pipeline script to use'
417
418 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700419 name: release
420 default: '{release}'
Matteo Scandolo49bc0472021-04-20 09:37:55 -0700421 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 -0700422
423 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700424 name: buildNode
425 default: '{build-node}'
426 description: 'Name of the Jenkins node to run the job on'
427
428 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700429 name: dockerRegistry
430 default: '{dockerRegistry}'
431 description: 'Address of the docker registry to use if we are building custom images'
432
433 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700434 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700435 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700436 description: 'Log level for all the components'
437
438 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800439 name: volthaStacks
440 default: '{volthaStacks}'
441 description: 'Number of VOLTHA Stacks to deploy'
442
443 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700444 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700445 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700446 description: 'Number of ONUs to provision'
447
448 - string:
449 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700450 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700451 description: 'Number of PONs to provision'
452
453 - string:
454 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700455 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700456 description: 'How many BBSim instances to run'
457
458 - string:
459 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700460 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700461 description: 'Which workflow are we testing (att, dt, tt)'
462
463 - bool:
464 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700465 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700466 description: 'Wheter to push flows from ONOS'
467
468 - bool:
469 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700470 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700471 description: 'Wheter to provision subscribers durint the tests'
472
473 - bool:
474 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700475 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700476 description: 'Wheter EAPOL is enabled for the test'
477
478 - bool:
479 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700480 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700481 description: 'Wheter DHCP is enabled for the test'
482
483 - bool:
484 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700485 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700486 description: 'Wheter IGMP is enabled for the test'
487
488 - bool:
489 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700490 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700491 description: 'Wheter Link Discovery is enabled for the test'
492
493 - bool:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700494 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700495 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700496 description: 'Option to install Prometheus'
497
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700498 - bool:
499 name: withProfiling
500 default: '{withProfiling}'
501 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
502
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700503 - bool:
504 name: withPcap
505 default: '{withPcap}'
506 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
507
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700508 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700509 name: withRadius
510 default: '{withRadius}'
511 description: 'Value to pass to kind-voltha WITH_RADIUS'
512
513 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700514 name: extraHelmFlags
515 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700516 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 -0700517
Matteo Scandolo272aed42020-05-08 15:05:57 -0700518 - string:
519 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700520 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700521 description: 'How many OpenONU adapter instances to run'
522
523 - string:
524 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700525 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700526 description: 'How many ONOSes instances to run'
527
528 - string:
529 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700530 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700531 description: 'How many Atomix instances to run'
532
533 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700534 name: kafkaReplicas
535 default: '{kafkaReplicas}'
536 description: 'How many Kafka instances to run'
537
538 - string:
539 name: etcdReplicas
540 default: '{etcdReplicas}'
541 description: 'How many ETCD instances to run'
542
543 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700544 name: onosStatInterval
545 default: '{onosStatInterval}'
546 description: 'How often ONOS should poll for ports, flows and meters'
547
548 - string:
Andrea Campanella15f22942021-04-08 17:24:21 +0200549 name: onosGroupInterval
550 default: '{onosGroupInterval}'
551 description: 'How often ONOS should poll for groups'
552
553 - string:
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200554 name: flowObjWorkerThreads
555 default: '{flowObjWorkerThreads}'
556 description: 'How many threads are used by the FlowObjectiveManager worker pool'
557
558 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700559 name: bbsimImg
560 default: '{bbsimImg}'
561 description: 'Custom image selection for BBSIM (repo:tag)'
562
563 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700564 name: rwCoreImg
565 default: '{rwCoreImg}'
566 description: 'Custom image selection for VOLTHA (repo:tag)'
567
568 - string:
569 name: ofAgentImg
570 default: '{ofAgentImg}'
571 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
572
573 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700574 name: openoltAdapterImg
575 default: '{openoltAdapterImg}'
576 description: 'Custom image selection for Openolt Adapter (repo:tag)'
577
578 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700579 name: openonuAdapterImg
580 default: '{openonuAdapterImg}'
581 description: 'Custom image selection for Openonu Adapter (repo:tag)'
582
583 - string:
Andrea Campanella28763082020-11-18 10:55:31 +0100584 name: openonuAdapterGoImg
585 default: '{openonuAdapterGoImg}'
586 description: 'Custom image selection for Openonu Go Adapter (repo:tag)'
587
588 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700589 name: onosImg
590 default: '{onosImg}'
591 description: 'Custom image selection for Openonu Adapter (repo:tag)'
592
593 - string:
594 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700595 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700596 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
597
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700598 - string:
Matteo Scandolo11311742021-01-25 13:56:22 -0800599 name: volthaHelmChartsChange
600 default: '{volthaHelmChartsChange}'
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700601 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 -0700602
Matteo Scandoloccc06192020-06-22 10:16:17 -0700603 - bool:
604 name: inMemoryEtcdStorage
605 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700606 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700607
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200608 - string:
609 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700610 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200611 description: 'Karaf home'
612
Matteo Scandolo001003e2021-02-03 15:39:26 -0800613 # remove once voltha-2.6 is deprecated
614 - string:
615 name: kindVolthaChange
616 default: '{kindVolthaChange}'
617 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 -0800618 - bool:
619 name: withMibTemplate
620 default: true
Matteo Scandolo001003e2021-02-03 15:39:26 -0800621
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700622- job-template:
623 id: 'voltha-scale-measurements'
624 name: '{name}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700625 disabled: '{disable-job}'
626
627 description: |
628 <!-- Managed by Jenkins Job Builder -->
629 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
630 Using pipeline {pipeline-script} <br/><br/>
631 Scale measurements for VOLTHA 2.x
632
633 properties:
634 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800635 build-days-to-keep: '{big-build-days-to-keep}'
636 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700637
638 wrappers:
639 - lf-infra-wrappers:
640 build-timeout: '{build-timeout}'
641 jenkins-ssh-credential: '{jenkins-ssh-credential}'
642
643 # default values
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -0800644 pipeline-script: 'voltha/master/voltha-scale-test.groovy'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700645 release: master
646
647 bbsimImg: voltha/bbsim:master
648 rwCoreImg: voltha/voltha-rw-core:master
649 ofAgentImg: voltha/voltha-ofagent-go:master
650 openoltAdapterImg: voltha/voltha-openolt-adapter:master
651 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100652 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700653 onosImg: voltha/voltha-onos:master
654
655 bbsimChart: onf/bbsim
656 volthaChart: onf/voltha
657 openoltAdapterChart: onf/voltha-adapter-openolt
658 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700659 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700660 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700661
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800662 volthaStacks: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700663 olts: 2
664 pons: 2
665 onus: 2
666 workflow: att
667 withFlows: false
668 provisionSubscribers: false
669 withEapol: true
670 withDhcp: true
671 withIgmp: false
672 withLLDP: false
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700673 withMonitoring: true
674 withProfiling: false
675 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700676 withRadius: yes
Andrea Campanellac179de22020-12-10 17:24:40 +0100677 openonuAdapterReplicas: 1
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700678 onosReplicas: 3
679 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700680 kafkaReplicas: 3
681 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700682 extraHelmFlags: ''
683 onosStatInterval: 5
Andrea Campanella15f22942021-04-08 17:24:21 +0200684 onosGroupInterval: 1
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200685 flowObjWorkerThreads: 12
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700686 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800687 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800688 kindVolthaChange: ''
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700689 inMemoryEtcdStorage: true
690 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700691 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700692 dockerRegistry: 10.90.0.101:30500
693 trigger-comment: vv7CBoQQYYonvaN8xcru
694 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700695
696 <<: *voltha-scale-job-parameters
697
Matteo Scandolo272aed42020-05-08 15:05:57 -0700698 project-type: pipeline
699 concurrent: false
700
701 dsl: !include-raw-escape: pipeline/{pipeline-script}
702
Matteo Scandoloabb83972020-06-25 16:08:23 -0700703 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700704 # periodic jobs will set this every 4 hours
705 # 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 -0700706 - timed: |
707 TZ=America/Los_Angeles
708 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700709 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
710 # patchset jobs will set this to a meaningful comment
711 - gerrit:
712 server-name: '{gerrit-server-name}'
713 silent-start: false
714 successful-message: "PASSED scale test"
715 failure-message: "FAILED scale test"
716 unstable-message: "UNSTABLE scale test"
717 trigger-on:
718 - comment-added-contains-event:
719 comment-contains-value: '.*{trigger-comment}.*'
720 projects:
721 - project-compare-type: REG_EXP
722 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
723 branches:
724 - branch-compare-type: REG_EXP
725 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700726
727- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700728 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800729 name: '{name}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800730
731 description: |
732 <!-- Managed by Jenkins Job Builder -->
733 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
734 Using pipeline {pipeline-script} <br/><br/>
735 Scale measurements for VOLTHA 2.x
736
737 properties:
738 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800739 build-days-to-keep: '{big-build-days-to-keep}'
740 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800741
742 wrappers:
743 - lf-infra-wrappers:
744 build-timeout: '{build-timeout}'
745 jenkins-ssh-credential: '{jenkins-ssh-credential}'
746
Matteo Scandolo0430f672020-05-07 11:50:26 -0700747 # default values
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -0800748 pipeline-script: 'voltha/master/voltha-scale-test.groovy'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700749 release: master
750
Matteo Scandolo0430f672020-05-07 11:50:26 -0700751 bbsimImg: voltha/bbsim:master
752 rwCoreImg: voltha/voltha-rw-core:master
753 ofAgentImg: voltha/voltha-ofagent-go:master
754 openoltAdapterImg: voltha/voltha-openolt-adapter:master
755 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100756 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandolo0430f672020-05-07 11:50:26 -0700757 onosImg: voltha/voltha-onos:master
758
759 bbsimChart: onf/bbsim
760 volthaChart: onf/voltha
761 openoltAdapterChart: onf/voltha-adapter-openolt
762 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700763 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700764 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700765
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800766 volthaStacks: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700767 olts: 2
768 pons: 2
769 onus: 2
770 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700771 withFlows: true
772 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700773 withEapol: true
774 withDhcp: true
775 withIgmp: false
776 withLLDP: false
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700777 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700778 withProfiling: false
779 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700780 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700781 openonuAdapterReplicas: 1
782 onosReplicas: 1
783 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700784 kafkaReplicas: 1
785 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700786 extraHelmFlags: ''
787 onosStatInterval: 5
Andrea Campanella15f22942021-04-08 17:24:21 +0200788 onosGroupInterval: 1
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200789 flowObjWorkerThreads: 12
Matteo Scandolo68776b72020-07-21 14:06:06 -0700790 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800791 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800792 kindVolthaChange: ''
Matteo Scandolo68776b72020-07-21 14:06:06 -0700793 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700794 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700795 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700796 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700797
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700798 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200799
Matteo Scandolo51b76302020-02-05 12:07:23 -0800800 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800801 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800802
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700803 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700804
Matteo Scandolo849db722020-10-21 10:58:41 -0700805 triggers:
806 - gerrit:
807 server-name: '{gerrit-server-name}'
808 silent-start: false
809 successful-message: "PASSED scale test"
810 failure-message: "FAILED scale test"
811 unstable-message: "UNSTABLE scale test"
812 trigger-on:
813 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700814 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700815 projects:
816 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700817 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700818 branches:
819 - branch-compare-type: REG_EXP
820 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700821- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700822 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700823 name: '{name}'
824 pipeline-script: 'voltha-scale-matrix.groovy'
825
826 description: |
827 <!-- Managed by Jenkins Job Builder -->
828 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
829 Using pipeline {pipeline-script} <br/><br/>
830 Scale measurements for VOLTHA 2.x
831
832 properties:
833 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800834 build-days-to-keep: '{big-build-days-to-keep}'
835 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700836
837 wrappers:
838 - lf-infra-wrappers:
839 build-timeout: '{build-timeout}'
840 jenkins-ssh-credential: '{jenkins-ssh-credential}'
841
842 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800843 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700844 release: master
845 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700846 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800847 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800848 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700849 onosReplicas: 1
850 atomixReplicas: 0
851 kafkaReplicas: 1
852 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800853 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800854 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700855
856 project-type: pipeline
857 concurrent: false
858
859 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700860
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700861 parameters:
862 - string:
863 name: release
864 default: '{release}'
865 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
866
867 - string:
868 name: buildNode
869 default: '{build-node}'
870 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700871
872 - string:
873 name: volthaSystemTestsChange
874 default: '{volthaSystemTestsChange}'
875 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
876
877 - string:
Matteo Scandolo11311742021-01-25 13:56:22 -0800878 name: volthaHelmChartsChange
879 default: '{volthaHelmChartsChange}'
880 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 -0700881
882 - string:
883 name: onosReplicas
884 default: '{onosReplicas}'
885 description: 'How many ONOSes instances to run'
886
887 - string:
888 name: atomixReplicas
889 default: '{atomixReplicas}'
890 description: 'How many Atomix instances to run'
891
892 - string:
893 name: kafkaReplicas
894 default: '{kafkaReplicas}'
895 description: 'How many Kafka instances to run'
896
897 - string:
898 name: etcdReplicas
899 default: '{etcdReplicas}'
900 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800901
902 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800903 name: openonuAdapterReplicas
904 default: '{openonuAdapterReplicas}'
905 description: 'How many OpenONU adapter instances to run'
906
907 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800908 name: topologies
909 default: '{topologies}'
910 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
911
912 triggers:
913 - timed: |
914 TZ=America/Los_Angeles
915 {time-trigger}