blob: 249cf3b6d137a94fd23e888c0443dd5d705a082a [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 Scandolo28f4ec62021-07-07 17:45:21 -070028 extraHelmFlags: '--set authRetry=false,dhcpRetry=false'
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 Scandolo28f4ec62021-07-07 17:45:21 -070066 extraHelmFlags: '--set authRetry=false,dhcpRetry=false -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 volthaHelmChartsChange: refs/changes/69/25069/7
68
Matteo Scandolofebf6512021-03-02 11:37:37 -080069 # jobs for 1024 ONUs with openonu-go and clustered ONOS (2 OLTs)
Matteo Scandolocb726432020-06-01 08:49:14 -070070 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070071 name: 'voltha-scale-measurements-master-2-16-32-att-subscribers'
Matteo Scandoloc1895e12021-03-11 15:14:20 -080072 'disable-job': false
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -080073 build-node: 'voltha-scale-1'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070074 time-trigger: "H H/4 * * *"
75 olts: 2
76 pons: 16
77 onus: 32
78 withFlows: true
79 provisionSubscribers: true
80 withEapol: true
81 withDhcp: true
82 withIgmp: false
Matteo Scandolo28f4ec62021-07-07 17:45:21 -070083 extraHelmFlags: '--set authRetry=false,dhcpRetry=false -f /home/jenkins/voltha-scale/voltha-values.yaml '
Andrea Campanella1a388352021-07-05 10:15:04 +020084 rwCoreImg: volthacore/voltha-rw-core:meter
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070085
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070086 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070087 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo554bbee2021-06-29 10:31:58 +020088 'disable-job': false
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -080089 build-node: 'voltha-scale-1'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070090 time-trigger: "H H/4 * * *"
91 olts: 2
92 pons: 16
93 onus: 32
94 withFlows: true
95 provisionSubscribers: true
96 workflow: dt
97 withEapol: false
98 withDhcp: false
99 withIgmp: false
Matteo Scandolo554bbee2021-06-29 10:31:58 +0200100 extraHelmFlags: '-f /home/jenkins/voltha-scale/voltha-values.yaml '
Andrea Campanella1a388352021-07-05 10:15:04 +0200101 rwCoreImg: volthacore/voltha-rw-core:meter
Matteo Scandolo86939302020-10-30 13:32:08 -0700102
103 - 'voltha-scale-measurements':
104 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Andrea Campanella23c5fc32021-06-30 11:14:29 +0200105 'disable-job': false
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800106 build-node: 'voltha-scale-1'
Matteo Scandolo86939302020-10-30 13:32:08 -0700107 time-trigger: "H H/4 * * *"
108 olts: 2
109 pons: 16
110 onus: 32
111 withFlows: true
112 provisionSubscribers: true
113 workflow: tt
114 withEapol: false
115 withDhcp: true
116 withIgmp: true
Matteo Scandolo86939302020-10-30 13:32:08 -0700117 onosReplicas: 3
118 atomixReplicas: 3
Matteo Scandolo28f4ec62021-07-07 17:45:21 -0700119 extraHelmFlags: '--set dhcpRetry=false -f /home/jenkins/voltha-scale/voltha-values.yaml '
Andrea Campanella1a388352021-07-05 10:15:04 +0200120 rwCoreImg: volthacore/voltha-rw-core:meter
Matteo Scandolo272aed42020-05-08 15:05:57 -0700121
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800122 # multi-stack jobs
123 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800124 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-att-subscribers'
125 build-node: 'voltha-scale-2'
Matteo Scandolo554bbee2021-06-29 10:31:58 +0200126 'disable-job': false
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800127 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800128 time-trigger: "H H/4 * * *"
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800129 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800130 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800131 olts: 2
132 pons: 16
133 onus: 32
134 withFlows: true
135 provisionSubscribers: true
136 workflow: att
137 withEapol: true
138 withDhcp: true
139 withIgmp: false
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700140 extraHelmFlags: "-f /home/jenkins/voltha-scale/voltha-values.yaml "
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800141
142 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800143 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-dt-subscribers'
144 build-node: 'voltha-scale-2'
Matteo Scandolo554bbee2021-06-29 10:31:58 +0200145 'disable-job': false
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800146 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800147 time-trigger: "H H/4 * * *"
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800148 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800149 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800150 olts: 2
151 pons: 16
152 onus: 32
153 withFlows: true
154 provisionSubscribers: true
155 workflow: dt
156 withEapol: false
157 withDhcp: false
158 withIgmp: false
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700159 extraHelmFlags: "-f /home/jenkins/voltha-scale/voltha-values.yaml "
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800160
161 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800162 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-tt-subscribers'
163 build-node: 'voltha-scale-2'
Matteo Scandolo554bbee2021-06-29 10:31:58 +0200164 'disable-job': false
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800165 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800166 time-trigger: "H H/4 * * *"
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800167 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800168 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800169 olts: 2
170 pons: 16
171 onus: 32
172 withFlows: true
173 provisionSubscribers: true
174 workflow: tt
175 withEapol: false
176 withDhcp: true
177 withIgmp: true
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700178 extraHelmFlags: "-f /home/jenkins/voltha-scale/voltha-values.yaml "
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800179
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700180 # voltha-2.7 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700181 - 'voltha-scale-measurements':
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700182 name: 'voltha-scale-measurements-voltha-2.7-2-16-32-att-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -0700183 'disable-job': true
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700184 pipeline-script: 'voltha/voltha-2.7/voltha-scale-test.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800185 build-node: 'voltha-scale-1'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700186 time-trigger: "H H/4 * * *"
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700187 olts: 2
Matteo Scandolod43064b2020-07-13 17:18:45 -0700188 pons: 16
189 onus: 32
190 withFlows: true
191 provisionSubscribers: true
192 withEapol: true
193 withDhcp: true
194 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700195 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700196 release: voltha-2.7
Andrea Campanellabc5ee952021-04-30 10:47:54 +0200197 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700198 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700199 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700200 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700201 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800202 openonuAdapterGoImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200203 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700204
205 - 'voltha-scale-measurements':
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700206 name: 'voltha-scale-measurements-voltha-2.7-2-16-32-dt-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -0700207 'disable-job': true
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700208 pipeline-script: 'voltha/voltha-2.7/voltha-scale-test.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800209 build-node: 'voltha-scale-1'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700210 time-trigger: "H H/4 * * *"
211 olts: 2
212 pons: 16
213 onus: 32
214 withFlows: true
215 provisionSubscribers: true
216 workflow: dt
217 withEapol: false
218 withDhcp: false
219 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700220 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700221 release: voltha-2.7
Andrea Campanellabc5ee952021-04-30 10:47:54 +0200222 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700223 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700224 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700225 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700226 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800227 openonuAdapterGoImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200228 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700229
Matteo Scandolo031bd982020-09-16 10:03:47 -0700230 - 'voltha-scale-measurements':
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700231 name: 'voltha-scale-measurements-voltha-2.7-2-16-32-tt-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -0700232 'disable-job': true
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700233 pipeline-script: 'voltha/voltha-2.7/voltha-scale-test.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800234 build-node: 'voltha-scale-1'
Matteo Scandolo031bd982020-09-16 10:03:47 -0700235 time-trigger: "H H/4 * * *"
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700236 olts: 2
Matteo Scandolo031bd982020-09-16 10:03:47 -0700237 pons: 16
238 onus: 32
239 withFlows: true
240 provisionSubscribers: true
241 workflow: tt
242 withEapol: false
243 withDhcp: true
244 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700245 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700246 release: voltha-2.7
Andrea Campanellabc5ee952021-04-30 10:47:54 +0200247 bbsimImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700248 rwCoreImg: ''
249 ofAgentImg: ''
250 openoltAdapterImg: ''
251 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800252 openonuAdapterGoImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700253 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700254
Andrea Campanella27b5a662020-12-18 18:49:26 +0100255 # 2.6 multi-stack jobs
256 - 'voltha-scale-measurements':
257 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-att-subscribers'
258 build-node: 'voltha-scale-2'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700259 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100260 pipeline-script: 'voltha-scale-multi-stack.groovy'
Andrea Campanella27b5a662020-12-18 18:49:26 +0100261 time-trigger: "H H/4 * * *"
262 withMonitoring: false
263 logLevel: WARN
264 volthaStacks: 10
265 olts: 2
266 pons: 16
267 onus: 32
268 withFlows: true
269 provisionSubscribers: true
270 release: voltha-2.6
271 workflow: att
272 withEapol: true
273 withDhcp: true
274 withIgmp: false
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800275 bbsimImg: ''
276 rwCoreImg: ''
277 ofAgentImg: ''
278 openoltAdapterImg: ''
279 openonuAdapterImg: ''
280 openonuAdapterGoImg: ''
281 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100282
283 - 'voltha-scale-measurements':
284 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-dt-subscribers'
285 build-node: 'voltha-scale-2'
286 pipeline-script: 'voltha-scale-multi-stack.groovy'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700287 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100288 time-trigger: "H H/4 * * *"
289 withMonitoring: false
290 logLevel: WARN
291 volthaStacks: 10
292 olts: 2
293 pons: 16
294 onus: 32
295 withFlows: true
296 provisionSubscribers: true
297 release: voltha-2.6
298 workflow: dt
299 withEapol: false
300 withDhcp: false
301 withIgmp: false
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800302 bbsimImg: ''
303 rwCoreImg: ''
304 ofAgentImg: ''
305 openoltAdapterImg: ''
306 openonuAdapterImg: ''
307 openonuAdapterGoImg: ''
308 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100309
310 - 'voltha-scale-measurements':
311 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-tt-subscribers'
312 build-node: 'voltha-scale-2'
313 pipeline-script: 'voltha-scale-multi-stack.groovy'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700314 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100315 time-trigger: "H H/4 * * *"
316 withMonitoring: false
317 logLevel: WARN
318 volthaStacks: 10
319 olts: 2
320 pons: 16
321 onus: 32
322 withFlows: true
323 provisionSubscribers: true
324 release: voltha-2.6
325 workflow: tt
326 withEapol: false
327 withDhcp: true
328 withIgmp: true
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800329 bbsimImg: ''
330 rwCoreImg: ''
331 ofAgentImg: ''
332 openoltAdapterImg: ''
333 openonuAdapterImg: ''
334 openonuAdapterGoImg: ''
335 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100336
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700337 # per patchset job
338 - 'voltha-scale-measurements':
339 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800340 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700341 olts: 1
342 pons: 16
343 onus: 32
344 withFlows: true
345 provisionSubscribers: true
346 withEapol: true
347 withDhcp: true
348 withIgmp: false
349 withMonitoring: false
350 trigger-comment: "voltha scale test ATT"
351
352 - 'voltha-scale-measurements':
353 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800354 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700355 olts: 1
356 pons: 16
357 onus: 32
358 withFlows: true
359 provisionSubscribers: true
360 workflow: tt
361 withEapol: false
362 withDhcp: true
363 withIgmp: true
364 withMonitoring: false
365 trigger-comment: "voltha scale test TT"
366
367 - 'voltha-scale-measurements':
368 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800369 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700370 olts: 1
371 pons: 16
372 onus: 32
373 withFlows: true
374 provisionSubscribers: true
375 workflow: dt
376 withEapol: false
377 withDhcp: false
378 withIgmp: false
379 withMonitoring: false
380 trigger-comment: "voltha scale test DT"
381
Matteo Scandolo272aed42020-05-08 15:05:57 -0700382 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700383 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700384 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700385 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700386 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700387
Matteo Scandolodc930192020-08-27 15:56:16 -0700388 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700389 - 'voltha-scale-matrix':
390 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700391 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800392
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700393 # development matrix
394 - 'voltha-scale-matrix':
395 name: 'voltha-scale-matrix-voltha-master'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800396 build-node: 'voltha-scale-1'
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700397 onosReplicas: 3
398 atomixReplicas: 3
399 kafkaReplicas: 3
400 etcdReplicas: 3
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800401 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800402 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700403
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700404# list of parameters for the VOLTHA Jobs,
405# used as anchor so that can be shared across multiple jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700406# to use in a job: `parameters: *voltha-scale-job-parameters`
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700407- voltha-scale-job-parameters: &voltha-scale-job-parameters
408 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700409 parameters:
410 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800411 name: pipeline-script
412 default: '{pipeline-script}'
413 description: 'The pipeline script to use'
414
415 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700416 name: release
417 default: '{release}'
Matteo Scandolo49bc0472021-04-20 09:37:55 -0700418 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 -0700419
420 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700421 name: buildNode
422 default: '{build-node}'
423 description: 'Name of the Jenkins node to run the job on'
424
425 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700426 name: dockerRegistry
427 default: '{dockerRegistry}'
428 description: 'Address of the docker registry to use if we are building custom images'
429
430 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700431 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700432 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700433 description: 'Log level for all the components'
434
435 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800436 name: volthaStacks
437 default: '{volthaStacks}'
438 description: 'Number of VOLTHA Stacks to deploy'
439
440 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700441 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700442 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700443 description: 'Number of ONUs to provision'
444
445 - string:
446 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700447 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700448 description: 'Number of PONs to provision'
449
450 - string:
451 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700452 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700453 description: 'How many BBSim instances to run'
454
455 - string:
456 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700457 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700458 description: 'Which workflow are we testing (att, dt, tt)'
459
460 - bool:
461 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700462 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700463 description: 'Wheter to push flows from ONOS'
464
465 - bool:
466 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700467 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700468 description: 'Wheter to provision subscribers durint the tests'
469
470 - bool:
471 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700472 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700473 description: 'Wheter EAPOL is enabled for the test'
474
475 - bool:
476 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700477 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700478 description: 'Wheter DHCP is enabled for the test'
479
480 - bool:
481 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700482 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700483 description: 'Wheter IGMP is enabled for the test'
484
485 - bool:
486 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700487 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700488 description: 'Wheter Link Discovery is enabled for the test'
489
490 - bool:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700491 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700492 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700493 description: 'Option to install Prometheus'
494
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700495 - bool:
496 name: withProfiling
497 default: '{withProfiling}'
498 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
499
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700500 - bool:
501 name: withPcap
502 default: '{withPcap}'
503 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
504
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700505 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700506 name: withRadius
507 default: '{withRadius}'
508 description: 'Value to pass to kind-voltha WITH_RADIUS'
509
510 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700511 name: extraHelmFlags
512 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700513 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 -0700514
Matteo Scandolo272aed42020-05-08 15:05:57 -0700515 - string:
516 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700517 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700518 description: 'How many OpenONU adapter instances to run'
519
520 - string:
521 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700522 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700523 description: 'How many ONOSes instances to run'
524
525 - string:
526 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700527 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700528 description: 'How many Atomix instances to run'
529
530 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700531 name: kafkaReplicas
532 default: '{kafkaReplicas}'
533 description: 'How many Kafka instances to run'
534
535 - string:
536 name: etcdReplicas
537 default: '{etcdReplicas}'
538 description: 'How many ETCD instances to run'
539
540 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700541 name: onosStatInterval
542 default: '{onosStatInterval}'
543 description: 'How often ONOS should poll for ports, flows and meters'
544
545 - string:
Andrea Campanella15f22942021-04-08 17:24:21 +0200546 name: onosGroupInterval
547 default: '{onosGroupInterval}'
548 description: 'How often ONOS should poll for groups'
549
550 - string:
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200551 name: flowObjWorkerThreads
552 default: '{flowObjWorkerThreads}'
553 description: 'How many threads are used by the FlowObjectiveManager worker pool'
554
555 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700556 name: bbsimImg
557 default: '{bbsimImg}'
558 description: 'Custom image selection for BBSIM (repo:tag)'
559
560 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700561 name: rwCoreImg
562 default: '{rwCoreImg}'
563 description: 'Custom image selection for VOLTHA (repo:tag)'
564
565 - string:
566 name: ofAgentImg
567 default: '{ofAgentImg}'
568 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
569
570 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700571 name: openoltAdapterImg
572 default: '{openoltAdapterImg}'
573 description: 'Custom image selection for Openolt Adapter (repo:tag)'
574
575 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700576 name: openonuAdapterImg
577 default: '{openonuAdapterImg}'
578 description: 'Custom image selection for Openonu Adapter (repo:tag)'
579
580 - string:
Andrea Campanella28763082020-11-18 10:55:31 +0100581 name: openonuAdapterGoImg
582 default: '{openonuAdapterGoImg}'
583 description: 'Custom image selection for Openonu Go Adapter (repo:tag)'
584
585 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700586 name: onosImg
587 default: '{onosImg}'
588 description: 'Custom image selection for Openonu Adapter (repo:tag)'
589
590 - string:
591 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700592 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700593 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
594
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700595 - string:
Matteo Scandolo11311742021-01-25 13:56:22 -0800596 name: volthaHelmChartsChange
597 default: '{volthaHelmChartsChange}'
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700598 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 -0700599
Matteo Scandoloccc06192020-06-22 10:16:17 -0700600 - bool:
601 name: inMemoryEtcdStorage
602 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700603 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700604
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200605 - string:
606 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700607 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200608 description: 'Karaf home'
609
Matteo Scandolo001003e2021-02-03 15:39:26 -0800610 # remove once voltha-2.6 is deprecated
611 - string:
612 name: kindVolthaChange
613 default: '{kindVolthaChange}'
614 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 -0800615 - bool:
616 name: withMibTemplate
617 default: true
Matteo Scandolo001003e2021-02-03 15:39:26 -0800618
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700619- job-template:
620 id: 'voltha-scale-measurements'
621 name: '{name}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700622 disabled: '{disable-job}'
623
624 description: |
625 <!-- Managed by Jenkins Job Builder -->
626 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
627 Using pipeline {pipeline-script} <br/><br/>
628 Scale measurements for VOLTHA 2.x
629
630 properties:
631 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800632 build-days-to-keep: '{big-build-days-to-keep}'
633 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700634
635 wrappers:
636 - lf-infra-wrappers:
637 build-timeout: '{build-timeout}'
638 jenkins-ssh-credential: '{jenkins-ssh-credential}'
639
640 # default values
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -0800641 pipeline-script: 'voltha/master/voltha-scale-test.groovy'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700642 release: master
643
644 bbsimImg: voltha/bbsim:master
645 rwCoreImg: voltha/voltha-rw-core:master
646 ofAgentImg: voltha/voltha-ofagent-go:master
647 openoltAdapterImg: voltha/voltha-openolt-adapter:master
648 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100649 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700650 onosImg: voltha/voltha-onos:master
651
652 bbsimChart: onf/bbsim
653 volthaChart: onf/voltha
654 openoltAdapterChart: onf/voltha-adapter-openolt
655 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700656 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700657 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700658
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800659 volthaStacks: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700660 olts: 2
661 pons: 2
662 onus: 2
663 workflow: att
664 withFlows: false
665 provisionSubscribers: false
666 withEapol: true
667 withDhcp: true
668 withIgmp: false
669 withLLDP: false
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700670 withMonitoring: true
671 withProfiling: false
672 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700673 withRadius: yes
Andrea Campanellac179de22020-12-10 17:24:40 +0100674 openonuAdapterReplicas: 1
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700675 onosReplicas: 3
676 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700677 kafkaReplicas: 3
678 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700679 extraHelmFlags: ''
680 onosStatInterval: 5
Andrea Campanella15f22942021-04-08 17:24:21 +0200681 onosGroupInterval: 1
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200682 flowObjWorkerThreads: 12
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700683 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800684 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800685 kindVolthaChange: ''
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700686 inMemoryEtcdStorage: true
687 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700688 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700689 dockerRegistry: 10.90.0.101:30500
690 trigger-comment: vv7CBoQQYYonvaN8xcru
691 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700692
693 <<: *voltha-scale-job-parameters
694
Matteo Scandolo272aed42020-05-08 15:05:57 -0700695 project-type: pipeline
696 concurrent: false
697
698 dsl: !include-raw-escape: pipeline/{pipeline-script}
699
Matteo Scandoloabb83972020-06-25 16:08:23 -0700700 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700701 # periodic jobs will set this every 4 hours
702 # 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 -0700703 - timed: |
704 TZ=America/Los_Angeles
705 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700706 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
707 # patchset jobs will set this to a meaningful comment
708 - gerrit:
709 server-name: '{gerrit-server-name}'
710 silent-start: false
711 successful-message: "PASSED scale test"
712 failure-message: "FAILED scale test"
713 unstable-message: "UNSTABLE scale test"
714 trigger-on:
715 - comment-added-contains-event:
716 comment-contains-value: '.*{trigger-comment}.*'
717 projects:
718 - project-compare-type: REG_EXP
719 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
720 branches:
721 - branch-compare-type: REG_EXP
722 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700723
724- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700725 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800726 name: '{name}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800727
728 description: |
729 <!-- Managed by Jenkins Job Builder -->
730 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
731 Using pipeline {pipeline-script} <br/><br/>
732 Scale measurements for VOLTHA 2.x
733
734 properties:
735 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800736 build-days-to-keep: '{big-build-days-to-keep}'
737 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800738
739 wrappers:
740 - lf-infra-wrappers:
741 build-timeout: '{build-timeout}'
742 jenkins-ssh-credential: '{jenkins-ssh-credential}'
743
Matteo Scandolo0430f672020-05-07 11:50:26 -0700744 # default values
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -0800745 pipeline-script: 'voltha/master/voltha-scale-test.groovy'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700746 release: master
747
Matteo Scandolo0430f672020-05-07 11:50:26 -0700748 bbsimImg: voltha/bbsim:master
749 rwCoreImg: voltha/voltha-rw-core:master
750 ofAgentImg: voltha/voltha-ofagent-go:master
751 openoltAdapterImg: voltha/voltha-openolt-adapter:master
752 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100753 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandolo0430f672020-05-07 11:50:26 -0700754 onosImg: voltha/voltha-onos:master
755
756 bbsimChart: onf/bbsim
757 volthaChart: onf/voltha
758 openoltAdapterChart: onf/voltha-adapter-openolt
759 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700760 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700761 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700762
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800763 volthaStacks: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700764 olts: 2
765 pons: 2
766 onus: 2
767 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700768 withFlows: true
769 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700770 withEapol: true
771 withDhcp: true
772 withIgmp: false
773 withLLDP: false
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700774 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700775 withProfiling: false
776 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700777 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700778 openonuAdapterReplicas: 1
779 onosReplicas: 1
780 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700781 kafkaReplicas: 1
782 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700783 extraHelmFlags: ''
784 onosStatInterval: 5
Andrea Campanella15f22942021-04-08 17:24:21 +0200785 onosGroupInterval: 1
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200786 flowObjWorkerThreads: 12
Matteo Scandolo68776b72020-07-21 14:06:06 -0700787 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800788 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800789 kindVolthaChange: ''
Matteo Scandolo68776b72020-07-21 14:06:06 -0700790 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700791 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700792 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700793 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700794
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700795 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200796
Matteo Scandolo51b76302020-02-05 12:07:23 -0800797 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800798 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800799
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700800 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700801
Matteo Scandolo849db722020-10-21 10:58:41 -0700802 triggers:
803 - gerrit:
804 server-name: '{gerrit-server-name}'
805 silent-start: false
806 successful-message: "PASSED scale test"
807 failure-message: "FAILED scale test"
808 unstable-message: "UNSTABLE scale test"
809 trigger-on:
810 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700811 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700812 projects:
813 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700814 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700815 branches:
816 - branch-compare-type: REG_EXP
817 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700818- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700819 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700820 name: '{name}'
821 pipeline-script: 'voltha-scale-matrix.groovy'
822
823 description: |
824 <!-- Managed by Jenkins Job Builder -->
825 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
826 Using pipeline {pipeline-script} <br/><br/>
827 Scale measurements for VOLTHA 2.x
828
829 properties:
830 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800831 build-days-to-keep: '{big-build-days-to-keep}'
832 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700833
834 wrappers:
835 - lf-infra-wrappers:
836 build-timeout: '{build-timeout}'
837 jenkins-ssh-credential: '{jenkins-ssh-credential}'
838
839 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800840 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700841 release: master
842 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700843 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800844 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800845 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700846 onosReplicas: 1
847 atomixReplicas: 0
848 kafkaReplicas: 1
849 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800850 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800851 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700852
853 project-type: pipeline
854 concurrent: false
855
856 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700857
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700858 parameters:
859 - string:
860 name: release
861 default: '{release}'
862 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
863
864 - string:
865 name: buildNode
866 default: '{build-node}'
867 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700868
869 - string:
870 name: volthaSystemTestsChange
871 default: '{volthaSystemTestsChange}'
872 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
873
874 - string:
Matteo Scandolo11311742021-01-25 13:56:22 -0800875 name: volthaHelmChartsChange
876 default: '{volthaHelmChartsChange}'
877 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 -0700878
879 - string:
880 name: onosReplicas
881 default: '{onosReplicas}'
882 description: 'How many ONOSes instances to run'
883
884 - string:
885 name: atomixReplicas
886 default: '{atomixReplicas}'
887 description: 'How many Atomix instances to run'
888
889 - string:
890 name: kafkaReplicas
891 default: '{kafkaReplicas}'
892 description: 'How many Kafka instances to run'
893
894 - string:
895 name: etcdReplicas
896 default: '{etcdReplicas}'
897 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800898
899 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800900 name: openonuAdapterReplicas
901 default: '{openonuAdapterReplicas}'
902 description: 'How many OpenONU adapter instances to run'
903
904 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800905 name: topologies
906 default: '{topologies}'
907 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
908
909 triggers:
910 - timed: |
911 TZ=America/Los_Angeles
912 {time-trigger}