blob: 1ad8e79e8b957acdf3c50093cd80eaef2f26f679 [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 Campanella0334d402021-07-05 13:31:53 +020027 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master \
28 --set voltha.images.rw_core.repository=andreacampanella/voltha-rw-core \
29 --set voltha.images.rw_core.tag=meter \
30 --set voltha.images.ofagent.repository=volthacore/voltha-ofagent \
31 --set voltha.images.ofagent.tag=noflows '
Suchitra Vemuricbb9d842021-02-24 20:29:19 -080032 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -070033 testTargets: |
34 - target: functional-single-kind
35 workflow: att
36 flags: ""
37 teardown: true
38 - target: bbsim-alarms-kind
39 workflow: att
40 flags: ""
41 teardown: false
42 - target: bbsim-failurescenarios
43 workflow: att
44 flags: ""
45 teardown: false
46 - target: bbsim-errorscenarios
47 workflow: att
48 flags: ""
49 teardown: false
50
51 - 'voltha-periodic-test':
52 name: 'periodic-voltha-multiple-olts-test-bbsim'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080053 code-branch: 'master'
54 olts: 2
Andrea Campanella67850712021-06-04 08:13:08 +000055 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -080056 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -070057 testTargets: |
58 - target: functional-multi-olt
59 workflow: att
60 flags: ""
61 teardown: true
62 - target: bbsim-multiolt-failurescenarios
63 workflow: att
64 flags: ""
65 teardown: false
66 - target: bbsim-multiolt-errorscenarios
67 workflow: att
68 flags: ""
69 teardown: false
70 - target: bbsim-multiolt-kind
71 workflow: att
72 flags: ""
73 teardown: false
Andy Bavierf93f3142020-01-09 16:08:51 -070074
Matteo Scandolo075740f2021-04-22 14:52:29 -070075 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +053076 name: 'periodic-voltha-multiple-olts-test-bbsim-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -070077 pipeline-script: 'voltha/voltha-2.7/voltha-nightly-tests-bbsim.groovy'
Suchitra Vemuri95a73432020-12-16 13:17:48 -080078 build-node: 'qct-pod4-node2'
79 make-target: functional-multi-olt
80 make-target-failtest: bbsim-multiolt-failurescenarios
81 make-target-errortest: bbsim-multiolt-errorscenarios
82 make-target-alarmtest: bbsim-alarms-kind
83 make-target-multipleolt: bbsim-multiolt-kind
84 withAlarms: false
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -070085 code-branch: 'voltha-2.7'
Suchitra Vemuri95a73432020-12-16 13:17:48 -080086 olts: 2
87 onus: 2
88 pons: 2
Suchitra Vemuri5fc1c6a2021-04-13 19:12:38 -070089 time-trigger: "H H * * *"
Suchitra Vemuri95a73432020-12-16 13:17:48 -080090
Matteo Scandoloa57b0972021-05-03 14:04:58 -070091 # openonu Go periodic tests
Suchitra Vemuri95a73432020-12-16 13:17:48 -080092 - 'voltha-periodic-test':
TorstenThieme326e7972021-01-19 14:27:59 +000093 name: 'periodic-voltha-openonu-go-test-bbsim'
TorstenThieme326e7972021-01-19 14:27:59 +000094 code-branch: 'master'
Andrea Campanella67850712021-06-04 08:13:08 +000095 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
TorstenThieme326e7972021-01-19 14:27:59 +000096 time-trigger: "H H/12 * * *"
Hardik Windlass696002d2021-05-07 11:38:28 +000097 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -070098 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +000099 - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700100 workflow: att
101 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700102 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700103 - target: 1t4gem-openonu-go-adapter-test
104 workflow: att
105 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700106 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700107 - target: 1t8gem-openonu-go-adapter-test
108 workflow: att
109 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700110 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700111 - target: mib-upload-templating-openonu-go-adapter-test
112 workflow: att
113 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700114 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000115 - target: reconcile-openonu-go-adapter-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700116 workflow: att
117 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700118 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700119 - target: reconcile-openonu-go-adapter-test-dt
120 workflow: dt
121 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700122 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700123 - target: reconcile-openonu-go-adapter-test-tt
124 workflow: tt
125 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700126 teardown: true
TorstenThieme39209882021-05-12 11:22:39 +0000127 - target: openonu-go-adapter-omci-hardening-passed-test
128 workflow: att
129 flags: "--set omci_response_rate=9 --set omci_timeout=1s"
130 teardown: true
131 - target: openonu-go-adapter-omci-hardening-failed-test
132 workflow: att
133 flags: "--set omci_response_rate=7"
134 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000135 - target: voltha-onu-omci-get-single-kind-att
136 workflow: att
137 flags: ""
138 teardown: true
139 - target: voltha-onu-omci-get-single-kind-dt
140 workflow: dt
141 flags: ""
142 teardown: true
143 - target: voltha-onu-omci-get-single-kind-tt
144 workflow: tt
145 flags: ""
146 teardown: true
TorstenThieme326e7972021-01-19 14:27:59 +0000147
148 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700149 name: 'patchset-voltha-openonu-go-test-bbsim'
Hardik Windlass8c3813b2021-05-07 08:13:37 +0000150 trigger-comment: "voltha test openonu singleolt"
Matteo Scandolo075740f2021-04-22 14:52:29 -0700151 code-branch: '$GERRIT_BRANCH'
Andrea Campanella67850712021-06-04 08:13:08 +0000152 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700153 gerrit-project: '$GERRIT_PROJECT'
154 gerritRefspec: '$GERRIT_REFSPEC'
Hardik Windlass696002d2021-05-07 11:38:28 +0000155 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700156 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000157 - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700158 workflow: att
159 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700160 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700161 - target: 1t4gem-openonu-go-adapter-test
162 workflow: att
163 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700164 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700165 - target: 1t8gem-openonu-go-adapter-test
166 workflow: att
167 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700168 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700169 - target: mib-upload-templating-openonu-go-adapter-test
170 workflow: att
171 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700172 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000173 - target: reconcile-openonu-go-adapter-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700174 workflow: att
175 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700176 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700177 - target: reconcile-openonu-go-adapter-test-dt
178 workflow: dt
179 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700180 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700181 - target: reconcile-openonu-go-adapter-test-tt
182 workflow: tt
183 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700184 teardown: true
TorstenThieme39209882021-05-12 11:22:39 +0000185 - target: openonu-go-adapter-omci-hardening-passed-test
186 workflow: att
187 flags: "--set omci_response_rate=9 --set omci_timeout=1s"
188 teardown: true
189 - target: openonu-go-adapter-omci-hardening-failed-test
190 workflow: att
191 flags: "--set omci_response_rate=7"
192 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000193 - target: voltha-onu-omci-get-single-kind-att
194 workflow: att
195 flags: ""
196 teardown: true
197 - target: voltha-onu-omci-get-single-kind-dt
198 workflow: dt
199 flags: ""
200 teardown: true
201 - target: voltha-onu-omci-get-single-kind-tt
202 workflow: tt
203 flags: ""
204 teardown: true
Matteo Scandolo075740f2021-04-22 14:52:29 -0700205
206 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +0530207 name: 'periodic-voltha-openonu-go-test-bbsim-2.7'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700208 pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700209 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass46d61132021-03-30 16:42:07 +0530210 make-target: openonu-go-adapter-test
211 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
212 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
TorstenThieme45422612021-03-23 10:38:59 +0000213 make-target-reconciletest: reconcile-openonu-go-adapter-test
214 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
215 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +0530216 withAlarms: false
217 code-branch: 'voltha-2.7'
218 time-trigger: "H H/23 * * *"
219
220 - 'voltha-periodic-test':
TorstenThieme669258d2021-01-29 09:03:10 +0000221 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700222 code-branch: 'master'
Andrea Campanella67850712021-06-04 08:13:08 +0000223 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700224 olts: 2
Hardik Windlass696002d2021-05-07 11:38:28 +0000225 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700226 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000227 - target: 1t1gem-openonu-go-adapter-multi-olt-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700228 workflow: att
229 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700230 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700231 - target: 1t4gem-openonu-go-adapter-multi-olt-test
232 workflow: att
233 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700234 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700235 - target: 1t8gem-openonu-go-adapter-multi-olt-test
236 workflow: att
237 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700238 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000239 - target: reconcile-openonu-go-adapter-multi-olt-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700240 workflow: att
241 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700242 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700243 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
244 workflow: dt
245 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700246 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700247 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
248 workflow: tt
249 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700250 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000251 - target: voltha-onu-omci-get-multiolt-kind-att
252 workflow: att
253 flags: ""
254 teardown: true
255 - target: voltha-onu-omci-get-multiolt-kind-dt
256 workflow: dt
257 flags: ""
258 teardown: true
259 - target: voltha-onu-omci-get-multiolt-kind-tt
260 workflow: tt
261 flags: ""
262 teardown: true
TorstenThieme669258d2021-01-29 09:03:10 +0000263 time-trigger: "H H/12 * * *"
264
265 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700266 name: 'patchset-voltha-multiple-olts-openonu-go-test-bbsim'
267 trigger-comment: "voltha test openonu multiolt"
268 code-branch: '$GERRIT_BRANCH'
Hardik Windlass696002d2021-05-07 11:38:28 +0000269 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700270 gerrit-project: '$GERRIT_PROJECT'
271 gerritRefspec: '$GERRIT_REFSPEC'
Hardik Windlass696002d2021-05-07 11:38:28 +0000272 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700273 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000274 - target: 1t1gem-openonu-go-adapter-multi-olt-test
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: 1t4gem-openonu-go-adapter-multi-olt-test
279 workflow: att
280 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700281 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700282 - target: 1t8gem-openonu-go-adapter-multi-olt-test
283 workflow: att
284 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700285 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000286 - target: reconcile-openonu-go-adapter-multi-olt-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700287 workflow: att
288 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700289 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700290 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
291 workflow: dt
292 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700293 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700294 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
295 workflow: tt
296 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700297 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000298 - target: voltha-onu-omci-get-multiolt-kind-att
299 workflow: att
300 flags: ""
301 teardown: true
302 - target: voltha-onu-omci-get-multiolt-kind-dt
303 workflow: dt
304 flags: ""
305 teardown: true
306 - target: voltha-onu-omci-get-multiolt-kind-tt
307 workflow: tt
308 flags: ""
309 teardown: true
Matteo Scandolo075740f2021-04-22 14:52:29 -0700310 olts: 2
Matteo Scandolo075740f2021-04-22 14:52:29 -0700311
TorstenThieme869ba322021-05-05 12:11:42 +0000312 - 'voltha-periodic-test':
313 name: 'periodic-voltha-pm-data-test-bbsim'
314 code-branch: 'master'
Andrea Campanella67850712021-06-04 08:13:08 +0000315 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 +0000316 time-trigger: "H H/23 * * *"
317 logLevel: 'DEBUG'
318 testTargets: |
319 - target: voltha-pm-data-single-kind-att
320 workflow: att
321 flags: ""
322 teardown: true
323 - target: voltha-pm-data-single-kind-dt
324 workflow: dt
325 flags: ""
326 teardown: true
327 - target: voltha-pm-data-single-kind-tt
328 workflow: tt
329 flags: ""
330 teardown: true
331 timeout: 140
332
333 - 'voltha-periodic-test':
334 name: 'patchset-voltha-pm-data-test-bbsim'
335 trigger-comment: "voltha test pm data singleolt"
336 code-branch: '$GERRIT_BRANCH'
TorstenThieme6877ab12021-05-26 13:28:54 +0000337 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 +0000338 code-branch: '$GERRIT_BRANCH'
339 gerrit-project: '$GERRIT_PROJECT'
340 gerritRefspec: '$GERRIT_REFSPEC'
341 logLevel: 'DEBUG'
342 testTargets: |
343 - target: voltha-pm-data-single-kind-att
344 workflow: att
345 flags: ""
346 teardown: true
347 - target: voltha-pm-data-single-kind-dt
348 workflow: dt
349 flags: ""
350 teardown: true
351 - target: voltha-pm-data-single-kind-tt
352 workflow: tt
353 flags: ""
354 teardown: true
355 timeout: 140
356
357 - 'voltha-periodic-test':
358 name: 'periodic-voltha-multiple-olts-pm-data-test-bbsim'
359 code-branch: 'master'
TorstenThieme6877ab12021-05-26 13:28:54 +0000360 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 +0000361 olts: 2
362 timeout: 180
363 logLevel: 'DEBUG'
364 testTargets: |
365 - target: voltha-pm-data-multiolt-kind-att
366 workflow: att
367 flags: ""
368 teardown: true
369 - target: voltha-pm-data-multiolt-kind-dt
370 workflow: dt
371 flags: ""
372 teardown: true
373 - target: voltha-pm-data-multiolt-kind-tt
374 workflow: tt
375 flags: ""
376 teardown: true
377 time-trigger: "H H/23 * * *"
378
379 - 'voltha-periodic-test':
380 name: 'patchset-voltha-multiple-olts-pm-data-test-bbsim'
381 trigger-comment: "voltha test pm data multiolt"
382 code-branch: '$GERRIT_BRANCH'
TorstenThieme6877ab12021-05-26 13:28:54 +0000383 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 +0000384 gerrit-project: '$GERRIT_PROJECT'
385 gerritRefspec: '$GERRIT_REFSPEC'
386 logLevel: 'DEBUG'
387 testTargets: |
388 - target: voltha-pm-data-multiolt-kind-att
389 workflow: att
390 flags: ""
391 teardown: true
392 - target: voltha-pm-data-multiolt-kind-dt
393 workflow: dt
394 flags: ""
395 teardown: true
396 - target: voltha-pm-data-multiolt-kind-tt
397 workflow: tt
398 flags: ""
399 teardown: true
400 olts: 2
401 timeout: 180
402
Matteo Scandolo075740f2021-04-22 14:52:29 -0700403 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +0530404 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim-2.7'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700405 pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700406 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass46d61132021-03-30 16:42:07 +0530407 make-target: openonu-go-adapter-multi-olt-test
408 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-multi-olt-test
409 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-multi-olt-test
TorstenThiemea6c21342021-05-05 09:21:59 +0000410 make-target-reconciletest: reconcile-openonu-go-adapter-multi-olt-test
411 make-target-reconciledttest: reconcile-openonu-go-adapter-multi-olt-test-dt
412 make-target-reconciletttest: reconcile-openonu-go-adapter-multi-olt-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +0530413 withAlarms: false
414 code-branch: 'voltha-2.7'
415 olts: 2
416 onus: 2
417 pons: 2
418 time-trigger: "H H/23 * * *"
419
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700420 - 'voltha-periodic-test':
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100421 name: 'periodic-voltha-test-DMI'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700422 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100423 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800424 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700425 testTargets: |
426 - target: bbsim-dmi-hw-management-test
427 workflow: att
428 flags: ""
429 teardown: true
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100430
Matteo Scandolo075740f2021-04-22 14:52:29 -0700431 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700432 name: 'periodic-voltha-test-DMI-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700433 pipeline-script: 'voltha/voltha-2.7/voltha-DMI-bbsim-tests.groovy'
Andrea Campanellae9739492020-12-17 09:54:04 +0100434 build-node: 'qct-pod4-node2'
435 make-target: bbsim-dmi-hw-management-test
436 withAlarms: false
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700437 code-branch: 'voltha-2.7'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800438 time-trigger: "H H/23 * * *"
Andrea Campanellae9739492020-12-17 09:54:04 +0100439
Matteo Scandolo075740f2021-04-22 14:52:29 -0700440 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700441 name: 'periodic-voltha-test-bbsim-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700442 pipeline-script: 'voltha/voltha-2.7/voltha-nightly-tests-bbsim.groovy'
Andy Bavier10926f12020-03-27 16:53:43 -0700443 build-node: 'qct-pod4-node2'
Andy Bavier10926f12020-03-27 16:53:43 -0700444 make-target: functional-single-kind
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800445 make-target-failtest: bbsim-failurescenarios
446 make-target-errortest: bbsim-errorscenarios
447 make-target-alarmtest: bbsim-alarms-kind
448 withAlarms: true
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700449 code-branch: 'voltha-2.7'
Suchitra Vemuri5fc1c6a2021-04-13 19:12:38 -0700450 time-trigger: "H H * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700451
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700452 - 'voltha-periodic-test':
Andy Bavier4be37062020-06-29 15:17:26 -0700453 name: 'periodic-voltha-etcd-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700454 build-node: 'ubuntu18.04-basebuild-4c-8g'
hwchiuc9189b72019-12-02 15:12:29 -0800455 code-branch: 'master'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700456 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
hwchiufdc49242019-11-18 16:37:22 -0800457 time-trigger: "H H/12 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700458 testTargets: |
459 - target: sanity-multi-kind
460 workflow: att
461 flags: ""
462 teardown: true
hwchiufdc49242019-11-18 16:37:22 -0800463
Matteo Scandolo075740f2021-04-22 14:52:29 -0700464 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700465 name: 'periodic-voltha-etcd-test-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700466 pipeline-script: 'voltha/voltha-2.7/voltha-system-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700467 build-node: 'ubuntu18.04-basebuild-4c-8g'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700468 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700469 make-target: sanity-multi-kind
470 onus: 2
471 pons: 2
472 time-trigger: "H H/12 * * *"
473
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700474 - 'voltha-periodic-test':
Andy Bavier3708d072019-12-10 15:22:18 -0700475 name: 'periodic-voltha-sanity-test-multi-runs'
Andy Bavier3708d072019-12-10 15:22:18 -0700476 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800477 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700478 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
479 testTargets: |
480 - target: sanity-kind
481 workflow: att
482 flags: ""
483 teardown: true
484 - target: sanity-kind
485 workflow: att
486 flags: ""
487 teardown: false
488 - target: sanity-kind
489 workflow: att
490 flags: ""
491 teardown: false
492 - target: sanity-kind
493 workflow: att
494 flags: ""
495 teardown: false
496 - target: sanity-kind
497 workflow: att
498 flags: ""
499 teardown: false
Andy Bavier10926f12020-03-27 16:53:43 -0700500
Matteo Scandolo075740f2021-04-22 14:52:29 -0700501 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700502 name: 'periodic-voltha-sanity-test-multi-runs-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700503 pipeline-script: 'voltha/voltha-2.7/voltha-go-multi-tests.groovy'
Andy Bavier10926f12020-03-27 16:53:43 -0700504 build-node: 'qct-pod4-node2'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700505 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700506 make-target: sanity-kind
507 onus: 1
508 pons: 1
509 test-runs: 5
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800510 time-trigger: "H H/23 * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700511
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700512 - 'voltha-periodic-test':
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700513 name: 'nightly-voltha-DTflow-sanity-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700514 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700515 code-branch: 'master'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700516 time-trigger: "@daily"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700517 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
518 testTargets: |
519 - target: sanity-kind-dt
520 workflow: dt
521 flags: ""
522 teardown: true
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700523
Matteo Scandolob6d80732021-05-05 14:06:42 -0700524 # ATT Per-patchset Pod builds on Tucson pod (master)
Andy Bavier51ba7e82019-12-17 11:01:01 -0700525 - 'verify_physical_voltha_patchset_auto':
526 name: 'verify_physical_voltha_patchset_auto'
Andrea Campanella1198cd52021-06-14 16:17:25 +0200527 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set global.log_level=debug'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700528 workflow: 'att'
Matteo Scandoloec3ec8e2021-05-27 13:03:00 -0700529 branch-pattern: master
Andy Bavier51ba7e82019-12-17 11:01:01 -0700530
Matteo Scandolob6d80732021-05-05 14:06:42 -0700531 # ATT Per-patchset Pod builds on Tucson pod (voltha-2.7)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700532 - 'verify_physical_voltha_patchset_auto':
533 name: 'verify_physical_voltha_patchset_auto_voltha-2.7'
Girish Gowdra7ca29da2021-06-23 15:34:09 -0700534 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700535 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700536 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
537 branch-pattern: voltha-2.7
Matteo Scandolob6d80732021-05-05 14:06:42 -0700538 workflow: 'att'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700539
Matteo Scandolob6d80732021-05-05 14:06:42 -0700540 # ATT Manual Pod builds on Tucson pod (master)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700541 - 'verify_physical_voltha_patchset_manual':
542 name: 'verify_physical_voltha_patchset_manual'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700543 trigger-string: 'hardware test'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700544 branch-pattern: master
Andrea Campanella1198cd52021-06-14 16:17:25 +0200545 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set global.log_level=debug'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700546 workflow: 'att'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700547
Matteo Scandolob6d80732021-05-05 14:06:42 -0700548 # ATT Manual Pod builds on Tucson pod (voltha-2.7)
549 - 'verify_physical_voltha_patchset_manual':
550 name: 'verify_physical_voltha_patchset_manual_voltha-2.7'
Girish Gowdra7ca29da2021-06-23 15:34:09 -0700551 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700552 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
553 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
554 trigger-string: 'hardware test'
555 branch-pattern: voltha-2.7
556 workflow: 'att'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700557
Matteo Scandolob6d80732021-05-05 14:06:42 -0700558 # DT Manual Pod builds on Tucson pod (master)
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700559 - 'verify_physical_voltha_patchset_manual':
560 name: 'verify_physical_voltha_patchset_manual_DT'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700561 workflow: 'dt'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700562 trigger-string: 'DT hardware test'
563 default-test-args: '-i sanityDt -i PowerSwitch -X'
564 branch-pattern: master
Andrea Campanella1198cd52021-06-14 16:17:25 +0200565 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set global.log_level=debug'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700566
Matteo Scandolob6d80732021-05-05 14:06:42 -0700567 # DT Per-patchset Pod builds on Tucson pod (voltha-2.7)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700568 - 'verify_physical_voltha_patchset_manual':
569 name: 'verify_physical_voltha_patchset_manual_DT_voltha-2.7'
570 workflow: 'dt'
Girish Gowdra7ca29da2021-06-23 15:34:09 -0700571 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700572 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700573 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700574 trigger-string: 'DT hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800575 default-test-args: '-i sanityDt -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700576 branch-pattern: voltha-2.7
Andy Bavier19c98a22019-11-11 13:57:11 -0700577
Kailash8b8de742019-07-30 08:54:51 -0700578- job-template:
Kailashaad71012019-08-27 10:36:53 -0700579 id: 'voltha-periodic-test'
580 name: '{name}'
Hardik Windlassec9341b2021-06-07 11:58:29 +0000581 pipeline-script: 'voltha/master/bbsim-tests.groovy'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700582 build-node: 'ubuntu18.04-basebuild-8c-15g'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700583 robot-args: ''
584 gerrit-project: ''
585 gerritRefspec: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700586 volthaSystemTestsChange: ''
587 volthaHelmChartsChange: ''
588 extraHelmFlags: ''
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700589 registry: mirror.registry.opennetworking.org
Matteo Scandolo075740f2021-04-22 14:52:29 -0700590 sandbox: true
591 olts: 1
TorstenThieme869ba322021-05-05 12:11:42 +0000592 timeout: 130
Hardik Windlass696002d2021-05-07 11:38:28 +0000593 logLevel: 'INFO'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700594
Matteo Scandolo075740f2021-04-22 14:52:29 -0700595 trigger-comment: vv7CBoQQYYonvaN8xcru
596 time-trigger: 0 0 29 2 *
597
598 description: |
599 <!-- Managed by Jenkins Job Builder -->
600 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
601 E2E Validation for Voltha 2.X
602
603 properties:
604 - cord-infra-properties:
605 build-days-to-keep: '{big-build-days-to-keep}'
606 artifact-num-to-keep: '{big-artifact-num-to-keep}'
607
608 wrappers:
609 - lf-infra-wrappers:
610 build-timeout: '{build-timeout}'
611 jenkins-ssh-credential: '{jenkins-ssh-credential}'
612
613 parameters:
614 - string:
615 name: buildNode
616 default: '{build-node}'
617 description: 'Name of the Jenkins node to run the job on'
618
619 - string:
620 name: extraHelmFlags
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700621 default: '{extraHelmFlags}'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700622 description: 'Helm flags (passed to each deployment)'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700623
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700624 # test configuration
625 # this is a parameter to drive the test execution, VOLTHA is redeployed each time with
626 # the provided configuration and then the make target is invoked,
627 # example value (has to be valid YAML):
628 # testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000629 # - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700630 # workflow: att
631 # flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700632 # teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700633 - text:
634 name: testTargets
635 default: '{testTargets}'
636 description: 'Test configuration, see the ci-management job definition for more info'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700637
638 - string:
639 name: branch
640 default: '{code-branch}'
641 description: 'Repo manifest branch for code checkout'
642
643 - string:
644 name: gerritProject
645 default: '{gerrit-project}'
646 description: 'Name of the Gerrit project'
647
648 - string:
649 name: gerritRefspec
650 default: ''
651 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
652
653 - string:
654 name: extraRobotArgs
655 default: '{robot-args}'
656 description: 'Arguments to pass to robot'
657
658 - string:
659 name: volthaSystemTestsChange
660 default: '{volthaSystemTestsChange}'
661 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
662
663 - string:
664 name: volthaHelmChartsChange
665 default: '{volthaHelmChartsChange}'
666 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
667
668 - string:
669 name: olts
670 default: '{olts}'
671 description: 'How many BBSim instances to run'
672
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700673 - string:
674 name: registry
675 default: '{registry}'
676 description: 'Which registry to use (amazon vs menlo)'
677
Hardik Windlass696002d2021-05-07 11:38:28 +0000678 - string:
679 name: logLevel
680 default: '{logLevel}'
681 description: 'Log level for all the components'
682
TorstenThieme869ba322021-05-05 12:11:42 +0000683 - string:
684 name: timeout
685 default: '{timeout}'
686 description: 'Timeout of pipeline job [minutes]'
687
Matteo Scandolo075740f2021-04-22 14:52:29 -0700688 project-type: pipeline
689 concurrent: true
690
691 dsl: !include-raw-escape: pipeline/{pipeline-script}
692
693 triggers:
694 # patchset jobs will set this to "0 0 29 2 *" (feb 29th, it's once every 4 years)
695 - timed: |
696 TZ=America/Los_Angeles
697 {time-trigger}
698 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
699 - gerrit:
700 server-name: '{gerrit-server-name}'
701 silent-start: false
702 successful-message: "PASSED openonu-go test"
703 failure-message: "FAILED openonu-go test"
704 unstable-message: "UNSTABLE openonu-go test"
705 trigger-on:
706 - comment-added-contains-event:
707 comment-contains-value: '.*{trigger-comment}.*'
708 projects:
709 - project-compare-type: REG_EXP
710 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter-go|ofagent-go|voltha-onos|bbsim)$'
711 branches:
712 - branch-compare-type: REG_EXP
713 branch-pattern: '{all-branches-regexp}'
714
715- job-template:
716 id: 'voltha-periodic-test-kind-voltha-based'
717 name: '{name}'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700718 pipeline-script: 'voltha/voltha-2.7/voltha-go-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -0700719 test-runs: 1
720 robot-args: ''
Andy Bavierb35171c2020-03-06 15:47:29 -0700721 gerrit-project: ''
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700722 work-flow: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700723 volthaSystemTestsChange: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700724 volthaHelmChartsChange: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700725 kindVolthaChange: ''
Andrea Campanella6d562182020-10-06 18:39:30 +0200726 extraHelmFlags: ''
Andy Bavier02b00dc2020-04-28 13:01:12 -0700727 sandbox: true
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800728 olts: 1
Matteo Scandolob36f0892020-11-23 12:19:48 -0800729 withAlarms: false
Andy Bavierb35171c2020-03-06 15:47:29 -0700730
Kailash8b8de742019-07-30 08:54:51 -0700731 description: |
732 <!-- Managed by Jenkins Job Builder -->
733 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
734 E2E Validation for Voltha 2.X
735
736 properties:
737 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800738 build-days-to-keep: '{big-build-days-to-keep}'
739 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Kailash8b8de742019-07-30 08:54:51 -0700740
741 wrappers:
742 - lf-infra-wrappers:
743 build-timeout: '{build-timeout}'
744 jenkins-ssh-credential: '{jenkins-ssh-credential}'
745
746 parameters:
747 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700748 name: buildNode
Andy Bavier833b78e2019-11-22 17:01:31 -0700749 default: '{build-node}'
Kailash8b8de742019-07-30 08:54:51 -0700750 description: 'Name of the Jenkins node to run the job on'
751
752 - string:
Andy Bavierea26c5c2019-09-18 08:09:17 -0700753 name: extraHelmFlags
Andrea Campanellae9517922021-05-06 10:01:44 +0200754 default: '--set onu={onus},pon={pons} {extraHelmFlags}'
Andy Bavierea26c5c2019-09-18 08:09:17 -0700755 description: 'Helm flags to pass to ./voltha up'
756
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800757 - bool:
758 name: withAlarms
Matteo Scandolob36f0892020-11-23 12:19:48 -0800759 default: '{withAlarms}'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800760 description: "Run alarm based tests when true"
761
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700762 - string:
Andy Bavier218385e2019-11-13 09:51:38 -0700763 name: makeTarget
764 default: '{make-target}'
765 description: 'Makefile target to invoke during test'
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700766
Andy Bavier4c8b3232019-11-22 16:17:47 -0700767 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800768 name: makeFailtestTarget
769 default: '{make-target-failtest}'
770 description: 'Makefile target to invoke during failure/based test'
771
772 - string:
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -0800773 name: makeMultiOltTarget
774 default: '{make-target-multipleolt}'
775 description: 'Makefile target to invoke during multiple olt test'
776
777 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800778 name: makeErrortestTarget
779 default: '{make-target-errortest}'
780 description: 'Makefile target to invoke during error test'
781
782 - string:
783 name: makeAlarmtestTarget
784 default: '{make-target-alarmtest}'
785 description: 'Makefile target to invoke during alarm test'
786
787 - string:
TorstenThieme669258d2021-01-29 09:03:10 +0000788 name: make1t4gemTestTarget
789 default: '{make-target-1t4gemtest}'
790 description: 'Makefile target to invoke during 1t4gem test'
791
792 - string:
793 name: make1t8gemTestTarget
794 default: '{make-target-1t8gemtest}'
795 description: 'Makefile target to invoke during 1t8gem test'
796
797 - string:
TorstenThieme45422612021-03-23 10:38:59 +0000798 name: makeReconcileTestTarget
799 default: '{make-target-reconciletest}'
800 description: 'Makefile target to invoke during reconcile test'
801
802 - string:
803 name: makeReconcileDtTestTarget
804 default: '{make-target-reconciledttest}'
805 description: 'Makefile target to invoke during reconcile dt test'
806
807 - string:
808 name: makeReconcileTtTestTarget
809 default: '{make-target-reconciletttest}'
810 description: 'Makefile target to invoke during reconcile tt test'
811
812 - string:
Andy Bavier4c8b3232019-11-22 16:17:47 -0700813 name: manifestUrl
814 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700815 description: 'Repo manifest URL for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700816
817 - string:
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700818 name: branch
Andy Bavier4c8b3232019-11-22 16:17:47 -0700819 default: '{code-branch}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700820 description: 'Repo manifest branch for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700821
Andy Bavier3708d072019-12-10 15:22:18 -0700822 - string:
Andy Bavierb35171c2020-03-06 15:47:29 -0700823 name: gerritProject
824 default: '{gerrit-project}'
825 description: 'Name of the Gerrit project'
826
827 - string:
828 name: gerritChangeNumber
829 default: ''
830 description: 'Changeset number in Gerrit'
831
832 - string:
833 name: gerritPatchsetNumber
834 default: ''
835 description: 'PatchSet number in Gerrit'
836
837 - string:
Andy Bavier3708d072019-12-10 15:22:18 -0700838 name: testRuns
839 default: '{test-runs}'
840 description: 'How many times to repeat the tests'
841
842 - string:
843 name: extraRobotArgs
844 default: '{robot-args}'
845 description: 'Arguments to pass to robot'
846
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700847 - string:
848 name: workFlow
849 default: '{work-flow}'
850 description: 'Workflow for testcase'
Andy Bavier3708d072019-12-10 15:22:18 -0700851
pierventref48ebc12020-07-17 16:01:32 +0200852 - string:
853 name: karafHome
854 default: '{karaf-home}'
855 description: 'Karaf home'
856
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700857 - string:
858 name: volthaSystemTestsChange
859 default: '{volthaSystemTestsChange}'
860 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
861
862 - string:
863 name: kindVolthaChange
864 default: '{kindVolthaChange}'
865 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
866
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800867 - string:
868 name: olts
869 default: '{olts}'
870 description: 'How many BBSim instances to run'
871
Kailash8b8de742019-07-30 08:54:51 -0700872 project-type: pipeline
Andy Bavier358aa0b2019-11-22 11:55:39 -0700873 concurrent: true
Kailash8b8de742019-07-30 08:54:51 -0700874
Zack Williamsb3292082019-10-11 17:15:18 -0700875 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailash6be1aa92019-08-05 18:11:11 -0700876
877 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700878 - timed: |
Kailash6be1aa92019-08-05 18:11:11 -0700879 TZ=America/Los_Angeles
Andy Bavier218385e2019-11-13 09:51:38 -0700880 {time-trigger}
Kailashaad71012019-08-27 10:36:53 -0700881
882- job-template:
883 id: 'voltha-patch-test'
Matteo Scandolo84e5f002020-02-10 11:50:05 -0800884 name: 'verify_{project}_sanity-test{name-extension}'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700885 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hardik Windlassec9341b2021-06-07 11:58:29 +0000886 pipeline-script: 'voltha/master/bbsim-tests.groovy'
Andy Bavier4318f8d2020-04-09 13:50:53 -0700887 override-branch: '$GERRIT_BRANCH'
Andy Bavier02b00dc2020-04-28 13:01:12 -0700888 sandbox: true
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800889 build-timeout: 20
Hardik Windlassfbf296b2021-06-08 07:36:51 +0000890 timeout: 50
891 olts: 1
892 registry: mirror.registry.opennetworking.org
893 logLevel: 'INFO'
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700894 volthaSystemTestsChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800895 volthaHelmChartsChange: ''
Matteo Scandolocecb0842021-05-04 13:16:47 -0700896 extraHelmFlags: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800897 branch-regexp: '{all-branches-regexp}'
Hardik Windlassec9341b2021-06-07 11:58:29 +0000898 testTargets: |
899 - target: sanity-kind-att
900 workflow: att
901 flags: ""
902 teardown: true
903 - target: sanity-kind-dt
904 workflow: dt
905 flags: ""
906 teardown: true
907 - target: sanity-kind-tt
908 workflow: tt
909 flags: ""
910 teardown: true
Matteo Scandolo42f517b2021-05-07 09:36:53 -0700911 kindVolthaChange: '' # this is only needed to test kind-voltha patches
Kailashaad71012019-08-27 10:36:53 -0700912
913 description: |
914 <!-- Managed by Jenkins Job Builder -->
915 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
916 E2E Validation for Voltha 2.X
917
918 properties:
919 - cord-infra-properties:
920 build-days-to-keep: '{build-days-to-keep}'
921 artifact-num-to-keep: '{artifact-num-to-keep}'
922
923 wrappers:
924 - lf-infra-wrappers:
925 build-timeout: '{build-timeout}'
926 jenkins-ssh-credential: '{jenkins-ssh-credential}'
927
928 parameters:
929 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700930 name: buildNode
Andrea Campanella4792b7f2021-04-23 15:06:42 +0200931 default: '{build-node}'
Kailashaad71012019-08-27 10:36:53 -0700932 description: 'Name of the Jenkins node to run the job on'
933
934 - string:
hwchiu14f97852019-10-08 10:51:11 -0700935 name: gerritProject
936 default: '$GERRIT_PROJECT'
937 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700938
939 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700940 name: gerritRefspec
941 default: '$GERRIT_REFSPEC'
942 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
Kailashaad71012019-08-27 10:36:53 -0700943
944 - string:
Andy Bavierbedd0392019-10-16 13:58:18 -0700945 name: extraHelmFlags
Matteo Scandolocecb0842021-05-04 13:16:47 -0700946 default: '{extraHelmFlags}'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700947 description: 'Helm flags to pass to every helm command'
Andy Bavierbedd0392019-10-16 13:58:18 -0700948
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700949 - string:
950 name: volthaSystemTestsChange
951 default: '{volthaSystemTestsChange}'
952 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
953
954 - string:
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800955 name: volthaHelmChartsChange
956 default: '{volthaHelmChartsChange}'
957 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
958
959 - string:
960 name: branch
961 default: '{override-branch}'
962 description: 'Name of the branch to use'
963
Hardik Windlassec9341b2021-06-07 11:58:29 +0000964 # test configuration
965 # this is a parameter to drive the test execution, VOLTHA is redeployed each time with
966 # the provided configuration and then the make target is invoked,
967 # example value (has to be valid YAML):
968 # testTargets: |
969 # - target: 1t1gem-openonu-go-adapter-test
970 # workflow: att
971 # flags: ""
972 # teardown: true
973 - text:
974 name: testTargets
975 default: '{testTargets}'
976 description: 'Test configuration, see the ci-management job definition for more info'
977
Hardik Windlassfbf296b2021-06-08 07:36:51 +0000978 - string:
979 name: timeout
980 default: '{timeout}'
981 description: 'Timeout of pipeline job [minutes]'
982
983 - string:
984 name: olts
985 default: '{olts}'
986 description: 'How many BBSim instances to run'
987
988 - string:
989 name: registry
990 default: '{registry}'
991 description: 'Which registry to use (amazon vs menlo)'
992
993 - string:
994 name: logLevel
995 default: '{logLevel}'
996 description: 'Log level for all the components'
997
Matteo Scandolo42f517b2021-05-07 09:36:53 -0700998 # Used in the 2.7 based pipeline, can be removed after 2.8
999 - string:
1000 name: kindVolthaChange
1001 default: '{kindVolthaChange}'
1002 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)'
1003
Kailashaad71012019-08-27 10:36:53 -07001004 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -07001005 concurrent: true
Kailashaad71012019-08-27 10:36:53 -07001006
Zack Williamsb3292082019-10-11 17:15:18 -07001007 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -07001008
1009 triggers:
Andy Bavierb99c3d32020-02-18 11:14:17 -07001010 - gerrit:
1011 server-name: '{gerrit-server-name}'
Kailashaad71012019-08-27 10:36:53 -07001012 dependency-jobs: '{dependency-jobs}'
Andy Bavierb99c3d32020-02-18 11:14:17 -07001013 silent-start: true
1014 trigger-on:
1015 - patchset-created-event:
1016 exclude-drafts: true
1017 exclude-trivial-rebase: false
1018 exclude-no-code-change: true
1019 - draft-published-event
1020 - comment-added-contains-event:
1021 comment-contains-value: '(?i)^.*recheck$'
1022 projects:
1023 - project-compare-type: REG_EXP
1024 project-pattern: '^{project}$'
1025 branches:
1026 - branch-compare-type: REG_EXP
Matteo Scandolo42f6e572021-01-25 15:11:34 -08001027 branch-pattern: '{branch-regexp}'
Andy Bavierb99c3d32020-02-18 11:14:17 -07001028 file-paths:
1029 - compare-type: REG_EXP
1030 pattern: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001031
1032# POD Per Patchset Pipeline Jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001033# to use these parameters in a job: `<<: *voltha-physical-patchset-parameters`
1034- voltha-physical-patchset-parameters: &voltha-physical-patchset-parameters
1035 name: voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -07001036 parameters:
1037 - string:
1038 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -07001039 default: '{build-node}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001040 description: 'Pod management node'
1041
1042 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001043 name: branch
1044 default: '$GERRIT_BRANCH'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001045 description: 'Name of the repo branch to use'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001046
1047 - string:
1048 name: gerritProject
1049 default: '$GERRIT_PROJECT'
1050 description: 'Name of the Gerrit project'
1051
1052 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -07001053 name: gerritRefspec
1054 default: '$GERRIT_REFSPEC'
1055 description: 'RefSpec number in Gerrit'
1056
1057 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001058 name: gerritComment
1059 default: '$GERRIT_EVENT_COMMENT_TEXT'
1060 description: 'RefSpec number in Gerrit'
1061
1062 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001063 name: cordRepoUrl
1064 default: '{gerrit-server-url}'
1065 description: 'The URL of the CORD Project repository'
1066
1067 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001068 name: configBaseDir
1069 default: 'pod-configs'
1070 description: 'The directory inside the POD configs repository'
1071
1072 - string:
1073 name: configDeploymentDir
1074 default: 'deployment-configs'
1075 description: 'The deployment configs folder'
1076
1077 - string:
1078 name: configKubernetesDir
1079 default: 'kubernetes-configs'
1080 description: 'The kubernetes config folder'
1081
1082 - string:
1083 name: configFileName
1084 default: '{config-pod}'
1085 description: 'The config file'
1086
1087 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001088 name: podName
1089 default: '{config-pod}'
1090
1091 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001092 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -07001093 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001094 description: 'Path of SADIS config to load'
1095
1096 - string:
Andy Bavier893d2442020-05-21 12:41:17 -07001097 name: oltDebVersionMaster
1098 default: '{oltDebVersionMaster}'
1099 description: 'OLT Software version to install for master branch builds'
1100
1101 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001102 name: oltDebVersionVoltha23
Andy Bavier893d2442020-05-21 12:41:17 -07001103 default: '{oltDebVersionVoltha23}'
1104 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001105
1106 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001107 name: profile
1108 default: '{profile}'
1109 description: 'Technology Profile pushed to the ETCD'
1110
1111 - string:
1112 name: notificationEmail
1113 default: 'andy@opennetworking.org'
1114 description: ''
1115
1116 - bool:
1117 name: reinstallOlt
1118 default: true
1119 description: "Re-install OLT software"
1120
Zack Williams03ebb272020-03-27 09:42:33 -07001121 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001122 name: extraRobotArgs
1123 default: '{default-test-args}'
1124 description: 'Arguments to pass to robot'
1125
1126 - string:
1127 name: volthaSystemTestsChange
1128 default: '{volthaSystemTestsChange}'
1129 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
1130
1131 - string:
1132 name: volthaHelmChartsChange
1133 default: '{volthaHelmChartsChange}'
1134 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
1135
1136 - string:
1137 name: workflow
1138 default: '{workflow}'
1139 description: 'Installs and uses the specified work flow on the POD'
1140
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001141 - string:
1142 name: extraHelmFlags
1143 default: '{extraHelmFlags}'
1144 description: 'Helm flags (passed to each helm command)'
1145
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001146 # deprecated parameters, remove after VOLTHA-2.8 is released
1147 - string:
1148 name: deploymentConfigFile
1149 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
1150 description: 'Path of deployment config file'
1151
1152 - string:
1153 name: kindVolthaValuesFile
1154 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
1155 description: 'Path of kind-voltha values override file'
1156
1157 - string:
1158 name: manifestUrl
1159 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
1160 description: 'URL to the repo manifest'
1161
1162 - string:
1163 name: gerritChangeNumber
1164 default: '$GERRIT_CHANGE_NUMBER'
1165 description: 'Changeset number in Gerrit'
1166
1167 - string:
1168 name: gerritPatchsetNumber
1169 default: '$GERRIT_PATCHSET_NUMBER'
1170 description: 'PatchSet number in Gerrit'
1171
1172 - string:
1173 name: localConfigDir
1174 default: null
1175 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
1176
1177 - string:
1178 name: configRepo
1179 default: 'pod-configs'
1180 description: 'A repository containing the config files, will be checked out if specified'
1181
1182 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001183 name: manualBranch
1184 default: '{manualBranch}'
1185 description: "If a non-empty string, build manually as a specific branch, not with a specific patchset"
Andy Bavier51ba7e82019-12-17 11:01:01 -07001186
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001187- job-template:
1188 name: '{name}'
1189 id: verify_physical_voltha_patchset_auto
1190 description: |
1191 <!-- Managed by Jenkins Job Builder -->
1192 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
1193 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
1194 Created by Andy Bavier, andy@opennetworking.org <br />
1195 Copyright (c) 2019 Open Networking Foundation (ONF)
1196 sandbox: true
1197 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Matteo Scandolob6d80732021-05-05 14:06:42 -07001198 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001199 build-node: 'tucson-pod'
1200 config-pod: 'tucson-pod'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001201 profile: 'Default'
Girish Gowdra7ca29da2021-06-23 15:34:09 -07001202 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001203 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
1204 volthaSystemTestsChange: ''
1205 volthaHelmChartsChange: ''
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001206 extraHelmFlags: ''
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001207
1208 properties:
1209 - cord-infra-properties:
1210 build-days-to-keep: '{build-days-to-keep}'
1211 artifact-num-to-keep: '{artifact-num-to-keep}'
1212
1213 <<: *voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -07001214
1215 project-type: pipeline
1216 concurrent: true
1217
1218 dsl: !include-raw-escape: pipeline/{pipeline-script}
1219
1220 triggers:
1221 - gerrit:
1222 server-name: '{gerrit-server-name}'
1223 dependency-jobs: '{dependency-jobs}'
1224 silent-start: false
1225 successful-message: "PASSED hardware test"
1226 failure-message: "FAILED hardware test"
1227 unstable-message: "UNSTABLE hardware test"
1228 trigger-on:
1229 - comment-added-event:
1230 approval-category: 'Code-Review'
1231 approval-value: '+2'
1232 projects:
1233 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001234 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-go)$'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001235 branches:
Andy Bavier37f6ea92020-04-03 11:13:35 -07001236 - branch-compare-type: REG_EXP
Matteo Scandoloec3ec8e2021-05-27 13:03:00 -07001237 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001238
Andy Bavier51ba7e82019-12-17 11:01:01 -07001239- job-template:
1240 name: '{name}'
1241 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001242 description: |
1243 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001244 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -07001245 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001246 Created by Andy Bavier, andy@opennetworking.org <br />
1247 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001248 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001249 build-node: 'tucson-pod'
1250 config-pod: 'tucson-pod'
Girish Gowdra7ca29da2021-06-23 15:34:09 -07001251 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001252 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
1253 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001254 trigger-string: 'hardware test'
Matteo Scandolob6d80732021-05-05 14:06:42 -07001255 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001256 volthaSystemTestsChange: ''
1257 volthaHelmChartsChange: ''
Matteo Scandolob6d80732021-05-05 14:06:42 -07001258 profile: 'Default'
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001259 extraHelmFlags: ''
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001260
1261 properties:
1262 - cord-infra-properties:
1263 build-days-to-keep: '{build-days-to-keep}'
1264 artifact-num-to-keep: '{artifact-num-to-keep}'
1265
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001266 <<: *voltha-physical-patchset-parameters
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001267
Andy Bavier8c11d462019-12-17 08:19:34 -07001268
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001269 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001270 concurrent: true
1271
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001272 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001273
Andy Bavier1f465592019-11-06 10:03:56 -07001274 triggers:
1275 - gerrit:
1276 server-name: '{gerrit-server-name}'
1277 dependency-jobs: '{dependency-jobs}'
1278 silent-start: false
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001279 successful-message: "PASSED {trigger-string}"
1280 failure-message: "FAILED {trigger-string}"
1281 unstable-message: "UNSTABLE {trigger-string}"
Andy Bavier1f465592019-11-06 10:03:56 -07001282 trigger-on:
1283 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001284 comment-contains-value: '^{trigger-string}$'
Scott Bakerda31d7b2020-01-08 16:35:52 -08001285 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001286 comment-contains-value: '^{trigger-string} with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -07001287 projects:
1288 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001289 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 -07001290 branches:
Andy Bavierfc3ca142020-03-27 13:44:25 -07001291 - branch-compare-type: REG_EXP
Matteo Scandoloec3ec8e2021-05-27 13:03:00 -07001292 branch-pattern: '{branch-pattern}'