blob: cc4f58c927f8dd4bda8f08b84f1cbf47324c0304 [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'
Andrea Campanella4f6bfd62021-07-05 19:40:21 +020027 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set voltha.images.rw_core.repository=andreacampanella/voltha-rw-core --set voltha.images.rw_core.tag=meter --set voltha.images.ofagent.repository=volthacore/voltha-ofagent --set voltha.images.ofagent.tag=noflows '
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':
72 name: 'periodic-voltha-multi-uni-test-bbsim'
73 code-branch: 'master'
74 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set voltha-adapter-openonu.adapter_open_onu.uni_port_mask=0x00FF'
75 time-trigger: "H H/23 * * *"
76 testTargets: |
77 - target: functional-single-kind-multiuni-att
78 workflow: att
79 flags: ""
80 teardown: true
81 - target: bbsim-multiuni-failurescenarios-att
82 workflow: att
83 flags: ""
84 teardown: false
85 - target: bbsim-multiuni-errorscenarios-att
86 workflow: att
87 flags: ""
88 teardown: false
89
90 - 'voltha-periodic-test':
91 name: 'periodic-voltha-multi-uni-multiple-olts-test-bbsim'
92 code-branch: 'master'
93 olts: 2
94 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'
95 time-trigger: "H H/23 * * *"
96 testTargets: |
97 - target: functional-multiuni-multiolt-att
98 workflow: att
99 flags: ""
100 teardown: true
101 - target: bbsim-multiuni-multiolt-failurescenarios-att
102 workflow: att
103 flags: ""
104 teardown: false
105 - target: bbsim-multiuni-multiolt-errorscenarios-att
106 workflow: att
107 flags: ""
108 teardown: false
109
Matteo Scandolo075740f2021-04-22 14:52:29 -0700110 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +0530111 name: 'periodic-voltha-multiple-olts-test-bbsim-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700112 pipeline-script: 'voltha/voltha-2.7/voltha-nightly-tests-bbsim.groovy'
Suchitra Vemuri95a73432020-12-16 13:17:48 -0800113 build-node: 'qct-pod4-node2'
114 make-target: functional-multi-olt
115 make-target-failtest: bbsim-multiolt-failurescenarios
116 make-target-errortest: bbsim-multiolt-errorscenarios
117 make-target-alarmtest: bbsim-alarms-kind
118 make-target-multipleolt: bbsim-multiolt-kind
119 withAlarms: false
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700120 code-branch: 'voltha-2.7'
Suchitra Vemuri95a73432020-12-16 13:17:48 -0800121 olts: 2
122 onus: 2
123 pons: 2
Suchitra Vemuri5fc1c6a2021-04-13 19:12:38 -0700124 time-trigger: "H H * * *"
Suchitra Vemuri95a73432020-12-16 13:17:48 -0800125
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700126 # openonu Go periodic tests
Suchitra Vemuri95a73432020-12-16 13:17:48 -0800127 - 'voltha-periodic-test':
TorstenThieme326e7972021-01-19 14:27:59 +0000128 name: 'periodic-voltha-openonu-go-test-bbsim'
TorstenThieme326e7972021-01-19 14:27:59 +0000129 code-branch: 'master'
Andrea Campanella67850712021-06-04 08:13:08 +0000130 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
TorstenThieme326e7972021-01-19 14:27:59 +0000131 time-trigger: "H H/12 * * *"
Hardik Windlass696002d2021-05-07 11:38:28 +0000132 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700133 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000134 - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700135 workflow: att
136 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700137 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700138 - target: 1t4gem-openonu-go-adapter-test
139 workflow: att
140 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700141 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700142 - target: 1t8gem-openonu-go-adapter-test
143 workflow: att
144 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700145 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700146 - target: mib-upload-templating-openonu-go-adapter-test
147 workflow: att
148 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700149 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000150 - target: reconcile-openonu-go-adapter-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700151 workflow: att
152 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700153 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700154 - target: reconcile-openonu-go-adapter-test-dt
155 workflow: dt
156 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700157 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700158 - target: reconcile-openonu-go-adapter-test-tt
159 workflow: tt
160 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700161 teardown: true
TorstenThieme39209882021-05-12 11:22:39 +0000162 - target: openonu-go-adapter-omci-hardening-passed-test
163 workflow: att
164 flags: "--set omci_response_rate=9 --set omci_timeout=1s"
165 teardown: true
166 - target: openonu-go-adapter-omci-hardening-failed-test
167 workflow: att
168 flags: "--set omci_response_rate=7"
169 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000170 - target: voltha-onu-omci-get-single-kind-att
171 workflow: att
172 flags: ""
173 teardown: true
174 - target: voltha-onu-omci-get-single-kind-dt
175 workflow: dt
176 flags: ""
177 teardown: true
178 - target: voltha-onu-omci-get-single-kind-tt
179 workflow: tt
180 flags: ""
181 teardown: true
TorstenThieme326e7972021-01-19 14:27:59 +0000182
183 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700184 name: 'patchset-voltha-openonu-go-test-bbsim'
Hardik Windlass8c3813b2021-05-07 08:13:37 +0000185 trigger-comment: "voltha test openonu singleolt"
Matteo Scandolo075740f2021-04-22 14:52:29 -0700186 code-branch: '$GERRIT_BRANCH'
Andrea Campanella67850712021-06-04 08:13:08 +0000187 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700188 gerrit-project: '$GERRIT_PROJECT'
189 gerritRefspec: '$GERRIT_REFSPEC'
Hardik Windlass696002d2021-05-07 11:38:28 +0000190 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700191 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000192 - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700193 workflow: att
194 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700195 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700196 - target: 1t4gem-openonu-go-adapter-test
197 workflow: att
198 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700199 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700200 - target: 1t8gem-openonu-go-adapter-test
201 workflow: att
202 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700203 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700204 - target: mib-upload-templating-openonu-go-adapter-test
205 workflow: att
206 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700207 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000208 - target: reconcile-openonu-go-adapter-test-att
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: reconcile-openonu-go-adapter-test-dt
213 workflow: dt
214 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700215 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700216 - target: reconcile-openonu-go-adapter-test-tt
217 workflow: tt
218 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700219 teardown: true
TorstenThieme39209882021-05-12 11:22:39 +0000220 - target: openonu-go-adapter-omci-hardening-passed-test
221 workflow: att
222 flags: "--set omci_response_rate=9 --set omci_timeout=1s"
223 teardown: true
224 - target: openonu-go-adapter-omci-hardening-failed-test
225 workflow: att
226 flags: "--set omci_response_rate=7"
227 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000228 - target: voltha-onu-omci-get-single-kind-att
229 workflow: att
230 flags: ""
231 teardown: true
232 - target: voltha-onu-omci-get-single-kind-dt
233 workflow: dt
234 flags: ""
235 teardown: true
236 - target: voltha-onu-omci-get-single-kind-tt
237 workflow: tt
238 flags: ""
239 teardown: true
Matteo Scandolo075740f2021-04-22 14:52:29 -0700240
241 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +0530242 name: 'periodic-voltha-openonu-go-test-bbsim-2.7'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700243 pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700244 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass46d61132021-03-30 16:42:07 +0530245 make-target: openonu-go-adapter-test
246 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
247 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
TorstenThieme45422612021-03-23 10:38:59 +0000248 make-target-reconciletest: reconcile-openonu-go-adapter-test
249 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
250 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +0530251 withAlarms: false
252 code-branch: 'voltha-2.7'
253 time-trigger: "H H/23 * * *"
254
255 - 'voltha-periodic-test':
TorstenThieme669258d2021-01-29 09:03:10 +0000256 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700257 code-branch: 'master'
Andrea Campanella67850712021-06-04 08:13:08 +0000258 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700259 olts: 2
Hardik Windlass696002d2021-05-07 11:38:28 +0000260 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700261 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000262 - target: 1t1gem-openonu-go-adapter-multi-olt-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700263 workflow: att
264 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700265 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700266 - target: 1t4gem-openonu-go-adapter-multi-olt-test
267 workflow: att
268 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700269 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700270 - target: 1t8gem-openonu-go-adapter-multi-olt-test
271 workflow: att
272 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700273 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000274 - target: reconcile-openonu-go-adapter-multi-olt-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700275 workflow: att
276 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700277 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700278 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
279 workflow: dt
280 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700281 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700282 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
283 workflow: tt
284 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700285 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000286 - target: voltha-onu-omci-get-multiolt-kind-att
287 workflow: att
288 flags: ""
289 teardown: true
290 - target: voltha-onu-omci-get-multiolt-kind-dt
291 workflow: dt
292 flags: ""
293 teardown: true
294 - target: voltha-onu-omci-get-multiolt-kind-tt
295 workflow: tt
296 flags: ""
297 teardown: true
TorstenThieme669258d2021-01-29 09:03:10 +0000298 time-trigger: "H H/12 * * *"
299
300 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700301 name: 'patchset-voltha-multiple-olts-openonu-go-test-bbsim'
302 trigger-comment: "voltha test openonu multiolt"
303 code-branch: '$GERRIT_BRANCH'
Hardik Windlass696002d2021-05-07 11:38:28 +0000304 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700305 gerrit-project: '$GERRIT_PROJECT'
306 gerritRefspec: '$GERRIT_REFSPEC'
Hardik Windlass696002d2021-05-07 11:38:28 +0000307 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700308 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000309 - target: 1t1gem-openonu-go-adapter-multi-olt-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700310 workflow: att
311 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700312 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700313 - target: 1t4gem-openonu-go-adapter-multi-olt-test
314 workflow: att
315 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700316 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700317 - target: 1t8gem-openonu-go-adapter-multi-olt-test
318 workflow: att
319 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700320 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000321 - target: reconcile-openonu-go-adapter-multi-olt-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700322 workflow: att
323 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700324 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700325 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
326 workflow: dt
327 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700328 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700329 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
330 workflow: tt
331 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700332 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000333 - target: voltha-onu-omci-get-multiolt-kind-att
334 workflow: att
335 flags: ""
336 teardown: true
337 - target: voltha-onu-omci-get-multiolt-kind-dt
338 workflow: dt
339 flags: ""
340 teardown: true
341 - target: voltha-onu-omci-get-multiolt-kind-tt
342 workflow: tt
343 flags: ""
344 teardown: true
Matteo Scandolo075740f2021-04-22 14:52:29 -0700345 olts: 2
Matteo Scandolo075740f2021-04-22 14:52:29 -0700346
TorstenThieme869ba322021-05-05 12:11:42 +0000347 - 'voltha-periodic-test':
348 name: 'periodic-voltha-pm-data-test-bbsim'
349 code-branch: 'master'
Andrea Campanella67850712021-06-04 08:13:08 +0000350 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 +0000351 time-trigger: "H H/23 * * *"
352 logLevel: 'DEBUG'
353 testTargets: |
354 - target: voltha-pm-data-single-kind-att
355 workflow: att
356 flags: ""
357 teardown: true
358 - target: voltha-pm-data-single-kind-dt
359 workflow: dt
360 flags: ""
361 teardown: true
362 - target: voltha-pm-data-single-kind-tt
363 workflow: tt
364 flags: ""
365 teardown: true
366 timeout: 140
367
368 - 'voltha-periodic-test':
369 name: 'patchset-voltha-pm-data-test-bbsim'
370 trigger-comment: "voltha test pm data singleolt"
TorstenThieme6877ab12021-05-26 13:28:54 +0000371 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 +0000372 code-branch: '$GERRIT_BRANCH'
373 gerrit-project: '$GERRIT_PROJECT'
374 gerritRefspec: '$GERRIT_REFSPEC'
375 logLevel: 'DEBUG'
376 testTargets: |
377 - target: voltha-pm-data-single-kind-att
378 workflow: att
379 flags: ""
380 teardown: true
381 - target: voltha-pm-data-single-kind-dt
382 workflow: dt
383 flags: ""
384 teardown: true
385 - target: voltha-pm-data-single-kind-tt
386 workflow: tt
387 flags: ""
388 teardown: true
389 timeout: 140
390
391 - 'voltha-periodic-test':
392 name: 'periodic-voltha-multiple-olts-pm-data-test-bbsim'
393 code-branch: 'master'
TorstenThieme6877ab12021-05-26 13:28:54 +0000394 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 +0000395 olts: 2
396 timeout: 180
397 logLevel: 'DEBUG'
398 testTargets: |
399 - target: voltha-pm-data-multiolt-kind-att
400 workflow: att
401 flags: ""
402 teardown: true
403 - target: voltha-pm-data-multiolt-kind-dt
404 workflow: dt
405 flags: ""
406 teardown: true
407 - target: voltha-pm-data-multiolt-kind-tt
408 workflow: tt
409 flags: ""
410 teardown: true
411 time-trigger: "H H/23 * * *"
412
413 - 'voltha-periodic-test':
414 name: 'patchset-voltha-multiple-olts-pm-data-test-bbsim'
415 trigger-comment: "voltha test pm data multiolt"
416 code-branch: '$GERRIT_BRANCH'
TorstenThieme6877ab12021-05-26 13:28:54 +0000417 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 +0000418 gerrit-project: '$GERRIT_PROJECT'
419 gerritRefspec: '$GERRIT_REFSPEC'
420 logLevel: 'DEBUG'
421 testTargets: |
422 - target: voltha-pm-data-multiolt-kind-att
423 workflow: att
424 flags: ""
425 teardown: true
426 - target: voltha-pm-data-multiolt-kind-dt
427 workflow: dt
428 flags: ""
429 teardown: true
430 - target: voltha-pm-data-multiolt-kind-tt
431 workflow: tt
432 flags: ""
433 teardown: true
434 olts: 2
435 timeout: 180
436
Matteo Scandolo075740f2021-04-22 14:52:29 -0700437 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +0530438 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim-2.7'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700439 pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700440 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass46d61132021-03-30 16:42:07 +0530441 make-target: openonu-go-adapter-multi-olt-test
442 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-multi-olt-test
443 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-multi-olt-test
TorstenThiemea6c21342021-05-05 09:21:59 +0000444 make-target-reconciletest: reconcile-openonu-go-adapter-multi-olt-test
445 make-target-reconciledttest: reconcile-openonu-go-adapter-multi-olt-test-dt
446 make-target-reconciletttest: reconcile-openonu-go-adapter-multi-olt-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +0530447 withAlarms: false
448 code-branch: 'voltha-2.7'
449 olts: 2
450 onus: 2
451 pons: 2
452 time-trigger: "H H/23 * * *"
453
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700454 - 'voltha-periodic-test':
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100455 name: 'periodic-voltha-test-DMI'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700456 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100457 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800458 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700459 testTargets: |
460 - target: bbsim-dmi-hw-management-test
461 workflow: att
462 flags: ""
463 teardown: true
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100464
Matteo Scandolo075740f2021-04-22 14:52:29 -0700465 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700466 name: 'periodic-voltha-test-DMI-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700467 pipeline-script: 'voltha/voltha-2.7/voltha-DMI-bbsim-tests.groovy'
Andrea Campanellae9739492020-12-17 09:54:04 +0100468 build-node: 'qct-pod4-node2'
469 make-target: bbsim-dmi-hw-management-test
470 withAlarms: false
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700471 code-branch: 'voltha-2.7'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800472 time-trigger: "H H/23 * * *"
Andrea Campanellae9739492020-12-17 09:54:04 +0100473
Matteo Scandolo075740f2021-04-22 14:52:29 -0700474 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700475 name: 'periodic-voltha-test-bbsim-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700476 pipeline-script: 'voltha/voltha-2.7/voltha-nightly-tests-bbsim.groovy'
Andy Bavier10926f12020-03-27 16:53:43 -0700477 build-node: 'qct-pod4-node2'
Andy Bavier10926f12020-03-27 16:53:43 -0700478 make-target: functional-single-kind
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800479 make-target-failtest: bbsim-failurescenarios
480 make-target-errortest: bbsim-errorscenarios
481 make-target-alarmtest: bbsim-alarms-kind
482 withAlarms: true
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700483 code-branch: 'voltha-2.7'
Suchitra Vemuri5fc1c6a2021-04-13 19:12:38 -0700484 time-trigger: "H H * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700485
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700486 - 'voltha-periodic-test':
Andy Bavier4be37062020-06-29 15:17:26 -0700487 name: 'periodic-voltha-etcd-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700488 build-node: 'ubuntu18.04-basebuild-4c-8g'
hwchiuc9189b72019-12-02 15:12:29 -0800489 code-branch: 'master'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700490 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
hwchiufdc49242019-11-18 16:37:22 -0800491 time-trigger: "H H/12 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700492 testTargets: |
493 - target: sanity-multi-kind
494 workflow: att
495 flags: ""
496 teardown: true
hwchiufdc49242019-11-18 16:37:22 -0800497
Matteo Scandolo075740f2021-04-22 14:52:29 -0700498 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700499 name: 'periodic-voltha-etcd-test-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700500 pipeline-script: 'voltha/voltha-2.7/voltha-system-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700501 build-node: 'ubuntu18.04-basebuild-4c-8g'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700502 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700503 make-target: sanity-multi-kind
504 onus: 2
505 pons: 2
506 time-trigger: "H H/12 * * *"
507
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700508 - 'voltha-periodic-test':
Andy Bavier3708d072019-12-10 15:22:18 -0700509 name: 'periodic-voltha-sanity-test-multi-runs'
Andy Bavier3708d072019-12-10 15:22:18 -0700510 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800511 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700512 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
513 testTargets: |
514 - target: sanity-kind
515 workflow: att
516 flags: ""
517 teardown: true
518 - target: sanity-kind
519 workflow: att
520 flags: ""
521 teardown: false
522 - target: sanity-kind
523 workflow: att
524 flags: ""
525 teardown: false
526 - target: sanity-kind
527 workflow: att
528 flags: ""
529 teardown: false
530 - target: sanity-kind
531 workflow: att
532 flags: ""
533 teardown: false
Andy Bavier10926f12020-03-27 16:53:43 -0700534
Matteo Scandolo075740f2021-04-22 14:52:29 -0700535 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700536 name: 'periodic-voltha-sanity-test-multi-runs-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700537 pipeline-script: 'voltha/voltha-2.7/voltha-go-multi-tests.groovy'
Andy Bavier10926f12020-03-27 16:53:43 -0700538 build-node: 'qct-pod4-node2'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700539 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700540 make-target: sanity-kind
541 onus: 1
542 pons: 1
543 test-runs: 5
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800544 time-trigger: "H H/23 * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700545
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700546 - 'voltha-periodic-test':
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700547 name: 'nightly-voltha-DTflow-sanity-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700548 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700549 code-branch: 'master'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700550 time-trigger: "@daily"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700551 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
552 testTargets: |
553 - target: sanity-kind-dt
554 workflow: dt
555 flags: ""
556 teardown: true
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700557
Matteo Scandolob6d80732021-05-05 14:06:42 -0700558 # ATT Per-patchset Pod builds on Tucson pod (master)
Andy Bavier51ba7e82019-12-17 11:01:01 -0700559 - 'verify_physical_voltha_patchset_auto':
560 name: 'verify_physical_voltha_patchset_auto'
Andrea Campanella1198cd52021-06-14 16:17:25 +0200561 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set global.log_level=debug'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700562 workflow: 'att'
Matteo Scandoloec3ec8e2021-05-27 13:03:00 -0700563 branch-pattern: master
Andy Bavier51ba7e82019-12-17 11:01:01 -0700564
Matteo Scandolob6d80732021-05-05 14:06:42 -0700565 # ATT Per-patchset Pod builds on Tucson pod (voltha-2.7)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700566 - 'verify_physical_voltha_patchset_auto':
567 name: 'verify_physical_voltha_patchset_auto_voltha-2.7'
Girish Gowdra7ca29da2021-06-23 15:34:09 -0700568 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700569 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700570 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
571 branch-pattern: voltha-2.7
Matteo Scandolob6d80732021-05-05 14:06:42 -0700572 workflow: 'att'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700573
Matteo Scandolob6d80732021-05-05 14:06:42 -0700574 # ATT Manual Pod builds on Tucson pod (master)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700575 - 'verify_physical_voltha_patchset_manual':
576 name: 'verify_physical_voltha_patchset_manual'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700577 trigger-string: 'hardware test'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700578 branch-pattern: master
Andrea Campanella1198cd52021-06-14 16:17:25 +0200579 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set global.log_level=debug'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700580 workflow: 'att'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700581
Matteo Scandolob6d80732021-05-05 14:06:42 -0700582 # ATT Manual Pod builds on Tucson pod (voltha-2.7)
583 - 'verify_physical_voltha_patchset_manual':
584 name: 'verify_physical_voltha_patchset_manual_voltha-2.7'
Girish Gowdra7ca29da2021-06-23 15:34:09 -0700585 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700586 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
587 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
588 trigger-string: 'hardware test'
589 branch-pattern: voltha-2.7
590 workflow: 'att'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700591
Matteo Scandolob6d80732021-05-05 14:06:42 -0700592 # DT Manual Pod builds on Tucson pod (master)
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700593 - 'verify_physical_voltha_patchset_manual':
594 name: 'verify_physical_voltha_patchset_manual_DT'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700595 workflow: 'dt'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700596 trigger-string: 'DT hardware test'
597 default-test-args: '-i sanityDt -i PowerSwitch -X'
598 branch-pattern: master
Andrea Campanella1198cd52021-06-14 16:17:25 +0200599 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set global.log_level=debug'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700600
Matteo Scandolob6d80732021-05-05 14:06:42 -0700601 # DT Per-patchset Pod builds on Tucson pod (voltha-2.7)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700602 - 'verify_physical_voltha_patchset_manual':
603 name: 'verify_physical_voltha_patchset_manual_DT_voltha-2.7'
604 workflow: 'dt'
Girish Gowdra7ca29da2021-06-23 15:34:09 -0700605 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700606 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700607 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700608 trigger-string: 'DT hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800609 default-test-args: '-i sanityDt -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700610 branch-pattern: voltha-2.7
Andy Bavier19c98a22019-11-11 13:57:11 -0700611
Kailash8b8de742019-07-30 08:54:51 -0700612- job-template:
Kailashaad71012019-08-27 10:36:53 -0700613 id: 'voltha-periodic-test'
614 name: '{name}'
Hardik Windlassec9341b2021-06-07 11:58:29 +0000615 pipeline-script: 'voltha/master/bbsim-tests.groovy'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700616 build-node: 'ubuntu18.04-basebuild-8c-15g'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700617 robot-args: ''
618 gerrit-project: ''
619 gerritRefspec: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700620 volthaSystemTestsChange: ''
621 volthaHelmChartsChange: ''
622 extraHelmFlags: ''
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700623 registry: mirror.registry.opennetworking.org
Matteo Scandolo075740f2021-04-22 14:52:29 -0700624 sandbox: true
625 olts: 1
TorstenThieme869ba322021-05-05 12:11:42 +0000626 timeout: 130
Hardik Windlass696002d2021-05-07 11:38:28 +0000627 logLevel: 'INFO'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700628
Matteo Scandolo075740f2021-04-22 14:52:29 -0700629 trigger-comment: vv7CBoQQYYonvaN8xcru
630 time-trigger: 0 0 29 2 *
631
632 description: |
633 <!-- Managed by Jenkins Job Builder -->
634 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
635 E2E Validation for Voltha 2.X
636
637 properties:
638 - cord-infra-properties:
639 build-days-to-keep: '{big-build-days-to-keep}'
640 artifact-num-to-keep: '{big-artifact-num-to-keep}'
641
642 wrappers:
643 - lf-infra-wrappers:
644 build-timeout: '{build-timeout}'
645 jenkins-ssh-credential: '{jenkins-ssh-credential}'
646
647 parameters:
648 - string:
649 name: buildNode
650 default: '{build-node}'
651 description: 'Name of the Jenkins node to run the job on'
652
653 - string:
654 name: extraHelmFlags
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700655 default: '{extraHelmFlags}'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700656 description: 'Helm flags (passed to each deployment)'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700657
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700658 # test configuration
659 # this is a parameter to drive the test execution, VOLTHA is redeployed each time with
660 # the provided configuration and then the make target is invoked,
661 # example value (has to be valid YAML):
662 # testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000663 # - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700664 # workflow: att
665 # flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700666 # teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700667 - text:
668 name: testTargets
669 default: '{testTargets}'
670 description: 'Test configuration, see the ci-management job definition for more info'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700671
672 - string:
673 name: branch
674 default: '{code-branch}'
675 description: 'Repo manifest branch for code checkout'
676
677 - string:
678 name: gerritProject
679 default: '{gerrit-project}'
680 description: 'Name of the Gerrit project'
681
682 - string:
683 name: gerritRefspec
684 default: ''
685 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
686
687 - string:
688 name: extraRobotArgs
689 default: '{robot-args}'
690 description: 'Arguments to pass to robot'
691
692 - string:
693 name: volthaSystemTestsChange
694 default: '{volthaSystemTestsChange}'
695 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
696
697 - string:
698 name: volthaHelmChartsChange
699 default: '{volthaHelmChartsChange}'
700 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
701
702 - string:
703 name: olts
704 default: '{olts}'
705 description: 'How many BBSim instances to run'
706
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700707 - string:
708 name: registry
709 default: '{registry}'
710 description: 'Which registry to use (amazon vs menlo)'
711
Hardik Windlass696002d2021-05-07 11:38:28 +0000712 - string:
713 name: logLevel
714 default: '{logLevel}'
715 description: 'Log level for all the components'
716
TorstenThieme869ba322021-05-05 12:11:42 +0000717 - string:
718 name: timeout
719 default: '{timeout}'
720 description: 'Timeout of pipeline job [minutes]'
721
Matteo Scandolo075740f2021-04-22 14:52:29 -0700722 project-type: pipeline
723 concurrent: true
724
725 dsl: !include-raw-escape: pipeline/{pipeline-script}
726
727 triggers:
728 # patchset jobs will set this to "0 0 29 2 *" (feb 29th, it's once every 4 years)
729 - timed: |
730 TZ=America/Los_Angeles
731 {time-trigger}
732 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
733 - gerrit:
734 server-name: '{gerrit-server-name}'
735 silent-start: false
736 successful-message: "PASSED openonu-go test"
737 failure-message: "FAILED openonu-go test"
738 unstable-message: "UNSTABLE openonu-go test"
739 trigger-on:
740 - comment-added-contains-event:
741 comment-contains-value: '.*{trigger-comment}.*'
742 projects:
743 - project-compare-type: REG_EXP
744 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter-go|ofagent-go|voltha-onos|bbsim)$'
745 branches:
746 - branch-compare-type: REG_EXP
747 branch-pattern: '{all-branches-regexp}'
748
749- job-template:
750 id: 'voltha-periodic-test-kind-voltha-based'
751 name: '{name}'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700752 pipeline-script: 'voltha/voltha-2.7/voltha-go-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -0700753 test-runs: 1
754 robot-args: ''
Andy Bavierb35171c2020-03-06 15:47:29 -0700755 gerrit-project: ''
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700756 work-flow: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700757 volthaSystemTestsChange: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700758 volthaHelmChartsChange: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700759 kindVolthaChange: ''
Andrea Campanella6d562182020-10-06 18:39:30 +0200760 extraHelmFlags: ''
Andy Bavier02b00dc2020-04-28 13:01:12 -0700761 sandbox: true
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800762 olts: 1
Matteo Scandolob36f0892020-11-23 12:19:48 -0800763 withAlarms: false
Andy Bavierb35171c2020-03-06 15:47:29 -0700764
Kailash8b8de742019-07-30 08:54:51 -0700765 description: |
766 <!-- Managed by Jenkins Job Builder -->
767 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
768 E2E Validation for Voltha 2.X
769
770 properties:
771 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800772 build-days-to-keep: '{big-build-days-to-keep}'
773 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Kailash8b8de742019-07-30 08:54:51 -0700774
775 wrappers:
776 - lf-infra-wrappers:
777 build-timeout: '{build-timeout}'
778 jenkins-ssh-credential: '{jenkins-ssh-credential}'
779
780 parameters:
781 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700782 name: buildNode
Andy Bavier833b78e2019-11-22 17:01:31 -0700783 default: '{build-node}'
Kailash8b8de742019-07-30 08:54:51 -0700784 description: 'Name of the Jenkins node to run the job on'
785
786 - string:
Andy Bavierea26c5c2019-09-18 08:09:17 -0700787 name: extraHelmFlags
Andrea Campanellae9517922021-05-06 10:01:44 +0200788 default: '--set onu={onus},pon={pons} {extraHelmFlags}'
Andy Bavierea26c5c2019-09-18 08:09:17 -0700789 description: 'Helm flags to pass to ./voltha up'
790
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800791 - bool:
792 name: withAlarms
Matteo Scandolob36f0892020-11-23 12:19:48 -0800793 default: '{withAlarms}'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800794 description: "Run alarm based tests when true"
795
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700796 - string:
Andy Bavier218385e2019-11-13 09:51:38 -0700797 name: makeTarget
798 default: '{make-target}'
799 description: 'Makefile target to invoke during test'
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700800
Andy Bavier4c8b3232019-11-22 16:17:47 -0700801 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800802 name: makeFailtestTarget
803 default: '{make-target-failtest}'
804 description: 'Makefile target to invoke during failure/based test'
805
806 - string:
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -0800807 name: makeMultiOltTarget
808 default: '{make-target-multipleolt}'
809 description: 'Makefile target to invoke during multiple olt test'
810
811 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800812 name: makeErrortestTarget
813 default: '{make-target-errortest}'
814 description: 'Makefile target to invoke during error test'
815
816 - string:
817 name: makeAlarmtestTarget
818 default: '{make-target-alarmtest}'
819 description: 'Makefile target to invoke during alarm test'
820
821 - string:
TorstenThieme669258d2021-01-29 09:03:10 +0000822 name: make1t4gemTestTarget
823 default: '{make-target-1t4gemtest}'
824 description: 'Makefile target to invoke during 1t4gem test'
825
826 - string:
827 name: make1t8gemTestTarget
828 default: '{make-target-1t8gemtest}'
829 description: 'Makefile target to invoke during 1t8gem test'
830
831 - string:
TorstenThieme45422612021-03-23 10:38:59 +0000832 name: makeReconcileTestTarget
833 default: '{make-target-reconciletest}'
834 description: 'Makefile target to invoke during reconcile test'
835
836 - string:
837 name: makeReconcileDtTestTarget
838 default: '{make-target-reconciledttest}'
839 description: 'Makefile target to invoke during reconcile dt test'
840
841 - string:
842 name: makeReconcileTtTestTarget
843 default: '{make-target-reconciletttest}'
844 description: 'Makefile target to invoke during reconcile tt test'
845
846 - string:
Andy Bavier4c8b3232019-11-22 16:17:47 -0700847 name: manifestUrl
848 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700849 description: 'Repo manifest URL for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700850
851 - string:
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700852 name: branch
Andy Bavier4c8b3232019-11-22 16:17:47 -0700853 default: '{code-branch}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700854 description: 'Repo manifest branch for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700855
Andy Bavier3708d072019-12-10 15:22:18 -0700856 - string:
Andy Bavierb35171c2020-03-06 15:47:29 -0700857 name: gerritProject
858 default: '{gerrit-project}'
859 description: 'Name of the Gerrit project'
860
861 - string:
862 name: gerritChangeNumber
863 default: ''
864 description: 'Changeset number in Gerrit'
865
866 - string:
867 name: gerritPatchsetNumber
868 default: ''
869 description: 'PatchSet number in Gerrit'
870
871 - string:
Andy Bavier3708d072019-12-10 15:22:18 -0700872 name: testRuns
873 default: '{test-runs}'
874 description: 'How many times to repeat the tests'
875
876 - string:
877 name: extraRobotArgs
878 default: '{robot-args}'
879 description: 'Arguments to pass to robot'
880
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700881 - string:
882 name: workFlow
883 default: '{work-flow}'
884 description: 'Workflow for testcase'
Andy Bavier3708d072019-12-10 15:22:18 -0700885
pierventref48ebc12020-07-17 16:01:32 +0200886 - string:
887 name: karafHome
888 default: '{karaf-home}'
889 description: 'Karaf home'
890
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700891 - string:
892 name: volthaSystemTestsChange
893 default: '{volthaSystemTestsChange}'
894 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
895
896 - string:
897 name: kindVolthaChange
898 default: '{kindVolthaChange}'
899 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
900
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800901 - string:
902 name: olts
903 default: '{olts}'
904 description: 'How many BBSim instances to run'
905
Kailash8b8de742019-07-30 08:54:51 -0700906 project-type: pipeline
Andy Bavier358aa0b2019-11-22 11:55:39 -0700907 concurrent: true
Kailash8b8de742019-07-30 08:54:51 -0700908
Zack Williamsb3292082019-10-11 17:15:18 -0700909 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailash6be1aa92019-08-05 18:11:11 -0700910
911 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700912 - timed: |
Kailash6be1aa92019-08-05 18:11:11 -0700913 TZ=America/Los_Angeles
Andy Bavier218385e2019-11-13 09:51:38 -0700914 {time-trigger}
Kailashaad71012019-08-27 10:36:53 -0700915
916- job-template:
917 id: 'voltha-patch-test'
Matteo Scandolo84e5f002020-02-10 11:50:05 -0800918 name: 'verify_{project}_sanity-test{name-extension}'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700919 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hardik Windlassec9341b2021-06-07 11:58:29 +0000920 pipeline-script: 'voltha/master/bbsim-tests.groovy'
Andy Bavier4318f8d2020-04-09 13:50:53 -0700921 override-branch: '$GERRIT_BRANCH'
Andy Bavier02b00dc2020-04-28 13:01:12 -0700922 sandbox: true
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800923 build-timeout: 20
Hardik Windlassfbf296b2021-06-08 07:36:51 +0000924 timeout: 50
925 olts: 1
926 registry: mirror.registry.opennetworking.org
927 logLevel: 'INFO'
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700928 volthaSystemTestsChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800929 volthaHelmChartsChange: ''
Matteo Scandolocecb0842021-05-04 13:16:47 -0700930 extraHelmFlags: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800931 branch-regexp: '{all-branches-regexp}'
Hardik Windlassec9341b2021-06-07 11:58:29 +0000932 testTargets: |
933 - target: sanity-kind-att
934 workflow: att
935 flags: ""
936 teardown: true
937 - target: sanity-kind-dt
938 workflow: dt
939 flags: ""
940 teardown: true
941 - target: sanity-kind-tt
942 workflow: tt
943 flags: ""
944 teardown: true
Matteo Scandolo42f517b2021-05-07 09:36:53 -0700945 kindVolthaChange: '' # this is only needed to test kind-voltha patches
Kailashaad71012019-08-27 10:36:53 -0700946
947 description: |
948 <!-- Managed by Jenkins Job Builder -->
949 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
950 E2E Validation for Voltha 2.X
951
952 properties:
953 - cord-infra-properties:
954 build-days-to-keep: '{build-days-to-keep}'
955 artifact-num-to-keep: '{artifact-num-to-keep}'
956
957 wrappers:
958 - lf-infra-wrappers:
959 build-timeout: '{build-timeout}'
960 jenkins-ssh-credential: '{jenkins-ssh-credential}'
961
962 parameters:
963 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700964 name: buildNode
Andrea Campanella4792b7f2021-04-23 15:06:42 +0200965 default: '{build-node}'
Kailashaad71012019-08-27 10:36:53 -0700966 description: 'Name of the Jenkins node to run the job on'
967
968 - string:
hwchiu14f97852019-10-08 10:51:11 -0700969 name: gerritProject
970 default: '$GERRIT_PROJECT'
971 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700972
973 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700974 name: gerritRefspec
975 default: '$GERRIT_REFSPEC'
976 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
Kailashaad71012019-08-27 10:36:53 -0700977
978 - string:
Andy Bavierbedd0392019-10-16 13:58:18 -0700979 name: extraHelmFlags
Matteo Scandolocecb0842021-05-04 13:16:47 -0700980 default: '{extraHelmFlags}'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700981 description: 'Helm flags to pass to every helm command'
Andy Bavierbedd0392019-10-16 13:58:18 -0700982
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700983 - string:
984 name: volthaSystemTestsChange
985 default: '{volthaSystemTestsChange}'
986 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
987
988 - string:
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800989 name: volthaHelmChartsChange
990 default: '{volthaHelmChartsChange}'
991 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
992
993 - string:
994 name: branch
995 default: '{override-branch}'
996 description: 'Name of the branch to use'
997
Hardik Windlassec9341b2021-06-07 11:58:29 +0000998 # test configuration
999 # this is a parameter to drive the test execution, VOLTHA is redeployed each time with
1000 # the provided configuration and then the make target is invoked,
1001 # example value (has to be valid YAML):
1002 # testTargets: |
1003 # - target: 1t1gem-openonu-go-adapter-test
1004 # workflow: att
1005 # flags: ""
1006 # teardown: true
1007 - text:
1008 name: testTargets
1009 default: '{testTargets}'
1010 description: 'Test configuration, see the ci-management job definition for more info'
1011
Hardik Windlassfbf296b2021-06-08 07:36:51 +00001012 - string:
1013 name: timeout
1014 default: '{timeout}'
1015 description: 'Timeout of pipeline job [minutes]'
1016
1017 - string:
1018 name: olts
1019 default: '{olts}'
1020 description: 'How many BBSim instances to run'
1021
1022 - string:
1023 name: registry
1024 default: '{registry}'
1025 description: 'Which registry to use (amazon vs menlo)'
1026
1027 - string:
1028 name: logLevel
1029 default: '{logLevel}'
1030 description: 'Log level for all the components'
1031
Matteo Scandolo42f517b2021-05-07 09:36:53 -07001032 # Used in the 2.7 based pipeline, can be removed after 2.8
1033 - string:
1034 name: kindVolthaChange
1035 default: '{kindVolthaChange}'
1036 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1" (only used to test kind-voltha changes in 2.7)'
1037
Kailashaad71012019-08-27 10:36:53 -07001038 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -07001039 concurrent: true
Kailashaad71012019-08-27 10:36:53 -07001040
Zack Williamsb3292082019-10-11 17:15:18 -07001041 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -07001042
1043 triggers:
Andy Bavierb99c3d32020-02-18 11:14:17 -07001044 - gerrit:
1045 server-name: '{gerrit-server-name}'
Kailashaad71012019-08-27 10:36:53 -07001046 dependency-jobs: '{dependency-jobs}'
Andy Bavierb99c3d32020-02-18 11:14:17 -07001047 silent-start: true
1048 trigger-on:
1049 - patchset-created-event:
1050 exclude-drafts: true
1051 exclude-trivial-rebase: false
1052 exclude-no-code-change: true
1053 - draft-published-event
1054 - comment-added-contains-event:
1055 comment-contains-value: '(?i)^.*recheck$'
1056 projects:
1057 - project-compare-type: REG_EXP
1058 project-pattern: '^{project}$'
1059 branches:
1060 - branch-compare-type: REG_EXP
Matteo Scandolo42f6e572021-01-25 15:11:34 -08001061 branch-pattern: '{branch-regexp}'
Andy Bavierb99c3d32020-02-18 11:14:17 -07001062 file-paths:
1063 - compare-type: REG_EXP
1064 pattern: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001065
1066# POD Per Patchset Pipeline Jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001067# to use these parameters in a job: `<<: *voltha-physical-patchset-parameters`
1068- voltha-physical-patchset-parameters: &voltha-physical-patchset-parameters
1069 name: voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -07001070 parameters:
1071 - string:
1072 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -07001073 default: '{build-node}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001074 description: 'Pod management node'
1075
1076 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001077 name: branch
1078 default: '$GERRIT_BRANCH'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001079 description: 'Name of the repo branch to use'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001080
1081 - string:
1082 name: gerritProject
1083 default: '$GERRIT_PROJECT'
1084 description: 'Name of the Gerrit project'
1085
1086 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -07001087 name: gerritRefspec
1088 default: '$GERRIT_REFSPEC'
1089 description: 'RefSpec number in Gerrit'
1090
1091 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001092 name: gerritComment
1093 default: '$GERRIT_EVENT_COMMENT_TEXT'
1094 description: 'RefSpec number in Gerrit'
1095
1096 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001097 name: cordRepoUrl
1098 default: '{gerrit-server-url}'
1099 description: 'The URL of the CORD Project repository'
1100
1101 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001102 name: configBaseDir
1103 default: 'pod-configs'
1104 description: 'The directory inside the POD configs repository'
1105
1106 - string:
1107 name: configDeploymentDir
1108 default: 'deployment-configs'
1109 description: 'The deployment configs folder'
1110
1111 - string:
1112 name: configKubernetesDir
1113 default: 'kubernetes-configs'
1114 description: 'The kubernetes config folder'
1115
1116 - string:
1117 name: configFileName
1118 default: '{config-pod}'
1119 description: 'The config file'
1120
1121 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001122 name: podName
1123 default: '{config-pod}'
1124
1125 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001126 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -07001127 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001128 description: 'Path of SADIS config to load'
1129
1130 - string:
Andy Bavier893d2442020-05-21 12:41:17 -07001131 name: oltDebVersionMaster
1132 default: '{oltDebVersionMaster}'
1133 description: 'OLT Software version to install for master branch builds'
1134
1135 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001136 name: oltDebVersionVoltha23
Andy Bavier893d2442020-05-21 12:41:17 -07001137 default: '{oltDebVersionVoltha23}'
1138 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001139
1140 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001141 name: profile
1142 default: '{profile}'
1143 description: 'Technology Profile pushed to the ETCD'
1144
1145 - string:
1146 name: notificationEmail
1147 default: 'andy@opennetworking.org'
1148 description: ''
1149
1150 - bool:
1151 name: reinstallOlt
1152 default: true
1153 description: "Re-install OLT software"
1154
Zack Williams03ebb272020-03-27 09:42:33 -07001155 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001156 name: extraRobotArgs
1157 default: '{default-test-args}'
1158 description: 'Arguments to pass to robot'
1159
1160 - string:
1161 name: volthaSystemTestsChange
1162 default: '{volthaSystemTestsChange}'
1163 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
1164
1165 - string:
1166 name: volthaHelmChartsChange
1167 default: '{volthaHelmChartsChange}'
1168 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
1169
1170 - string:
1171 name: workflow
1172 default: '{workflow}'
1173 description: 'Installs and uses the specified work flow on the POD'
1174
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001175 - string:
1176 name: extraHelmFlags
1177 default: '{extraHelmFlags}'
1178 description: 'Helm flags (passed to each helm command)'
1179
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001180 # deprecated parameters, remove after VOLTHA-2.8 is released
1181 - string:
1182 name: deploymentConfigFile
1183 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
1184 description: 'Path of deployment config file'
1185
1186 - string:
1187 name: kindVolthaValuesFile
1188 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
1189 description: 'Path of kind-voltha values override file'
1190
1191 - string:
1192 name: manifestUrl
1193 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
1194 description: 'URL to the repo manifest'
1195
1196 - string:
1197 name: gerritChangeNumber
1198 default: '$GERRIT_CHANGE_NUMBER'
1199 description: 'Changeset number in Gerrit'
1200
1201 - string:
1202 name: gerritPatchsetNumber
1203 default: '$GERRIT_PATCHSET_NUMBER'
1204 description: 'PatchSet number in Gerrit'
1205
1206 - string:
1207 name: localConfigDir
1208 default: null
1209 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
1210
1211 - string:
1212 name: configRepo
1213 default: 'pod-configs'
1214 description: 'A repository containing the config files, will be checked out if specified'
1215
1216 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001217 name: manualBranch
1218 default: '{manualBranch}'
1219 description: "If a non-empty string, build manually as a specific branch, not with a specific patchset"
Andy Bavier51ba7e82019-12-17 11:01:01 -07001220
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001221- job-template:
1222 name: '{name}'
1223 id: verify_physical_voltha_patchset_auto
1224 description: |
1225 <!-- Managed by Jenkins Job Builder -->
1226 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
1227 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
1228 Created by Andy Bavier, andy@opennetworking.org <br />
1229 Copyright (c) 2019 Open Networking Foundation (ONF)
1230 sandbox: true
1231 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Matteo Scandolob6d80732021-05-05 14:06:42 -07001232 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001233 build-node: 'tucson-pod'
1234 config-pod: 'tucson-pod'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001235 profile: 'Default'
Girish Gowdra7ca29da2021-06-23 15:34:09 -07001236 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001237 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
1238 volthaSystemTestsChange: ''
1239 volthaHelmChartsChange: ''
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001240 extraHelmFlags: ''
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001241
1242 properties:
1243 - cord-infra-properties:
1244 build-days-to-keep: '{build-days-to-keep}'
1245 artifact-num-to-keep: '{artifact-num-to-keep}'
1246
1247 <<: *voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -07001248
1249 project-type: pipeline
1250 concurrent: true
1251
1252 dsl: !include-raw-escape: pipeline/{pipeline-script}
1253
1254 triggers:
1255 - gerrit:
1256 server-name: '{gerrit-server-name}'
1257 dependency-jobs: '{dependency-jobs}'
1258 silent-start: false
1259 successful-message: "PASSED hardware test"
1260 failure-message: "FAILED hardware test"
1261 unstable-message: "UNSTABLE hardware test"
1262 trigger-on:
1263 - comment-added-event:
1264 approval-category: 'Code-Review'
1265 approval-value: '+2'
1266 projects:
1267 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001268 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-go)$'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001269 branches:
Andy Bavier37f6ea92020-04-03 11:13:35 -07001270 - branch-compare-type: REG_EXP
Matteo Scandoloec3ec8e2021-05-27 13:03:00 -07001271 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001272
Andy Bavier51ba7e82019-12-17 11:01:01 -07001273- job-template:
1274 name: '{name}'
1275 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001276 description: |
1277 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001278 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -07001279 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001280 Created by Andy Bavier, andy@opennetworking.org <br />
1281 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001282 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001283 build-node: 'tucson-pod'
1284 config-pod: 'tucson-pod'
Girish Gowdra7ca29da2021-06-23 15:34:09 -07001285 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001286 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
1287 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001288 trigger-string: 'hardware test'
Matteo Scandolob6d80732021-05-05 14:06:42 -07001289 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001290 volthaSystemTestsChange: ''
1291 volthaHelmChartsChange: ''
Matteo Scandolob6d80732021-05-05 14:06:42 -07001292 profile: 'Default'
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001293 extraHelmFlags: ''
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001294
1295 properties:
1296 - cord-infra-properties:
1297 build-days-to-keep: '{build-days-to-keep}'
1298 artifact-num-to-keep: '{artifact-num-to-keep}'
1299
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001300 <<: *voltha-physical-patchset-parameters
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001301
Andy Bavier8c11d462019-12-17 08:19:34 -07001302
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001303 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001304 concurrent: true
1305
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001306 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001307
Andy Bavier1f465592019-11-06 10:03:56 -07001308 triggers:
1309 - gerrit:
1310 server-name: '{gerrit-server-name}'
1311 dependency-jobs: '{dependency-jobs}'
1312 silent-start: false
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001313 successful-message: "PASSED {trigger-string}"
1314 failure-message: "FAILED {trigger-string}"
1315 unstable-message: "UNSTABLE {trigger-string}"
Andy Bavier1f465592019-11-06 10:03:56 -07001316 trigger-on:
1317 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001318 comment-contains-value: '^{trigger-string}$'
Scott Bakerda31d7b2020-01-08 16:35:52 -08001319 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001320 comment-contains-value: '^{trigger-string} with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -07001321 projects:
1322 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001323 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 -07001324 branches:
Andy Bavierfc3ca142020-03-27 13:44:25 -07001325 - branch-compare-type: REG_EXP
Matteo Scandoloec3ec8e2021-05-27 13:03:00 -07001326 branch-pattern: '{branch-pattern}'