blob: 85a4c67bb5bf8d8b9823b7f55b1dd924bae6cc34 [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
Hardik Windlass585910c2021-07-07 10:32:54 +0000109 timeout: 150
Hardik Windlass6598b032021-07-02 10:12:01 +0000110
Matteo Scandolo075740f2021-04-22 14:52:29 -0700111 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +0530112 name: 'periodic-voltha-multiple-olts-test-bbsim-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700113 pipeline-script: 'voltha/voltha-2.7/voltha-nightly-tests-bbsim.groovy'
Suchitra Vemuri95a73432020-12-16 13:17:48 -0800114 build-node: 'qct-pod4-node2'
115 make-target: functional-multi-olt
116 make-target-failtest: bbsim-multiolt-failurescenarios
117 make-target-errortest: bbsim-multiolt-errorscenarios
118 make-target-alarmtest: bbsim-alarms-kind
119 make-target-multipleolt: bbsim-multiolt-kind
120 withAlarms: false
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700121 code-branch: 'voltha-2.7'
Suchitra Vemuri95a73432020-12-16 13:17:48 -0800122 olts: 2
123 onus: 2
124 pons: 2
Suchitra Vemuri5fc1c6a2021-04-13 19:12:38 -0700125 time-trigger: "H H * * *"
Suchitra Vemuri95a73432020-12-16 13:17:48 -0800126
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700127 # openonu Go periodic tests
Suchitra Vemuri95a73432020-12-16 13:17:48 -0800128 - 'voltha-periodic-test':
TorstenThieme326e7972021-01-19 14:27:59 +0000129 name: 'periodic-voltha-openonu-go-test-bbsim'
TorstenThieme326e7972021-01-19 14:27:59 +0000130 code-branch: 'master'
Andrea Campanella67850712021-06-04 08:13:08 +0000131 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
TorstenThieme326e7972021-01-19 14:27:59 +0000132 time-trigger: "H H/12 * * *"
Hardik Windlass696002d2021-05-07 11:38:28 +0000133 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700134 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000135 - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700136 workflow: att
137 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700138 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700139 - target: 1t4gem-openonu-go-adapter-test
140 workflow: att
141 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700142 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700143 - target: 1t8gem-openonu-go-adapter-test
144 workflow: att
145 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700146 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700147 - target: mib-upload-templating-openonu-go-adapter-test
148 workflow: att
149 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700150 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000151 - target: reconcile-openonu-go-adapter-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700152 workflow: att
153 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700154 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700155 - target: reconcile-openonu-go-adapter-test-dt
156 workflow: dt
157 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700158 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700159 - target: reconcile-openonu-go-adapter-test-tt
160 workflow: tt
161 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700162 teardown: true
TorstenThieme39209882021-05-12 11:22:39 +0000163 - target: openonu-go-adapter-omci-hardening-passed-test
164 workflow: att
165 flags: "--set omci_response_rate=9 --set omci_timeout=1s"
166 teardown: true
167 - target: openonu-go-adapter-omci-hardening-failed-test
168 workflow: att
169 flags: "--set omci_response_rate=7"
170 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000171 - target: voltha-onu-omci-get-single-kind-att
172 workflow: att
173 flags: ""
174 teardown: true
175 - target: voltha-onu-omci-get-single-kind-dt
176 workflow: dt
177 flags: ""
178 teardown: true
179 - target: voltha-onu-omci-get-single-kind-tt
180 workflow: tt
181 flags: ""
182 teardown: true
TorstenThieme326e7972021-01-19 14:27:59 +0000183
184 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700185 name: 'patchset-voltha-openonu-go-test-bbsim'
Hardik Windlass8c3813b2021-05-07 08:13:37 +0000186 trigger-comment: "voltha test openonu singleolt"
Matteo Scandolo075740f2021-04-22 14:52:29 -0700187 code-branch: '$GERRIT_BRANCH'
Andrea Campanella67850712021-06-04 08:13:08 +0000188 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700189 gerrit-project: '$GERRIT_PROJECT'
190 gerritRefspec: '$GERRIT_REFSPEC'
Hardik Windlass696002d2021-05-07 11:38:28 +0000191 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700192 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000193 - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700194 workflow: att
195 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700196 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700197 - target: 1t4gem-openonu-go-adapter-test
198 workflow: att
199 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700200 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700201 - target: 1t8gem-openonu-go-adapter-test
202 workflow: att
203 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700204 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700205 - target: mib-upload-templating-openonu-go-adapter-test
206 workflow: att
207 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700208 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000209 - target: reconcile-openonu-go-adapter-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700210 workflow: att
211 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700212 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700213 - target: reconcile-openonu-go-adapter-test-dt
214 workflow: dt
215 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700216 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700217 - target: reconcile-openonu-go-adapter-test-tt
218 workflow: tt
219 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700220 teardown: true
TorstenThieme39209882021-05-12 11:22:39 +0000221 - target: openonu-go-adapter-omci-hardening-passed-test
222 workflow: att
223 flags: "--set omci_response_rate=9 --set omci_timeout=1s"
224 teardown: true
225 - target: openonu-go-adapter-omci-hardening-failed-test
226 workflow: att
227 flags: "--set omci_response_rate=7"
228 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000229 - target: voltha-onu-omci-get-single-kind-att
230 workflow: att
231 flags: ""
232 teardown: true
233 - target: voltha-onu-omci-get-single-kind-dt
234 workflow: dt
235 flags: ""
236 teardown: true
237 - target: voltha-onu-omci-get-single-kind-tt
238 workflow: tt
239 flags: ""
240 teardown: true
Matteo Scandolo075740f2021-04-22 14:52:29 -0700241
242 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +0530243 name: 'periodic-voltha-openonu-go-test-bbsim-2.7'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700244 pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700245 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass46d61132021-03-30 16:42:07 +0530246 make-target: openonu-go-adapter-test
247 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
248 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
TorstenThieme45422612021-03-23 10:38:59 +0000249 make-target-reconciletest: reconcile-openonu-go-adapter-test
250 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
251 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +0530252 withAlarms: false
253 code-branch: 'voltha-2.7'
254 time-trigger: "H H/23 * * *"
255
256 - 'voltha-periodic-test':
TorstenThieme669258d2021-01-29 09:03:10 +0000257 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700258 code-branch: 'master'
Andrea Campanella67850712021-06-04 08:13:08 +0000259 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700260 olts: 2
Hardik Windlass696002d2021-05-07 11:38:28 +0000261 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700262 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000263 - target: 1t1gem-openonu-go-adapter-multi-olt-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700264 workflow: att
265 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700266 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700267 - target: 1t4gem-openonu-go-adapter-multi-olt-test
268 workflow: att
269 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700270 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700271 - target: 1t8gem-openonu-go-adapter-multi-olt-test
272 workflow: att
273 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700274 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000275 - target: reconcile-openonu-go-adapter-multi-olt-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700276 workflow: att
277 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700278 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700279 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
280 workflow: dt
281 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700282 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700283 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
284 workflow: tt
285 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700286 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000287 - target: voltha-onu-omci-get-multiolt-kind-att
288 workflow: att
289 flags: ""
290 teardown: true
291 - target: voltha-onu-omci-get-multiolt-kind-dt
292 workflow: dt
293 flags: ""
294 teardown: true
295 - target: voltha-onu-omci-get-multiolt-kind-tt
296 workflow: tt
297 flags: ""
298 teardown: true
TorstenThieme669258d2021-01-29 09:03:10 +0000299 time-trigger: "H H/12 * * *"
300
301 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700302 name: 'patchset-voltha-multiple-olts-openonu-go-test-bbsim'
303 trigger-comment: "voltha test openonu multiolt"
304 code-branch: '$GERRIT_BRANCH'
Hardik Windlass696002d2021-05-07 11:38:28 +0000305 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700306 gerrit-project: '$GERRIT_PROJECT'
307 gerritRefspec: '$GERRIT_REFSPEC'
Hardik Windlass696002d2021-05-07 11:38:28 +0000308 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700309 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000310 - target: 1t1gem-openonu-go-adapter-multi-olt-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700311 workflow: att
312 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700313 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700314 - target: 1t4gem-openonu-go-adapter-multi-olt-test
315 workflow: att
316 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700317 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700318 - target: 1t8gem-openonu-go-adapter-multi-olt-test
319 workflow: att
320 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700321 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000322 - target: reconcile-openonu-go-adapter-multi-olt-test-att
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: reconcile-openonu-go-adapter-multi-olt-test-dt
327 workflow: dt
328 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700329 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700330 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
331 workflow: tt
332 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700333 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000334 - target: voltha-onu-omci-get-multiolt-kind-att
335 workflow: att
336 flags: ""
337 teardown: true
338 - target: voltha-onu-omci-get-multiolt-kind-dt
339 workflow: dt
340 flags: ""
341 teardown: true
342 - target: voltha-onu-omci-get-multiolt-kind-tt
343 workflow: tt
344 flags: ""
345 teardown: true
Matteo Scandolo075740f2021-04-22 14:52:29 -0700346 olts: 2
Matteo Scandolo075740f2021-04-22 14:52:29 -0700347
TorstenThieme869ba322021-05-05 12:11:42 +0000348 - 'voltha-periodic-test':
349 name: 'periodic-voltha-pm-data-test-bbsim'
350 code-branch: 'master'
Andrea Campanella67850712021-06-04 08:13:08 +0000351 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 +0000352 time-trigger: "H H/23 * * *"
353 logLevel: 'DEBUG'
354 testTargets: |
355 - target: voltha-pm-data-single-kind-att
356 workflow: att
357 flags: ""
358 teardown: true
359 - target: voltha-pm-data-single-kind-dt
360 workflow: dt
361 flags: ""
362 teardown: true
363 - target: voltha-pm-data-single-kind-tt
364 workflow: tt
365 flags: ""
366 teardown: true
367 timeout: 140
368
369 - 'voltha-periodic-test':
370 name: 'patchset-voltha-pm-data-test-bbsim'
371 trigger-comment: "voltha test pm data singleolt"
TorstenThieme6877ab12021-05-26 13:28:54 +0000372 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 +0000373 code-branch: '$GERRIT_BRANCH'
374 gerrit-project: '$GERRIT_PROJECT'
375 gerritRefspec: '$GERRIT_REFSPEC'
376 logLevel: 'DEBUG'
377 testTargets: |
378 - target: voltha-pm-data-single-kind-att
379 workflow: att
380 flags: ""
381 teardown: true
382 - target: voltha-pm-data-single-kind-dt
383 workflow: dt
384 flags: ""
385 teardown: true
386 - target: voltha-pm-data-single-kind-tt
387 workflow: tt
388 flags: ""
389 teardown: true
390 timeout: 140
391
392 - 'voltha-periodic-test':
393 name: 'periodic-voltha-multiple-olts-pm-data-test-bbsim'
394 code-branch: 'master'
TorstenThieme6877ab12021-05-26 13:28:54 +0000395 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 +0000396 olts: 2
397 timeout: 180
398 logLevel: 'DEBUG'
399 testTargets: |
400 - target: voltha-pm-data-multiolt-kind-att
401 workflow: att
402 flags: ""
403 teardown: true
404 - target: voltha-pm-data-multiolt-kind-dt
405 workflow: dt
406 flags: ""
407 teardown: true
408 - target: voltha-pm-data-multiolt-kind-tt
409 workflow: tt
410 flags: ""
411 teardown: true
412 time-trigger: "H H/23 * * *"
413
414 - 'voltha-periodic-test':
415 name: 'patchset-voltha-multiple-olts-pm-data-test-bbsim'
416 trigger-comment: "voltha test pm data multiolt"
417 code-branch: '$GERRIT_BRANCH'
TorstenThieme6877ab12021-05-26 13:28:54 +0000418 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 +0000419 gerrit-project: '$GERRIT_PROJECT'
420 gerritRefspec: '$GERRIT_REFSPEC'
421 logLevel: 'DEBUG'
422 testTargets: |
423 - target: voltha-pm-data-multiolt-kind-att
424 workflow: att
425 flags: ""
426 teardown: true
427 - target: voltha-pm-data-multiolt-kind-dt
428 workflow: dt
429 flags: ""
430 teardown: true
431 - target: voltha-pm-data-multiolt-kind-tt
432 workflow: tt
433 flags: ""
434 teardown: true
435 olts: 2
436 timeout: 180
437
Matteo Scandolo075740f2021-04-22 14:52:29 -0700438 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +0530439 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim-2.7'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700440 pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700441 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass46d61132021-03-30 16:42:07 +0530442 make-target: openonu-go-adapter-multi-olt-test
443 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-multi-olt-test
444 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-multi-olt-test
TorstenThiemea6c21342021-05-05 09:21:59 +0000445 make-target-reconciletest: reconcile-openonu-go-adapter-multi-olt-test
446 make-target-reconciledttest: reconcile-openonu-go-adapter-multi-olt-test-dt
447 make-target-reconciletttest: reconcile-openonu-go-adapter-multi-olt-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +0530448 withAlarms: false
449 code-branch: 'voltha-2.7'
450 olts: 2
451 onus: 2
452 pons: 2
453 time-trigger: "H H/23 * * *"
454
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700455 - 'voltha-periodic-test':
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100456 name: 'periodic-voltha-test-DMI'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700457 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100458 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800459 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700460 testTargets: |
461 - target: bbsim-dmi-hw-management-test
462 workflow: att
463 flags: ""
464 teardown: true
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100465
Matteo Scandolo075740f2021-04-22 14:52:29 -0700466 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700467 name: 'periodic-voltha-test-DMI-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700468 pipeline-script: 'voltha/voltha-2.7/voltha-DMI-bbsim-tests.groovy'
Andrea Campanellae9739492020-12-17 09:54:04 +0100469 build-node: 'qct-pod4-node2'
470 make-target: bbsim-dmi-hw-management-test
471 withAlarms: false
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700472 code-branch: 'voltha-2.7'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800473 time-trigger: "H H/23 * * *"
Andrea Campanellae9739492020-12-17 09:54:04 +0100474
Matteo Scandolo075740f2021-04-22 14:52:29 -0700475 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700476 name: 'periodic-voltha-test-bbsim-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700477 pipeline-script: 'voltha/voltha-2.7/voltha-nightly-tests-bbsim.groovy'
Andy Bavier10926f12020-03-27 16:53:43 -0700478 build-node: 'qct-pod4-node2'
Andy Bavier10926f12020-03-27 16:53:43 -0700479 make-target: functional-single-kind
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800480 make-target-failtest: bbsim-failurescenarios
481 make-target-errortest: bbsim-errorscenarios
482 make-target-alarmtest: bbsim-alarms-kind
483 withAlarms: true
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700484 code-branch: 'voltha-2.7'
Suchitra Vemuri5fc1c6a2021-04-13 19:12:38 -0700485 time-trigger: "H H * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700486
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700487 - 'voltha-periodic-test':
Andy Bavier4be37062020-06-29 15:17:26 -0700488 name: 'periodic-voltha-etcd-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700489 build-node: 'ubuntu18.04-basebuild-4c-8g'
hwchiuc9189b72019-12-02 15:12:29 -0800490 code-branch: 'master'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700491 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
hwchiufdc49242019-11-18 16:37:22 -0800492 time-trigger: "H H/12 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700493 testTargets: |
494 - target: sanity-multi-kind
495 workflow: att
496 flags: ""
497 teardown: true
hwchiufdc49242019-11-18 16:37:22 -0800498
Matteo Scandolo075740f2021-04-22 14:52:29 -0700499 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700500 name: 'periodic-voltha-etcd-test-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700501 pipeline-script: 'voltha/voltha-2.7/voltha-system-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700502 build-node: 'ubuntu18.04-basebuild-4c-8g'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700503 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700504 make-target: sanity-multi-kind
505 onus: 2
506 pons: 2
507 time-trigger: "H H/12 * * *"
508
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700509 - 'voltha-periodic-test':
Andy Bavier3708d072019-12-10 15:22:18 -0700510 name: 'periodic-voltha-sanity-test-multi-runs'
Andy Bavier3708d072019-12-10 15:22:18 -0700511 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800512 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700513 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
514 testTargets: |
515 - target: sanity-kind
516 workflow: att
517 flags: ""
518 teardown: true
519 - target: sanity-kind
520 workflow: att
521 flags: ""
522 teardown: false
523 - target: sanity-kind
524 workflow: att
525 flags: ""
526 teardown: false
527 - target: sanity-kind
528 workflow: att
529 flags: ""
530 teardown: false
531 - target: sanity-kind
532 workflow: att
533 flags: ""
534 teardown: false
Andy Bavier10926f12020-03-27 16:53:43 -0700535
Matteo Scandolo075740f2021-04-22 14:52:29 -0700536 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700537 name: 'periodic-voltha-sanity-test-multi-runs-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700538 pipeline-script: 'voltha/voltha-2.7/voltha-go-multi-tests.groovy'
Andy Bavier10926f12020-03-27 16:53:43 -0700539 build-node: 'qct-pod4-node2'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700540 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700541 make-target: sanity-kind
542 onus: 1
543 pons: 1
544 test-runs: 5
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800545 time-trigger: "H H/23 * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700546
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700547 - 'voltha-periodic-test':
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700548 name: 'nightly-voltha-DTflow-sanity-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700549 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700550 code-branch: 'master'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700551 time-trigger: "@daily"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700552 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
553 testTargets: |
554 - target: sanity-kind-dt
555 workflow: dt
556 flags: ""
557 teardown: true
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700558
Matteo Scandolob6d80732021-05-05 14:06:42 -0700559 # ATT Per-patchset Pod builds on Tucson pod (master)
Andy Bavier51ba7e82019-12-17 11:01:01 -0700560 - 'verify_physical_voltha_patchset_auto':
561 name: 'verify_physical_voltha_patchset_auto'
Andrea Campanella1198cd52021-06-14 16:17:25 +0200562 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set global.log_level=debug'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700563 workflow: 'att'
Matteo Scandoloec3ec8e2021-05-27 13:03:00 -0700564 branch-pattern: master
Andy Bavier51ba7e82019-12-17 11:01:01 -0700565
Matteo Scandolob6d80732021-05-05 14:06:42 -0700566 # ATT Per-patchset Pod builds on Tucson pod (voltha-2.7)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700567 - 'verify_physical_voltha_patchset_auto':
568 name: 'verify_physical_voltha_patchset_auto_voltha-2.7'
Girish Gowdra7ca29da2021-06-23 15:34:09 -0700569 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700570 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700571 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
572 branch-pattern: voltha-2.7
Matteo Scandolob6d80732021-05-05 14:06:42 -0700573 workflow: 'att'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700574
Matteo Scandolob6d80732021-05-05 14:06:42 -0700575 # ATT Manual Pod builds on Tucson pod (master)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700576 - 'verify_physical_voltha_patchset_manual':
577 name: 'verify_physical_voltha_patchset_manual'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700578 trigger-string: 'hardware test'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700579 branch-pattern: master
Andrea Campanella1198cd52021-06-14 16:17:25 +0200580 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set global.log_level=debug'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700581 workflow: 'att'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700582
Matteo Scandolob6d80732021-05-05 14:06:42 -0700583 # ATT Manual Pod builds on Tucson pod (voltha-2.7)
584 - 'verify_physical_voltha_patchset_manual':
585 name: 'verify_physical_voltha_patchset_manual_voltha-2.7'
Girish Gowdra7ca29da2021-06-23 15:34:09 -0700586 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700587 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
588 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
589 trigger-string: 'hardware test'
590 branch-pattern: voltha-2.7
591 workflow: 'att'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700592
Matteo Scandolob6d80732021-05-05 14:06:42 -0700593 # DT Manual Pod builds on Tucson pod (master)
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700594 - 'verify_physical_voltha_patchset_manual':
595 name: 'verify_physical_voltha_patchset_manual_DT'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700596 workflow: 'dt'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700597 trigger-string: 'DT hardware test'
598 default-test-args: '-i sanityDt -i PowerSwitch -X'
599 branch-pattern: master
Andrea Campanella1198cd52021-06-14 16:17:25 +0200600 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set global.log_level=debug'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700601
Matteo Scandolob6d80732021-05-05 14:06:42 -0700602 # DT Per-patchset Pod builds on Tucson pod (voltha-2.7)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700603 - 'verify_physical_voltha_patchset_manual':
604 name: 'verify_physical_voltha_patchset_manual_DT_voltha-2.7'
605 workflow: 'dt'
Girish Gowdra7ca29da2021-06-23 15:34:09 -0700606 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700607 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700608 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700609 trigger-string: 'DT hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800610 default-test-args: '-i sanityDt -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700611 branch-pattern: voltha-2.7
Andy Bavier19c98a22019-11-11 13:57:11 -0700612
Kailash8b8de742019-07-30 08:54:51 -0700613- job-template:
Kailashaad71012019-08-27 10:36:53 -0700614 id: 'voltha-periodic-test'
615 name: '{name}'
Hardik Windlassec9341b2021-06-07 11:58:29 +0000616 pipeline-script: 'voltha/master/bbsim-tests.groovy'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700617 build-node: 'ubuntu18.04-basebuild-8c-15g'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700618 robot-args: ''
619 gerrit-project: ''
620 gerritRefspec: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700621 volthaSystemTestsChange: ''
622 volthaHelmChartsChange: ''
623 extraHelmFlags: ''
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700624 registry: mirror.registry.opennetworking.org
Matteo Scandolo075740f2021-04-22 14:52:29 -0700625 sandbox: true
626 olts: 1
TorstenThieme869ba322021-05-05 12:11:42 +0000627 timeout: 130
Hardik Windlass696002d2021-05-07 11:38:28 +0000628 logLevel: 'INFO'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700629
Matteo Scandolo075740f2021-04-22 14:52:29 -0700630 trigger-comment: vv7CBoQQYYonvaN8xcru
631 time-trigger: 0 0 29 2 *
632
633 description: |
634 <!-- Managed by Jenkins Job Builder -->
635 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
636 E2E Validation for Voltha 2.X
637
638 properties:
639 - cord-infra-properties:
640 build-days-to-keep: '{big-build-days-to-keep}'
641 artifact-num-to-keep: '{big-artifact-num-to-keep}'
642
643 wrappers:
644 - lf-infra-wrappers:
645 build-timeout: '{build-timeout}'
646 jenkins-ssh-credential: '{jenkins-ssh-credential}'
647
648 parameters:
649 - string:
650 name: buildNode
651 default: '{build-node}'
652 description: 'Name of the Jenkins node to run the job on'
653
654 - string:
655 name: extraHelmFlags
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700656 default: '{extraHelmFlags}'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700657 description: 'Helm flags (passed to each deployment)'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700658
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700659 # test configuration
660 # this is a parameter to drive the test execution, VOLTHA is redeployed each time with
661 # the provided configuration and then the make target is invoked,
662 # example value (has to be valid YAML):
663 # testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000664 # - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700665 # workflow: att
666 # flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700667 # teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700668 - text:
669 name: testTargets
670 default: '{testTargets}'
671 description: 'Test configuration, see the ci-management job definition for more info'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700672
673 - string:
674 name: branch
675 default: '{code-branch}'
676 description: 'Repo manifest branch for code checkout'
677
678 - string:
679 name: gerritProject
680 default: '{gerrit-project}'
681 description: 'Name of the Gerrit project'
682
683 - string:
684 name: gerritRefspec
685 default: ''
686 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
687
688 - string:
689 name: extraRobotArgs
690 default: '{robot-args}'
691 description: 'Arguments to pass to robot'
692
693 - string:
694 name: volthaSystemTestsChange
695 default: '{volthaSystemTestsChange}'
696 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
697
698 - string:
699 name: volthaHelmChartsChange
700 default: '{volthaHelmChartsChange}'
701 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
702
703 - string:
704 name: olts
705 default: '{olts}'
706 description: 'How many BBSim instances to run'
707
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700708 - string:
709 name: registry
710 default: '{registry}'
711 description: 'Which registry to use (amazon vs menlo)'
712
Hardik Windlass696002d2021-05-07 11:38:28 +0000713 - string:
714 name: logLevel
715 default: '{logLevel}'
716 description: 'Log level for all the components'
717
TorstenThieme869ba322021-05-05 12:11:42 +0000718 - string:
719 name: timeout
720 default: '{timeout}'
721 description: 'Timeout of pipeline job [minutes]'
722
Matteo Scandolo075740f2021-04-22 14:52:29 -0700723 project-type: pipeline
724 concurrent: true
725
726 dsl: !include-raw-escape: pipeline/{pipeline-script}
727
728 triggers:
729 # patchset jobs will set this to "0 0 29 2 *" (feb 29th, it's once every 4 years)
730 - timed: |
731 TZ=America/Los_Angeles
732 {time-trigger}
733 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
734 - gerrit:
735 server-name: '{gerrit-server-name}'
736 silent-start: false
737 successful-message: "PASSED openonu-go test"
738 failure-message: "FAILED openonu-go test"
739 unstable-message: "UNSTABLE openonu-go test"
740 trigger-on:
741 - comment-added-contains-event:
742 comment-contains-value: '.*{trigger-comment}.*'
743 projects:
744 - project-compare-type: REG_EXP
745 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter-go|ofagent-go|voltha-onos|bbsim)$'
746 branches:
747 - branch-compare-type: REG_EXP
748 branch-pattern: '{all-branches-regexp}'
749
750- job-template:
751 id: 'voltha-periodic-test-kind-voltha-based'
752 name: '{name}'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700753 pipeline-script: 'voltha/voltha-2.7/voltha-go-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -0700754 test-runs: 1
755 robot-args: ''
Andy Bavierb35171c2020-03-06 15:47:29 -0700756 gerrit-project: ''
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700757 work-flow: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700758 volthaSystemTestsChange: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700759 volthaHelmChartsChange: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700760 kindVolthaChange: ''
Andrea Campanella6d562182020-10-06 18:39:30 +0200761 extraHelmFlags: ''
Andy Bavier02b00dc2020-04-28 13:01:12 -0700762 sandbox: true
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800763 olts: 1
Matteo Scandolob36f0892020-11-23 12:19:48 -0800764 withAlarms: false
Andy Bavierb35171c2020-03-06 15:47:29 -0700765
Kailash8b8de742019-07-30 08:54:51 -0700766 description: |
767 <!-- Managed by Jenkins Job Builder -->
768 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
769 E2E Validation for Voltha 2.X
770
771 properties:
772 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800773 build-days-to-keep: '{big-build-days-to-keep}'
774 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Kailash8b8de742019-07-30 08:54:51 -0700775
776 wrappers:
777 - lf-infra-wrappers:
778 build-timeout: '{build-timeout}'
779 jenkins-ssh-credential: '{jenkins-ssh-credential}'
780
781 parameters:
782 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700783 name: buildNode
Andy Bavier833b78e2019-11-22 17:01:31 -0700784 default: '{build-node}'
Kailash8b8de742019-07-30 08:54:51 -0700785 description: 'Name of the Jenkins node to run the job on'
786
787 - string:
Andy Bavierea26c5c2019-09-18 08:09:17 -0700788 name: extraHelmFlags
Andrea Campanellae9517922021-05-06 10:01:44 +0200789 default: '--set onu={onus},pon={pons} {extraHelmFlags}'
Andy Bavierea26c5c2019-09-18 08:09:17 -0700790 description: 'Helm flags to pass to ./voltha up'
791
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800792 - bool:
793 name: withAlarms
Matteo Scandolob36f0892020-11-23 12:19:48 -0800794 default: '{withAlarms}'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800795 description: "Run alarm based tests when true"
796
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700797 - string:
Andy Bavier218385e2019-11-13 09:51:38 -0700798 name: makeTarget
799 default: '{make-target}'
800 description: 'Makefile target to invoke during test'
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700801
Andy Bavier4c8b3232019-11-22 16:17:47 -0700802 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800803 name: makeFailtestTarget
804 default: '{make-target-failtest}'
805 description: 'Makefile target to invoke during failure/based test'
806
807 - string:
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -0800808 name: makeMultiOltTarget
809 default: '{make-target-multipleolt}'
810 description: 'Makefile target to invoke during multiple olt test'
811
812 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800813 name: makeErrortestTarget
814 default: '{make-target-errortest}'
815 description: 'Makefile target to invoke during error test'
816
817 - string:
818 name: makeAlarmtestTarget
819 default: '{make-target-alarmtest}'
820 description: 'Makefile target to invoke during alarm test'
821
822 - string:
TorstenThieme669258d2021-01-29 09:03:10 +0000823 name: make1t4gemTestTarget
824 default: '{make-target-1t4gemtest}'
825 description: 'Makefile target to invoke during 1t4gem test'
826
827 - string:
828 name: make1t8gemTestTarget
829 default: '{make-target-1t8gemtest}'
830 description: 'Makefile target to invoke during 1t8gem test'
831
832 - string:
TorstenThieme45422612021-03-23 10:38:59 +0000833 name: makeReconcileTestTarget
834 default: '{make-target-reconciletest}'
835 description: 'Makefile target to invoke during reconcile test'
836
837 - string:
838 name: makeReconcileDtTestTarget
839 default: '{make-target-reconciledttest}'
840 description: 'Makefile target to invoke during reconcile dt test'
841
842 - string:
843 name: makeReconcileTtTestTarget
844 default: '{make-target-reconciletttest}'
845 description: 'Makefile target to invoke during reconcile tt test'
846
847 - string:
Andy Bavier4c8b3232019-11-22 16:17:47 -0700848 name: manifestUrl
849 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700850 description: 'Repo manifest URL for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700851
852 - string:
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700853 name: branch
Andy Bavier4c8b3232019-11-22 16:17:47 -0700854 default: '{code-branch}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700855 description: 'Repo manifest branch for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700856
Andy Bavier3708d072019-12-10 15:22:18 -0700857 - string:
Andy Bavierb35171c2020-03-06 15:47:29 -0700858 name: gerritProject
859 default: '{gerrit-project}'
860 description: 'Name of the Gerrit project'
861
862 - string:
863 name: gerritChangeNumber
864 default: ''
865 description: 'Changeset number in Gerrit'
866
867 - string:
868 name: gerritPatchsetNumber
869 default: ''
870 description: 'PatchSet number in Gerrit'
871
872 - string:
Andy Bavier3708d072019-12-10 15:22:18 -0700873 name: testRuns
874 default: '{test-runs}'
875 description: 'How many times to repeat the tests'
876
877 - string:
878 name: extraRobotArgs
879 default: '{robot-args}'
880 description: 'Arguments to pass to robot'
881
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700882 - string:
883 name: workFlow
884 default: '{work-flow}'
885 description: 'Workflow for testcase'
Andy Bavier3708d072019-12-10 15:22:18 -0700886
pierventref48ebc12020-07-17 16:01:32 +0200887 - string:
888 name: karafHome
889 default: '{karaf-home}'
890 description: 'Karaf home'
891
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700892 - string:
893 name: volthaSystemTestsChange
894 default: '{volthaSystemTestsChange}'
895 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
896
897 - string:
898 name: kindVolthaChange
899 default: '{kindVolthaChange}'
900 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
901
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800902 - string:
903 name: olts
904 default: '{olts}'
905 description: 'How many BBSim instances to run'
906
Kailash8b8de742019-07-30 08:54:51 -0700907 project-type: pipeline
Andy Bavier358aa0b2019-11-22 11:55:39 -0700908 concurrent: true
Kailash8b8de742019-07-30 08:54:51 -0700909
Zack Williamsb3292082019-10-11 17:15:18 -0700910 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailash6be1aa92019-08-05 18:11:11 -0700911
912 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700913 - timed: |
Kailash6be1aa92019-08-05 18:11:11 -0700914 TZ=America/Los_Angeles
Andy Bavier218385e2019-11-13 09:51:38 -0700915 {time-trigger}
Kailashaad71012019-08-27 10:36:53 -0700916
917- job-template:
918 id: 'voltha-patch-test'
Matteo Scandolo84e5f002020-02-10 11:50:05 -0800919 name: 'verify_{project}_sanity-test{name-extension}'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700920 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hardik Windlassec9341b2021-06-07 11:58:29 +0000921 pipeline-script: 'voltha/master/bbsim-tests.groovy'
Andy Bavier4318f8d2020-04-09 13:50:53 -0700922 override-branch: '$GERRIT_BRANCH'
Andy Bavier02b00dc2020-04-28 13:01:12 -0700923 sandbox: true
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800924 build-timeout: 20
Hardik Windlassfbf296b2021-06-08 07:36:51 +0000925 timeout: 50
926 olts: 1
927 registry: mirror.registry.opennetworking.org
928 logLevel: 'INFO'
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700929 volthaSystemTestsChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800930 volthaHelmChartsChange: ''
Matteo Scandolocecb0842021-05-04 13:16:47 -0700931 extraHelmFlags: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800932 branch-regexp: '{all-branches-regexp}'
Hardik Windlassec9341b2021-06-07 11:58:29 +0000933 testTargets: |
934 - target: sanity-kind-att
935 workflow: att
936 flags: ""
937 teardown: true
938 - target: sanity-kind-dt
939 workflow: dt
940 flags: ""
941 teardown: true
942 - target: sanity-kind-tt
943 workflow: tt
944 flags: ""
945 teardown: true
Matteo Scandolo42f517b2021-05-07 09:36:53 -0700946 kindVolthaChange: '' # this is only needed to test kind-voltha patches
Kailashaad71012019-08-27 10:36:53 -0700947
948 description: |
949 <!-- Managed by Jenkins Job Builder -->
950 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
951 E2E Validation for Voltha 2.X
952
953 properties:
954 - cord-infra-properties:
955 build-days-to-keep: '{build-days-to-keep}'
956 artifact-num-to-keep: '{artifact-num-to-keep}'
957
958 wrappers:
959 - lf-infra-wrappers:
960 build-timeout: '{build-timeout}'
961 jenkins-ssh-credential: '{jenkins-ssh-credential}'
962
963 parameters:
964 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700965 name: buildNode
Andrea Campanella4792b7f2021-04-23 15:06:42 +0200966 default: '{build-node}'
Kailashaad71012019-08-27 10:36:53 -0700967 description: 'Name of the Jenkins node to run the job on'
968
969 - string:
hwchiu14f97852019-10-08 10:51:11 -0700970 name: gerritProject
971 default: '$GERRIT_PROJECT'
972 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700973
974 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700975 name: gerritRefspec
976 default: '$GERRIT_REFSPEC'
977 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
Kailashaad71012019-08-27 10:36:53 -0700978
979 - string:
Andy Bavierbedd0392019-10-16 13:58:18 -0700980 name: extraHelmFlags
Matteo Scandolocecb0842021-05-04 13:16:47 -0700981 default: '{extraHelmFlags}'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700982 description: 'Helm flags to pass to every helm command'
Andy Bavierbedd0392019-10-16 13:58:18 -0700983
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700984 - string:
985 name: volthaSystemTestsChange
986 default: '{volthaSystemTestsChange}'
987 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
988
989 - string:
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800990 name: volthaHelmChartsChange
991 default: '{volthaHelmChartsChange}'
992 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
993
994 - string:
995 name: branch
996 default: '{override-branch}'
997 description: 'Name of the branch to use'
998
Hardik Windlassec9341b2021-06-07 11:58:29 +0000999 # test configuration
1000 # this is a parameter to drive the test execution, VOLTHA is redeployed each time with
1001 # the provided configuration and then the make target is invoked,
1002 # example value (has to be valid YAML):
1003 # testTargets: |
1004 # - target: 1t1gem-openonu-go-adapter-test
1005 # workflow: att
1006 # flags: ""
1007 # teardown: true
1008 - text:
1009 name: testTargets
1010 default: '{testTargets}'
1011 description: 'Test configuration, see the ci-management job definition for more info'
1012
Hardik Windlassfbf296b2021-06-08 07:36:51 +00001013 - string:
1014 name: timeout
1015 default: '{timeout}'
1016 description: 'Timeout of pipeline job [minutes]'
1017
1018 - string:
1019 name: olts
1020 default: '{olts}'
1021 description: 'How many BBSim instances to run'
1022
1023 - string:
1024 name: registry
1025 default: '{registry}'
1026 description: 'Which registry to use (amazon vs menlo)'
1027
1028 - string:
1029 name: logLevel
1030 default: '{logLevel}'
1031 description: 'Log level for all the components'
1032
Matteo Scandolo42f517b2021-05-07 09:36:53 -07001033 # Used in the 2.7 based pipeline, can be removed after 2.8
1034 - string:
1035 name: kindVolthaChange
1036 default: '{kindVolthaChange}'
1037 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)'
1038
Kailashaad71012019-08-27 10:36:53 -07001039 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -07001040 concurrent: true
Kailashaad71012019-08-27 10:36:53 -07001041
Zack Williamsb3292082019-10-11 17:15:18 -07001042 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -07001043
1044 triggers:
Andy Bavierb99c3d32020-02-18 11:14:17 -07001045 - gerrit:
1046 server-name: '{gerrit-server-name}'
Kailashaad71012019-08-27 10:36:53 -07001047 dependency-jobs: '{dependency-jobs}'
Andy Bavierb99c3d32020-02-18 11:14:17 -07001048 silent-start: true
1049 trigger-on:
1050 - patchset-created-event:
1051 exclude-drafts: true
1052 exclude-trivial-rebase: false
1053 exclude-no-code-change: true
1054 - draft-published-event
1055 - comment-added-contains-event:
1056 comment-contains-value: '(?i)^.*recheck$'
1057 projects:
1058 - project-compare-type: REG_EXP
1059 project-pattern: '^{project}$'
1060 branches:
1061 - branch-compare-type: REG_EXP
Matteo Scandolo42f6e572021-01-25 15:11:34 -08001062 branch-pattern: '{branch-regexp}'
Andy Bavierb99c3d32020-02-18 11:14:17 -07001063 file-paths:
1064 - compare-type: REG_EXP
1065 pattern: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001066
1067# POD Per Patchset Pipeline Jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001068# to use these parameters in a job: `<<: *voltha-physical-patchset-parameters`
1069- voltha-physical-patchset-parameters: &voltha-physical-patchset-parameters
1070 name: voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -07001071 parameters:
1072 - string:
1073 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -07001074 default: '{build-node}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001075 description: 'Pod management node'
1076
1077 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001078 name: branch
1079 default: '$GERRIT_BRANCH'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001080 description: 'Name of the repo branch to use'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001081
1082 - string:
1083 name: gerritProject
1084 default: '$GERRIT_PROJECT'
1085 description: 'Name of the Gerrit project'
1086
1087 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -07001088 name: gerritRefspec
1089 default: '$GERRIT_REFSPEC'
1090 description: 'RefSpec number in Gerrit'
1091
1092 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001093 name: gerritComment
1094 default: '$GERRIT_EVENT_COMMENT_TEXT'
1095 description: 'RefSpec number in Gerrit'
1096
1097 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001098 name: cordRepoUrl
1099 default: '{gerrit-server-url}'
1100 description: 'The URL of the CORD Project repository'
1101
1102 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001103 name: configBaseDir
1104 default: 'pod-configs'
1105 description: 'The directory inside the POD configs repository'
1106
1107 - string:
1108 name: configDeploymentDir
1109 default: 'deployment-configs'
1110 description: 'The deployment configs folder'
1111
1112 - string:
1113 name: configKubernetesDir
1114 default: 'kubernetes-configs'
1115 description: 'The kubernetes config folder'
1116
1117 - string:
1118 name: configFileName
1119 default: '{config-pod}'
1120 description: 'The config file'
1121
1122 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001123 name: podName
1124 default: '{config-pod}'
1125
1126 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001127 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -07001128 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001129 description: 'Path of SADIS config to load'
1130
1131 - string:
Andy Bavier893d2442020-05-21 12:41:17 -07001132 name: oltDebVersionMaster
1133 default: '{oltDebVersionMaster}'
1134 description: 'OLT Software version to install for master branch builds'
1135
1136 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001137 name: oltDebVersionVoltha23
Andy Bavier893d2442020-05-21 12:41:17 -07001138 default: '{oltDebVersionVoltha23}'
1139 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001140
1141 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001142 name: profile
1143 default: '{profile}'
1144 description: 'Technology Profile pushed to the ETCD'
1145
1146 - string:
1147 name: notificationEmail
1148 default: 'andy@opennetworking.org'
1149 description: ''
1150
1151 - bool:
1152 name: reinstallOlt
1153 default: true
1154 description: "Re-install OLT software"
1155
Zack Williams03ebb272020-03-27 09:42:33 -07001156 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001157 name: extraRobotArgs
1158 default: '{default-test-args}'
1159 description: 'Arguments to pass to robot'
1160
1161 - string:
1162 name: volthaSystemTestsChange
1163 default: '{volthaSystemTestsChange}'
1164 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
1165
1166 - string:
1167 name: volthaHelmChartsChange
1168 default: '{volthaHelmChartsChange}'
1169 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
1170
1171 - string:
1172 name: workflow
1173 default: '{workflow}'
1174 description: 'Installs and uses the specified work flow on the POD'
1175
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001176 - string:
1177 name: extraHelmFlags
1178 default: '{extraHelmFlags}'
1179 description: 'Helm flags (passed to each helm command)'
1180
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001181 # deprecated parameters, remove after VOLTHA-2.8 is released
1182 - string:
1183 name: deploymentConfigFile
1184 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
1185 description: 'Path of deployment config file'
1186
1187 - string:
1188 name: kindVolthaValuesFile
1189 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
1190 description: 'Path of kind-voltha values override file'
1191
1192 - string:
1193 name: manifestUrl
1194 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
1195 description: 'URL to the repo manifest'
1196
1197 - string:
1198 name: gerritChangeNumber
1199 default: '$GERRIT_CHANGE_NUMBER'
1200 description: 'Changeset number in Gerrit'
1201
1202 - string:
1203 name: gerritPatchsetNumber
1204 default: '$GERRIT_PATCHSET_NUMBER'
1205 description: 'PatchSet number in Gerrit'
1206
1207 - string:
1208 name: localConfigDir
1209 default: null
1210 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
1211
1212 - string:
1213 name: configRepo
1214 default: 'pod-configs'
1215 description: 'A repository containing the config files, will be checked out if specified'
1216
1217 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001218 name: manualBranch
1219 default: '{manualBranch}'
1220 description: "If a non-empty string, build manually as a specific branch, not with a specific patchset"
Andy Bavier51ba7e82019-12-17 11:01:01 -07001221
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001222- job-template:
1223 name: '{name}'
1224 id: verify_physical_voltha_patchset_auto
1225 description: |
1226 <!-- Managed by Jenkins Job Builder -->
1227 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
1228 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
1229 Created by Andy Bavier, andy@opennetworking.org <br />
1230 Copyright (c) 2019 Open Networking Foundation (ONF)
1231 sandbox: true
1232 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Matteo Scandolob6d80732021-05-05 14:06:42 -07001233 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001234 build-node: 'tucson-pod'
1235 config-pod: 'tucson-pod'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001236 profile: 'Default'
Girish Gowdra7ca29da2021-06-23 15:34:09 -07001237 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001238 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
1239 volthaSystemTestsChange: ''
1240 volthaHelmChartsChange: ''
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001241 extraHelmFlags: ''
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001242
1243 properties:
1244 - cord-infra-properties:
1245 build-days-to-keep: '{build-days-to-keep}'
1246 artifact-num-to-keep: '{artifact-num-to-keep}'
1247
1248 <<: *voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -07001249
1250 project-type: pipeline
1251 concurrent: true
1252
1253 dsl: !include-raw-escape: pipeline/{pipeline-script}
1254
1255 triggers:
1256 - gerrit:
1257 server-name: '{gerrit-server-name}'
1258 dependency-jobs: '{dependency-jobs}'
1259 silent-start: false
1260 successful-message: "PASSED hardware test"
1261 failure-message: "FAILED hardware test"
1262 unstable-message: "UNSTABLE hardware test"
1263 trigger-on:
1264 - comment-added-event:
1265 approval-category: 'Code-Review'
1266 approval-value: '+2'
1267 projects:
1268 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001269 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-go)$'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001270 branches:
Andy Bavier37f6ea92020-04-03 11:13:35 -07001271 - branch-compare-type: REG_EXP
Matteo Scandoloec3ec8e2021-05-27 13:03:00 -07001272 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001273
Andy Bavier51ba7e82019-12-17 11:01:01 -07001274- job-template:
1275 name: '{name}'
1276 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001277 description: |
1278 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001279 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -07001280 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001281 Created by Andy Bavier, andy@opennetworking.org <br />
1282 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001283 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001284 build-node: 'tucson-pod'
1285 config-pod: 'tucson-pod'
Girish Gowdra7ca29da2021-06-23 15:34:09 -07001286 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001287 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
1288 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001289 trigger-string: 'hardware test'
Matteo Scandolob6d80732021-05-05 14:06:42 -07001290 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001291 volthaSystemTestsChange: ''
1292 volthaHelmChartsChange: ''
Matteo Scandolob6d80732021-05-05 14:06:42 -07001293 profile: 'Default'
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001294 extraHelmFlags: ''
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001295
1296 properties:
1297 - cord-infra-properties:
1298 build-days-to-keep: '{build-days-to-keep}'
1299 artifact-num-to-keep: '{artifact-num-to-keep}'
1300
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001301 <<: *voltha-physical-patchset-parameters
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001302
Andy Bavier8c11d462019-12-17 08:19:34 -07001303
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001304 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001305 concurrent: true
1306
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001307 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001308
Andy Bavier1f465592019-11-06 10:03:56 -07001309 triggers:
1310 - gerrit:
1311 server-name: '{gerrit-server-name}'
1312 dependency-jobs: '{dependency-jobs}'
1313 silent-start: false
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001314 successful-message: "PASSED {trigger-string}"
1315 failure-message: "FAILED {trigger-string}"
1316 unstable-message: "UNSTABLE {trigger-string}"
Andy Bavier1f465592019-11-06 10:03:56 -07001317 trigger-on:
1318 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001319 comment-contains-value: '^{trigger-string}$'
Scott Bakerda31d7b2020-01-08 16:35:52 -08001320 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001321 comment-contains-value: '^{trigger-string} with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -07001322 projects:
1323 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001324 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 -07001325 branches:
Andy Bavierfc3ca142020-03-27 13:44:25 -07001326 - branch-compare-type: REG_EXP
Matteo Scandoloec3ec8e2021-05-27 13:03:00 -07001327 branch-pattern: '{branch-pattern}'