blob: d719a05b27a85f6dfe192dab5dad3c51cae4eb9b [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 Campanella67850712021-06-04 08:13:08 +000027 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -080028 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -070029 testTargets: |
30 - target: functional-single-kind
31 workflow: att
32 flags: ""
33 teardown: true
34 - target: bbsim-alarms-kind
35 workflow: att
36 flags: ""
37 teardown: false
38 - target: bbsim-failurescenarios
39 workflow: att
40 flags: ""
41 teardown: false
42 - target: bbsim-errorscenarios
43 workflow: att
44 flags: ""
45 teardown: false
46
47 - 'voltha-periodic-test':
48 name: 'periodic-voltha-multiple-olts-test-bbsim'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080049 code-branch: 'master'
50 olts: 2
Andrea Campanella67850712021-06-04 08:13:08 +000051 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -080052 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -070053 testTargets: |
54 - target: functional-multi-olt
55 workflow: att
56 flags: ""
57 teardown: true
58 - target: bbsim-multiolt-failurescenarios
59 workflow: att
60 flags: ""
61 teardown: false
62 - target: bbsim-multiolt-errorscenarios
63 workflow: att
64 flags: ""
65 teardown: false
66 - target: bbsim-multiolt-kind
67 workflow: att
68 flags: ""
69 teardown: false
Andy Bavierf93f3142020-01-09 16:08:51 -070070
Matteo Scandolo075740f2021-04-22 14:52:29 -070071 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +053072 name: 'periodic-voltha-multiple-olts-test-bbsim-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -070073 pipeline-script: 'voltha/voltha-2.7/voltha-nightly-tests-bbsim.groovy'
Suchitra Vemuri95a73432020-12-16 13:17:48 -080074 build-node: 'qct-pod4-node2'
75 make-target: functional-multi-olt
76 make-target-failtest: bbsim-multiolt-failurescenarios
77 make-target-errortest: bbsim-multiolt-errorscenarios
78 make-target-alarmtest: bbsim-alarms-kind
79 make-target-multipleolt: bbsim-multiolt-kind
80 withAlarms: false
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -070081 code-branch: 'voltha-2.7'
Suchitra Vemuri95a73432020-12-16 13:17:48 -080082 olts: 2
83 onus: 2
84 pons: 2
Suchitra Vemuri5fc1c6a2021-04-13 19:12:38 -070085 time-trigger: "H H * * *"
Suchitra Vemuri95a73432020-12-16 13:17:48 -080086
Matteo Scandoloa57b0972021-05-03 14:04:58 -070087 # openonu Go periodic tests
Suchitra Vemuri95a73432020-12-16 13:17:48 -080088 - 'voltha-periodic-test':
TorstenThieme326e7972021-01-19 14:27:59 +000089 name: 'periodic-voltha-openonu-go-test-bbsim'
TorstenThieme326e7972021-01-19 14:27:59 +000090 code-branch: 'master'
Andrea Campanella67850712021-06-04 08:13:08 +000091 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
TorstenThieme326e7972021-01-19 14:27:59 +000092 time-trigger: "H H/12 * * *"
Hardik Windlass696002d2021-05-07 11:38:28 +000093 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -070094 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +000095 - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -070096 workflow: att
97 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -070098 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -070099 - target: 1t4gem-openonu-go-adapter-test
100 workflow: att
101 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700102 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700103 - target: 1t8gem-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: mib-upload-templating-openonu-go-adapter-test
108 workflow: att
109 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700110 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000111 - target: reconcile-openonu-go-adapter-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700112 workflow: att
113 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700114 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700115 - target: reconcile-openonu-go-adapter-test-dt
116 workflow: dt
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-tt
120 workflow: tt
121 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700122 teardown: true
TorstenThieme39209882021-05-12 11:22:39 +0000123 - target: openonu-go-adapter-omci-hardening-passed-test
124 workflow: att
125 flags: "--set omci_response_rate=9 --set omci_timeout=1s"
126 teardown: true
127 - target: openonu-go-adapter-omci-hardening-failed-test
128 workflow: att
129 flags: "--set omci_response_rate=7"
130 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000131 - target: voltha-onu-omci-get-single-kind-att
132 workflow: att
133 flags: ""
134 teardown: true
135 - target: voltha-onu-omci-get-single-kind-dt
136 workflow: dt
137 flags: ""
138 teardown: true
139 - target: voltha-onu-omci-get-single-kind-tt
140 workflow: tt
141 flags: ""
142 teardown: true
TorstenThieme326e7972021-01-19 14:27:59 +0000143
144 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700145 name: 'patchset-voltha-openonu-go-test-bbsim'
Hardik Windlass8c3813b2021-05-07 08:13:37 +0000146 trigger-comment: "voltha test openonu singleolt"
Matteo Scandolo075740f2021-04-22 14:52:29 -0700147 code-branch: '$GERRIT_BRANCH'
Andrea Campanella67850712021-06-04 08:13:08 +0000148 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700149 gerrit-project: '$GERRIT_PROJECT'
150 gerritRefspec: '$GERRIT_REFSPEC'
Hardik Windlass696002d2021-05-07 11:38:28 +0000151 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700152 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000153 - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700154 workflow: att
155 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700156 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700157 - target: 1t4gem-openonu-go-adapter-test
158 workflow: att
159 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700160 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700161 - target: 1t8gem-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: mib-upload-templating-openonu-go-adapter-test
166 workflow: att
167 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700168 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000169 - target: reconcile-openonu-go-adapter-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700170 workflow: att
171 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700172 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700173 - target: reconcile-openonu-go-adapter-test-dt
174 workflow: dt
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-tt
178 workflow: tt
179 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700180 teardown: true
TorstenThieme39209882021-05-12 11:22:39 +0000181 - target: openonu-go-adapter-omci-hardening-passed-test
182 workflow: att
183 flags: "--set omci_response_rate=9 --set omci_timeout=1s"
184 teardown: true
185 - target: openonu-go-adapter-omci-hardening-failed-test
186 workflow: att
187 flags: "--set omci_response_rate=7"
188 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000189 - target: voltha-onu-omci-get-single-kind-att
190 workflow: att
191 flags: ""
192 teardown: true
193 - target: voltha-onu-omci-get-single-kind-dt
194 workflow: dt
195 flags: ""
196 teardown: true
197 - target: voltha-onu-omci-get-single-kind-tt
198 workflow: tt
199 flags: ""
200 teardown: true
Matteo Scandolo075740f2021-04-22 14:52:29 -0700201
202 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +0530203 name: 'periodic-voltha-openonu-go-test-bbsim-2.7'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700204 pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700205 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass46d61132021-03-30 16:42:07 +0530206 make-target: openonu-go-adapter-test
207 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
208 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
TorstenThieme45422612021-03-23 10:38:59 +0000209 make-target-reconciletest: reconcile-openonu-go-adapter-test
210 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
211 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +0530212 withAlarms: false
213 code-branch: 'voltha-2.7'
214 time-trigger: "H H/23 * * *"
215
216 - 'voltha-periodic-test':
TorstenThieme669258d2021-01-29 09:03:10 +0000217 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700218 code-branch: 'master'
Andrea Campanella67850712021-06-04 08:13:08 +0000219 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700220 olts: 2
Hardik Windlass696002d2021-05-07 11:38:28 +0000221 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700222 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000223 - target: 1t1gem-openonu-go-adapter-multi-olt-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700224 workflow: att
225 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700226 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700227 - target: 1t4gem-openonu-go-adapter-multi-olt-test
228 workflow: att
229 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700230 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700231 - target: 1t8gem-openonu-go-adapter-multi-olt-test
232 workflow: att
233 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700234 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000235 - target: reconcile-openonu-go-adapter-multi-olt-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700236 workflow: att
237 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700238 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700239 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
240 workflow: dt
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-tt
244 workflow: tt
245 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700246 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000247 - target: voltha-onu-omci-get-multiolt-kind-att
248 workflow: att
249 flags: ""
250 teardown: true
251 - target: voltha-onu-omci-get-multiolt-kind-dt
252 workflow: dt
253 flags: ""
254 teardown: true
255 - target: voltha-onu-omci-get-multiolt-kind-tt
256 workflow: tt
257 flags: ""
258 teardown: true
TorstenThieme669258d2021-01-29 09:03:10 +0000259 time-trigger: "H H/12 * * *"
260
261 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700262 name: 'patchset-voltha-multiple-olts-openonu-go-test-bbsim'
263 trigger-comment: "voltha test openonu multiolt"
264 code-branch: '$GERRIT_BRANCH'
Hardik Windlass696002d2021-05-07 11:38:28 +0000265 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700266 gerrit-project: '$GERRIT_PROJECT'
267 gerritRefspec: '$GERRIT_REFSPEC'
Hardik Windlass696002d2021-05-07 11:38:28 +0000268 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700269 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000270 - target: 1t1gem-openonu-go-adapter-multi-olt-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700271 workflow: att
272 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700273 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700274 - target: 1t4gem-openonu-go-adapter-multi-olt-test
275 workflow: att
276 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700277 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700278 - target: 1t8gem-openonu-go-adapter-multi-olt-test
279 workflow: att
280 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700281 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000282 - target: reconcile-openonu-go-adapter-multi-olt-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700283 workflow: att
284 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700285 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700286 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
287 workflow: dt
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-tt
291 workflow: tt
292 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700293 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000294 - target: voltha-onu-omci-get-multiolt-kind-att
295 workflow: att
296 flags: ""
297 teardown: true
298 - target: voltha-onu-omci-get-multiolt-kind-dt
299 workflow: dt
300 flags: ""
301 teardown: true
302 - target: voltha-onu-omci-get-multiolt-kind-tt
303 workflow: tt
304 flags: ""
305 teardown: true
Matteo Scandolo075740f2021-04-22 14:52:29 -0700306 olts: 2
Matteo Scandolo075740f2021-04-22 14:52:29 -0700307
TorstenThieme869ba322021-05-05 12:11:42 +0000308 - 'voltha-periodic-test':
309 name: 'periodic-voltha-pm-data-test-bbsim'
310 code-branch: 'master'
Andrea Campanella67850712021-06-04 08:13:08 +0000311 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 +0000312 time-trigger: "H H/23 * * *"
313 logLevel: 'DEBUG'
314 testTargets: |
315 - target: voltha-pm-data-single-kind-att
316 workflow: att
317 flags: ""
318 teardown: true
319 - target: voltha-pm-data-single-kind-dt
320 workflow: dt
321 flags: ""
322 teardown: true
323 - target: voltha-pm-data-single-kind-tt
324 workflow: tt
325 flags: ""
326 teardown: true
327 timeout: 140
328
329 - 'voltha-periodic-test':
330 name: 'patchset-voltha-pm-data-test-bbsim'
331 trigger-comment: "voltha test pm data singleolt"
332 code-branch: '$GERRIT_BRANCH'
TorstenThieme6877ab12021-05-26 13:28:54 +0000333 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 +0000334 code-branch: '$GERRIT_BRANCH'
335 gerrit-project: '$GERRIT_PROJECT'
336 gerritRefspec: '$GERRIT_REFSPEC'
337 logLevel: 'DEBUG'
338 testTargets: |
339 - target: voltha-pm-data-single-kind-att
340 workflow: att
341 flags: ""
342 teardown: true
343 - target: voltha-pm-data-single-kind-dt
344 workflow: dt
345 flags: ""
346 teardown: true
347 - target: voltha-pm-data-single-kind-tt
348 workflow: tt
349 flags: ""
350 teardown: true
351 timeout: 140
352
353 - 'voltha-periodic-test':
354 name: 'periodic-voltha-multiple-olts-pm-data-test-bbsim'
355 code-branch: 'master'
TorstenThieme6877ab12021-05-26 13:28:54 +0000356 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 +0000357 olts: 2
358 timeout: 180
359 logLevel: 'DEBUG'
360 testTargets: |
361 - target: voltha-pm-data-multiolt-kind-att
362 workflow: att
363 flags: ""
364 teardown: true
365 - target: voltha-pm-data-multiolt-kind-dt
366 workflow: dt
367 flags: ""
368 teardown: true
369 - target: voltha-pm-data-multiolt-kind-tt
370 workflow: tt
371 flags: ""
372 teardown: true
373 time-trigger: "H H/23 * * *"
374
375 - 'voltha-periodic-test':
376 name: 'patchset-voltha-multiple-olts-pm-data-test-bbsim'
377 trigger-comment: "voltha test pm data multiolt"
378 code-branch: '$GERRIT_BRANCH'
TorstenThieme6877ab12021-05-26 13:28:54 +0000379 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 +0000380 gerrit-project: '$GERRIT_PROJECT'
381 gerritRefspec: '$GERRIT_REFSPEC'
382 logLevel: 'DEBUG'
383 testTargets: |
384 - target: voltha-pm-data-multiolt-kind-att
385 workflow: att
386 flags: ""
387 teardown: true
388 - target: voltha-pm-data-multiolt-kind-dt
389 workflow: dt
390 flags: ""
391 teardown: true
392 - target: voltha-pm-data-multiolt-kind-tt
393 workflow: tt
394 flags: ""
395 teardown: true
396 olts: 2
397 timeout: 180
398
Matteo Scandolo075740f2021-04-22 14:52:29 -0700399 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +0530400 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim-2.7'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700401 pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700402 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass46d61132021-03-30 16:42:07 +0530403 make-target: openonu-go-adapter-multi-olt-test
404 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-multi-olt-test
405 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-multi-olt-test
TorstenThiemea6c21342021-05-05 09:21:59 +0000406 make-target-reconciletest: reconcile-openonu-go-adapter-multi-olt-test
407 make-target-reconciledttest: reconcile-openonu-go-adapter-multi-olt-test-dt
408 make-target-reconciletttest: reconcile-openonu-go-adapter-multi-olt-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +0530409 withAlarms: false
410 code-branch: 'voltha-2.7'
411 olts: 2
412 onus: 2
413 pons: 2
414 time-trigger: "H H/23 * * *"
415
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700416 - 'voltha-periodic-test':
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100417 name: 'periodic-voltha-test-DMI'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700418 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100419 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800420 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700421 testTargets: |
422 - target: bbsim-dmi-hw-management-test
423 workflow: att
424 flags: ""
425 teardown: true
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100426
Matteo Scandolo075740f2021-04-22 14:52:29 -0700427 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700428 name: 'periodic-voltha-test-DMI-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700429 pipeline-script: 'voltha/voltha-2.7/voltha-DMI-bbsim-tests.groovy'
Andrea Campanellae9739492020-12-17 09:54:04 +0100430 build-node: 'qct-pod4-node2'
431 make-target: bbsim-dmi-hw-management-test
432 withAlarms: false
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700433 code-branch: 'voltha-2.7'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800434 time-trigger: "H H/23 * * *"
Andrea Campanellae9739492020-12-17 09:54:04 +0100435
Matteo Scandolo075740f2021-04-22 14:52:29 -0700436 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700437 name: 'periodic-voltha-test-bbsim-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700438 pipeline-script: 'voltha/voltha-2.7/voltha-nightly-tests-bbsim.groovy'
Andy Bavier10926f12020-03-27 16:53:43 -0700439 build-node: 'qct-pod4-node2'
Andy Bavier10926f12020-03-27 16:53:43 -0700440 make-target: functional-single-kind
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800441 make-target-failtest: bbsim-failurescenarios
442 make-target-errortest: bbsim-errorscenarios
443 make-target-alarmtest: bbsim-alarms-kind
444 withAlarms: true
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700445 code-branch: 'voltha-2.7'
Suchitra Vemuri5fc1c6a2021-04-13 19:12:38 -0700446 time-trigger: "H H * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700447
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700448 - 'voltha-periodic-test':
Andy Bavier4be37062020-06-29 15:17:26 -0700449 name: 'periodic-voltha-etcd-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700450 build-node: 'ubuntu18.04-basebuild-4c-8g'
hwchiuc9189b72019-12-02 15:12:29 -0800451 code-branch: 'master'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700452 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
hwchiufdc49242019-11-18 16:37:22 -0800453 time-trigger: "H H/12 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700454 testTargets: |
455 - target: sanity-multi-kind
456 workflow: att
457 flags: ""
458 teardown: true
hwchiufdc49242019-11-18 16:37:22 -0800459
Matteo Scandolo075740f2021-04-22 14:52:29 -0700460 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700461 name: 'periodic-voltha-etcd-test-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700462 pipeline-script: 'voltha/voltha-2.7/voltha-system-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700463 build-node: 'ubuntu18.04-basebuild-4c-8g'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700464 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700465 make-target: sanity-multi-kind
466 onus: 2
467 pons: 2
468 time-trigger: "H H/12 * * *"
469
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700470 - 'voltha-periodic-test':
Andy Bavier3708d072019-12-10 15:22:18 -0700471 name: 'periodic-voltha-sanity-test-multi-runs'
Andy Bavier3708d072019-12-10 15:22:18 -0700472 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800473 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700474 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
475 testTargets: |
476 - target: sanity-kind
477 workflow: att
478 flags: ""
479 teardown: true
480 - target: sanity-kind
481 workflow: att
482 flags: ""
483 teardown: false
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
Andy Bavier10926f12020-03-27 16:53:43 -0700496
Matteo Scandolo075740f2021-04-22 14:52:29 -0700497 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700498 name: 'periodic-voltha-sanity-test-multi-runs-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700499 pipeline-script: 'voltha/voltha-2.7/voltha-go-multi-tests.groovy'
Andy Bavier10926f12020-03-27 16:53:43 -0700500 build-node: 'qct-pod4-node2'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700501 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700502 make-target: sanity-kind
503 onus: 1
504 pons: 1
505 test-runs: 5
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800506 time-trigger: "H H/23 * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700507
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700508 - 'voltha-periodic-test':
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700509 name: 'nightly-voltha-DTflow-sanity-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700510 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700511 code-branch: 'master'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700512 time-trigger: "@daily"
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-dt
516 workflow: dt
517 flags: ""
518 teardown: true
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700519
Matteo Scandolob6d80732021-05-05 14:06:42 -0700520 # ATT Per-patchset Pod builds on Tucson pod (master)
Andy Bavier51ba7e82019-12-17 11:01:01 -0700521 - 'verify_physical_voltha_patchset_auto':
522 name: 'verify_physical_voltha_patchset_auto'
Andrea Campanella1198cd52021-06-14 16:17:25 +0200523 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set global.log_level=debug'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700524 workflow: 'att'
Matteo Scandoloec3ec8e2021-05-27 13:03:00 -0700525 branch-pattern: master
Andy Bavier51ba7e82019-12-17 11:01:01 -0700526
Matteo Scandolob6d80732021-05-05 14:06:42 -0700527 # ATT Per-patchset Pod builds on Tucson pod (voltha-2.7)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700528 - 'verify_physical_voltha_patchset_auto':
529 name: 'verify_physical_voltha_patchset_auto_voltha-2.7'
Girish Gowdra7ca29da2021-06-23 15:34:09 -0700530 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700531 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700532 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
533 branch-pattern: voltha-2.7
Matteo Scandolob6d80732021-05-05 14:06:42 -0700534 workflow: 'att'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700535
Matteo Scandolob6d80732021-05-05 14:06:42 -0700536 # ATT Manual Pod builds on Tucson pod (master)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700537 - 'verify_physical_voltha_patchset_manual':
538 name: 'verify_physical_voltha_patchset_manual'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700539 trigger-string: 'hardware test'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700540 branch-pattern: master
Andrea Campanella1198cd52021-06-14 16:17:25 +0200541 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set global.log_level=debug'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700542 workflow: 'att'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700543
Matteo Scandolob6d80732021-05-05 14:06:42 -0700544 # ATT Manual Pod builds on Tucson pod (voltha-2.7)
545 - 'verify_physical_voltha_patchset_manual':
546 name: 'verify_physical_voltha_patchset_manual_voltha-2.7'
Girish Gowdra7ca29da2021-06-23 15:34:09 -0700547 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700548 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
549 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
550 trigger-string: 'hardware test'
551 branch-pattern: voltha-2.7
552 workflow: 'att'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700553
Matteo Scandolob6d80732021-05-05 14:06:42 -0700554 # DT Manual Pod builds on Tucson pod (master)
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700555 - 'verify_physical_voltha_patchset_manual':
556 name: 'verify_physical_voltha_patchset_manual_DT'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700557 workflow: 'dt'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700558 trigger-string: 'DT hardware test'
559 default-test-args: '-i sanityDt -i PowerSwitch -X'
560 branch-pattern: master
Andrea Campanella1198cd52021-06-14 16:17:25 +0200561 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set global.log_level=debug'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700562
Matteo Scandolob6d80732021-05-05 14:06:42 -0700563 # DT Per-patchset Pod builds on Tucson pod (voltha-2.7)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700564 - 'verify_physical_voltha_patchset_manual':
565 name: 'verify_physical_voltha_patchset_manual_DT_voltha-2.7'
566 workflow: 'dt'
Girish Gowdra7ca29da2021-06-23 15:34:09 -0700567 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700568 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700569 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700570 trigger-string: 'DT hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800571 default-test-args: '-i sanityDt -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700572 branch-pattern: voltha-2.7
Andy Bavier19c98a22019-11-11 13:57:11 -0700573
Kailash8b8de742019-07-30 08:54:51 -0700574- job-template:
Kailashaad71012019-08-27 10:36:53 -0700575 id: 'voltha-periodic-test'
576 name: '{name}'
Hardik Windlassec9341b2021-06-07 11:58:29 +0000577 pipeline-script: 'voltha/master/bbsim-tests.groovy'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700578 build-node: 'ubuntu18.04-basebuild-8c-15g'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700579 robot-args: ''
580 gerrit-project: ''
581 gerritRefspec: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700582 volthaSystemTestsChange: ''
583 volthaHelmChartsChange: ''
584 extraHelmFlags: ''
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700585 registry: mirror.registry.opennetworking.org
Matteo Scandolo075740f2021-04-22 14:52:29 -0700586 sandbox: true
587 olts: 1
TorstenThieme869ba322021-05-05 12:11:42 +0000588 timeout: 130
Hardik Windlass696002d2021-05-07 11:38:28 +0000589 logLevel: 'INFO'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700590
Matteo Scandolo075740f2021-04-22 14:52:29 -0700591 trigger-comment: vv7CBoQQYYonvaN8xcru
592 time-trigger: 0 0 29 2 *
593
594 description: |
595 <!-- Managed by Jenkins Job Builder -->
596 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
597 E2E Validation for Voltha 2.X
598
599 properties:
600 - cord-infra-properties:
601 build-days-to-keep: '{big-build-days-to-keep}'
602 artifact-num-to-keep: '{big-artifact-num-to-keep}'
603
604 wrappers:
605 - lf-infra-wrappers:
606 build-timeout: '{build-timeout}'
607 jenkins-ssh-credential: '{jenkins-ssh-credential}'
608
609 parameters:
610 - string:
611 name: buildNode
612 default: '{build-node}'
613 description: 'Name of the Jenkins node to run the job on'
614
615 - string:
616 name: extraHelmFlags
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700617 default: '{extraHelmFlags}'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700618 description: 'Helm flags (passed to each deployment)'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700619
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700620 # test configuration
621 # this is a parameter to drive the test execution, VOLTHA is redeployed each time with
622 # the provided configuration and then the make target is invoked,
623 # example value (has to be valid YAML):
624 # testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000625 # - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700626 # workflow: att
627 # flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700628 # teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700629 - text:
630 name: testTargets
631 default: '{testTargets}'
632 description: 'Test configuration, see the ci-management job definition for more info'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700633
634 - string:
635 name: branch
636 default: '{code-branch}'
637 description: 'Repo manifest branch for code checkout'
638
639 - string:
640 name: gerritProject
641 default: '{gerrit-project}'
642 description: 'Name of the Gerrit project'
643
644 - string:
645 name: gerritRefspec
646 default: ''
647 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
648
649 - string:
650 name: extraRobotArgs
651 default: '{robot-args}'
652 description: 'Arguments to pass to robot'
653
654 - string:
655 name: volthaSystemTestsChange
656 default: '{volthaSystemTestsChange}'
657 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
658
659 - string:
660 name: volthaHelmChartsChange
661 default: '{volthaHelmChartsChange}'
662 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
663
664 - string:
665 name: olts
666 default: '{olts}'
667 description: 'How many BBSim instances to run'
668
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700669 - string:
670 name: registry
671 default: '{registry}'
672 description: 'Which registry to use (amazon vs menlo)'
673
Hardik Windlass696002d2021-05-07 11:38:28 +0000674 - string:
675 name: logLevel
676 default: '{logLevel}'
677 description: 'Log level for all the components'
678
TorstenThieme869ba322021-05-05 12:11:42 +0000679 - string:
680 name: timeout
681 default: '{timeout}'
682 description: 'Timeout of pipeline job [minutes]'
683
Matteo Scandolo075740f2021-04-22 14:52:29 -0700684 project-type: pipeline
685 concurrent: true
686
687 dsl: !include-raw-escape: pipeline/{pipeline-script}
688
689 triggers:
690 # patchset jobs will set this to "0 0 29 2 *" (feb 29th, it's once every 4 years)
691 - timed: |
692 TZ=America/Los_Angeles
693 {time-trigger}
694 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
695 - gerrit:
696 server-name: '{gerrit-server-name}'
697 silent-start: false
698 successful-message: "PASSED openonu-go test"
699 failure-message: "FAILED openonu-go test"
700 unstable-message: "UNSTABLE openonu-go test"
701 trigger-on:
702 - comment-added-contains-event:
703 comment-contains-value: '.*{trigger-comment}.*'
704 projects:
705 - project-compare-type: REG_EXP
706 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter-go|ofagent-go|voltha-onos|bbsim)$'
707 branches:
708 - branch-compare-type: REG_EXP
709 branch-pattern: '{all-branches-regexp}'
710
711- job-template:
712 id: 'voltha-periodic-test-kind-voltha-based'
713 name: '{name}'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700714 pipeline-script: 'voltha/voltha-2.7/voltha-go-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -0700715 test-runs: 1
716 robot-args: ''
Andy Bavierb35171c2020-03-06 15:47:29 -0700717 gerrit-project: ''
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700718 work-flow: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700719 volthaSystemTestsChange: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700720 volthaHelmChartsChange: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700721 kindVolthaChange: ''
Andrea Campanella6d562182020-10-06 18:39:30 +0200722 extraHelmFlags: ''
Andy Bavier02b00dc2020-04-28 13:01:12 -0700723 sandbox: true
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800724 olts: 1
Matteo Scandolob36f0892020-11-23 12:19:48 -0800725 withAlarms: false
Andy Bavierb35171c2020-03-06 15:47:29 -0700726
Kailash8b8de742019-07-30 08:54:51 -0700727 description: |
728 <!-- Managed by Jenkins Job Builder -->
729 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
730 E2E Validation for Voltha 2.X
731
732 properties:
733 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800734 build-days-to-keep: '{big-build-days-to-keep}'
735 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Kailash8b8de742019-07-30 08:54:51 -0700736
737 wrappers:
738 - lf-infra-wrappers:
739 build-timeout: '{build-timeout}'
740 jenkins-ssh-credential: '{jenkins-ssh-credential}'
741
742 parameters:
743 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700744 name: buildNode
Andy Bavier833b78e2019-11-22 17:01:31 -0700745 default: '{build-node}'
Kailash8b8de742019-07-30 08:54:51 -0700746 description: 'Name of the Jenkins node to run the job on'
747
748 - string:
Andy Bavierea26c5c2019-09-18 08:09:17 -0700749 name: extraHelmFlags
Andrea Campanellae9517922021-05-06 10:01:44 +0200750 default: '--set onu={onus},pon={pons} {extraHelmFlags}'
Andy Bavierea26c5c2019-09-18 08:09:17 -0700751 description: 'Helm flags to pass to ./voltha up'
752
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800753 - bool:
754 name: withAlarms
Matteo Scandolob36f0892020-11-23 12:19:48 -0800755 default: '{withAlarms}'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800756 description: "Run alarm based tests when true"
757
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700758 - string:
Andy Bavier218385e2019-11-13 09:51:38 -0700759 name: makeTarget
760 default: '{make-target}'
761 description: 'Makefile target to invoke during test'
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700762
Andy Bavier4c8b3232019-11-22 16:17:47 -0700763 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800764 name: makeFailtestTarget
765 default: '{make-target-failtest}'
766 description: 'Makefile target to invoke during failure/based test'
767
768 - string:
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -0800769 name: makeMultiOltTarget
770 default: '{make-target-multipleolt}'
771 description: 'Makefile target to invoke during multiple olt test'
772
773 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800774 name: makeErrortestTarget
775 default: '{make-target-errortest}'
776 description: 'Makefile target to invoke during error test'
777
778 - string:
779 name: makeAlarmtestTarget
780 default: '{make-target-alarmtest}'
781 description: 'Makefile target to invoke during alarm test'
782
783 - string:
TorstenThieme669258d2021-01-29 09:03:10 +0000784 name: make1t4gemTestTarget
785 default: '{make-target-1t4gemtest}'
786 description: 'Makefile target to invoke during 1t4gem test'
787
788 - string:
789 name: make1t8gemTestTarget
790 default: '{make-target-1t8gemtest}'
791 description: 'Makefile target to invoke during 1t8gem test'
792
793 - string:
TorstenThieme45422612021-03-23 10:38:59 +0000794 name: makeReconcileTestTarget
795 default: '{make-target-reconciletest}'
796 description: 'Makefile target to invoke during reconcile test'
797
798 - string:
799 name: makeReconcileDtTestTarget
800 default: '{make-target-reconciledttest}'
801 description: 'Makefile target to invoke during reconcile dt test'
802
803 - string:
804 name: makeReconcileTtTestTarget
805 default: '{make-target-reconciletttest}'
806 description: 'Makefile target to invoke during reconcile tt test'
807
808 - string:
Andy Bavier4c8b3232019-11-22 16:17:47 -0700809 name: manifestUrl
810 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700811 description: 'Repo manifest URL for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700812
813 - string:
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700814 name: branch
Andy Bavier4c8b3232019-11-22 16:17:47 -0700815 default: '{code-branch}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700816 description: 'Repo manifest branch for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700817
Andy Bavier3708d072019-12-10 15:22:18 -0700818 - string:
Andy Bavierb35171c2020-03-06 15:47:29 -0700819 name: gerritProject
820 default: '{gerrit-project}'
821 description: 'Name of the Gerrit project'
822
823 - string:
824 name: gerritChangeNumber
825 default: ''
826 description: 'Changeset number in Gerrit'
827
828 - string:
829 name: gerritPatchsetNumber
830 default: ''
831 description: 'PatchSet number in Gerrit'
832
833 - string:
Andy Bavier3708d072019-12-10 15:22:18 -0700834 name: testRuns
835 default: '{test-runs}'
836 description: 'How many times to repeat the tests'
837
838 - string:
839 name: extraRobotArgs
840 default: '{robot-args}'
841 description: 'Arguments to pass to robot'
842
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700843 - string:
844 name: workFlow
845 default: '{work-flow}'
846 description: 'Workflow for testcase'
Andy Bavier3708d072019-12-10 15:22:18 -0700847
pierventref48ebc12020-07-17 16:01:32 +0200848 - string:
849 name: karafHome
850 default: '{karaf-home}'
851 description: 'Karaf home'
852
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700853 - string:
854 name: volthaSystemTestsChange
855 default: '{volthaSystemTestsChange}'
856 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
857
858 - string:
859 name: kindVolthaChange
860 default: '{kindVolthaChange}'
861 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
862
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800863 - string:
864 name: olts
865 default: '{olts}'
866 description: 'How many BBSim instances to run'
867
Kailash8b8de742019-07-30 08:54:51 -0700868 project-type: pipeline
Andy Bavier358aa0b2019-11-22 11:55:39 -0700869 concurrent: true
Kailash8b8de742019-07-30 08:54:51 -0700870
Zack Williamsb3292082019-10-11 17:15:18 -0700871 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailash6be1aa92019-08-05 18:11:11 -0700872
873 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700874 - timed: |
Kailash6be1aa92019-08-05 18:11:11 -0700875 TZ=America/Los_Angeles
Andy Bavier218385e2019-11-13 09:51:38 -0700876 {time-trigger}
Kailashaad71012019-08-27 10:36:53 -0700877
878- job-template:
879 id: 'voltha-patch-test'
Matteo Scandolo84e5f002020-02-10 11:50:05 -0800880 name: 'verify_{project}_sanity-test{name-extension}'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700881 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hardik Windlassec9341b2021-06-07 11:58:29 +0000882 pipeline-script: 'voltha/master/bbsim-tests.groovy'
Andy Bavier4318f8d2020-04-09 13:50:53 -0700883 override-branch: '$GERRIT_BRANCH'
Andy Bavier02b00dc2020-04-28 13:01:12 -0700884 sandbox: true
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800885 build-timeout: 20
Hardik Windlassfbf296b2021-06-08 07:36:51 +0000886 timeout: 50
887 olts: 1
888 registry: mirror.registry.opennetworking.org
889 logLevel: 'INFO'
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700890 volthaSystemTestsChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800891 volthaHelmChartsChange: ''
Matteo Scandolocecb0842021-05-04 13:16:47 -0700892 extraHelmFlags: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800893 branch-regexp: '{all-branches-regexp}'
Hardik Windlassec9341b2021-06-07 11:58:29 +0000894 testTargets: |
895 - target: sanity-kind-att
896 workflow: att
897 flags: ""
898 teardown: true
899 - target: sanity-kind-dt
900 workflow: dt
901 flags: ""
902 teardown: true
903 - target: sanity-kind-tt
904 workflow: tt
905 flags: ""
906 teardown: true
Matteo Scandolo42f517b2021-05-07 09:36:53 -0700907 kindVolthaChange: '' # this is only needed to test kind-voltha patches
Kailashaad71012019-08-27 10:36:53 -0700908
909 description: |
910 <!-- Managed by Jenkins Job Builder -->
911 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
912 E2E Validation for Voltha 2.X
913
914 properties:
915 - cord-infra-properties:
916 build-days-to-keep: '{build-days-to-keep}'
917 artifact-num-to-keep: '{artifact-num-to-keep}'
918
919 wrappers:
920 - lf-infra-wrappers:
921 build-timeout: '{build-timeout}'
922 jenkins-ssh-credential: '{jenkins-ssh-credential}'
923
924 parameters:
925 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700926 name: buildNode
Andrea Campanella4792b7f2021-04-23 15:06:42 +0200927 default: '{build-node}'
Kailashaad71012019-08-27 10:36:53 -0700928 description: 'Name of the Jenkins node to run the job on'
929
930 - string:
hwchiu14f97852019-10-08 10:51:11 -0700931 name: gerritProject
932 default: '$GERRIT_PROJECT'
933 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700934
935 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700936 name: gerritRefspec
937 default: '$GERRIT_REFSPEC'
938 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
Kailashaad71012019-08-27 10:36:53 -0700939
940 - string:
Andy Bavierbedd0392019-10-16 13:58:18 -0700941 name: extraHelmFlags
Matteo Scandolocecb0842021-05-04 13:16:47 -0700942 default: '{extraHelmFlags}'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700943 description: 'Helm flags to pass to every helm command'
Andy Bavierbedd0392019-10-16 13:58:18 -0700944
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700945 - string:
946 name: volthaSystemTestsChange
947 default: '{volthaSystemTestsChange}'
948 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
949
950 - string:
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800951 name: volthaHelmChartsChange
952 default: '{volthaHelmChartsChange}'
953 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
954
955 - string:
956 name: branch
957 default: '{override-branch}'
958 description: 'Name of the branch to use'
959
Hardik Windlassec9341b2021-06-07 11:58:29 +0000960 # test configuration
961 # this is a parameter to drive the test execution, VOLTHA is redeployed each time with
962 # the provided configuration and then the make target is invoked,
963 # example value (has to be valid YAML):
964 # testTargets: |
965 # - target: 1t1gem-openonu-go-adapter-test
966 # workflow: att
967 # flags: ""
968 # teardown: true
969 - text:
970 name: testTargets
971 default: '{testTargets}'
972 description: 'Test configuration, see the ci-management job definition for more info'
973
Hardik Windlassfbf296b2021-06-08 07:36:51 +0000974 - string:
975 name: timeout
976 default: '{timeout}'
977 description: 'Timeout of pipeline job [minutes]'
978
979 - string:
980 name: olts
981 default: '{olts}'
982 description: 'How many BBSim instances to run'
983
984 - string:
985 name: registry
986 default: '{registry}'
987 description: 'Which registry to use (amazon vs menlo)'
988
989 - string:
990 name: logLevel
991 default: '{logLevel}'
992 description: 'Log level for all the components'
993
Matteo Scandolo42f517b2021-05-07 09:36:53 -0700994 # Used in the 2.7 based pipeline, can be removed after 2.8
995 - string:
996 name: kindVolthaChange
997 default: '{kindVolthaChange}'
998 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)'
999
Kailashaad71012019-08-27 10:36:53 -07001000 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -07001001 concurrent: true
Kailashaad71012019-08-27 10:36:53 -07001002
Zack Williamsb3292082019-10-11 17:15:18 -07001003 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -07001004
1005 triggers:
Andy Bavierb99c3d32020-02-18 11:14:17 -07001006 - gerrit:
1007 server-name: '{gerrit-server-name}'
Kailashaad71012019-08-27 10:36:53 -07001008 dependency-jobs: '{dependency-jobs}'
Andy Bavierb99c3d32020-02-18 11:14:17 -07001009 silent-start: true
1010 trigger-on:
1011 - patchset-created-event:
1012 exclude-drafts: true
1013 exclude-trivial-rebase: false
1014 exclude-no-code-change: true
1015 - draft-published-event
1016 - comment-added-contains-event:
1017 comment-contains-value: '(?i)^.*recheck$'
1018 projects:
1019 - project-compare-type: REG_EXP
1020 project-pattern: '^{project}$'
1021 branches:
1022 - branch-compare-type: REG_EXP
Matteo Scandolo42f6e572021-01-25 15:11:34 -08001023 branch-pattern: '{branch-regexp}'
Andy Bavierb99c3d32020-02-18 11:14:17 -07001024 file-paths:
1025 - compare-type: REG_EXP
1026 pattern: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001027
1028# POD Per Patchset Pipeline Jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001029# to use these parameters in a job: `<<: *voltha-physical-patchset-parameters`
1030- voltha-physical-patchset-parameters: &voltha-physical-patchset-parameters
1031 name: voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -07001032 parameters:
1033 - string:
1034 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -07001035 default: '{build-node}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001036 description: 'Pod management node'
1037
1038 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001039 name: branch
1040 default: '$GERRIT_BRANCH'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001041 description: 'Name of the repo branch to use'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001042
1043 - string:
1044 name: gerritProject
1045 default: '$GERRIT_PROJECT'
1046 description: 'Name of the Gerrit project'
1047
1048 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -07001049 name: gerritRefspec
1050 default: '$GERRIT_REFSPEC'
1051 description: 'RefSpec number in Gerrit'
1052
1053 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001054 name: gerritComment
1055 default: '$GERRIT_EVENT_COMMENT_TEXT'
1056 description: 'RefSpec number in Gerrit'
1057
1058 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001059 name: cordRepoUrl
1060 default: '{gerrit-server-url}'
1061 description: 'The URL of the CORD Project repository'
1062
1063 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001064 name: configBaseDir
1065 default: 'pod-configs'
1066 description: 'The directory inside the POD configs repository'
1067
1068 - string:
1069 name: configDeploymentDir
1070 default: 'deployment-configs'
1071 description: 'The deployment configs folder'
1072
1073 - string:
1074 name: configKubernetesDir
1075 default: 'kubernetes-configs'
1076 description: 'The kubernetes config folder'
1077
1078 - string:
1079 name: configFileName
1080 default: '{config-pod}'
1081 description: 'The config file'
1082
1083 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001084 name: podName
1085 default: '{config-pod}'
1086
1087 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001088 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -07001089 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001090 description: 'Path of SADIS config to load'
1091
1092 - string:
Andy Bavier893d2442020-05-21 12:41:17 -07001093 name: oltDebVersionMaster
1094 default: '{oltDebVersionMaster}'
1095 description: 'OLT Software version to install for master branch builds'
1096
1097 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001098 name: oltDebVersionVoltha23
Andy Bavier893d2442020-05-21 12:41:17 -07001099 default: '{oltDebVersionVoltha23}'
1100 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001101
1102 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001103 name: profile
1104 default: '{profile}'
1105 description: 'Technology Profile pushed to the ETCD'
1106
1107 - string:
1108 name: notificationEmail
1109 default: 'andy@opennetworking.org'
1110 description: ''
1111
1112 - bool:
1113 name: reinstallOlt
1114 default: true
1115 description: "Re-install OLT software"
1116
Zack Williams03ebb272020-03-27 09:42:33 -07001117 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001118 name: extraRobotArgs
1119 default: '{default-test-args}'
1120 description: 'Arguments to pass to robot'
1121
1122 - string:
1123 name: volthaSystemTestsChange
1124 default: '{volthaSystemTestsChange}'
1125 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
1126
1127 - string:
1128 name: volthaHelmChartsChange
1129 default: '{volthaHelmChartsChange}'
1130 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
1131
1132 - string:
1133 name: workflow
1134 default: '{workflow}'
1135 description: 'Installs and uses the specified work flow on the POD'
1136
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001137 - string:
1138 name: extraHelmFlags
1139 default: '{extraHelmFlags}'
1140 description: 'Helm flags (passed to each helm command)'
1141
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001142 # deprecated parameters, remove after VOLTHA-2.8 is released
1143 - string:
1144 name: deploymentConfigFile
1145 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
1146 description: 'Path of deployment config file'
1147
1148 - string:
1149 name: kindVolthaValuesFile
1150 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
1151 description: 'Path of kind-voltha values override file'
1152
1153 - string:
1154 name: manifestUrl
1155 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
1156 description: 'URL to the repo manifest'
1157
1158 - string:
1159 name: gerritChangeNumber
1160 default: '$GERRIT_CHANGE_NUMBER'
1161 description: 'Changeset number in Gerrit'
1162
1163 - string:
1164 name: gerritPatchsetNumber
1165 default: '$GERRIT_PATCHSET_NUMBER'
1166 description: 'PatchSet number in Gerrit'
1167
1168 - string:
1169 name: localConfigDir
1170 default: null
1171 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
1172
1173 - string:
1174 name: configRepo
1175 default: 'pod-configs'
1176 description: 'A repository containing the config files, will be checked out if specified'
1177
1178 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001179 name: manualBranch
1180 default: '{manualBranch}'
1181 description: "If a non-empty string, build manually as a specific branch, not with a specific patchset"
Andy Bavier51ba7e82019-12-17 11:01:01 -07001182
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001183- job-template:
1184 name: '{name}'
1185 id: verify_physical_voltha_patchset_auto
1186 description: |
1187 <!-- Managed by Jenkins Job Builder -->
1188 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
1189 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
1190 Created by Andy Bavier, andy@opennetworking.org <br />
1191 Copyright (c) 2019 Open Networking Foundation (ONF)
1192 sandbox: true
1193 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Matteo Scandolob6d80732021-05-05 14:06:42 -07001194 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001195 build-node: 'tucson-pod'
1196 config-pod: 'tucson-pod'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001197 profile: 'Default'
Girish Gowdra7ca29da2021-06-23 15:34:09 -07001198 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001199 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
1200 volthaSystemTestsChange: ''
1201 volthaHelmChartsChange: ''
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001202 extraHelmFlags: ''
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001203
1204 properties:
1205 - cord-infra-properties:
1206 build-days-to-keep: '{build-days-to-keep}'
1207 artifact-num-to-keep: '{artifact-num-to-keep}'
1208
1209 <<: *voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -07001210
1211 project-type: pipeline
1212 concurrent: true
1213
1214 dsl: !include-raw-escape: pipeline/{pipeline-script}
1215
1216 triggers:
1217 - gerrit:
1218 server-name: '{gerrit-server-name}'
1219 dependency-jobs: '{dependency-jobs}'
1220 silent-start: false
1221 successful-message: "PASSED hardware test"
1222 failure-message: "FAILED hardware test"
1223 unstable-message: "UNSTABLE hardware test"
1224 trigger-on:
1225 - comment-added-event:
1226 approval-category: 'Code-Review'
1227 approval-value: '+2'
1228 projects:
1229 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001230 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-go)$'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001231 branches:
Andy Bavier37f6ea92020-04-03 11:13:35 -07001232 - branch-compare-type: REG_EXP
Matteo Scandoloec3ec8e2021-05-27 13:03:00 -07001233 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001234
Andy Bavier51ba7e82019-12-17 11:01:01 -07001235- job-template:
1236 name: '{name}'
1237 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001238 description: |
1239 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001240 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -07001241 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001242 Created by Andy Bavier, andy@opennetworking.org <br />
1243 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001244 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001245 build-node: 'tucson-pod'
1246 config-pod: 'tucson-pod'
Girish Gowdra7ca29da2021-06-23 15:34:09 -07001247 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001248 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
1249 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001250 trigger-string: 'hardware test'
Matteo Scandolob6d80732021-05-05 14:06:42 -07001251 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001252 volthaSystemTestsChange: ''
1253 volthaHelmChartsChange: ''
Matteo Scandolob6d80732021-05-05 14:06:42 -07001254 profile: 'Default'
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001255 extraHelmFlags: ''
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001256
1257 properties:
1258 - cord-infra-properties:
1259 build-days-to-keep: '{build-days-to-keep}'
1260 artifact-num-to-keep: '{artifact-num-to-keep}'
1261
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001262 <<: *voltha-physical-patchset-parameters
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001263
Andy Bavier8c11d462019-12-17 08:19:34 -07001264
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001265 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001266 concurrent: true
1267
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001268 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001269
Andy Bavier1f465592019-11-06 10:03:56 -07001270 triggers:
1271 - gerrit:
1272 server-name: '{gerrit-server-name}'
1273 dependency-jobs: '{dependency-jobs}'
1274 silent-start: false
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001275 successful-message: "PASSED {trigger-string}"
1276 failure-message: "FAILED {trigger-string}"
1277 unstable-message: "UNSTABLE {trigger-string}"
Andy Bavier1f465592019-11-06 10:03:56 -07001278 trigger-on:
1279 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001280 comment-contains-value: '^{trigger-string}$'
Scott Bakerda31d7b2020-01-08 16:35:52 -08001281 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001282 comment-contains-value: '^{trigger-string} with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -07001283 projects:
1284 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001285 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 -07001286 branches:
Andy Bavierfc3ca142020-03-27 13:44:25 -07001287 - branch-compare-type: REG_EXP
Matteo Scandoloec3ec8e2021-05-27 13:03:00 -07001288 branch-pattern: '{branch-pattern}'