blob: 53452a003f94fc23c7294aab887db624acfed54d [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 Windlass585910c2021-07-07 10:32:54 +0000157 timeout: 150
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
Suchitra Vemuri95a73432020-12-16 13:17:48 -0800199
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700200 # openonu Go periodic tests
Suchitra Vemuri95a73432020-12-16 13:17:48 -0800201 - 'voltha-periodic-test':
TorstenThieme326e7972021-01-19 14:27:59 +0000202 name: 'periodic-voltha-openonu-go-test-bbsim'
TorstenThieme326e7972021-01-19 14:27:59 +0000203 code-branch: 'master'
Andrea Campanella67850712021-06-04 08:13:08 +0000204 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
TorstenThieme326e7972021-01-19 14:27:59 +0000205 time-trigger: "H H/12 * * *"
Hardik Windlass696002d2021-05-07 11:38:28 +0000206 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700207 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000208 - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700209 workflow: att
210 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700211 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700212 - target: 1t4gem-openonu-go-adapter-test
213 workflow: att
214 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700215 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700216 - target: 1t8gem-openonu-go-adapter-test
217 workflow: att
218 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700219 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700220 - target: mib-upload-templating-openonu-go-adapter-test
221 workflow: att
222 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700223 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000224 - target: reconcile-openonu-go-adapter-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700225 workflow: att
226 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700227 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700228 - target: reconcile-openonu-go-adapter-test-dt
229 workflow: dt
230 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700231 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700232 - target: reconcile-openonu-go-adapter-test-tt
233 workflow: tt
234 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700235 teardown: true
TorstenThieme39209882021-05-12 11:22:39 +0000236 - target: openonu-go-adapter-omci-hardening-passed-test
237 workflow: att
238 flags: "--set omci_response_rate=9 --set omci_timeout=1s"
239 teardown: true
240 - target: openonu-go-adapter-omci-hardening-failed-test
241 workflow: att
242 flags: "--set omci_response_rate=7"
243 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000244 - target: voltha-onu-omci-get-single-kind-att
245 workflow: att
246 flags: ""
247 teardown: true
248 - target: voltha-onu-omci-get-single-kind-dt
249 workflow: dt
250 flags: ""
251 teardown: true
252 - target: voltha-onu-omci-get-single-kind-tt
253 workflow: tt
254 flags: ""
255 teardown: true
TorstenThieme326e7972021-01-19 14:27:59 +0000256
257 - 'voltha-periodic-test':
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000258 name: 'periodic-voltha-openonu-go-test-bbsim-2.8'
259 pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
260 code-branch: 'voltha-2.8'
261 time-trigger: "H H/12 * * *"
262 logLevel: 'DEBUG'
263 testTargets: |
264 - target: 1t1gem-openonu-go-adapter-test
265 workflow: att
266 flags: ""
267 teardown: true
268 - target: 1t4gem-openonu-go-adapter-test
269 workflow: att
270 flags: ""
271 teardown: true
272 - target: 1t8gem-openonu-go-adapter-test
273 workflow: att
274 flags: ""
275 teardown: true
276 - target: mib-upload-templating-openonu-go-adapter-test
277 workflow: att
278 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
279 teardown: true
280 - target: reconcile-openonu-go-adapter-test-att
281 workflow: att
282 flags: ""
283 teardown: true
284 - target: reconcile-openonu-go-adapter-test-dt
285 workflow: dt
286 flags: ""
287 teardown: true
288 - target: reconcile-openonu-go-adapter-test-tt
289 workflow: tt
290 flags: ""
291 teardown: true
292 - target: openonu-go-adapter-omci-hardening-passed-test
293 workflow: att
294 flags: "--set omci_response_rate=9 --set omci_timeout=1s"
295 teardown: true
296 - target: openonu-go-adapter-omci-hardening-failed-test
297 workflow: att
298 flags: "--set omci_response_rate=7"
299 teardown: true
300 - target: voltha-onu-omci-get-single-kind-att
301 workflow: att
302 flags: ""
303 teardown: true
304 - target: voltha-onu-omci-get-single-kind-dt
305 workflow: dt
306 flags: ""
307 teardown: true
308 - target: voltha-onu-omci-get-single-kind-tt
309 workflow: tt
310 flags: ""
311 teardown: true
312
313 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700314 name: 'patchset-voltha-openonu-go-test-bbsim'
Hardik Windlass8c3813b2021-05-07 08:13:37 +0000315 trigger-comment: "voltha test openonu singleolt"
Matteo Scandolo075740f2021-04-22 14:52:29 -0700316 code-branch: '$GERRIT_BRANCH'
Andrea Campanella67850712021-06-04 08:13:08 +0000317 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700318 gerrit-project: '$GERRIT_PROJECT'
319 gerritRefspec: '$GERRIT_REFSPEC'
Hardik Windlass696002d2021-05-07 11:38:28 +0000320 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700321 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000322 - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700323 workflow: att
324 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700325 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700326 - target: 1t4gem-openonu-go-adapter-test
327 workflow: att
328 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700329 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700330 - target: 1t8gem-openonu-go-adapter-test
331 workflow: att
332 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700333 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700334 - target: mib-upload-templating-openonu-go-adapter-test
335 workflow: att
336 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700337 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000338 - target: reconcile-openonu-go-adapter-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700339 workflow: att
340 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700341 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700342 - target: reconcile-openonu-go-adapter-test-dt
343 workflow: dt
344 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700345 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700346 - target: reconcile-openonu-go-adapter-test-tt
347 workflow: tt
348 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700349 teardown: true
TorstenThieme39209882021-05-12 11:22:39 +0000350 - target: openonu-go-adapter-omci-hardening-passed-test
351 workflow: att
352 flags: "--set omci_response_rate=9 --set omci_timeout=1s"
353 teardown: true
354 - target: openonu-go-adapter-omci-hardening-failed-test
355 workflow: att
356 flags: "--set omci_response_rate=7"
357 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000358 - target: voltha-onu-omci-get-single-kind-att
359 workflow: att
360 flags: ""
361 teardown: true
362 - target: voltha-onu-omci-get-single-kind-dt
363 workflow: dt
364 flags: ""
365 teardown: true
366 - target: voltha-onu-omci-get-single-kind-tt
367 workflow: tt
368 flags: ""
369 teardown: true
Matteo Scandolo075740f2021-04-22 14:52:29 -0700370
Hardik Windlass46d61132021-03-30 16:42:07 +0530371 - 'voltha-periodic-test':
TorstenThieme669258d2021-01-29 09:03:10 +0000372 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700373 code-branch: 'master'
Andrea Campanella67850712021-06-04 08:13:08 +0000374 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700375 olts: 2
Hardik Windlass696002d2021-05-07 11:38:28 +0000376 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700377 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000378 - target: 1t1gem-openonu-go-adapter-multi-olt-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700379 workflow: att
380 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700381 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700382 - target: 1t4gem-openonu-go-adapter-multi-olt-test
383 workflow: att
384 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700385 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700386 - target: 1t8gem-openonu-go-adapter-multi-olt-test
387 workflow: att
388 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700389 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000390 - target: reconcile-openonu-go-adapter-multi-olt-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700391 workflow: att
392 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700393 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700394 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
395 workflow: dt
396 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700397 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700398 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
399 workflow: tt
400 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700401 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000402 - target: voltha-onu-omci-get-multiolt-kind-att
403 workflow: att
404 flags: ""
405 teardown: true
406 - target: voltha-onu-omci-get-multiolt-kind-dt
407 workflow: dt
408 flags: ""
409 teardown: true
410 - target: voltha-onu-omci-get-multiolt-kind-tt
411 workflow: tt
412 flags: ""
413 teardown: true
TorstenThieme669258d2021-01-29 09:03:10 +0000414 time-trigger: "H H/12 * * *"
415
416 - 'voltha-periodic-test':
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000417 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim-2.8'
418 pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
419 code-branch: 'voltha-2.8'
420 extraHelmFlags: '--set onu=2,pon=2'
421 olts: 2
422 logLevel: 'DEBUG'
423 testTargets: |
424 - target: 1t1gem-openonu-go-adapter-multi-olt-test
425 workflow: att
426 flags: ""
427 teardown: true
428 - target: 1t4gem-openonu-go-adapter-multi-olt-test
429 workflow: att
430 flags: ""
431 teardown: true
432 - target: 1t8gem-openonu-go-adapter-multi-olt-test
433 workflow: att
434 flags: ""
435 teardown: true
436 - target: reconcile-openonu-go-adapter-multi-olt-test-att
437 workflow: att
438 flags: ""
439 teardown: true
440 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
441 workflow: dt
442 flags: ""
443 teardown: true
444 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
445 workflow: tt
446 flags: ""
447 teardown: true
448 - target: voltha-onu-omci-get-multiolt-kind-att
449 workflow: att
450 flags: ""
451 teardown: true
452 - target: voltha-onu-omci-get-multiolt-kind-dt
453 workflow: dt
454 flags: ""
455 teardown: true
456 - target: voltha-onu-omci-get-multiolt-kind-tt
457 workflow: tt
458 flags: ""
459 teardown: true
460 time-trigger: "H H/12 * * *"
461
462 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700463 name: 'patchset-voltha-multiple-olts-openonu-go-test-bbsim'
464 trigger-comment: "voltha test openonu multiolt"
465 code-branch: '$GERRIT_BRANCH'
Hardik Windlass696002d2021-05-07 11:38:28 +0000466 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700467 gerrit-project: '$GERRIT_PROJECT'
468 gerritRefspec: '$GERRIT_REFSPEC'
Hardik Windlass696002d2021-05-07 11:38:28 +0000469 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700470 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000471 - target: 1t1gem-openonu-go-adapter-multi-olt-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700472 workflow: att
473 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700474 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700475 - target: 1t4gem-openonu-go-adapter-multi-olt-test
476 workflow: att
477 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700478 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700479 - target: 1t8gem-openonu-go-adapter-multi-olt-test
480 workflow: att
481 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700482 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000483 - target: reconcile-openonu-go-adapter-multi-olt-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700484 workflow: att
485 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700486 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700487 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
488 workflow: dt
489 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700490 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700491 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
492 workflow: tt
493 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700494 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000495 - target: voltha-onu-omci-get-multiolt-kind-att
496 workflow: att
497 flags: ""
498 teardown: true
499 - target: voltha-onu-omci-get-multiolt-kind-dt
500 workflow: dt
501 flags: ""
502 teardown: true
503 - target: voltha-onu-omci-get-multiolt-kind-tt
504 workflow: tt
505 flags: ""
506 teardown: true
Matteo Scandolo075740f2021-04-22 14:52:29 -0700507 olts: 2
Matteo Scandolo075740f2021-04-22 14:52:29 -0700508
TorstenThieme869ba322021-05-05 12:11:42 +0000509 - 'voltha-periodic-test':
510 name: 'periodic-voltha-pm-data-test-bbsim'
511 code-branch: 'master'
Andrea Campanella67850712021-06-04 08:13:08 +0000512 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 +0000513 time-trigger: "H H/23 * * *"
514 logLevel: 'DEBUG'
515 testTargets: |
516 - target: voltha-pm-data-single-kind-att
517 workflow: att
518 flags: ""
519 teardown: true
520 - target: voltha-pm-data-single-kind-dt
521 workflow: dt
522 flags: ""
523 teardown: true
524 - target: voltha-pm-data-single-kind-tt
525 workflow: tt
526 flags: ""
527 teardown: true
528 timeout: 140
529
530 - 'voltha-periodic-test':
531 name: 'patchset-voltha-pm-data-test-bbsim'
532 trigger-comment: "voltha test pm data singleolt"
TorstenThieme6877ab12021-05-26 13:28:54 +0000533 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 +0000534 code-branch: '$GERRIT_BRANCH'
535 gerrit-project: '$GERRIT_PROJECT'
536 gerritRefspec: '$GERRIT_REFSPEC'
537 logLevel: 'DEBUG'
538 testTargets: |
539 - target: voltha-pm-data-single-kind-att
540 workflow: att
541 flags: ""
542 teardown: true
543 - target: voltha-pm-data-single-kind-dt
544 workflow: dt
545 flags: ""
546 teardown: true
547 - target: voltha-pm-data-single-kind-tt
548 workflow: tt
549 flags: ""
550 teardown: true
551 timeout: 140
552
553 - 'voltha-periodic-test':
554 name: 'periodic-voltha-multiple-olts-pm-data-test-bbsim'
555 code-branch: 'master'
TorstenThieme6877ab12021-05-26 13:28:54 +0000556 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 +0000557 olts: 2
558 timeout: 180
559 logLevel: 'DEBUG'
560 testTargets: |
561 - target: voltha-pm-data-multiolt-kind-att
562 workflow: att
563 flags: ""
564 teardown: true
565 - target: voltha-pm-data-multiolt-kind-dt
566 workflow: dt
567 flags: ""
568 teardown: true
569 - target: voltha-pm-data-multiolt-kind-tt
570 workflow: tt
571 flags: ""
572 teardown: true
573 time-trigger: "H H/23 * * *"
574
575 - 'voltha-periodic-test':
576 name: 'patchset-voltha-multiple-olts-pm-data-test-bbsim'
577 trigger-comment: "voltha test pm data multiolt"
578 code-branch: '$GERRIT_BRANCH'
TorstenThieme6877ab12021-05-26 13:28:54 +0000579 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 +0000580 gerrit-project: '$GERRIT_PROJECT'
581 gerritRefspec: '$GERRIT_REFSPEC'
582 logLevel: 'DEBUG'
583 testTargets: |
584 - target: voltha-pm-data-multiolt-kind-att
585 workflow: att
586 flags: ""
587 teardown: true
588 - target: voltha-pm-data-multiolt-kind-dt
589 workflow: dt
590 flags: ""
591 teardown: true
592 - target: voltha-pm-data-multiolt-kind-tt
593 workflow: tt
594 flags: ""
595 teardown: true
596 olts: 2
597 timeout: 180
598
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700599 - 'voltha-periodic-test':
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100600 name: 'periodic-voltha-test-DMI'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700601 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100602 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800603 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700604 testTargets: |
605 - target: bbsim-dmi-hw-management-test
606 workflow: att
607 flags: ""
608 teardown: true
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100609
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000610 - 'voltha-periodic-test':
611 name: 'periodic-voltha-test-DMI-2.8'
612 pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
613 code-branch: 'voltha-2.8'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800614 time-trigger: "H H/23 * * *"
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000615 testTargets: |
616 - target: bbsim-dmi-hw-management-test
617 workflow: att
618 flags: ""
619 teardown: true
Andy Bavier10926f12020-03-27 16:53:43 -0700620
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700621 - 'voltha-periodic-test':
Andy Bavier4be37062020-06-29 15:17:26 -0700622 name: 'periodic-voltha-etcd-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700623 build-node: 'ubuntu18.04-basebuild-4c-8g'
hwchiuc9189b72019-12-02 15:12:29 -0800624 code-branch: 'master'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700625 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
hwchiufdc49242019-11-18 16:37:22 -0800626 time-trigger: "H H/12 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700627 testTargets: |
628 - target: sanity-multi-kind
629 workflow: att
630 flags: ""
631 teardown: true
hwchiufdc49242019-11-18 16:37:22 -0800632
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000633 - 'voltha-periodic-test':
634 name: 'periodic-voltha-etcd-test-2.8'
635 pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700636 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000637 code-branch: 'voltha-2.8'
638 extraHelmFlags: '--set onu=2,pon=2'
Andy Bavier10926f12020-03-27 16:53:43 -0700639 time-trigger: "H H/12 * * *"
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000640 testTargets: |
641 - target: sanity-multi-kind
642 workflow: att
643 flags: ""
644 teardown: true
Andy Bavier10926f12020-03-27 16:53:43 -0700645
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700646 - 'voltha-periodic-test':
Andy Bavier3708d072019-12-10 15:22:18 -0700647 name: 'periodic-voltha-sanity-test-multi-runs'
Andy Bavier3708d072019-12-10 15:22:18 -0700648 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800649 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700650 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
651 testTargets: |
652 - target: sanity-kind
653 workflow: att
654 flags: ""
655 teardown: true
656 - target: sanity-kind
657 workflow: att
658 flags: ""
659 teardown: false
660 - target: sanity-kind
661 workflow: att
662 flags: ""
663 teardown: false
664 - target: sanity-kind
665 workflow: att
666 flags: ""
667 teardown: false
668 - target: sanity-kind
669 workflow: att
670 flags: ""
671 teardown: false
Andy Bavier10926f12020-03-27 16:53:43 -0700672
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000673 - 'voltha-periodic-test':
674 name: 'periodic-voltha-sanity-test-multi-runs-2.8'
675 pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
676 code-branch: 'voltha-2.8'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800677 time-trigger: "H H/23 * * *"
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000678 testTargets: |
679 - target: sanity-kind
680 workflow: att
681 flags: ""
682 teardown: true
683 - target: sanity-kind
684 workflow: att
685 flags: ""
686 teardown: false
687 - target: sanity-kind
688 workflow: att
689 flags: ""
690 teardown: false
691 - target: sanity-kind
692 workflow: att
693 flags: ""
694 teardown: false
695 - target: sanity-kind
696 workflow: att
697 flags: ""
698 teardown: false
Andy Bavier10926f12020-03-27 16:53:43 -0700699
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700700 - 'voltha-periodic-test':
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700701 name: 'nightly-voltha-DTflow-sanity-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700702 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700703 code-branch: 'master'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700704 time-trigger: "@daily"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700705 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
706 testTargets: |
707 - target: sanity-kind-dt
708 workflow: dt
709 flags: ""
710 teardown: true
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700711
Matteo Scandolob6d80732021-05-05 14:06:42 -0700712 # ATT Per-patchset Pod builds on Tucson pod (master)
Andy Bavier51ba7e82019-12-17 11:01:01 -0700713 - 'verify_physical_voltha_patchset_auto':
714 name: 'verify_physical_voltha_patchset_auto'
Andrea Campanella1198cd52021-06-14 16:17:25 +0200715 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set global.log_level=debug'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700716 workflow: 'att'
Matteo Scandoloec3ec8e2021-05-27 13:03:00 -0700717 branch-pattern: master
Andy Bavier51ba7e82019-12-17 11:01:01 -0700718
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000719
720 # ATT Per-patchset Pod builds on Tucson pod (voltha-2.8)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700721 - 'verify_physical_voltha_patchset_auto':
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000722 name: 'verify_physical_voltha_patchset_auto-2.8'
723 pipeline-script: 'voltha/voltha-2.8/tucson-build-and-test.groovy'
724 extraHelmFlags: '--set global.log_level=debug'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700725 workflow: 'att'
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000726 branch-pattern: voltha-2.8
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700727
Matteo Scandolob6d80732021-05-05 14:06:42 -0700728 # ATT Manual Pod builds on Tucson pod (master)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700729 - 'verify_physical_voltha_patchset_manual':
730 name: 'verify_physical_voltha_patchset_manual'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700731 trigger-string: 'hardware test'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700732 branch-pattern: master
Andrea Campanella1198cd52021-06-14 16:17:25 +0200733 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set global.log_level=debug'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700734 workflow: 'att'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700735
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000736 # ATT Manual Pod builds on Tucson pod (voltha-2.8)
Matteo Scandolob6d80732021-05-05 14:06:42 -0700737 - 'verify_physical_voltha_patchset_manual':
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000738 name: 'verify_physical_voltha_patchset_manual-2.8'
739 pipeline-script: 'voltha/voltha-2.8/tucson-build-and-test.groovy'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700740 trigger-string: 'hardware test'
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000741 branch-pattern: voltha-2.8
742 extraHelmFlags: '--set global.log_level=debug'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700743 workflow: 'att'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700744
Matteo Scandolob6d80732021-05-05 14:06:42 -0700745 # DT Manual Pod builds on Tucson pod (master)
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700746 - 'verify_physical_voltha_patchset_manual':
747 name: 'verify_physical_voltha_patchset_manual_DT'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700748 workflow: 'dt'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700749 trigger-string: 'DT hardware test'
750 default-test-args: '-i sanityDt -i PowerSwitch -X'
751 branch-pattern: master
Andrea Campanella1198cd52021-06-14 16:17:25 +0200752 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set global.log_level=debug'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700753
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000754 # DT Manual Pod builds on Tucson pod (voltha-2.8)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700755 - 'verify_physical_voltha_patchset_manual':
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000756 name: 'verify_physical_voltha_patchset_manual_DT-2.8'
757 pipeline-script: 'voltha/voltha-2.8/tucson-build-and-test.groovy'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700758 workflow: 'dt'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700759 trigger-string: 'DT hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800760 default-test-args: '-i sanityDt -i PowerSwitch -X'
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000761 branch-pattern: voltha-2.8
762 extraHelmFlags: '--set global.log_level=debug'
Andy Bavier19c98a22019-11-11 13:57:11 -0700763
Kailash8b8de742019-07-30 08:54:51 -0700764- job-template:
Kailashaad71012019-08-27 10:36:53 -0700765 id: 'voltha-periodic-test'
766 name: '{name}'
Hardik Windlassec9341b2021-06-07 11:58:29 +0000767 pipeline-script: 'voltha/master/bbsim-tests.groovy'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700768 build-node: 'ubuntu18.04-basebuild-8c-15g'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700769 robot-args: ''
770 gerrit-project: ''
771 gerritRefspec: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700772 volthaSystemTestsChange: ''
773 volthaHelmChartsChange: ''
774 extraHelmFlags: ''
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700775 registry: mirror.registry.opennetworking.org
Matteo Scandolo075740f2021-04-22 14:52:29 -0700776 sandbox: true
777 olts: 1
TorstenThieme869ba322021-05-05 12:11:42 +0000778 timeout: 130
Hardik Windlass696002d2021-05-07 11:38:28 +0000779 logLevel: 'INFO'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700780
Matteo Scandolo075740f2021-04-22 14:52:29 -0700781 trigger-comment: vv7CBoQQYYonvaN8xcru
782 time-trigger: 0 0 29 2 *
783
784 description: |
785 <!-- Managed by Jenkins Job Builder -->
786 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
787 E2E Validation for Voltha 2.X
788
789 properties:
790 - cord-infra-properties:
791 build-days-to-keep: '{big-build-days-to-keep}'
792 artifact-num-to-keep: '{big-artifact-num-to-keep}'
793
794 wrappers:
795 - lf-infra-wrappers:
796 build-timeout: '{build-timeout}'
797 jenkins-ssh-credential: '{jenkins-ssh-credential}'
798
799 parameters:
800 - string:
801 name: buildNode
802 default: '{build-node}'
803 description: 'Name of the Jenkins node to run the job on'
804
805 - string:
806 name: extraHelmFlags
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700807 default: '{extraHelmFlags}'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700808 description: 'Helm flags (passed to each deployment)'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700809
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700810 # test configuration
811 # this is a parameter to drive the test execution, VOLTHA is redeployed each time with
812 # the provided configuration and then the make target is invoked,
813 # example value (has to be valid YAML):
814 # testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000815 # - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700816 # workflow: att
817 # flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700818 # teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700819 - text:
820 name: testTargets
821 default: '{testTargets}'
822 description: 'Test configuration, see the ci-management job definition for more info'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700823
824 - string:
825 name: branch
826 default: '{code-branch}'
827 description: 'Repo manifest branch for code checkout'
828
829 - string:
830 name: gerritProject
831 default: '{gerrit-project}'
832 description: 'Name of the Gerrit project'
833
834 - string:
835 name: gerritRefspec
836 default: ''
837 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
838
839 - string:
840 name: extraRobotArgs
841 default: '{robot-args}'
842 description: 'Arguments to pass to robot'
843
844 - string:
845 name: volthaSystemTestsChange
846 default: '{volthaSystemTestsChange}'
847 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
848
849 - string:
850 name: volthaHelmChartsChange
851 default: '{volthaHelmChartsChange}'
852 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
853
854 - string:
855 name: olts
856 default: '{olts}'
857 description: 'How many BBSim instances to run'
858
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700859 - string:
860 name: registry
861 default: '{registry}'
862 description: 'Which registry to use (amazon vs menlo)'
863
Hardik Windlass696002d2021-05-07 11:38:28 +0000864 - string:
865 name: logLevel
866 default: '{logLevel}'
867 description: 'Log level for all the components'
868
TorstenThieme869ba322021-05-05 12:11:42 +0000869 - string:
870 name: timeout
871 default: '{timeout}'
872 description: 'Timeout of pipeline job [minutes]'
873
Matteo Scandolo075740f2021-04-22 14:52:29 -0700874 project-type: pipeline
875 concurrent: true
876
877 dsl: !include-raw-escape: pipeline/{pipeline-script}
878
879 triggers:
880 # patchset jobs will set this to "0 0 29 2 *" (feb 29th, it's once every 4 years)
881 - timed: |
882 TZ=America/Los_Angeles
883 {time-trigger}
884 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
885 - gerrit:
886 server-name: '{gerrit-server-name}'
887 silent-start: false
888 successful-message: "PASSED openonu-go test"
889 failure-message: "FAILED openonu-go test"
890 unstable-message: "UNSTABLE openonu-go test"
891 trigger-on:
892 - comment-added-contains-event:
893 comment-contains-value: '.*{trigger-comment}.*'
894 projects:
895 - project-compare-type: REG_EXP
896 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter-go|ofagent-go|voltha-onos|bbsim)$'
897 branches:
898 - branch-compare-type: REG_EXP
899 branch-pattern: '{all-branches-regexp}'
900
901- job-template:
Kailashaad71012019-08-27 10:36:53 -0700902 id: 'voltha-patch-test'
Matteo Scandolo84e5f002020-02-10 11:50:05 -0800903 name: 'verify_{project}_sanity-test{name-extension}'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700904 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hardik Windlassec9341b2021-06-07 11:58:29 +0000905 pipeline-script: 'voltha/master/bbsim-tests.groovy'
Andy Bavier4318f8d2020-04-09 13:50:53 -0700906 override-branch: '$GERRIT_BRANCH'
Andy Bavier02b00dc2020-04-28 13:01:12 -0700907 sandbox: true
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800908 build-timeout: 20
Hardik Windlassfbf296b2021-06-08 07:36:51 +0000909 timeout: 50
910 olts: 1
911 registry: mirror.registry.opennetworking.org
912 logLevel: 'INFO'
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700913 volthaSystemTestsChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800914 volthaHelmChartsChange: ''
Matteo Scandolocecb0842021-05-04 13:16:47 -0700915 extraHelmFlags: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800916 branch-regexp: '{all-branches-regexp}'
Hardik Windlassec9341b2021-06-07 11:58:29 +0000917 testTargets: |
918 - target: sanity-kind-att
919 workflow: att
920 flags: ""
921 teardown: true
922 - target: sanity-kind-dt
923 workflow: dt
924 flags: ""
925 teardown: true
926 - target: sanity-kind-tt
927 workflow: tt
928 flags: ""
929 teardown: true
Kailashaad71012019-08-27 10:36:53 -0700930
931 description: |
932 <!-- Managed by Jenkins Job Builder -->
933 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
934 E2E Validation for Voltha 2.X
935
936 properties:
937 - cord-infra-properties:
938 build-days-to-keep: '{build-days-to-keep}'
939 artifact-num-to-keep: '{artifact-num-to-keep}'
940
941 wrappers:
942 - lf-infra-wrappers:
943 build-timeout: '{build-timeout}'
944 jenkins-ssh-credential: '{jenkins-ssh-credential}'
945
946 parameters:
947 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700948 name: buildNode
Andrea Campanella4792b7f2021-04-23 15:06:42 +0200949 default: '{build-node}'
Kailashaad71012019-08-27 10:36:53 -0700950 description: 'Name of the Jenkins node to run the job on'
951
952 - string:
hwchiu14f97852019-10-08 10:51:11 -0700953 name: gerritProject
954 default: '$GERRIT_PROJECT'
955 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700956
957 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700958 name: gerritRefspec
959 default: '$GERRIT_REFSPEC'
960 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
Kailashaad71012019-08-27 10:36:53 -0700961
962 - string:
Andy Bavierbedd0392019-10-16 13:58:18 -0700963 name: extraHelmFlags
Matteo Scandolocecb0842021-05-04 13:16:47 -0700964 default: '{extraHelmFlags}'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700965 description: 'Helm flags to pass to every helm command'
Andy Bavierbedd0392019-10-16 13:58:18 -0700966
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700967 - string:
968 name: volthaSystemTestsChange
969 default: '{volthaSystemTestsChange}'
970 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
971
972 - string:
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800973 name: volthaHelmChartsChange
974 default: '{volthaHelmChartsChange}'
975 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
976
977 - string:
978 name: branch
979 default: '{override-branch}'
980 description: 'Name of the branch to use'
981
Hardik Windlassec9341b2021-06-07 11:58:29 +0000982 # test configuration
983 # this is a parameter to drive the test execution, VOLTHA is redeployed each time with
984 # the provided configuration and then the make target is invoked,
985 # example value (has to be valid YAML):
986 # testTargets: |
987 # - target: 1t1gem-openonu-go-adapter-test
988 # workflow: att
989 # flags: ""
990 # teardown: true
991 - text:
992 name: testTargets
993 default: '{testTargets}'
994 description: 'Test configuration, see the ci-management job definition for more info'
995
Hardik Windlassfbf296b2021-06-08 07:36:51 +0000996 - string:
997 name: timeout
998 default: '{timeout}'
999 description: 'Timeout of pipeline job [minutes]'
1000
1001 - string:
1002 name: olts
1003 default: '{olts}'
1004 description: 'How many BBSim instances to run'
1005
1006 - string:
1007 name: registry
1008 default: '{registry}'
1009 description: 'Which registry to use (amazon vs menlo)'
1010
1011 - string:
1012 name: logLevel
1013 default: '{logLevel}'
1014 description: 'Log level for all the components'
1015
Kailashaad71012019-08-27 10:36:53 -07001016 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -07001017 concurrent: true
Kailashaad71012019-08-27 10:36:53 -07001018
Zack Williamsb3292082019-10-11 17:15:18 -07001019 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -07001020
1021 triggers:
Andy Bavierb99c3d32020-02-18 11:14:17 -07001022 - gerrit:
1023 server-name: '{gerrit-server-name}'
Kailashaad71012019-08-27 10:36:53 -07001024 dependency-jobs: '{dependency-jobs}'
Andy Bavierb99c3d32020-02-18 11:14:17 -07001025 silent-start: true
1026 trigger-on:
1027 - patchset-created-event:
1028 exclude-drafts: true
1029 exclude-trivial-rebase: false
1030 exclude-no-code-change: true
1031 - draft-published-event
1032 - comment-added-contains-event:
1033 comment-contains-value: '(?i)^.*recheck$'
1034 projects:
1035 - project-compare-type: REG_EXP
1036 project-pattern: '^{project}$'
1037 branches:
1038 - branch-compare-type: REG_EXP
Matteo Scandolo42f6e572021-01-25 15:11:34 -08001039 branch-pattern: '{branch-regexp}'
Andy Bavierb99c3d32020-02-18 11:14:17 -07001040 file-paths:
1041 - compare-type: REG_EXP
1042 pattern: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001043
1044# POD Per Patchset Pipeline Jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001045# to use these parameters in a job: `<<: *voltha-physical-patchset-parameters`
1046- voltha-physical-patchset-parameters: &voltha-physical-patchset-parameters
1047 name: voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -07001048 parameters:
1049 - string:
1050 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -07001051 default: '{build-node}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001052 description: 'Pod management node'
1053
1054 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001055 name: branch
1056 default: '$GERRIT_BRANCH'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001057 description: 'Name of the repo branch to use'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001058
1059 - string:
1060 name: gerritProject
1061 default: '$GERRIT_PROJECT'
1062 description: 'Name of the Gerrit project'
1063
1064 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -07001065 name: gerritRefspec
1066 default: '$GERRIT_REFSPEC'
1067 description: 'RefSpec number in Gerrit'
1068
1069 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001070 name: gerritComment
1071 default: '$GERRIT_EVENT_COMMENT_TEXT'
1072 description: 'RefSpec number in Gerrit'
1073
1074 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001075 name: cordRepoUrl
1076 default: '{gerrit-server-url}'
1077 description: 'The URL of the CORD Project repository'
1078
1079 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001080 name: configBaseDir
1081 default: 'pod-configs'
1082 description: 'The directory inside the POD configs repository'
1083
1084 - string:
1085 name: configDeploymentDir
1086 default: 'deployment-configs'
1087 description: 'The deployment configs folder'
1088
1089 - string:
1090 name: configKubernetesDir
1091 default: 'kubernetes-configs'
1092 description: 'The kubernetes config folder'
1093
1094 - string:
1095 name: configFileName
1096 default: '{config-pod}'
1097 description: 'The config file'
1098
1099 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001100 name: podName
1101 default: '{config-pod}'
1102
1103 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001104 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -07001105 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001106 description: 'Path of SADIS config to load'
1107
1108 - string:
Andy Bavier893d2442020-05-21 12:41:17 -07001109 name: oltDebVersionMaster
1110 default: '{oltDebVersionMaster}'
1111 description: 'OLT Software version to install for master branch builds'
1112
1113 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001114 name: oltDebVersionVoltha23
Andy Bavier893d2442020-05-21 12:41:17 -07001115 default: '{oltDebVersionVoltha23}'
1116 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001117
1118 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001119 name: profile
1120 default: '{profile}'
1121 description: 'Technology Profile pushed to the ETCD'
1122
Andy Bavier51ba7e82019-12-17 11:01:01 -07001123 - bool:
1124 name: reinstallOlt
1125 default: true
1126 description: "Re-install OLT software"
1127
Zack Williams03ebb272020-03-27 09:42:33 -07001128 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001129 name: extraRobotArgs
1130 default: '{default-test-args}'
1131 description: 'Arguments to pass to robot'
1132
1133 - string:
1134 name: volthaSystemTestsChange
1135 default: '{volthaSystemTestsChange}'
1136 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
1137
1138 - string:
1139 name: volthaHelmChartsChange
1140 default: '{volthaHelmChartsChange}'
1141 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
1142
1143 - string:
1144 name: workflow
1145 default: '{workflow}'
1146 description: 'Installs and uses the specified work flow on the POD'
1147
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001148 - string:
1149 name: extraHelmFlags
1150 default: '{extraHelmFlags}'
1151 description: 'Helm flags (passed to each helm command)'
1152
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001153 # deprecated parameters, remove after VOLTHA-2.8 is released
1154 - string:
1155 name: deploymentConfigFile
1156 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
1157 description: 'Path of deployment config file'
1158
1159 - string:
1160 name: kindVolthaValuesFile
1161 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
1162 description: 'Path of kind-voltha values override file'
1163
1164 - string:
1165 name: manifestUrl
1166 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
1167 description: 'URL to the repo manifest'
1168
1169 - string:
1170 name: gerritChangeNumber
1171 default: '$GERRIT_CHANGE_NUMBER'
1172 description: 'Changeset number in Gerrit'
1173
1174 - string:
1175 name: gerritPatchsetNumber
1176 default: '$GERRIT_PATCHSET_NUMBER'
1177 description: 'PatchSet number in Gerrit'
1178
1179 - string:
1180 name: localConfigDir
1181 default: null
1182 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
1183
1184 - string:
1185 name: configRepo
1186 default: 'pod-configs'
1187 description: 'A repository containing the config files, will be checked out if specified'
1188
1189 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001190 name: manualBranch
1191 default: '{manualBranch}'
1192 description: "If a non-empty string, build manually as a specific branch, not with a specific patchset"
Andy Bavier51ba7e82019-12-17 11:01:01 -07001193
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001194- job-template:
1195 name: '{name}'
1196 id: verify_physical_voltha_patchset_auto
1197 description: |
1198 <!-- Managed by Jenkins Job Builder -->
1199 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
1200 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
1201 Created by Andy Bavier, andy@opennetworking.org <br />
1202 Copyright (c) 2019 Open Networking Foundation (ONF)
1203 sandbox: true
1204 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Matteo Scandolob6d80732021-05-05 14:06:42 -07001205 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001206 build-node: 'tucson-pod'
1207 config-pod: 'tucson-pod'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001208 profile: 'Default'
Girish Gowdra7ca29da2021-06-23 15:34:09 -07001209 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001210 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
1211 volthaSystemTestsChange: ''
1212 volthaHelmChartsChange: ''
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001213 extraHelmFlags: ''
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001214
1215 properties:
1216 - cord-infra-properties:
1217 build-days-to-keep: '{build-days-to-keep}'
1218 artifact-num-to-keep: '{artifact-num-to-keep}'
1219
1220 <<: *voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -07001221
1222 project-type: pipeline
1223 concurrent: true
1224
1225 dsl: !include-raw-escape: pipeline/{pipeline-script}
1226
1227 triggers:
1228 - gerrit:
1229 server-name: '{gerrit-server-name}'
1230 dependency-jobs: '{dependency-jobs}'
1231 silent-start: false
1232 successful-message: "PASSED hardware test"
1233 failure-message: "FAILED hardware test"
1234 unstable-message: "UNSTABLE hardware test"
1235 trigger-on:
1236 - comment-added-event:
1237 approval-category: 'Code-Review'
1238 approval-value: '+2'
1239 projects:
1240 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001241 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-go)$'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001242 branches:
Andy Bavier37f6ea92020-04-03 11:13:35 -07001243 - branch-compare-type: REG_EXP
Matteo Scandoloec3ec8e2021-05-27 13:03:00 -07001244 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001245
Andy Bavier51ba7e82019-12-17 11:01:01 -07001246- job-template:
1247 name: '{name}'
1248 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001249 description: |
1250 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001251 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -07001252 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001253 Created by Andy Bavier, andy@opennetworking.org <br />
1254 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001255 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001256 build-node: 'tucson-pod'
1257 config-pod: 'tucson-pod'
Girish Gowdra7ca29da2021-06-23 15:34:09 -07001258 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001259 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
1260 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001261 trigger-string: 'hardware test'
Matteo Scandolob6d80732021-05-05 14:06:42 -07001262 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001263 volthaSystemTestsChange: ''
1264 volthaHelmChartsChange: ''
Matteo Scandolob6d80732021-05-05 14:06:42 -07001265 profile: 'Default'
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001266 extraHelmFlags: ''
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001267
1268 properties:
1269 - cord-infra-properties:
1270 build-days-to-keep: '{build-days-to-keep}'
1271 artifact-num-to-keep: '{artifact-num-to-keep}'
1272
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001273 <<: *voltha-physical-patchset-parameters
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001274
Andy Bavier8c11d462019-12-17 08:19:34 -07001275
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001276 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001277 concurrent: true
1278
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001279 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001280
Andy Bavier1f465592019-11-06 10:03:56 -07001281 triggers:
1282 - gerrit:
1283 server-name: '{gerrit-server-name}'
1284 dependency-jobs: '{dependency-jobs}'
1285 silent-start: false
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001286 successful-message: "PASSED {trigger-string}"
1287 failure-message: "FAILED {trigger-string}"
1288 unstable-message: "UNSTABLE {trigger-string}"
Andy Bavier1f465592019-11-06 10:03:56 -07001289 trigger-on:
1290 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001291 comment-contains-value: '^{trigger-string}$'
Scott Bakerda31d7b2020-01-08 16:35:52 -08001292 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001293 comment-contains-value: '^{trigger-string} with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -07001294 projects:
1295 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001296 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 -07001297 branches:
Andy Bavierfc3ca142020-03-27 13:44:25 -07001298 - branch-compare-type: REG_EXP
Matteo Scandoloec3ec8e2021-05-27 13:03:00 -07001299 branch-pattern: '{branch-pattern}'