blob: b91b0b6555169e0c472fecb327ab122fd698970f [file] [log] [blame]
Kailash8b8de742019-07-30 08:54:51 -07001---
2# voltha 2.0 tests
3
4- project:
5 name: voltha-e2e
6
7 project-name: '{name}'
Zack Williams03ebb272020-03-27 09:42:33 -07008 manualBranch: ''
Suchitra Vemuri456b6b42020-11-10 19:06:22 -08009 olts: 1
Andrea Campanellaf3c32af2020-12-10 12:21:57 +010010 onus: 1
11 pons: 1
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080012 withAlarms: true
13 make-target-failtest: bbsim-failurescenarios
14 make-target-errortest: bbsim-errorscenarios
15 make-target-alarmtest: bbsim-alarms-kind
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -080016 make-target-multipleolt: bbsim-multiolt-kind
TorstenThieme669258d2021-01-29 09:03:10 +000017 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
18 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
TorstenThiemea6c21342021-05-05 09:21:59 +000019 make-target-reconciletest: reconcile-openonu-go-adapter-test-att
TorstenThieme45422612021-03-23 10:38:59 +000020 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
21 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
Kailash8b8de742019-07-30 08:54:51 -070022
23 jobs:
Matteo Scandoloa57b0972021-05-03 14:04:58 -070024 - 'voltha-periodic-test':
Hung-Wei Chiu5ec2edf2020-04-30 14:53:13 -070025 name: 'periodic-voltha-test-bbsim'
Hung-Wei Chiu5ec2edf2020-04-30 14:53:13 -070026 code-branch: 'master'
Hardik Windlass6d9a82e2021-07-08 16:23:21 +000027 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -080028 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -070029 testTargets: |
30 - target: functional-single-kind
31 workflow: att
32 flags: ""
33 teardown: true
34 - target: bbsim-alarms-kind
35 workflow: att
36 flags: ""
37 teardown: false
38 - target: bbsim-failurescenarios
39 workflow: att
40 flags: ""
41 teardown: false
42 - target: bbsim-errorscenarios
43 workflow: att
44 flags: ""
45 teardown: false
46
47 - 'voltha-periodic-test':
48 name: 'periodic-voltha-multiple-olts-test-bbsim'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080049 code-branch: 'master'
50 olts: 2
Andrea Campanella67850712021-06-04 08:13:08 +000051 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -080052 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -070053 testTargets: |
54 - target: functional-multi-olt
55 workflow: att
56 flags: ""
57 teardown: true
58 - target: bbsim-multiolt-failurescenarios
59 workflow: att
60 flags: ""
61 teardown: false
62 - target: bbsim-multiolt-errorscenarios
63 workflow: att
64 flags: ""
65 teardown: false
66 - target: bbsim-multiolt-kind
67 workflow: att
68 flags: ""
69 teardown: false
Andy Bavierf93f3142020-01-09 16:08:51 -070070
Hardik Windlass6598b032021-07-02 10:12:01 +000071 - 'voltha-periodic-test':
Hardik Windlass6d9a82e2021-07-08 16:23:21 +000072 name: 'periodic-voltha-test-bbsim-2.8'
73 pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
74 code-branch: 'voltha-2.8'
75 time-trigger: "H H/23 * * *"
76 testTargets: |
77 - target: functional-single-kind
78 workflow: att
79 flags: ""
80 teardown: true
81 - target: bbsim-alarms-kind
82 workflow: att
83 flags: ""
84 teardown: false
85 - target: bbsim-failurescenarios
86 workflow: att
87 flags: ""
88 teardown: false
89 - target: bbsim-errorscenarios
90 workflow: att
91 flags: ""
92 teardown: false
93
94 - 'voltha-periodic-test':
95 name: 'periodic-voltha-multiple-olts-test-bbsim-2.8'
96 pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
97 code-branch: 'voltha-2.8'
98 olts: 2
99 extraHelmFlags: '--set onu=2,pon=2'
100 time-trigger: "H H/23 * * *"
101 testTargets: |
102 - target: functional-multi-olt
103 workflow: att
104 flags: ""
105 teardown: true
106 - target: bbsim-multiolt-failurescenarios
107 workflow: att
108 flags: ""
109 teardown: false
110 - target: bbsim-multiolt-errorscenarios
111 workflow: att
112 flags: ""
113 teardown: false
114 - target: bbsim-multiolt-kind
115 workflow: att
116 flags: ""
117 teardown: false
118
119 - 'voltha-periodic-test':
Hardik Windlass6598b032021-07-02 10:12:01 +0000120 name: 'periodic-voltha-multi-uni-test-bbsim'
121 code-branch: 'master'
122 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set voltha-adapter-openonu.adapter_open_onu.uni_port_mask=0x00FF'
123 time-trigger: "H H/23 * * *"
124 testTargets: |
125 - target: functional-single-kind-multiuni-att
126 workflow: att
127 flags: ""
128 teardown: true
129 - target: bbsim-multiuni-failurescenarios-att
130 workflow: att
131 flags: ""
132 teardown: false
133 - target: bbsim-multiuni-errorscenarios-att
134 workflow: att
135 flags: ""
136 teardown: false
137
138 - 'voltha-periodic-test':
139 name: 'periodic-voltha-multi-uni-multiple-olts-test-bbsim'
140 code-branch: 'master'
141 olts: 2
142 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2 --set voltha-adapter-openonu.adapter_open_onu.uni_port_mask=0x00FF'
143 time-trigger: "H H/23 * * *"
144 testTargets: |
145 - target: functional-multiuni-multiolt-att
146 workflow: att
147 flags: ""
148 teardown: true
149 - target: bbsim-multiuni-multiolt-failurescenarios-att
150 workflow: att
151 flags: ""
152 teardown: false
153 - target: bbsim-multiuni-multiolt-errorscenarios-att
154 workflow: att
155 flags: ""
156 teardown: false
Hardik Windlass5de3d4b2021-07-19 07:35:43 +0000157 timeout: 180
Hardik Windlass6598b032021-07-02 10:12:01 +0000158
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000159 - 'voltha-periodic-test':
160 name: 'periodic-voltha-multi-uni-test-bbsim-2.8'
161 pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
162 code-branch: 'voltha-2.8'
163 extraHelmFlags: '--set voltha-adapter-openonu.adapter_open_onu.uni_port_mask=0x00FF'
164 time-trigger: "H H/23 * * *"
165 testTargets: |
166 - target: functional-single-kind-multiuni-att
167 workflow: att
168 flags: ""
169 teardown: true
170 - target: bbsim-multiuni-failurescenarios-att
171 workflow: att
172 flags: ""
173 teardown: false
174 - target: bbsim-multiuni-errorscenarios-att
175 workflow: att
176 flags: ""
177 teardown: false
178
179 - 'voltha-periodic-test':
180 name: 'periodic-voltha-multi-uni-multiple-olts-test-bbsim-2.8'
181 pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
182 code-branch: 'voltha-2.8'
Suchitra Vemuri95a73432020-12-16 13:17:48 -0800183 olts: 2
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000184 extraHelmFlags: '--set onu=2,pon=2 --set voltha-adapter-openonu.adapter_open_onu.uni_port_mask=0x00FF'
185 time-trigger: "H H/23 * * *"
186 testTargets: |
187 - target: functional-multiuni-multiolt-att
188 workflow: att
189 flags: ""
190 teardown: true
191 - target: bbsim-multiuni-multiolt-failurescenarios-att
192 workflow: att
193 flags: ""
194 teardown: false
195 - target: bbsim-multiuni-multiolt-errorscenarios-att
196 workflow: att
197 flags: ""
198 teardown: false
Hardik Windlass5de3d4b2021-07-19 07:35:43 +0000199 timeout: 180
Suchitra Vemuri95a73432020-12-16 13:17:48 -0800200
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700201 # openonu Go periodic tests
Suchitra Vemuri95a73432020-12-16 13:17:48 -0800202 - 'voltha-periodic-test':
TorstenThieme326e7972021-01-19 14:27:59 +0000203 name: 'periodic-voltha-openonu-go-test-bbsim'
TorstenThieme326e7972021-01-19 14:27:59 +0000204 code-branch: 'master'
Andrea Campanella67850712021-06-04 08:13:08 +0000205 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
TorstenThieme326e7972021-01-19 14:27:59 +0000206 time-trigger: "H H/12 * * *"
Hardik Windlass696002d2021-05-07 11:38:28 +0000207 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700208 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000209 - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700210 workflow: att
211 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700212 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700213 - target: 1t4gem-openonu-go-adapter-test
214 workflow: att
215 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700216 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700217 - target: 1t8gem-openonu-go-adapter-test
218 workflow: att
219 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700220 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700221 - target: mib-upload-templating-openonu-go-adapter-test
222 workflow: att
223 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700224 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000225 - target: reconcile-openonu-go-adapter-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700226 workflow: att
227 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700228 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700229 - target: reconcile-openonu-go-adapter-test-dt
230 workflow: dt
231 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700232 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700233 - target: reconcile-openonu-go-adapter-test-tt
234 workflow: tt
235 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700236 teardown: true
TorstenThieme39209882021-05-12 11:22:39 +0000237 - target: openonu-go-adapter-omci-hardening-passed-test
238 workflow: att
TorstenThieme49aec2b2021-07-16 11:32:04 +0000239 flags: "--set omci_response_rate=9 --set voltha-adapter-openonu.adapter_open_onu.omci_timeout=1s"
TorstenThieme39209882021-05-12 11:22:39 +0000240 teardown: true
241 - target: openonu-go-adapter-omci-hardening-failed-test
242 workflow: att
243 flags: "--set omci_response_rate=7"
244 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000245 - target: voltha-onu-omci-get-single-kind-att
246 workflow: att
247 flags: ""
248 teardown: true
249 - target: voltha-onu-omci-get-single-kind-dt
250 workflow: dt
251 flags: ""
252 teardown: true
253 - target: voltha-onu-omci-get-single-kind-tt
254 workflow: tt
255 flags: ""
256 teardown: true
TorstenThieme326e7972021-01-19 14:27:59 +0000257
258 - 'voltha-periodic-test':
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000259 name: 'periodic-voltha-openonu-go-test-bbsim-2.8'
260 pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
261 code-branch: 'voltha-2.8'
Hardik Windlass5de3d4b2021-07-19 07:35:43 +0000262 time-trigger: "H H/23 * * *"
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000263 logLevel: 'DEBUG'
264 testTargets: |
265 - target: 1t1gem-openonu-go-adapter-test
266 workflow: att
267 flags: ""
268 teardown: true
269 - target: 1t4gem-openonu-go-adapter-test
270 workflow: att
271 flags: ""
272 teardown: true
273 - target: 1t8gem-openonu-go-adapter-test
274 workflow: att
275 flags: ""
276 teardown: true
277 - target: mib-upload-templating-openonu-go-adapter-test
278 workflow: att
279 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
280 teardown: true
281 - target: reconcile-openonu-go-adapter-test-att
282 workflow: att
283 flags: ""
284 teardown: true
285 - target: reconcile-openonu-go-adapter-test-dt
286 workflow: dt
287 flags: ""
288 teardown: true
289 - target: reconcile-openonu-go-adapter-test-tt
290 workflow: tt
291 flags: ""
292 teardown: true
293 - target: openonu-go-adapter-omci-hardening-passed-test
294 workflow: att
TorstenThieme49aec2b2021-07-16 11:32:04 +0000295 flags: "--set omci_response_rate=9 --set voltha-adapter-openonu.adapter_open_onu.omci_timeout=1s"
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000296 teardown: true
297 - target: openonu-go-adapter-omci-hardening-failed-test
298 workflow: att
299 flags: "--set omci_response_rate=7"
300 teardown: true
301 - target: voltha-onu-omci-get-single-kind-att
302 workflow: att
303 flags: ""
304 teardown: true
305 - target: voltha-onu-omci-get-single-kind-dt
306 workflow: dt
307 flags: ""
308 teardown: true
309 - target: voltha-onu-omci-get-single-kind-tt
310 workflow: tt
311 flags: ""
312 teardown: true
313
314 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700315 name: 'patchset-voltha-openonu-go-test-bbsim'
Hardik Windlass8c3813b2021-05-07 08:13:37 +0000316 trigger-comment: "voltha test openonu singleolt"
Matteo Scandolo075740f2021-04-22 14:52:29 -0700317 code-branch: '$GERRIT_BRANCH'
Andrea Campanella67850712021-06-04 08:13:08 +0000318 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700319 gerrit-project: '$GERRIT_PROJECT'
320 gerritRefspec: '$GERRIT_REFSPEC'
Hardik Windlass696002d2021-05-07 11:38:28 +0000321 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700322 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000323 - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700324 workflow: att
325 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700326 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700327 - target: 1t4gem-openonu-go-adapter-test
328 workflow: att
329 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700330 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700331 - target: 1t8gem-openonu-go-adapter-test
332 workflow: att
333 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700334 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700335 - target: mib-upload-templating-openonu-go-adapter-test
336 workflow: att
337 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700338 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000339 - target: reconcile-openonu-go-adapter-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700340 workflow: att
341 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700342 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700343 - target: reconcile-openonu-go-adapter-test-dt
344 workflow: dt
345 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700346 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700347 - target: reconcile-openonu-go-adapter-test-tt
348 workflow: tt
349 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700350 teardown: true
TorstenThieme39209882021-05-12 11:22:39 +0000351 - target: openonu-go-adapter-omci-hardening-passed-test
352 workflow: att
TorstenThieme49aec2b2021-07-16 11:32:04 +0000353 flags: "--set omci_response_rate=9 --set voltha-adapter-openonu.adapter_open_onu.omci_timeout=1s"
TorstenThieme39209882021-05-12 11:22:39 +0000354 teardown: true
355 - target: openonu-go-adapter-omci-hardening-failed-test
356 workflow: att
357 flags: "--set omci_response_rate=7"
358 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000359 - target: voltha-onu-omci-get-single-kind-att
360 workflow: att
361 flags: ""
362 teardown: true
363 - target: voltha-onu-omci-get-single-kind-dt
364 workflow: dt
365 flags: ""
366 teardown: true
367 - target: voltha-onu-omci-get-single-kind-tt
368 workflow: tt
369 flags: ""
370 teardown: true
Matteo Scandolo075740f2021-04-22 14:52:29 -0700371
Hardik Windlass46d61132021-03-30 16:42:07 +0530372 - 'voltha-periodic-test':
TorstenThieme669258d2021-01-29 09:03:10 +0000373 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700374 code-branch: 'master'
Andrea Campanella67850712021-06-04 08:13:08 +0000375 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700376 olts: 2
Hardik Windlass696002d2021-05-07 11:38:28 +0000377 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700378 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000379 - target: 1t1gem-openonu-go-adapter-multi-olt-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700380 workflow: att
381 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700382 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700383 - target: 1t4gem-openonu-go-adapter-multi-olt-test
384 workflow: att
385 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700386 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700387 - target: 1t8gem-openonu-go-adapter-multi-olt-test
388 workflow: att
389 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700390 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000391 - target: reconcile-openonu-go-adapter-multi-olt-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700392 workflow: att
393 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700394 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700395 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
396 workflow: dt
397 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700398 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700399 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
400 workflow: tt
401 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700402 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000403 - target: voltha-onu-omci-get-multiolt-kind-att
404 workflow: att
405 flags: ""
406 teardown: true
407 - target: voltha-onu-omci-get-multiolt-kind-dt
408 workflow: dt
409 flags: ""
410 teardown: true
411 - target: voltha-onu-omci-get-multiolt-kind-tt
412 workflow: tt
413 flags: ""
414 teardown: true
TorstenThieme669258d2021-01-29 09:03:10 +0000415 time-trigger: "H H/12 * * *"
416
417 - 'voltha-periodic-test':
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000418 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim-2.8'
419 pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
420 code-branch: 'voltha-2.8'
421 extraHelmFlags: '--set onu=2,pon=2'
422 olts: 2
423 logLevel: 'DEBUG'
424 testTargets: |
425 - target: 1t1gem-openonu-go-adapter-multi-olt-test
426 workflow: att
427 flags: ""
428 teardown: true
429 - target: 1t4gem-openonu-go-adapter-multi-olt-test
430 workflow: att
431 flags: ""
432 teardown: true
433 - target: 1t8gem-openonu-go-adapter-multi-olt-test
434 workflow: att
435 flags: ""
436 teardown: true
437 - target: reconcile-openonu-go-adapter-multi-olt-test-att
438 workflow: att
439 flags: ""
440 teardown: true
441 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
442 workflow: dt
443 flags: ""
444 teardown: true
445 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
446 workflow: tt
447 flags: ""
448 teardown: true
449 - target: voltha-onu-omci-get-multiolt-kind-att
450 workflow: att
451 flags: ""
452 teardown: true
453 - target: voltha-onu-omci-get-multiolt-kind-dt
454 workflow: dt
455 flags: ""
456 teardown: true
457 - target: voltha-onu-omci-get-multiolt-kind-tt
458 workflow: tt
459 flags: ""
460 teardown: true
Hardik Windlass5de3d4b2021-07-19 07:35:43 +0000461 time-trigger: "H H/23 * * *"
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000462
463 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700464 name: 'patchset-voltha-multiple-olts-openonu-go-test-bbsim'
465 trigger-comment: "voltha test openonu multiolt"
466 code-branch: '$GERRIT_BRANCH'
Hardik Windlass696002d2021-05-07 11:38:28 +0000467 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700468 gerrit-project: '$GERRIT_PROJECT'
469 gerritRefspec: '$GERRIT_REFSPEC'
Hardik Windlass696002d2021-05-07 11:38:28 +0000470 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700471 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000472 - target: 1t1gem-openonu-go-adapter-multi-olt-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700473 workflow: att
474 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700475 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700476 - target: 1t4gem-openonu-go-adapter-multi-olt-test
477 workflow: att
478 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700479 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700480 - target: 1t8gem-openonu-go-adapter-multi-olt-test
481 workflow: att
482 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700483 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000484 - target: reconcile-openonu-go-adapter-multi-olt-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700485 workflow: att
486 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700487 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700488 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
489 workflow: dt
490 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700491 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700492 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
493 workflow: tt
494 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700495 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000496 - target: voltha-onu-omci-get-multiolt-kind-att
497 workflow: att
498 flags: ""
499 teardown: true
500 - target: voltha-onu-omci-get-multiolt-kind-dt
501 workflow: dt
502 flags: ""
503 teardown: true
504 - target: voltha-onu-omci-get-multiolt-kind-tt
505 workflow: tt
506 flags: ""
507 teardown: true
Matteo Scandolo075740f2021-04-22 14:52:29 -0700508 olts: 2
Matteo Scandolo075740f2021-04-22 14:52:29 -0700509
TorstenThieme869ba322021-05-05 12:11:42 +0000510 - 'voltha-periodic-test':
511 name: 'periodic-voltha-pm-data-test-bbsim'
512 code-branch: 'master'
Andrea Campanella67850712021-06-04 08:13:08 +0000513 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set kafka.externalAccess.enabled=true,kafka.externalAccess.service.type=NodePort,kafka.externalAccess.service.nodePorts[0]=30201,kafka.externalAccess.service.domain=127.0.0.1'
TorstenThieme869ba322021-05-05 12:11:42 +0000514 time-trigger: "H H/23 * * *"
515 logLevel: 'DEBUG'
516 testTargets: |
517 - target: voltha-pm-data-single-kind-att
518 workflow: att
519 flags: ""
520 teardown: true
521 - target: voltha-pm-data-single-kind-dt
522 workflow: dt
523 flags: ""
524 teardown: true
525 - target: voltha-pm-data-single-kind-tt
526 workflow: tt
527 flags: ""
528 teardown: true
529 timeout: 140
530
531 - 'voltha-periodic-test':
532 name: 'patchset-voltha-pm-data-test-bbsim'
533 trigger-comment: "voltha test pm data singleolt"
TorstenThieme6877ab12021-05-26 13:28:54 +0000534 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set kafka.externalAccess.enabled=true,kafka.externalAccess.service.type=NodePort,kafka.externalAccess.service.nodePorts[0]=30201,kafka.externalAccess.service.domain=127.0.0.1'
TorstenThieme869ba322021-05-05 12:11:42 +0000535 code-branch: '$GERRIT_BRANCH'
536 gerrit-project: '$GERRIT_PROJECT'
537 gerritRefspec: '$GERRIT_REFSPEC'
538 logLevel: 'DEBUG'
539 testTargets: |
540 - target: voltha-pm-data-single-kind-att
541 workflow: att
542 flags: ""
543 teardown: true
544 - target: voltha-pm-data-single-kind-dt
545 workflow: dt
546 flags: ""
547 teardown: true
548 - target: voltha-pm-data-single-kind-tt
549 workflow: tt
550 flags: ""
551 teardown: true
552 timeout: 140
553
554 - 'voltha-periodic-test':
555 name: 'periodic-voltha-multiple-olts-pm-data-test-bbsim'
556 code-branch: 'master'
TorstenThieme6877ab12021-05-26 13:28:54 +0000557 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2 --set kafka.externalAccess.enabled=true,kafka.externalAccess.service.type=NodePort,kafka.externalAccess.service.nodePorts[0]=30201,kafka.externalAccess.service.domain=127.0.0.1'
TorstenThieme869ba322021-05-05 12:11:42 +0000558 olts: 2
559 timeout: 180
560 logLevel: 'DEBUG'
561 testTargets: |
562 - target: voltha-pm-data-multiolt-kind-att
563 workflow: att
564 flags: ""
565 teardown: true
566 - target: voltha-pm-data-multiolt-kind-dt
567 workflow: dt
568 flags: ""
569 teardown: true
570 - target: voltha-pm-data-multiolt-kind-tt
571 workflow: tt
572 flags: ""
573 teardown: true
574 time-trigger: "H H/23 * * *"
575
576 - 'voltha-periodic-test':
577 name: 'patchset-voltha-multiple-olts-pm-data-test-bbsim'
578 trigger-comment: "voltha test pm data multiolt"
579 code-branch: '$GERRIT_BRANCH'
TorstenThieme6877ab12021-05-26 13:28:54 +0000580 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2 --set kafka.externalAccess.enabled=true,kafka.externalAccess.service.type=NodePort,kafka.externalAccess.service.nodePorts[0]=30201,kafka.externalAccess.service.domain=127.0.0.1'
TorstenThieme869ba322021-05-05 12:11:42 +0000581 gerrit-project: '$GERRIT_PROJECT'
582 gerritRefspec: '$GERRIT_REFSPEC'
583 logLevel: 'DEBUG'
584 testTargets: |
585 - target: voltha-pm-data-multiolt-kind-att
586 workflow: att
587 flags: ""
588 teardown: true
589 - target: voltha-pm-data-multiolt-kind-dt
590 workflow: dt
591 flags: ""
592 teardown: true
593 - target: voltha-pm-data-multiolt-kind-tt
594 workflow: tt
595 flags: ""
596 teardown: true
597 olts: 2
598 timeout: 180
599
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700600 - 'voltha-periodic-test':
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100601 name: 'periodic-voltha-test-DMI'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700602 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100603 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800604 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700605 testTargets: |
606 - target: bbsim-dmi-hw-management-test
607 workflow: att
608 flags: ""
609 teardown: true
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100610
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000611 - 'voltha-periodic-test':
612 name: 'periodic-voltha-test-DMI-2.8'
613 pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
614 code-branch: 'voltha-2.8'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800615 time-trigger: "H H/23 * * *"
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000616 testTargets: |
617 - target: bbsim-dmi-hw-management-test
618 workflow: att
619 flags: ""
620 teardown: true
Andy Bavier10926f12020-03-27 16:53:43 -0700621
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700622 - 'voltha-periodic-test':
Andy Bavier4be37062020-06-29 15:17:26 -0700623 name: 'periodic-voltha-etcd-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700624 build-node: 'ubuntu18.04-basebuild-4c-8g'
hwchiuc9189b72019-12-02 15:12:29 -0800625 code-branch: 'master'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700626 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
hwchiufdc49242019-11-18 16:37:22 -0800627 time-trigger: "H H/12 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700628 testTargets: |
629 - target: sanity-multi-kind
630 workflow: att
631 flags: ""
632 teardown: true
hwchiufdc49242019-11-18 16:37:22 -0800633
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000634 - 'voltha-periodic-test':
635 name: 'periodic-voltha-etcd-test-2.8'
636 pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700637 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000638 code-branch: 'voltha-2.8'
639 extraHelmFlags: '--set onu=2,pon=2'
Hardik Windlass5de3d4b2021-07-19 07:35:43 +0000640 time-trigger: "H H/23 * * *"
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000641 testTargets: |
642 - target: sanity-multi-kind
643 workflow: att
644 flags: ""
645 teardown: true
Andy Bavier10926f12020-03-27 16:53:43 -0700646
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700647 - 'voltha-periodic-test':
Andy Bavier3708d072019-12-10 15:22:18 -0700648 name: 'periodic-voltha-sanity-test-multi-runs'
Andy Bavier3708d072019-12-10 15:22:18 -0700649 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800650 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700651 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
652 testTargets: |
653 - target: sanity-kind
654 workflow: att
655 flags: ""
656 teardown: true
657 - target: sanity-kind
658 workflow: att
659 flags: ""
660 teardown: false
661 - target: sanity-kind
662 workflow: att
663 flags: ""
664 teardown: false
665 - target: sanity-kind
666 workflow: att
667 flags: ""
668 teardown: false
669 - target: sanity-kind
670 workflow: att
671 flags: ""
672 teardown: false
Andy Bavier10926f12020-03-27 16:53:43 -0700673
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000674 - 'voltha-periodic-test':
675 name: 'periodic-voltha-sanity-test-multi-runs-2.8'
676 pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
677 code-branch: 'voltha-2.8'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800678 time-trigger: "H H/23 * * *"
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000679 testTargets: |
680 - target: sanity-kind
681 workflow: att
682 flags: ""
683 teardown: true
684 - target: sanity-kind
685 workflow: att
686 flags: ""
687 teardown: false
688 - target: sanity-kind
689 workflow: att
690 flags: ""
691 teardown: false
692 - target: sanity-kind
693 workflow: att
694 flags: ""
695 teardown: false
696 - target: sanity-kind
697 workflow: att
698 flags: ""
699 teardown: false
Andy Bavier10926f12020-03-27 16:53:43 -0700700
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700701 - 'voltha-periodic-test':
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700702 name: 'nightly-voltha-DTflow-sanity-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700703 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700704 code-branch: 'master'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700705 time-trigger: "@daily"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700706 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
707 testTargets: |
708 - target: sanity-kind-dt
709 workflow: dt
710 flags: ""
711 teardown: true
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700712
Matteo Scandolob6d80732021-05-05 14:06:42 -0700713 # ATT Per-patchset Pod builds on Tucson pod (master)
Andy Bavier51ba7e82019-12-17 11:01:01 -0700714 - 'verify_physical_voltha_patchset_auto':
715 name: 'verify_physical_voltha_patchset_auto'
Andrea Campanella1198cd52021-06-14 16:17:25 +0200716 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set global.log_level=debug'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700717 workflow: 'att'
Matteo Scandoloec3ec8e2021-05-27 13:03:00 -0700718 branch-pattern: master
Andy Bavier51ba7e82019-12-17 11:01:01 -0700719
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000720
721 # ATT Per-patchset Pod builds on Tucson pod (voltha-2.8)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700722 - 'verify_physical_voltha_patchset_auto':
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000723 name: 'verify_physical_voltha_patchset_auto-2.8'
724 pipeline-script: 'voltha/voltha-2.8/tucson-build-and-test.groovy'
725 extraHelmFlags: '--set global.log_level=debug'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700726 workflow: 'att'
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000727 branch-pattern: voltha-2.8
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700728
Matteo Scandolob6d80732021-05-05 14:06:42 -0700729 # ATT Manual Pod builds on Tucson pod (master)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700730 - 'verify_physical_voltha_patchset_manual':
731 name: 'verify_physical_voltha_patchset_manual'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700732 trigger-string: 'hardware test'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700733 branch-pattern: master
Andrea Campanella1198cd52021-06-14 16:17:25 +0200734 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set global.log_level=debug'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700735 workflow: 'att'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700736
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000737 # ATT Manual Pod builds on Tucson pod (voltha-2.8)
Matteo Scandolob6d80732021-05-05 14:06:42 -0700738 - 'verify_physical_voltha_patchset_manual':
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000739 name: 'verify_physical_voltha_patchset_manual-2.8'
740 pipeline-script: 'voltha/voltha-2.8/tucson-build-and-test.groovy'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700741 trigger-string: 'hardware test'
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000742 branch-pattern: voltha-2.8
743 extraHelmFlags: '--set global.log_level=debug'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700744 workflow: 'att'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700745
Matteo Scandolob6d80732021-05-05 14:06:42 -0700746 # DT Manual Pod builds on Tucson pod (master)
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700747 - 'verify_physical_voltha_patchset_manual':
748 name: 'verify_physical_voltha_patchset_manual_DT'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700749 workflow: 'dt'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700750 trigger-string: 'DT hardware test'
751 default-test-args: '-i sanityDt -i PowerSwitch -X'
752 branch-pattern: master
Andrea Campanella1198cd52021-06-14 16:17:25 +0200753 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set global.log_level=debug'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700754
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000755 # DT Manual Pod builds on Tucson pod (voltha-2.8)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700756 - 'verify_physical_voltha_patchset_manual':
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000757 name: 'verify_physical_voltha_patchset_manual_DT-2.8'
758 pipeline-script: 'voltha/voltha-2.8/tucson-build-and-test.groovy'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700759 workflow: 'dt'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700760 trigger-string: 'DT hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800761 default-test-args: '-i sanityDt -i PowerSwitch -X'
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000762 branch-pattern: voltha-2.8
763 extraHelmFlags: '--set global.log_level=debug'
Andy Bavier19c98a22019-11-11 13:57:11 -0700764
Kailash8b8de742019-07-30 08:54:51 -0700765- job-template:
Kailashaad71012019-08-27 10:36:53 -0700766 id: 'voltha-periodic-test'
767 name: '{name}'
Hardik Windlassec9341b2021-06-07 11:58:29 +0000768 pipeline-script: 'voltha/master/bbsim-tests.groovy'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700769 build-node: 'ubuntu18.04-basebuild-8c-15g'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700770 robot-args: ''
771 gerrit-project: ''
772 gerritRefspec: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700773 volthaSystemTestsChange: ''
774 volthaHelmChartsChange: ''
775 extraHelmFlags: ''
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700776 registry: mirror.registry.opennetworking.org
Matteo Scandolo075740f2021-04-22 14:52:29 -0700777 sandbox: true
778 olts: 1
TorstenThieme869ba322021-05-05 12:11:42 +0000779 timeout: 130
Hardik Windlass696002d2021-05-07 11:38:28 +0000780 logLevel: 'INFO'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700781
Matteo Scandolo075740f2021-04-22 14:52:29 -0700782 trigger-comment: vv7CBoQQYYonvaN8xcru
783 time-trigger: 0 0 29 2 *
784
785 description: |
786 <!-- Managed by Jenkins Job Builder -->
787 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
788 E2E Validation for Voltha 2.X
789
790 properties:
791 - cord-infra-properties:
792 build-days-to-keep: '{big-build-days-to-keep}'
793 artifact-num-to-keep: '{big-artifact-num-to-keep}'
794
795 wrappers:
796 - lf-infra-wrappers:
797 build-timeout: '{build-timeout}'
798 jenkins-ssh-credential: '{jenkins-ssh-credential}'
799
800 parameters:
801 - string:
802 name: buildNode
803 default: '{build-node}'
804 description: 'Name of the Jenkins node to run the job on'
805
806 - string:
807 name: extraHelmFlags
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700808 default: '{extraHelmFlags}'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700809 description: 'Helm flags (passed to each deployment)'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700810
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700811 # test configuration
812 # this is a parameter to drive the test execution, VOLTHA is redeployed each time with
813 # the provided configuration and then the make target is invoked,
814 # example value (has to be valid YAML):
815 # testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000816 # - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700817 # workflow: att
818 # flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700819 # teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700820 - text:
821 name: testTargets
822 default: '{testTargets}'
823 description: 'Test configuration, see the ci-management job definition for more info'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700824
825 - string:
826 name: branch
827 default: '{code-branch}'
828 description: 'Repo manifest branch for code checkout'
829
830 - string:
831 name: gerritProject
832 default: '{gerrit-project}'
833 description: 'Name of the Gerrit project'
834
835 - string:
836 name: gerritRefspec
837 default: ''
838 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
839
840 - string:
841 name: extraRobotArgs
842 default: '{robot-args}'
843 description: 'Arguments to pass to robot'
844
845 - string:
846 name: volthaSystemTestsChange
847 default: '{volthaSystemTestsChange}'
848 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
849
850 - string:
851 name: volthaHelmChartsChange
852 default: '{volthaHelmChartsChange}'
853 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
854
855 - string:
856 name: olts
857 default: '{olts}'
858 description: 'How many BBSim instances to run'
859
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700860 - string:
861 name: registry
862 default: '{registry}'
863 description: 'Which registry to use (amazon vs menlo)'
864
Hardik Windlass696002d2021-05-07 11:38:28 +0000865 - string:
866 name: logLevel
867 default: '{logLevel}'
868 description: 'Log level for all the components'
869
TorstenThieme869ba322021-05-05 12:11:42 +0000870 - string:
871 name: timeout
872 default: '{timeout}'
873 description: 'Timeout of pipeline job [minutes]'
874
Matteo Scandolo075740f2021-04-22 14:52:29 -0700875 project-type: pipeline
876 concurrent: true
877
878 dsl: !include-raw-escape: pipeline/{pipeline-script}
879
880 triggers:
881 # patchset jobs will set this to "0 0 29 2 *" (feb 29th, it's once every 4 years)
882 - timed: |
883 TZ=America/Los_Angeles
884 {time-trigger}
885 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
886 - gerrit:
887 server-name: '{gerrit-server-name}'
888 silent-start: false
889 successful-message: "PASSED openonu-go test"
890 failure-message: "FAILED openonu-go test"
891 unstable-message: "UNSTABLE openonu-go test"
892 trigger-on:
893 - comment-added-contains-event:
894 comment-contains-value: '.*{trigger-comment}.*'
895 projects:
896 - project-compare-type: REG_EXP
897 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter-go|ofagent-go|voltha-onos|bbsim)$'
898 branches:
899 - branch-compare-type: REG_EXP
900 branch-pattern: '{all-branches-regexp}'
901
902- job-template:
Kailashaad71012019-08-27 10:36:53 -0700903 id: 'voltha-patch-test'
Matteo Scandolo84e5f002020-02-10 11:50:05 -0800904 name: 'verify_{project}_sanity-test{name-extension}'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700905 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hardik Windlassec9341b2021-06-07 11:58:29 +0000906 pipeline-script: 'voltha/master/bbsim-tests.groovy'
Andy Bavier4318f8d2020-04-09 13:50:53 -0700907 override-branch: '$GERRIT_BRANCH'
Andy Bavier02b00dc2020-04-28 13:01:12 -0700908 sandbox: true
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800909 build-timeout: 20
Hardik Windlassfbf296b2021-06-08 07:36:51 +0000910 timeout: 50
911 olts: 1
912 registry: mirror.registry.opennetworking.org
913 logLevel: 'INFO'
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700914 volthaSystemTestsChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800915 volthaHelmChartsChange: ''
Matteo Scandolocecb0842021-05-04 13:16:47 -0700916 extraHelmFlags: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800917 branch-regexp: '{all-branches-regexp}'
Hardik Windlassec9341b2021-06-07 11:58:29 +0000918 testTargets: |
919 - target: sanity-kind-att
920 workflow: att
921 flags: ""
922 teardown: true
923 - target: sanity-kind-dt
924 workflow: dt
925 flags: ""
926 teardown: true
927 - target: sanity-kind-tt
928 workflow: tt
929 flags: ""
930 teardown: true
Kailashaad71012019-08-27 10:36:53 -0700931
932 description: |
933 <!-- Managed by Jenkins Job Builder -->
934 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
935 E2E Validation for Voltha 2.X
936
937 properties:
938 - cord-infra-properties:
939 build-days-to-keep: '{build-days-to-keep}'
940 artifact-num-to-keep: '{artifact-num-to-keep}'
941
942 wrappers:
943 - lf-infra-wrappers:
944 build-timeout: '{build-timeout}'
945 jenkins-ssh-credential: '{jenkins-ssh-credential}'
946
947 parameters:
948 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700949 name: buildNode
Andrea Campanella4792b7f2021-04-23 15:06:42 +0200950 default: '{build-node}'
Kailashaad71012019-08-27 10:36:53 -0700951 description: 'Name of the Jenkins node to run the job on'
952
953 - string:
hwchiu14f97852019-10-08 10:51:11 -0700954 name: gerritProject
955 default: '$GERRIT_PROJECT'
956 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700957
958 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700959 name: gerritRefspec
960 default: '$GERRIT_REFSPEC'
961 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
Kailashaad71012019-08-27 10:36:53 -0700962
963 - string:
Andy Bavierbedd0392019-10-16 13:58:18 -0700964 name: extraHelmFlags
Matteo Scandolocecb0842021-05-04 13:16:47 -0700965 default: '{extraHelmFlags}'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700966 description: 'Helm flags to pass to every helm command'
Andy Bavierbedd0392019-10-16 13:58:18 -0700967
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700968 - string:
969 name: volthaSystemTestsChange
970 default: '{volthaSystemTestsChange}'
971 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
972
973 - string:
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800974 name: volthaHelmChartsChange
975 default: '{volthaHelmChartsChange}'
976 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
977
978 - string:
979 name: branch
980 default: '{override-branch}'
981 description: 'Name of the branch to use'
982
Hardik Windlassec9341b2021-06-07 11:58:29 +0000983 # test configuration
984 # this is a parameter to drive the test execution, VOLTHA is redeployed each time with
985 # the provided configuration and then the make target is invoked,
986 # example value (has to be valid YAML):
987 # testTargets: |
988 # - target: 1t1gem-openonu-go-adapter-test
989 # workflow: att
990 # flags: ""
991 # teardown: true
992 - text:
993 name: testTargets
994 default: '{testTargets}'
995 description: 'Test configuration, see the ci-management job definition for more info'
996
Hardik Windlassfbf296b2021-06-08 07:36:51 +0000997 - string:
998 name: timeout
999 default: '{timeout}'
1000 description: 'Timeout of pipeline job [minutes]'
1001
1002 - string:
1003 name: olts
1004 default: '{olts}'
1005 description: 'How many BBSim instances to run'
1006
1007 - string:
1008 name: registry
1009 default: '{registry}'
1010 description: 'Which registry to use (amazon vs menlo)'
1011
1012 - string:
1013 name: logLevel
1014 default: '{logLevel}'
1015 description: 'Log level for all the components'
1016
Kailashaad71012019-08-27 10:36:53 -07001017 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -07001018 concurrent: true
Kailashaad71012019-08-27 10:36:53 -07001019
Zack Williamsb3292082019-10-11 17:15:18 -07001020 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -07001021
1022 triggers:
Andy Bavierb99c3d32020-02-18 11:14:17 -07001023 - gerrit:
1024 server-name: '{gerrit-server-name}'
Kailashaad71012019-08-27 10:36:53 -07001025 dependency-jobs: '{dependency-jobs}'
Andy Bavierb99c3d32020-02-18 11:14:17 -07001026 silent-start: true
1027 trigger-on:
1028 - patchset-created-event:
1029 exclude-drafts: true
1030 exclude-trivial-rebase: false
1031 exclude-no-code-change: true
1032 - draft-published-event
1033 - comment-added-contains-event:
1034 comment-contains-value: '(?i)^.*recheck$'
1035 projects:
1036 - project-compare-type: REG_EXP
1037 project-pattern: '^{project}$'
1038 branches:
1039 - branch-compare-type: REG_EXP
Matteo Scandolo42f6e572021-01-25 15:11:34 -08001040 branch-pattern: '{branch-regexp}'
Andy Bavierb99c3d32020-02-18 11:14:17 -07001041 file-paths:
1042 - compare-type: REG_EXP
1043 pattern: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001044
1045# POD Per Patchset Pipeline Jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001046# to use these parameters in a job: `<<: *voltha-physical-patchset-parameters`
1047- voltha-physical-patchset-parameters: &voltha-physical-patchset-parameters
1048 name: voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -07001049 parameters:
1050 - string:
1051 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -07001052 default: '{build-node}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001053 description: 'Pod management node'
1054
1055 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001056 name: branch
1057 default: '$GERRIT_BRANCH'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001058 description: 'Name of the repo branch to use'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001059
1060 - string:
1061 name: gerritProject
1062 default: '$GERRIT_PROJECT'
1063 description: 'Name of the Gerrit project'
1064
1065 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -07001066 name: gerritRefspec
1067 default: '$GERRIT_REFSPEC'
1068 description: 'RefSpec number in Gerrit'
1069
1070 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001071 name: gerritComment
1072 default: '$GERRIT_EVENT_COMMENT_TEXT'
1073 description: 'RefSpec number in Gerrit'
1074
1075 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001076 name: cordRepoUrl
1077 default: '{gerrit-server-url}'
1078 description: 'The URL of the CORD Project repository'
1079
1080 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001081 name: configBaseDir
1082 default: 'pod-configs'
1083 description: 'The directory inside the POD configs repository'
1084
1085 - string:
1086 name: configDeploymentDir
1087 default: 'deployment-configs'
1088 description: 'The deployment configs folder'
1089
1090 - string:
1091 name: configKubernetesDir
1092 default: 'kubernetes-configs'
1093 description: 'The kubernetes config folder'
1094
1095 - string:
1096 name: configFileName
1097 default: '{config-pod}'
1098 description: 'The config file'
1099
1100 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001101 name: podName
1102 default: '{config-pod}'
1103
1104 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001105 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -07001106 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001107 description: 'Path of SADIS config to load'
1108
1109 - string:
Andy Bavier893d2442020-05-21 12:41:17 -07001110 name: oltDebVersionMaster
1111 default: '{oltDebVersionMaster}'
1112 description: 'OLT Software version to install for master branch builds'
1113
1114 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001115 name: oltDebVersionVoltha23
Andy Bavier893d2442020-05-21 12:41:17 -07001116 default: '{oltDebVersionVoltha23}'
1117 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001118
1119 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001120 name: profile
1121 default: '{profile}'
1122 description: 'Technology Profile pushed to the ETCD'
1123
Andy Bavier51ba7e82019-12-17 11:01:01 -07001124 - bool:
1125 name: reinstallOlt
1126 default: true
1127 description: "Re-install OLT software"
1128
Zack Williams03ebb272020-03-27 09:42:33 -07001129 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001130 name: extraRobotArgs
1131 default: '{default-test-args}'
1132 description: 'Arguments to pass to robot'
1133
1134 - string:
1135 name: volthaSystemTestsChange
1136 default: '{volthaSystemTestsChange}'
1137 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
1138
1139 - string:
1140 name: volthaHelmChartsChange
1141 default: '{volthaHelmChartsChange}'
1142 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
1143
1144 - string:
1145 name: workflow
1146 default: '{workflow}'
1147 description: 'Installs and uses the specified work flow on the POD'
1148
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001149 - string:
1150 name: extraHelmFlags
1151 default: '{extraHelmFlags}'
1152 description: 'Helm flags (passed to each helm command)'
1153
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001154 # deprecated parameters, remove after VOLTHA-2.8 is released
1155 - string:
1156 name: deploymentConfigFile
1157 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
1158 description: 'Path of deployment config file'
1159
1160 - string:
1161 name: kindVolthaValuesFile
1162 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
1163 description: 'Path of kind-voltha values override file'
1164
1165 - string:
1166 name: manifestUrl
1167 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
1168 description: 'URL to the repo manifest'
1169
1170 - string:
1171 name: gerritChangeNumber
1172 default: '$GERRIT_CHANGE_NUMBER'
1173 description: 'Changeset number in Gerrit'
1174
1175 - string:
1176 name: gerritPatchsetNumber
1177 default: '$GERRIT_PATCHSET_NUMBER'
1178 description: 'PatchSet number in Gerrit'
1179
1180 - string:
1181 name: localConfigDir
1182 default: null
1183 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
1184
1185 - string:
1186 name: configRepo
1187 default: 'pod-configs'
1188 description: 'A repository containing the config files, will be checked out if specified'
1189
1190 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001191 name: manualBranch
1192 default: '{manualBranch}'
1193 description: "If a non-empty string, build manually as a specific branch, not with a specific patchset"
Andy Bavier51ba7e82019-12-17 11:01:01 -07001194
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001195- job-template:
1196 name: '{name}'
1197 id: verify_physical_voltha_patchset_auto
1198 description: |
1199 <!-- Managed by Jenkins Job Builder -->
1200 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
1201 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
1202 Created by Andy Bavier, andy@opennetworking.org <br />
1203 Copyright (c) 2019 Open Networking Foundation (ONF)
1204 sandbox: true
1205 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Matteo Scandolob6d80732021-05-05 14:06:42 -07001206 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001207 build-node: 'tucson-pod'
1208 config-pod: 'tucson-pod'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001209 profile: 'Default'
Girish Gowdra7ca29da2021-06-23 15:34:09 -07001210 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001211 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
1212 volthaSystemTestsChange: ''
1213 volthaHelmChartsChange: ''
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001214 extraHelmFlags: ''
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001215
1216 properties:
1217 - cord-infra-properties:
1218 build-days-to-keep: '{build-days-to-keep}'
1219 artifact-num-to-keep: '{artifact-num-to-keep}'
1220
1221 <<: *voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -07001222
1223 project-type: pipeline
1224 concurrent: true
1225
1226 dsl: !include-raw-escape: pipeline/{pipeline-script}
1227
1228 triggers:
1229 - gerrit:
1230 server-name: '{gerrit-server-name}'
1231 dependency-jobs: '{dependency-jobs}'
1232 silent-start: false
1233 successful-message: "PASSED hardware test"
1234 failure-message: "FAILED hardware test"
1235 unstable-message: "UNSTABLE hardware test"
1236 trigger-on:
1237 - comment-added-event:
1238 approval-category: 'Code-Review'
1239 approval-value: '+2'
1240 projects:
1241 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001242 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-go)$'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001243 branches:
Andy Bavier37f6ea92020-04-03 11:13:35 -07001244 - branch-compare-type: REG_EXP
Matteo Scandoloec3ec8e2021-05-27 13:03:00 -07001245 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001246
Andy Bavier51ba7e82019-12-17 11:01:01 -07001247- job-template:
1248 name: '{name}'
1249 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001250 description: |
1251 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001252 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -07001253 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001254 Created by Andy Bavier, andy@opennetworking.org <br />
1255 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001256 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001257 build-node: 'tucson-pod'
1258 config-pod: 'tucson-pod'
Girish Gowdra7ca29da2021-06-23 15:34:09 -07001259 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001260 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
1261 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001262 trigger-string: 'hardware test'
Matteo Scandolob6d80732021-05-05 14:06:42 -07001263 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001264 volthaSystemTestsChange: ''
1265 volthaHelmChartsChange: ''
Matteo Scandolob6d80732021-05-05 14:06:42 -07001266 profile: 'Default'
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001267 extraHelmFlags: ''
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001268
1269 properties:
1270 - cord-infra-properties:
1271 build-days-to-keep: '{build-days-to-keep}'
1272 artifact-num-to-keep: '{artifact-num-to-keep}'
1273
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001274 <<: *voltha-physical-patchset-parameters
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001275
Andy Bavier8c11d462019-12-17 08:19:34 -07001276
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001277 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001278 concurrent: true
1279
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001280 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001281
Andy Bavier1f465592019-11-06 10:03:56 -07001282 triggers:
1283 - gerrit:
1284 server-name: '{gerrit-server-name}'
1285 dependency-jobs: '{dependency-jobs}'
1286 silent-start: false
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001287 successful-message: "PASSED {trigger-string}"
1288 failure-message: "FAILED {trigger-string}"
1289 unstable-message: "UNSTABLE {trigger-string}"
Andy Bavier1f465592019-11-06 10:03:56 -07001290 trigger-on:
1291 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001292 comment-contains-value: '^{trigger-string}$'
Scott Bakerda31d7b2020-01-08 16:35:52 -08001293 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001294 comment-contains-value: '^{trigger-string} with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -07001295 projects:
1296 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001297 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-api-server|voltha-system-tests|ofagent-py|ofagent-go|voltha-onos|kind-voltha|voltha-helm-charts)$'
Andy Bavier8c11d462019-12-17 08:19:34 -07001298 branches:
Andy Bavierfc3ca142020-03-27 13:44:25 -07001299 - branch-compare-type: REG_EXP
Matteo Scandoloec3ec8e2021-05-27 13:03:00 -07001300 branch-pattern: '{branch-pattern}'