blob: 2953ee90b317cbd45fcb37d962f0dbce4cd771d7 [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 '
Andrea Campanella1a388352021-07-05 10:15:04 +020090 rwCoreImg: volthacore/voltha-rw-core:meter
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070091
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070092 - 'voltha-scale-measurements':
Matteo Scandolod43064b2020-07-13 17:18:45 -070093 name: 'voltha-scale-measurements-master-2-16-32-dt-subscribers'
Matteo Scandolo554bbee2021-06-29 10:31:58 +020094 'disable-job': false
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -080095 build-node: 'voltha-scale-1'
Matteo Scandoloa6dc5a12020-06-04 16:51:29 -070096 time-trigger: "H H/4 * * *"
97 olts: 2
98 pons: 16
99 onus: 32
100 withFlows: true
101 provisionSubscribers: true
102 workflow: dt
103 withEapol: false
104 withDhcp: false
105 withIgmp: false
Matteo Scandolo554bbee2021-06-29 10:31:58 +0200106 extraHelmFlags: '-f /home/jenkins/voltha-scale/voltha-values.yaml '
Andrea Campanella1a388352021-07-05 10:15:04 +0200107 rwCoreImg: volthacore/voltha-rw-core:meter
Matteo Scandolo86939302020-10-30 13:32:08 -0700108
109 - 'voltha-scale-measurements':
110 name: 'voltha-scale-measurements-master-2-16-32-tt-subscribers'
Andrea Campanella23c5fc32021-06-30 11:14:29 +0200111 'disable-job': false
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800112 build-node: 'voltha-scale-1'
Matteo Scandolo86939302020-10-30 13:32:08 -0700113 time-trigger: "H H/4 * * *"
114 olts: 2
115 pons: 16
116 onus: 32
117 withFlows: true
118 provisionSubscribers: true
119 workflow: tt
120 withEapol: false
121 withDhcp: true
122 withIgmp: true
Matteo Scandolo86939302020-10-30 13:32:08 -0700123 onosReplicas: 3
124 atomixReplicas: 3
Matteo Scandolo554bbee2021-06-29 10:31:58 +0200125 extraHelmFlags: '--set dhcpRetry=true -f /home/jenkins/voltha-scale/voltha-values.yaml '
Andrea Campanella1a388352021-07-05 10:15:04 +0200126 rwCoreImg: volthacore/voltha-rw-core:meter
Matteo Scandolo272aed42020-05-08 15:05:57 -0700127
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800128 # multi-stack jobs
129 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800130 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-att-subscribers'
131 build-node: 'voltha-scale-2'
Matteo Scandolo554bbee2021-06-29 10:31:58 +0200132 'disable-job': false
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800133 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800134 time-trigger: "H H/4 * * *"
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800135 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800136 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800137 olts: 2
138 pons: 16
139 onus: 32
140 withFlows: true
141 provisionSubscribers: true
142 workflow: att
143 withEapol: true
144 withDhcp: true
145 withIgmp: false
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700146 extraHelmFlags: "-f /home/jenkins/voltha-scale/voltha-values.yaml "
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800147
148 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800149 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-dt-subscribers'
150 build-node: 'voltha-scale-2'
Matteo Scandolo554bbee2021-06-29 10:31:58 +0200151 'disable-job': false
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800152 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800153 time-trigger: "H H/4 * * *"
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800154 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800155 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800156 olts: 2
157 pons: 16
158 onus: 32
159 withFlows: true
160 provisionSubscribers: true
161 workflow: dt
162 withEapol: false
163 withDhcp: false
164 withIgmp: false
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700165 extraHelmFlags: "-f /home/jenkins/voltha-scale/voltha-values.yaml "
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800166
167 - 'voltha-scale-measurements':
Matteo Scandolod1430a72020-12-04 15:14:44 -0800168 name: 'voltha-scale-measurements-master-10-stacks-2-16-32-tt-subscribers'
169 build-node: 'voltha-scale-2'
Matteo Scandolo554bbee2021-06-29 10:31:58 +0200170 'disable-job': false
Matteo Scandolo2bc660a2021-02-12 10:52:25 -0800171 pipeline-script: 'voltha/master/voltha-scale-multi-stack.groovy'
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800172 time-trigger: "H H/4 * * *"
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800173 logLevel: WARN
Matteo Scandolod1430a72020-12-04 15:14:44 -0800174 volthaStacks: 10
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800175 olts: 2
176 pons: 16
177 onus: 32
178 withFlows: true
179 provisionSubscribers: true
180 workflow: tt
181 withEapol: false
182 withDhcp: true
183 withIgmp: true
Matteo Scandolo433f60d2021-03-26 12:04:34 -0700184 extraHelmFlags: "-f /home/jenkins/voltha-scale/voltha-values.yaml "
Matteo Scandolo95d72a22020-11-25 11:14:09 -0800185
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700186 # voltha-2.7 Jobs
Matteo Scandolod43064b2020-07-13 17:18:45 -0700187 - 'voltha-scale-measurements':
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700188 name: 'voltha-scale-measurements-voltha-2.7-2-16-32-att-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -0700189 'disable-job': true
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700190 pipeline-script: 'voltha/voltha-2.7/voltha-scale-test.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800191 build-node: 'voltha-scale-1'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700192 time-trigger: "H H/4 * * *"
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700193 olts: 2
Matteo Scandolod43064b2020-07-13 17:18:45 -0700194 pons: 16
195 onus: 32
196 withFlows: true
197 provisionSubscribers: true
198 withEapol: true
199 withDhcp: true
200 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700201 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700202 release: voltha-2.7
Andrea Campanellabc5ee952021-04-30 10:47:54 +0200203 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700204 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700205 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700206 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700207 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800208 openonuAdapterGoImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200209 onosImg: ''
Matteo Scandolod43064b2020-07-13 17:18:45 -0700210
211 - 'voltha-scale-measurements':
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700212 name: 'voltha-scale-measurements-voltha-2.7-2-16-32-dt-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -0700213 'disable-job': true
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700214 pipeline-script: 'voltha/voltha-2.7/voltha-scale-test.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800215 build-node: 'voltha-scale-1'
Matteo Scandolod43064b2020-07-13 17:18:45 -0700216 time-trigger: "H H/4 * * *"
217 olts: 2
218 pons: 16
219 onus: 32
220 withFlows: true
221 provisionSubscribers: true
222 workflow: dt
223 withEapol: false
224 withDhcp: false
225 withIgmp: false
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700226 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700227 release: voltha-2.7
Andrea Campanellabc5ee952021-04-30 10:47:54 +0200228 bbsimImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700229 rwCoreImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700230 ofAgentImg: ''
Matteo Scandoloca097652020-08-14 09:49:23 -0700231 openoltAdapterImg: ''
Matteo Scandolob10be9a2020-08-04 13:55:59 -0700232 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800233 openonuAdapterGoImg: ''
Andrea Campanellab7ecc302020-08-12 15:34:33 +0200234 onosImg: ''
Matteo Scandolob2f814a2020-07-15 10:01:11 -0700235
Matteo Scandolo031bd982020-09-16 10:03:47 -0700236 - 'voltha-scale-measurements':
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700237 name: 'voltha-scale-measurements-voltha-2.7-2-16-32-tt-subscribers'
Girish Gowdra261c5f12021-05-28 11:00:11 -0700238 'disable-job': true
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700239 pipeline-script: 'voltha/voltha-2.7/voltha-scale-test.groovy'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800240 build-node: 'voltha-scale-1'
Matteo Scandolo031bd982020-09-16 10:03:47 -0700241 time-trigger: "H H/4 * * *"
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700242 olts: 2
Matteo Scandolo031bd982020-09-16 10:03:47 -0700243 pons: 16
244 onus: 32
245 withFlows: true
246 provisionSubscribers: true
247 workflow: tt
248 withEapol: false
249 withDhcp: true
250 withIgmp: true
Matteo Scandolo031bd982020-09-16 10:03:47 -0700251 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandolofed6bab2021-03-31 14:19:57 -0700252 release: voltha-2.7
Andrea Campanellabc5ee952021-04-30 10:47:54 +0200253 bbsimImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700254 rwCoreImg: ''
255 ofAgentImg: ''
256 openoltAdapterImg: ''
257 openonuAdapterImg: ''
Matteo Scandoloebe4f722021-02-04 09:53:07 -0800258 openonuAdapterGoImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700259 onosImg: ''
Matteo Scandolo031bd982020-09-16 10:03:47 -0700260
Andrea Campanella27b5a662020-12-18 18:49:26 +0100261 # 2.6 multi-stack jobs
262 - 'voltha-scale-measurements':
263 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-att-subscribers'
264 build-node: 'voltha-scale-2'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700265 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100266 pipeline-script: 'voltha-scale-multi-stack.groovy'
Andrea Campanella27b5a662020-12-18 18:49:26 +0100267 time-trigger: "H H/4 * * *"
268 withMonitoring: false
269 logLevel: WARN
270 volthaStacks: 10
271 olts: 2
272 pons: 16
273 onus: 32
274 withFlows: true
275 provisionSubscribers: true
276 release: voltha-2.6
277 workflow: att
278 withEapol: true
279 withDhcp: true
280 withIgmp: false
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800281 bbsimImg: ''
282 rwCoreImg: ''
283 ofAgentImg: ''
284 openoltAdapterImg: ''
285 openonuAdapterImg: ''
286 openonuAdapterGoImg: ''
287 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100288
289 - 'voltha-scale-measurements':
290 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-dt-subscribers'
291 build-node: 'voltha-scale-2'
292 pipeline-script: 'voltha-scale-multi-stack.groovy'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700293 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100294 time-trigger: "H H/4 * * *"
295 withMonitoring: false
296 logLevel: WARN
297 volthaStacks: 10
298 olts: 2
299 pons: 16
300 onus: 32
301 withFlows: true
302 provisionSubscribers: true
303 release: voltha-2.6
304 workflow: dt
305 withEapol: false
306 withDhcp: false
307 withIgmp: false
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800308 bbsimImg: ''
309 rwCoreImg: ''
310 ofAgentImg: ''
311 openoltAdapterImg: ''
312 openonuAdapterImg: ''
313 openonuAdapterGoImg: ''
314 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100315
316 - 'voltha-scale-measurements':
317 name: 'voltha-scale-measurements-2.6-10-stacks-2-16-32-tt-subscribers'
318 build-node: 'voltha-scale-2'
319 pipeline-script: 'voltha-scale-multi-stack.groovy'
Matteo Scandolod1e86902021-03-25 09:59:51 -0700320 'disable-job': true
Andrea Campanella27b5a662020-12-18 18:49:26 +0100321 time-trigger: "H H/4 * * *"
322 withMonitoring: false
323 logLevel: WARN
324 volthaStacks: 10
325 olts: 2
326 pons: 16
327 onus: 32
328 withFlows: true
329 provisionSubscribers: true
330 release: voltha-2.6
331 workflow: tt
332 withEapol: false
333 withDhcp: true
334 withIgmp: true
Matteo Scandolo57b244a2021-02-24 15:26:51 -0800335 bbsimImg: ''
336 rwCoreImg: ''
337 ofAgentImg: ''
338 openoltAdapterImg: ''
339 openonuAdapterImg: ''
340 openonuAdapterGoImg: ''
341 onosImg: ''
Andrea Campanella27b5a662020-12-18 18:49:26 +0100342
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700343 # per patchset job
344 - 'voltha-scale-measurements':
345 name: 'voltha-scale-measurements-patchset-1-16-32-att-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800346 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700347 olts: 1
348 pons: 16
349 onus: 32
350 withFlows: true
351 provisionSubscribers: true
352 withEapol: true
353 withDhcp: true
354 withIgmp: false
355 withMonitoring: false
356 trigger-comment: "voltha scale test ATT"
357
358 - 'voltha-scale-measurements':
359 name: 'voltha-scale-measurements-patchset-1-16-32-tt-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800360 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700361 olts: 1
362 pons: 16
363 onus: 32
364 withFlows: true
365 provisionSubscribers: true
366 workflow: tt
367 withEapol: false
368 withDhcp: true
369 withIgmp: true
370 withMonitoring: false
371 trigger-comment: "voltha scale test TT"
372
373 - 'voltha-scale-measurements':
374 name: 'voltha-scale-measurements-patchset-1-16-32-dt-subscribers'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800375 build-node: 'voltha-scale-1'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700376 olts: 1
377 pons: 16
378 onus: 32
379 withFlows: true
380 provisionSubscribers: true
381 workflow: dt
382 withEapol: false
383 withDhcp: false
384 withIgmp: false
385 withMonitoring: false
386 trigger-comment: "voltha scale test DT"
387
Matteo Scandolo272aed42020-05-08 15:05:57 -0700388 # development pipeline
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700389 - 'voltha-scale-measurements-dev':
Matteo Scandolod43064b2020-07-13 17:18:45 -0700390 name: 'voltha-scale-measurements-master-dev'
Matteo Scandolo64e56c62020-06-08 10:04:31 -0700391 build-node: 'voltha-scale'
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700392 extraHelmFlags: '--set defaults.rw_core.timeout=30s '
Matteo Scandoloc3dea532020-06-04 10:46:49 -0700393
Matteo Scandolodc930192020-08-27 15:56:16 -0700394 # development matrix
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700395 - 'voltha-scale-matrix':
396 name: 'voltha-scale-matrix-voltha-master-dev'
Matteo Scandolodc930192020-08-27 15:56:16 -0700397 build-node: 'voltha-scale'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800398
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700399 # development matrix
400 - 'voltha-scale-matrix':
401 name: 'voltha-scale-matrix-voltha-master'
Matteo Scandolo2d30c7d2021-02-25 15:39:51 -0800402 build-node: 'voltha-scale-1'
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700403 onosReplicas: 3
404 atomixReplicas: 3
405 kafkaReplicas: 3
406 etcdReplicas: 3
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800407 topologies: 1-16-16, 1-16-32, 2-16-32
Matteo Scandoloaf41ca92020-11-05 06:04:54 -0800408 time-trigger: H 0 * * *
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700409
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700410# list of parameters for the VOLTHA Jobs,
411# used as anchor so that can be shared across multiple jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700412# to use in a job: `parameters: *voltha-scale-job-parameters`
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700413- voltha-scale-job-parameters: &voltha-scale-job-parameters
414 name: voltha-scale-job-parameters
Matteo Scandolo272aed42020-05-08 15:05:57 -0700415 parameters:
416 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800417 name: pipeline-script
418 default: '{pipeline-script}'
419 description: 'The pipeline script to use'
420
421 - string:
Matteo Scandolod43064b2020-07-13 17:18:45 -0700422 name: release
423 default: '{release}'
Matteo Scandolo49bc0472021-04-20 09:37:55 -0700424 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 -0700425
426 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700427 name: buildNode
428 default: '{build-node}'
429 description: 'Name of the Jenkins node to run the job on'
430
431 - string:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700432 name: dockerRegistry
433 default: '{dockerRegistry}'
434 description: 'Address of the docker registry to use if we are building custom images'
435
436 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700437 name: logLevel
Matteo Scandolo7efda2d2020-07-31 16:02:13 -0700438 default: '{logLevel}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700439 description: 'Log level for all the components'
440
441 - string:
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800442 name: volthaStacks
443 default: '{volthaStacks}'
444 description: 'Number of VOLTHA Stacks to deploy'
445
446 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700447 name: onus
Matteo Scandolo393add12020-05-08 18:03:17 -0700448 default: '{onus}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700449 description: 'Number of ONUs to provision'
450
451 - string:
452 name: pons
Matteo Scandolo393add12020-05-08 18:03:17 -0700453 default: '{pons}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700454 description: 'Number of PONs to provision'
455
456 - string:
457 name: olts
Matteo Scandolo393add12020-05-08 18:03:17 -0700458 default: '{olts}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700459 description: 'How many BBSim instances to run'
460
461 - string:
462 name: workflow
Matteo Scandolo393add12020-05-08 18:03:17 -0700463 default: '{workflow}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700464 description: 'Which workflow are we testing (att, dt, tt)'
465
466 - bool:
467 name: withFlows
Matteo Scandolo393add12020-05-08 18:03:17 -0700468 default: '{withFlows}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700469 description: 'Wheter to push flows from ONOS'
470
471 - bool:
472 name: provisionSubscribers
Matteo Scandolo393add12020-05-08 18:03:17 -0700473 default: '{provisionSubscribers}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700474 description: 'Wheter to provision subscribers durint the tests'
475
476 - bool:
477 name: withEapol
Matteo Scandolo393add12020-05-08 18:03:17 -0700478 default: '{withEapol}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700479 description: 'Wheter EAPOL is enabled for the test'
480
481 - bool:
482 name: withDhcp
Matteo Scandolo393add12020-05-08 18:03:17 -0700483 default: '{withDhcp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700484 description: 'Wheter DHCP is enabled for the test'
485
486 - bool:
487 name: withIgmp
Matteo Scandolo393add12020-05-08 18:03:17 -0700488 default: '{withIgmp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700489 description: 'Wheter IGMP is enabled for the test'
490
491 - bool:
492 name: withLLDP
Matteo Scandolo393add12020-05-08 18:03:17 -0700493 default: '{withLLDP}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700494 description: 'Wheter Link Discovery is enabled for the test'
495
496 - bool:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700497 name: withMonitoring
Matteo Scandolo393add12020-05-08 18:03:17 -0700498 default: '{withMonitoring}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700499 description: 'Option to install Prometheus'
500
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700501 - bool:
502 name: withProfiling
503 default: '{withProfiling}'
504 description: 'Option to collect profiling informations from rw-core and openolt (note that the appropriate -profile images needs to be used)'
505
Matteo Scandoloc9dd44f2020-06-18 15:06:04 -0700506 - bool:
507 name: withPcap
508 default: '{withPcap}'
509 description: 'Capture a .pcap on the OpenFlow connection from the ofAgent side'
510
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700511 - string:
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700512 name: withRadius
513 default: '{withRadius}'
514 description: 'Value to pass to kind-voltha WITH_RADIUS'
515
516 - string:
Matteo Scandoloa731f8f2020-05-11 10:27:26 -0700517 name: extraHelmFlags
518 default: '{extraHelmFlags}'
Matteo Scandolo1c5ffab2020-07-17 08:53:01 -0700519 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 -0700520
Matteo Scandolo272aed42020-05-08 15:05:57 -0700521 - string:
522 name: openonuAdapterReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700523 default: '{openonuAdapterReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700524 description: 'How many OpenONU adapter instances to run'
525
526 - string:
527 name: onosReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700528 default: '{onosReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700529 description: 'How many ONOSes instances to run'
530
531 - string:
532 name: atomixReplicas
Matteo Scandolo393add12020-05-08 18:03:17 -0700533 default: '{atomixReplicas}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700534 description: 'How many Atomix instances to run'
535
536 - string:
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700537 name: kafkaReplicas
538 default: '{kafkaReplicas}'
539 description: 'How many Kafka instances to run'
540
541 - string:
542 name: etcdReplicas
543 default: '{etcdReplicas}'
544 description: 'How many ETCD instances to run'
545
546 - string:
Matteo Scandolo3136cca2020-05-15 14:14:27 -0700547 name: onosStatInterval
548 default: '{onosStatInterval}'
549 description: 'How often ONOS should poll for ports, flows and meters'
550
551 - string:
Andrea Campanella15f22942021-04-08 17:24:21 +0200552 name: onosGroupInterval
553 default: '{onosGroupInterval}'
554 description: 'How often ONOS should poll for groups'
555
556 - string:
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200557 name: flowObjWorkerThreads
558 default: '{flowObjWorkerThreads}'
559 description: 'How many threads are used by the FlowObjectiveManager worker pool'
560
561 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700562 name: bbsimImg
563 default: '{bbsimImg}'
564 description: 'Custom image selection for BBSIM (repo:tag)'
565
566 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700567 name: rwCoreImg
568 default: '{rwCoreImg}'
569 description: 'Custom image selection for VOLTHA (repo:tag)'
570
571 - string:
572 name: ofAgentImg
573 default: '{ofAgentImg}'
574 description: 'Custom image selection for OfAgent (repo:tag), only supports the go version'
575
576 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700577 name: openoltAdapterImg
578 default: '{openoltAdapterImg}'
579 description: 'Custom image selection for Openolt Adapter (repo:tag)'
580
581 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700582 name: openonuAdapterImg
583 default: '{openonuAdapterImg}'
584 description: 'Custom image selection for Openonu Adapter (repo:tag)'
585
586 - string:
Andrea Campanella28763082020-11-18 10:55:31 +0100587 name: openonuAdapterGoImg
588 default: '{openonuAdapterGoImg}'
589 description: 'Custom image selection for Openonu Go Adapter (repo:tag)'
590
591 - string:
Matteo Scandolo272aed42020-05-08 15:05:57 -0700592 name: onosImg
593 default: '{onosImg}'
594 description: 'Custom image selection for Openonu Adapter (repo:tag)'
595
596 - string:
597 name: volthaSystemTestsChange
Matteo Scandolofae22812020-06-03 15:02:27 -0700598 default: '{volthaSystemTestsChange}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700599 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
600
Matteo Scandolo5708e2f2020-06-03 14:11:32 -0700601 - string:
Matteo Scandolo11311742021-01-25 13:56:22 -0800602 name: volthaHelmChartsChange
603 default: '{volthaHelmChartsChange}'
Matteo Scandolod82d1de2021-04-06 14:55:58 -0700604 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 -0700605
Matteo Scandoloccc06192020-06-22 10:16:17 -0700606 - bool:
607 name: inMemoryEtcdStorage
608 default: '{inMemoryEtcdStorage}'
Matteo Scandolo2699c432020-06-22 15:47:05 -0700609 description: 'Whether to write ETCD keys on disk or keep them in memory (true=inMemory)'
Matteo Scandoloccc06192020-06-22 10:16:17 -0700610
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200611 - string:
612 name: karafHome
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700613 default: '{karafHome}'
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200614 description: 'Karaf home'
615
Matteo Scandolo001003e2021-02-03 15:39:26 -0800616 # remove once voltha-2.6 is deprecated
617 - string:
618 name: kindVolthaChange
619 default: '{kindVolthaChange}'
620 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 -0800621 - bool:
622 name: withMibTemplate
623 default: true
Matteo Scandolo001003e2021-02-03 15:39:26 -0800624
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700625- job-template:
626 id: 'voltha-scale-measurements'
627 name: '{name}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700628 disabled: '{disable-job}'
629
630 description: |
631 <!-- Managed by Jenkins Job Builder -->
632 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
633 Using pipeline {pipeline-script} <br/><br/>
634 Scale measurements for VOLTHA 2.x
635
636 properties:
637 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800638 build-days-to-keep: '{big-build-days-to-keep}'
639 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700640
641 wrappers:
642 - lf-infra-wrappers:
643 build-timeout: '{build-timeout}'
644 jenkins-ssh-credential: '{jenkins-ssh-credential}'
645
646 # default values
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -0800647 pipeline-script: 'voltha/master/voltha-scale-test.groovy'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700648 release: master
649
650 bbsimImg: voltha/bbsim:master
651 rwCoreImg: voltha/voltha-rw-core:master
652 ofAgentImg: voltha/voltha-ofagent-go:master
653 openoltAdapterImg: voltha/voltha-openolt-adapter:master
654 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100655 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700656 onosImg: voltha/voltha-onos:master
657
658 bbsimChart: onf/bbsim
659 volthaChart: onf/voltha
660 openoltAdapterChart: onf/voltha-adapter-openolt
661 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700662 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700663 radiusChart: onf/freeradius
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700664
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800665 volthaStacks: 1
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700666 olts: 2
667 pons: 2
668 onus: 2
669 workflow: att
670 withFlows: false
671 provisionSubscribers: false
672 withEapol: true
673 withDhcp: true
674 withIgmp: false
675 withLLDP: false
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700676 withMonitoring: true
677 withProfiling: false
678 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700679 withRadius: yes
Andrea Campanellac179de22020-12-10 17:24:40 +0100680 openonuAdapterReplicas: 1
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700681 onosReplicas: 3
682 atomixReplicas: 3
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700683 kafkaReplicas: 3
684 etcdReplicas: 3
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700685 extraHelmFlags: ''
686 onosStatInterval: 5
Andrea Campanella15f22942021-04-08 17:24:21 +0200687 onosGroupInterval: 1
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200688 flowObjWorkerThreads: 12
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700689 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800690 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800691 kindVolthaChange: ''
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700692 inMemoryEtcdStorage: true
693 karafHome: 'apache-karaf-4.2.9'
Matteo Scandolo19b61a02020-10-01 16:20:37 -0700694 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700695 dockerRegistry: 10.90.0.101:30500
696 trigger-comment: vv7CBoQQYYonvaN8xcru
697 time-trigger: 0 0 29 2 *
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700698
699 <<: *voltha-scale-job-parameters
700
Matteo Scandolo272aed42020-05-08 15:05:57 -0700701 project-type: pipeline
702 concurrent: false
703
704 dsl: !include-raw-escape: pipeline/{pipeline-script}
705
Matteo Scandoloabb83972020-06-25 16:08:23 -0700706 triggers:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700707 # periodic jobs will set this every 4 hours
708 # 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 -0700709 - timed: |
710 TZ=America/Los_Angeles
711 {time-trigger}
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700712 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
713 # patchset jobs will set this to a meaningful comment
714 - gerrit:
715 server-name: '{gerrit-server-name}'
716 silent-start: false
717 successful-message: "PASSED scale test"
718 failure-message: "FAILED scale test"
719 unstable-message: "UNSTABLE scale test"
720 trigger-on:
721 - comment-added-contains-event:
722 comment-contains-value: '.*{trigger-comment}.*'
723 projects:
724 - project-compare-type: REG_EXP
725 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
726 branches:
727 - branch-compare-type: REG_EXP
728 branch-pattern: '{all-branches-regexp}'
Matteo Scandolo272aed42020-05-08 15:05:57 -0700729
730- job-template:
Matteo Scandolofbcbdb82020-05-06 15:41:32 -0700731 id: 'voltha-scale-measurements-dev'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800732 name: '{name}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800733
734 description: |
735 <!-- Managed by Jenkins Job Builder -->
736 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
737 Using pipeline {pipeline-script} <br/><br/>
738 Scale measurements for VOLTHA 2.x
739
740 properties:
741 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800742 build-days-to-keep: '{big-build-days-to-keep}'
743 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandolo51b76302020-02-05 12:07:23 -0800744
745 wrappers:
746 - lf-infra-wrappers:
747 build-timeout: '{build-timeout}'
748 jenkins-ssh-credential: '{jenkins-ssh-credential}'
749
Matteo Scandolo0430f672020-05-07 11:50:26 -0700750 # default values
Matteo Scandolo8ddc31b2021-02-26 08:48:36 -0800751 pipeline-script: 'voltha/master/voltha-scale-test.groovy'
Matteo Scandolo68776b72020-07-21 14:06:06 -0700752 release: master
753
Matteo Scandolo0430f672020-05-07 11:50:26 -0700754 bbsimImg: voltha/bbsim:master
755 rwCoreImg: voltha/voltha-rw-core:master
756 ofAgentImg: voltha/voltha-ofagent-go:master
757 openoltAdapterImg: voltha/voltha-openolt-adapter:master
758 openonuAdapterImg: voltha/voltha-openonu-adapter:master
Andrea Campanella28763082020-11-18 10:55:31 +0100759 openonuAdapterGoImg: voltha/voltha-openonu-adapter-go:master
Matteo Scandolo0430f672020-05-07 11:50:26 -0700760 onosImg: voltha/voltha-onos:master
761
762 bbsimChart: onf/bbsim
763 volthaChart: onf/voltha
764 openoltAdapterChart: onf/voltha-adapter-openolt
765 openonuAdapterChart: onf/voltha-adapter-openonu
Matteo Scandolo285a42b2020-09-23 11:29:11 -0700766 onosChart: onos/onos-classic
Matteo Scandolo06506102020-10-13 12:24:20 -0700767 radiusChart: onf/freeradius
Matteo Scandolo0430f672020-05-07 11:50:26 -0700768
Matteo Scandolo4b006ae2020-11-09 16:14:40 -0800769 volthaStacks: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700770 olts: 2
771 pons: 2
772 onus: 2
773 workflow: att
Matteo Scandolo35177dd2020-07-24 10:44:44 -0700774 withFlows: true
775 provisionSubscribers: true
Matteo Scandolo68776b72020-07-21 14:06:06 -0700776 withEapol: true
777 withDhcp: true
778 withIgmp: false
779 withLLDP: false
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700780 withMonitoring: false
Matteo Scandolo68776b72020-07-21 14:06:06 -0700781 withProfiling: false
782 withPcap: false
Matteo Scandolo9e8c2a32020-10-13 18:02:33 -0700783 withRadius: yes
Matteo Scandolo68776b72020-07-21 14:06:06 -0700784 openonuAdapterReplicas: 1
785 onosReplicas: 1
786 atomixReplicas: 0
Matteo Scandolo7d6695c2020-08-25 13:13:16 -0700787 kafkaReplicas: 1
788 etcdReplicas: 1
Matteo Scandolo68776b72020-07-21 14:06:06 -0700789 extraHelmFlags: ''
790 onosStatInterval: 5
Andrea Campanella15f22942021-04-08 17:24:21 +0200791 onosGroupInterval: 1
Andrea Campanella55f0f0e2021-04-15 18:50:54 +0200792 flowObjWorkerThreads: 12
Matteo Scandolo68776b72020-07-21 14:06:06 -0700793 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800794 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800795 kindVolthaChange: ''
Matteo Scandolo68776b72020-07-21 14:06:06 -0700796 inMemoryEtcdStorage: true
Matteo Scandoloa23f5c62020-07-29 20:07:29 -0700797 karafHome: 'apache-karaf-4.2.9'
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700798 logLevel: 'INFO'
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700799 dockerRegistry: 10.90.0.69:30500
Matteo Scandolo68776b72020-07-21 14:06:06 -0700800
Matteo Scandoloe931c1c2020-08-13 15:39:30 -0700801 <<: *voltha-scale-job-parameters
Andrea Campanellaa81c7dc2020-07-17 16:26:12 +0200802
Matteo Scandolo51b76302020-02-05 12:07:23 -0800803 project-type: pipeline
Matteo Scandolod48d95e2020-02-27 17:04:55 -0800804 concurrent: false
Matteo Scandolo51b76302020-02-05 12:07:23 -0800805
Matteo Scandoloe69614f2020-03-10 11:35:35 -0700806 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700807
Matteo Scandolo849db722020-10-21 10:58:41 -0700808 triggers:
809 - gerrit:
810 server-name: '{gerrit-server-name}'
811 silent-start: false
812 successful-message: "PASSED scale test"
813 failure-message: "FAILED scale test"
814 unstable-message: "UNSTABLE scale test"
815 trigger-on:
816 - comment-added-contains-event:
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700817 comment-contains-value: '.*test voltha scale.*'
Matteo Scandolo849db722020-10-21 10:58:41 -0700818 projects:
819 - project-compare-type: REG_EXP
Matteo Scandolo9cdacc52020-10-21 14:54:06 -0700820 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|ofagent-go|voltha-onos|bbsim)$'
Matteo Scandolo849db722020-10-21 10:58:41 -0700821 branches:
822 - branch-compare-type: REG_EXP
823 branch-pattern: '{all-branches-regexp}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700824- job-template:
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700825 id: 'voltha-scale-matrix'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700826 name: '{name}'
827 pipeline-script: 'voltha-scale-matrix.groovy'
828
829 description: |
830 <!-- Managed by Jenkins Job Builder -->
831 Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
832 Using pipeline {pipeline-script} <br/><br/>
833 Scale measurements for VOLTHA 2.x
834
835 properties:
836 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800837 build-days-to-keep: '{big-build-days-to-keep}'
838 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700839
840 wrappers:
841 - lf-infra-wrappers:
842 build-timeout: '{build-timeout}'
843 jenkins-ssh-credential: '{jenkins-ssh-credential}'
844
845 # default values
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800846 time-trigger: 0 0 29 2 *
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700847 release: master
848 build-node: 'voltha-scale'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700849 volthaSystemTestsChange: ''
Matteo Scandolo11311742021-01-25 13:56:22 -0800850 volthaHelmChartsChange: ''
Matteo Scandolo001003e2021-02-03 15:39:26 -0800851 kindVolthaChange: ''
Matteo Scandolo5fec8022020-08-27 17:29:35 -0700852 onosReplicas: 1
853 atomixReplicas: 0
854 kafkaReplicas: 1
855 etcdReplicas: 1
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800856 openonuAdapterReplicas: 1
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800857 topologies: 1-1-1, 1-2-2, 2-2-2
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700858
859 project-type: pipeline
860 concurrent: false
861
862 dsl: !include-raw-escape: pipeline/{pipeline-script}
Matteo Scandolodc930192020-08-27 15:56:16 -0700863
Matteo Scandoloc88d3132020-08-27 15:24:34 -0700864 parameters:
865 - string:
866 name: release
867 default: '{release}'
868 description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
869
870 - string:
871 name: buildNode
872 default: '{build-node}'
873 description: 'Name of the Jenkins node to run the job on'
Matteo Scandolo52749cb2020-08-27 16:33:13 -0700874
875 - string:
876 name: volthaSystemTestsChange
877 default: '{volthaSystemTestsChange}'
878 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
879
880 - string:
Matteo Scandolo11311742021-01-25 13:56:22 -0800881 name: volthaHelmChartsChange
882 default: '{volthaHelmChartsChange}'
883 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 -0700884
885 - string:
886 name: onosReplicas
887 default: '{onosReplicas}'
888 description: 'How many ONOSes instances to run'
889
890 - string:
891 name: atomixReplicas
892 default: '{atomixReplicas}'
893 description: 'How many Atomix instances to run'
894
895 - string:
896 name: kafkaReplicas
897 default: '{kafkaReplicas}'
898 description: 'How many Kafka instances to run'
899
900 - string:
901 name: etcdReplicas
902 default: '{etcdReplicas}'
903 description: 'How many ETCD instances to run'
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800904
905 - string:
Matteo Scandoloe5d41f62020-11-04 15:43:50 -0800906 name: openonuAdapterReplicas
907 default: '{openonuAdapterReplicas}'
908 description: 'How many OpenONU adapter instances to run'
909
910 - string:
Matteo Scandoloffc7f842020-11-04 13:43:21 -0800911 name: topologies
912 default: '{topologies}'
913 description: 'Topologies configuration, comma separate list of "olt-pon-onu" eg: "1-16-16, 1-16-32"'
914
915 triggers:
916 - timed: |
917 TZ=America/Los_Angeles
918 {time-trigger}