blob: daab7788dc1baba9d5ddd73940d14c0c69518f6c [file] [log] [blame]
Kailash8b8de742019-07-30 08:54:51 -07001---
2# voltha 2.0 tests
3
4- project:
5 name: voltha-e2e
6
7 project-name: '{name}'
Zack Williams03ebb272020-03-27 09:42:33 -07008 manualBranch: ''
Suchitra Vemuri456b6b42020-11-10 19:06:22 -08009 olts: 1
Andrea Campanellaf3c32af2020-12-10 12:21:57 +010010 onus: 1
11 pons: 1
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080012 withAlarms: true
13 make-target-failtest: bbsim-failurescenarios
14 make-target-errortest: bbsim-errorscenarios
15 make-target-alarmtest: bbsim-alarms-kind
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -080016 make-target-multipleolt: bbsim-multiolt-kind
TorstenThieme669258d2021-01-29 09:03:10 +000017 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
18 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
TorstenThiemea6c21342021-05-05 09:21:59 +000019 make-target-reconciletest: reconcile-openonu-go-adapter-test-att
TorstenThieme45422612021-03-23 10:38:59 +000020 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
21 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
Kailash8b8de742019-07-30 08:54:51 -070022
23 jobs:
Matteo Scandoloa57b0972021-05-03 14:04:58 -070024 - 'voltha-periodic-test':
Hung-Wei Chiu5ec2edf2020-04-30 14:53:13 -070025 name: 'periodic-voltha-test-bbsim'
Hung-Wei Chiu5ec2edf2020-04-30 14:53:13 -070026 code-branch: 'master'
Andrea Campanella4f6bfd62021-07-05 19:40:21 +020027 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set voltha.images.rw_core.repository=andreacampanella/voltha-rw-core --set voltha.images.rw_core.tag=meter --set voltha.images.ofagent.repository=volthacore/voltha-ofagent --set voltha.images.ofagent.tag=noflows '
Suchitra Vemuricbb9d842021-02-24 20:29:19 -080028 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -070029 testTargets: |
30 - target: functional-single-kind
31 workflow: att
32 flags: ""
33 teardown: true
34 - target: bbsim-alarms-kind
35 workflow: att
36 flags: ""
37 teardown: false
38 - target: bbsim-failurescenarios
39 workflow: att
40 flags: ""
41 teardown: false
42 - target: bbsim-errorscenarios
43 workflow: att
44 flags: ""
45 teardown: false
46
47 - 'voltha-periodic-test':
48 name: 'periodic-voltha-multiple-olts-test-bbsim'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080049 code-branch: 'master'
50 olts: 2
Andrea Campanella67850712021-06-04 08:13:08 +000051 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -080052 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -070053 testTargets: |
54 - target: functional-multi-olt
55 workflow: att
56 flags: ""
57 teardown: true
58 - target: bbsim-multiolt-failurescenarios
59 workflow: att
60 flags: ""
61 teardown: false
62 - target: bbsim-multiolt-errorscenarios
63 workflow: att
64 flags: ""
65 teardown: false
66 - target: bbsim-multiolt-kind
67 workflow: att
68 flags: ""
69 teardown: false
Andy Bavierf93f3142020-01-09 16:08:51 -070070
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"
TorstenThieme6877ab12021-05-26 13:28:54 +0000332 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 +0000333 code-branch: '$GERRIT_BRANCH'
334 gerrit-project: '$GERRIT_PROJECT'
335 gerritRefspec: '$GERRIT_REFSPEC'
336 logLevel: 'DEBUG'
337 testTargets: |
338 - target: voltha-pm-data-single-kind-att
339 workflow: att
340 flags: ""
341 teardown: true
342 - target: voltha-pm-data-single-kind-dt
343 workflow: dt
344 flags: ""
345 teardown: true
346 - target: voltha-pm-data-single-kind-tt
347 workflow: tt
348 flags: ""
349 teardown: true
350 timeout: 140
351
352 - 'voltha-periodic-test':
353 name: 'periodic-voltha-multiple-olts-pm-data-test-bbsim'
354 code-branch: 'master'
TorstenThieme6877ab12021-05-26 13:28:54 +0000355 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 +0000356 olts: 2
357 timeout: 180
358 logLevel: 'DEBUG'
359 testTargets: |
360 - target: voltha-pm-data-multiolt-kind-att
361 workflow: att
362 flags: ""
363 teardown: true
364 - target: voltha-pm-data-multiolt-kind-dt
365 workflow: dt
366 flags: ""
367 teardown: true
368 - target: voltha-pm-data-multiolt-kind-tt
369 workflow: tt
370 flags: ""
371 teardown: true
372 time-trigger: "H H/23 * * *"
373
374 - 'voltha-periodic-test':
375 name: 'patchset-voltha-multiple-olts-pm-data-test-bbsim'
376 trigger-comment: "voltha test pm data multiolt"
377 code-branch: '$GERRIT_BRANCH'
TorstenThieme6877ab12021-05-26 13:28:54 +0000378 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 +0000379 gerrit-project: '$GERRIT_PROJECT'
380 gerritRefspec: '$GERRIT_REFSPEC'
381 logLevel: 'DEBUG'
382 testTargets: |
383 - target: voltha-pm-data-multiolt-kind-att
384 workflow: att
385 flags: ""
386 teardown: true
387 - target: voltha-pm-data-multiolt-kind-dt
388 workflow: dt
389 flags: ""
390 teardown: true
391 - target: voltha-pm-data-multiolt-kind-tt
392 workflow: tt
393 flags: ""
394 teardown: true
395 olts: 2
396 timeout: 180
397
Matteo Scandolo075740f2021-04-22 14:52:29 -0700398 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +0530399 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim-2.7'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700400 pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700401 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass46d61132021-03-30 16:42:07 +0530402 make-target: openonu-go-adapter-multi-olt-test
403 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-multi-olt-test
404 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-multi-olt-test
TorstenThiemea6c21342021-05-05 09:21:59 +0000405 make-target-reconciletest: reconcile-openonu-go-adapter-multi-olt-test
406 make-target-reconciledttest: reconcile-openonu-go-adapter-multi-olt-test-dt
407 make-target-reconciletttest: reconcile-openonu-go-adapter-multi-olt-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +0530408 withAlarms: false
409 code-branch: 'voltha-2.7'
410 olts: 2
411 onus: 2
412 pons: 2
413 time-trigger: "H H/23 * * *"
414
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700415 - 'voltha-periodic-test':
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100416 name: 'periodic-voltha-test-DMI'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700417 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100418 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800419 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700420 testTargets: |
421 - target: bbsim-dmi-hw-management-test
422 workflow: att
423 flags: ""
424 teardown: true
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100425
Matteo Scandolo075740f2021-04-22 14:52:29 -0700426 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700427 name: 'periodic-voltha-test-DMI-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700428 pipeline-script: 'voltha/voltha-2.7/voltha-DMI-bbsim-tests.groovy'
Andrea Campanellae9739492020-12-17 09:54:04 +0100429 build-node: 'qct-pod4-node2'
430 make-target: bbsim-dmi-hw-management-test
431 withAlarms: false
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700432 code-branch: 'voltha-2.7'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800433 time-trigger: "H H/23 * * *"
Andrea Campanellae9739492020-12-17 09:54:04 +0100434
Matteo Scandolo075740f2021-04-22 14:52:29 -0700435 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700436 name: 'periodic-voltha-test-bbsim-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700437 pipeline-script: 'voltha/voltha-2.7/voltha-nightly-tests-bbsim.groovy'
Andy Bavier10926f12020-03-27 16:53:43 -0700438 build-node: 'qct-pod4-node2'
Andy Bavier10926f12020-03-27 16:53:43 -0700439 make-target: functional-single-kind
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800440 make-target-failtest: bbsim-failurescenarios
441 make-target-errortest: bbsim-errorscenarios
442 make-target-alarmtest: bbsim-alarms-kind
443 withAlarms: true
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700444 code-branch: 'voltha-2.7'
Suchitra Vemuri5fc1c6a2021-04-13 19:12:38 -0700445 time-trigger: "H H * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700446
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700447 - 'voltha-periodic-test':
Andy Bavier4be37062020-06-29 15:17:26 -0700448 name: 'periodic-voltha-etcd-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700449 build-node: 'ubuntu18.04-basebuild-4c-8g'
hwchiuc9189b72019-12-02 15:12:29 -0800450 code-branch: 'master'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700451 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
hwchiufdc49242019-11-18 16:37:22 -0800452 time-trigger: "H H/12 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700453 testTargets: |
454 - target: sanity-multi-kind
455 workflow: att
456 flags: ""
457 teardown: true
hwchiufdc49242019-11-18 16:37:22 -0800458
Matteo Scandolo075740f2021-04-22 14:52:29 -0700459 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700460 name: 'periodic-voltha-etcd-test-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700461 pipeline-script: 'voltha/voltha-2.7/voltha-system-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700462 build-node: 'ubuntu18.04-basebuild-4c-8g'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700463 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700464 make-target: sanity-multi-kind
465 onus: 2
466 pons: 2
467 time-trigger: "H H/12 * * *"
468
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700469 - 'voltha-periodic-test':
Andy Bavier3708d072019-12-10 15:22:18 -0700470 name: 'periodic-voltha-sanity-test-multi-runs'
Andy Bavier3708d072019-12-10 15:22:18 -0700471 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800472 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700473 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
474 testTargets: |
475 - target: sanity-kind
476 workflow: att
477 flags: ""
478 teardown: true
479 - target: sanity-kind
480 workflow: att
481 flags: ""
482 teardown: false
483 - target: sanity-kind
484 workflow: att
485 flags: ""
486 teardown: false
487 - target: sanity-kind
488 workflow: att
489 flags: ""
490 teardown: false
491 - target: sanity-kind
492 workflow: att
493 flags: ""
494 teardown: false
Andy Bavier10926f12020-03-27 16:53:43 -0700495
Matteo Scandolo075740f2021-04-22 14:52:29 -0700496 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700497 name: 'periodic-voltha-sanity-test-multi-runs-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700498 pipeline-script: 'voltha/voltha-2.7/voltha-go-multi-tests.groovy'
Andy Bavier10926f12020-03-27 16:53:43 -0700499 build-node: 'qct-pod4-node2'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700500 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700501 make-target: sanity-kind
502 onus: 1
503 pons: 1
504 test-runs: 5
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800505 time-trigger: "H H/23 * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700506
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700507 - 'voltha-periodic-test':
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700508 name: 'nightly-voltha-DTflow-sanity-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700509 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700510 code-branch: 'master'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700511 time-trigger: "@daily"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700512 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
513 testTargets: |
514 - target: sanity-kind-dt
515 workflow: dt
516 flags: ""
517 teardown: true
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700518
Matteo Scandolob6d80732021-05-05 14:06:42 -0700519 # ATT Per-patchset Pod builds on Tucson pod (master)
Andy Bavier51ba7e82019-12-17 11:01:01 -0700520 - 'verify_physical_voltha_patchset_auto':
521 name: 'verify_physical_voltha_patchset_auto'
Andrea Campanella1198cd52021-06-14 16:17:25 +0200522 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set global.log_level=debug'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700523 workflow: 'att'
Matteo Scandoloec3ec8e2021-05-27 13:03:00 -0700524 branch-pattern: master
Andy Bavier51ba7e82019-12-17 11:01:01 -0700525
Matteo Scandolob6d80732021-05-05 14:06:42 -0700526 # ATT Per-patchset Pod builds on Tucson pod (voltha-2.7)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700527 - 'verify_physical_voltha_patchset_auto':
528 name: 'verify_physical_voltha_patchset_auto_voltha-2.7'
Girish Gowdra7ca29da2021-06-23 15:34:09 -0700529 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700530 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700531 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
532 branch-pattern: voltha-2.7
Matteo Scandolob6d80732021-05-05 14:06:42 -0700533 workflow: 'att'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700534
Matteo Scandolob6d80732021-05-05 14:06:42 -0700535 # ATT Manual Pod builds on Tucson pod (master)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700536 - 'verify_physical_voltha_patchset_manual':
537 name: 'verify_physical_voltha_patchset_manual'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700538 trigger-string: 'hardware test'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700539 branch-pattern: master
Andrea Campanella1198cd52021-06-14 16:17:25 +0200540 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set global.log_level=debug'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700541 workflow: 'att'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700542
Matteo Scandolob6d80732021-05-05 14:06:42 -0700543 # ATT Manual Pod builds on Tucson pod (voltha-2.7)
544 - 'verify_physical_voltha_patchset_manual':
545 name: 'verify_physical_voltha_patchset_manual_voltha-2.7'
Girish Gowdra7ca29da2021-06-23 15:34:09 -0700546 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700547 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
548 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
549 trigger-string: 'hardware test'
550 branch-pattern: voltha-2.7
551 workflow: 'att'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700552
Matteo Scandolob6d80732021-05-05 14:06:42 -0700553 # DT Manual Pod builds on Tucson pod (master)
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700554 - 'verify_physical_voltha_patchset_manual':
555 name: 'verify_physical_voltha_patchset_manual_DT'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700556 workflow: 'dt'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700557 trigger-string: 'DT hardware test'
558 default-test-args: '-i sanityDt -i PowerSwitch -X'
559 branch-pattern: master
Andrea Campanella1198cd52021-06-14 16:17:25 +0200560 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set global.log_level=debug'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700561
Matteo Scandolob6d80732021-05-05 14:06:42 -0700562 # DT Per-patchset Pod builds on Tucson pod (voltha-2.7)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700563 - 'verify_physical_voltha_patchset_manual':
564 name: 'verify_physical_voltha_patchset_manual_DT_voltha-2.7'
565 workflow: 'dt'
Girish Gowdra7ca29da2021-06-23 15:34:09 -0700566 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700567 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700568 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700569 trigger-string: 'DT hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800570 default-test-args: '-i sanityDt -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700571 branch-pattern: voltha-2.7
Andy Bavier19c98a22019-11-11 13:57:11 -0700572
Kailash8b8de742019-07-30 08:54:51 -0700573- job-template:
Kailashaad71012019-08-27 10:36:53 -0700574 id: 'voltha-periodic-test'
575 name: '{name}'
Hardik Windlassec9341b2021-06-07 11:58:29 +0000576 pipeline-script: 'voltha/master/bbsim-tests.groovy'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700577 build-node: 'ubuntu18.04-basebuild-8c-15g'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700578 robot-args: ''
579 gerrit-project: ''
580 gerritRefspec: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700581 volthaSystemTestsChange: ''
582 volthaHelmChartsChange: ''
583 extraHelmFlags: ''
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700584 registry: mirror.registry.opennetworking.org
Matteo Scandolo075740f2021-04-22 14:52:29 -0700585 sandbox: true
586 olts: 1
TorstenThieme869ba322021-05-05 12:11:42 +0000587 timeout: 130
Hardik Windlass696002d2021-05-07 11:38:28 +0000588 logLevel: 'INFO'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700589
Matteo Scandolo075740f2021-04-22 14:52:29 -0700590 trigger-comment: vv7CBoQQYYonvaN8xcru
591 time-trigger: 0 0 29 2 *
592
593 description: |
594 <!-- Managed by Jenkins Job Builder -->
595 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
596 E2E Validation for Voltha 2.X
597
598 properties:
599 - cord-infra-properties:
600 build-days-to-keep: '{big-build-days-to-keep}'
601 artifact-num-to-keep: '{big-artifact-num-to-keep}'
602
603 wrappers:
604 - lf-infra-wrappers:
605 build-timeout: '{build-timeout}'
606 jenkins-ssh-credential: '{jenkins-ssh-credential}'
607
608 parameters:
609 - string:
610 name: buildNode
611 default: '{build-node}'
612 description: 'Name of the Jenkins node to run the job on'
613
614 - string:
615 name: extraHelmFlags
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700616 default: '{extraHelmFlags}'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700617 description: 'Helm flags (passed to each deployment)'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700618
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700619 # test configuration
620 # this is a parameter to drive the test execution, VOLTHA is redeployed each time with
621 # the provided configuration and then the make target is invoked,
622 # example value (has to be valid YAML):
623 # testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000624 # - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700625 # workflow: att
626 # flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700627 # teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700628 - text:
629 name: testTargets
630 default: '{testTargets}'
631 description: 'Test configuration, see the ci-management job definition for more info'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700632
633 - string:
634 name: branch
635 default: '{code-branch}'
636 description: 'Repo manifest branch for code checkout'
637
638 - string:
639 name: gerritProject
640 default: '{gerrit-project}'
641 description: 'Name of the Gerrit project'
642
643 - string:
644 name: gerritRefspec
645 default: ''
646 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
647
648 - string:
649 name: extraRobotArgs
650 default: '{robot-args}'
651 description: 'Arguments to pass to robot'
652
653 - string:
654 name: volthaSystemTestsChange
655 default: '{volthaSystemTestsChange}'
656 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
657
658 - string:
659 name: volthaHelmChartsChange
660 default: '{volthaHelmChartsChange}'
661 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
662
663 - string:
664 name: olts
665 default: '{olts}'
666 description: 'How many BBSim instances to run'
667
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700668 - string:
669 name: registry
670 default: '{registry}'
671 description: 'Which registry to use (amazon vs menlo)'
672
Hardik Windlass696002d2021-05-07 11:38:28 +0000673 - string:
674 name: logLevel
675 default: '{logLevel}'
676 description: 'Log level for all the components'
677
TorstenThieme869ba322021-05-05 12:11:42 +0000678 - string:
679 name: timeout
680 default: '{timeout}'
681 description: 'Timeout of pipeline job [minutes]'
682
Matteo Scandolo075740f2021-04-22 14:52:29 -0700683 project-type: pipeline
684 concurrent: true
685
686 dsl: !include-raw-escape: pipeline/{pipeline-script}
687
688 triggers:
689 # patchset jobs will set this to "0 0 29 2 *" (feb 29th, it's once every 4 years)
690 - timed: |
691 TZ=America/Los_Angeles
692 {time-trigger}
693 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
694 - gerrit:
695 server-name: '{gerrit-server-name}'
696 silent-start: false
697 successful-message: "PASSED openonu-go test"
698 failure-message: "FAILED openonu-go test"
699 unstable-message: "UNSTABLE openonu-go test"
700 trigger-on:
701 - comment-added-contains-event:
702 comment-contains-value: '.*{trigger-comment}.*'
703 projects:
704 - project-compare-type: REG_EXP
705 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter-go|ofagent-go|voltha-onos|bbsim)$'
706 branches:
707 - branch-compare-type: REG_EXP
708 branch-pattern: '{all-branches-regexp}'
709
710- job-template:
711 id: 'voltha-periodic-test-kind-voltha-based'
712 name: '{name}'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700713 pipeline-script: 'voltha/voltha-2.7/voltha-go-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -0700714 test-runs: 1
715 robot-args: ''
Andy Bavierb35171c2020-03-06 15:47:29 -0700716 gerrit-project: ''
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700717 work-flow: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700718 volthaSystemTestsChange: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700719 volthaHelmChartsChange: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700720 kindVolthaChange: ''
Andrea Campanella6d562182020-10-06 18:39:30 +0200721 extraHelmFlags: ''
Andy Bavier02b00dc2020-04-28 13:01:12 -0700722 sandbox: true
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800723 olts: 1
Matteo Scandolob36f0892020-11-23 12:19:48 -0800724 withAlarms: false
Andy Bavierb35171c2020-03-06 15:47:29 -0700725
Kailash8b8de742019-07-30 08:54:51 -0700726 description: |
727 <!-- Managed by Jenkins Job Builder -->
728 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
729 E2E Validation for Voltha 2.X
730
731 properties:
732 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800733 build-days-to-keep: '{big-build-days-to-keep}'
734 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Kailash8b8de742019-07-30 08:54:51 -0700735
736 wrappers:
737 - lf-infra-wrappers:
738 build-timeout: '{build-timeout}'
739 jenkins-ssh-credential: '{jenkins-ssh-credential}'
740
741 parameters:
742 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700743 name: buildNode
Andy Bavier833b78e2019-11-22 17:01:31 -0700744 default: '{build-node}'
Kailash8b8de742019-07-30 08:54:51 -0700745 description: 'Name of the Jenkins node to run the job on'
746
747 - string:
Andy Bavierea26c5c2019-09-18 08:09:17 -0700748 name: extraHelmFlags
Andrea Campanellae9517922021-05-06 10:01:44 +0200749 default: '--set onu={onus},pon={pons} {extraHelmFlags}'
Andy Bavierea26c5c2019-09-18 08:09:17 -0700750 description: 'Helm flags to pass to ./voltha up'
751
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800752 - bool:
753 name: withAlarms
Matteo Scandolob36f0892020-11-23 12:19:48 -0800754 default: '{withAlarms}'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800755 description: "Run alarm based tests when true"
756
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700757 - string:
Andy Bavier218385e2019-11-13 09:51:38 -0700758 name: makeTarget
759 default: '{make-target}'
760 description: 'Makefile target to invoke during test'
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700761
Andy Bavier4c8b3232019-11-22 16:17:47 -0700762 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800763 name: makeFailtestTarget
764 default: '{make-target-failtest}'
765 description: 'Makefile target to invoke during failure/based test'
766
767 - string:
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -0800768 name: makeMultiOltTarget
769 default: '{make-target-multipleolt}'
770 description: 'Makefile target to invoke during multiple olt test'
771
772 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800773 name: makeErrortestTarget
774 default: '{make-target-errortest}'
775 description: 'Makefile target to invoke during error test'
776
777 - string:
778 name: makeAlarmtestTarget
779 default: '{make-target-alarmtest}'
780 description: 'Makefile target to invoke during alarm test'
781
782 - string:
TorstenThieme669258d2021-01-29 09:03:10 +0000783 name: make1t4gemTestTarget
784 default: '{make-target-1t4gemtest}'
785 description: 'Makefile target to invoke during 1t4gem test'
786
787 - string:
788 name: make1t8gemTestTarget
789 default: '{make-target-1t8gemtest}'
790 description: 'Makefile target to invoke during 1t8gem test'
791
792 - string:
TorstenThieme45422612021-03-23 10:38:59 +0000793 name: makeReconcileTestTarget
794 default: '{make-target-reconciletest}'
795 description: 'Makefile target to invoke during reconcile test'
796
797 - string:
798 name: makeReconcileDtTestTarget
799 default: '{make-target-reconciledttest}'
800 description: 'Makefile target to invoke during reconcile dt test'
801
802 - string:
803 name: makeReconcileTtTestTarget
804 default: '{make-target-reconciletttest}'
805 description: 'Makefile target to invoke during reconcile tt test'
806
807 - string:
Andy Bavier4c8b3232019-11-22 16:17:47 -0700808 name: manifestUrl
809 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700810 description: 'Repo manifest URL for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700811
812 - string:
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700813 name: branch
Andy Bavier4c8b3232019-11-22 16:17:47 -0700814 default: '{code-branch}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700815 description: 'Repo manifest branch for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700816
Andy Bavier3708d072019-12-10 15:22:18 -0700817 - string:
Andy Bavierb35171c2020-03-06 15:47:29 -0700818 name: gerritProject
819 default: '{gerrit-project}'
820 description: 'Name of the Gerrit project'
821
822 - string:
823 name: gerritChangeNumber
824 default: ''
825 description: 'Changeset number in Gerrit'
826
827 - string:
828 name: gerritPatchsetNumber
829 default: ''
830 description: 'PatchSet number in Gerrit'
831
832 - string:
Andy Bavier3708d072019-12-10 15:22:18 -0700833 name: testRuns
834 default: '{test-runs}'
835 description: 'How many times to repeat the tests'
836
837 - string:
838 name: extraRobotArgs
839 default: '{robot-args}'
840 description: 'Arguments to pass to robot'
841
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700842 - string:
843 name: workFlow
844 default: '{work-flow}'
845 description: 'Workflow for testcase'
Andy Bavier3708d072019-12-10 15:22:18 -0700846
pierventref48ebc12020-07-17 16:01:32 +0200847 - string:
848 name: karafHome
849 default: '{karaf-home}'
850 description: 'Karaf home'
851
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700852 - string:
853 name: volthaSystemTestsChange
854 default: '{volthaSystemTestsChange}'
855 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
856
857 - string:
858 name: kindVolthaChange
859 default: '{kindVolthaChange}'
860 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
861
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800862 - string:
863 name: olts
864 default: '{olts}'
865 description: 'How many BBSim instances to run'
866
Kailash8b8de742019-07-30 08:54:51 -0700867 project-type: pipeline
Andy Bavier358aa0b2019-11-22 11:55:39 -0700868 concurrent: true
Kailash8b8de742019-07-30 08:54:51 -0700869
Zack Williamsb3292082019-10-11 17:15:18 -0700870 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailash6be1aa92019-08-05 18:11:11 -0700871
872 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700873 - timed: |
Kailash6be1aa92019-08-05 18:11:11 -0700874 TZ=America/Los_Angeles
Andy Bavier218385e2019-11-13 09:51:38 -0700875 {time-trigger}
Kailashaad71012019-08-27 10:36:53 -0700876
877- job-template:
878 id: 'voltha-patch-test'
Matteo Scandolo84e5f002020-02-10 11:50:05 -0800879 name: 'verify_{project}_sanity-test{name-extension}'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700880 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hardik Windlassec9341b2021-06-07 11:58:29 +0000881 pipeline-script: 'voltha/master/bbsim-tests.groovy'
Andy Bavier4318f8d2020-04-09 13:50:53 -0700882 override-branch: '$GERRIT_BRANCH'
Andy Bavier02b00dc2020-04-28 13:01:12 -0700883 sandbox: true
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800884 build-timeout: 20
Hardik Windlassfbf296b2021-06-08 07:36:51 +0000885 timeout: 50
886 olts: 1
887 registry: mirror.registry.opennetworking.org
888 logLevel: 'INFO'
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700889 volthaSystemTestsChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800890 volthaHelmChartsChange: ''
Matteo Scandolocecb0842021-05-04 13:16:47 -0700891 extraHelmFlags: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800892 branch-regexp: '{all-branches-regexp}'
Hardik Windlassec9341b2021-06-07 11:58:29 +0000893 testTargets: |
894 - target: sanity-kind-att
895 workflow: att
896 flags: ""
897 teardown: true
898 - target: sanity-kind-dt
899 workflow: dt
900 flags: ""
901 teardown: true
902 - target: sanity-kind-tt
903 workflow: tt
904 flags: ""
905 teardown: true
Matteo Scandolo42f517b2021-05-07 09:36:53 -0700906 kindVolthaChange: '' # this is only needed to test kind-voltha patches
Kailashaad71012019-08-27 10:36:53 -0700907
908 description: |
909 <!-- Managed by Jenkins Job Builder -->
910 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
911 E2E Validation for Voltha 2.X
912
913 properties:
914 - cord-infra-properties:
915 build-days-to-keep: '{build-days-to-keep}'
916 artifact-num-to-keep: '{artifact-num-to-keep}'
917
918 wrappers:
919 - lf-infra-wrappers:
920 build-timeout: '{build-timeout}'
921 jenkins-ssh-credential: '{jenkins-ssh-credential}'
922
923 parameters:
924 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700925 name: buildNode
Andrea Campanella4792b7f2021-04-23 15:06:42 +0200926 default: '{build-node}'
Kailashaad71012019-08-27 10:36:53 -0700927 description: 'Name of the Jenkins node to run the job on'
928
929 - string:
hwchiu14f97852019-10-08 10:51:11 -0700930 name: gerritProject
931 default: '$GERRIT_PROJECT'
932 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700933
934 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700935 name: gerritRefspec
936 default: '$GERRIT_REFSPEC'
937 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
Kailashaad71012019-08-27 10:36:53 -0700938
939 - string:
Andy Bavierbedd0392019-10-16 13:58:18 -0700940 name: extraHelmFlags
Matteo Scandolocecb0842021-05-04 13:16:47 -0700941 default: '{extraHelmFlags}'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700942 description: 'Helm flags to pass to every helm command'
Andy Bavierbedd0392019-10-16 13:58:18 -0700943
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700944 - string:
945 name: volthaSystemTestsChange
946 default: '{volthaSystemTestsChange}'
947 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
948
949 - string:
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800950 name: volthaHelmChartsChange
951 default: '{volthaHelmChartsChange}'
952 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
953
954 - string:
955 name: branch
956 default: '{override-branch}'
957 description: 'Name of the branch to use'
958
Hardik Windlassec9341b2021-06-07 11:58:29 +0000959 # test configuration
960 # this is a parameter to drive the test execution, VOLTHA is redeployed each time with
961 # the provided configuration and then the make target is invoked,
962 # example value (has to be valid YAML):
963 # testTargets: |
964 # - target: 1t1gem-openonu-go-adapter-test
965 # workflow: att
966 # flags: ""
967 # teardown: true
968 - text:
969 name: testTargets
970 default: '{testTargets}'
971 description: 'Test configuration, see the ci-management job definition for more info'
972
Hardik Windlassfbf296b2021-06-08 07:36:51 +0000973 - string:
974 name: timeout
975 default: '{timeout}'
976 description: 'Timeout of pipeline job [minutes]'
977
978 - string:
979 name: olts
980 default: '{olts}'
981 description: 'How many BBSim instances to run'
982
983 - string:
984 name: registry
985 default: '{registry}'
986 description: 'Which registry to use (amazon vs menlo)'
987
988 - string:
989 name: logLevel
990 default: '{logLevel}'
991 description: 'Log level for all the components'
992
Matteo Scandolo42f517b2021-05-07 09:36:53 -0700993 # Used in the 2.7 based pipeline, can be removed after 2.8
994 - string:
995 name: kindVolthaChange
996 default: '{kindVolthaChange}'
997 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)'
998
Kailashaad71012019-08-27 10:36:53 -0700999 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -07001000 concurrent: true
Kailashaad71012019-08-27 10:36:53 -07001001
Zack Williamsb3292082019-10-11 17:15:18 -07001002 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -07001003
1004 triggers:
Andy Bavierb99c3d32020-02-18 11:14:17 -07001005 - gerrit:
1006 server-name: '{gerrit-server-name}'
Kailashaad71012019-08-27 10:36:53 -07001007 dependency-jobs: '{dependency-jobs}'
Andy Bavierb99c3d32020-02-18 11:14:17 -07001008 silent-start: true
1009 trigger-on:
1010 - patchset-created-event:
1011 exclude-drafts: true
1012 exclude-trivial-rebase: false
1013 exclude-no-code-change: true
1014 - draft-published-event
1015 - comment-added-contains-event:
1016 comment-contains-value: '(?i)^.*recheck$'
1017 projects:
1018 - project-compare-type: REG_EXP
1019 project-pattern: '^{project}$'
1020 branches:
1021 - branch-compare-type: REG_EXP
Matteo Scandolo42f6e572021-01-25 15:11:34 -08001022 branch-pattern: '{branch-regexp}'
Andy Bavierb99c3d32020-02-18 11:14:17 -07001023 file-paths:
1024 - compare-type: REG_EXP
1025 pattern: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001026
1027# POD Per Patchset Pipeline Jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001028# to use these parameters in a job: `<<: *voltha-physical-patchset-parameters`
1029- voltha-physical-patchset-parameters: &voltha-physical-patchset-parameters
1030 name: voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -07001031 parameters:
1032 - string:
1033 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -07001034 default: '{build-node}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001035 description: 'Pod management node'
1036
1037 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001038 name: branch
1039 default: '$GERRIT_BRANCH'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001040 description: 'Name of the repo branch to use'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001041
1042 - string:
1043 name: gerritProject
1044 default: '$GERRIT_PROJECT'
1045 description: 'Name of the Gerrit project'
1046
1047 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -07001048 name: gerritRefspec
1049 default: '$GERRIT_REFSPEC'
1050 description: 'RefSpec number in Gerrit'
1051
1052 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001053 name: gerritComment
1054 default: '$GERRIT_EVENT_COMMENT_TEXT'
1055 description: 'RefSpec number in Gerrit'
1056
1057 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001058 name: cordRepoUrl
1059 default: '{gerrit-server-url}'
1060 description: 'The URL of the CORD Project repository'
1061
1062 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001063 name: configBaseDir
1064 default: 'pod-configs'
1065 description: 'The directory inside the POD configs repository'
1066
1067 - string:
1068 name: configDeploymentDir
1069 default: 'deployment-configs'
1070 description: 'The deployment configs folder'
1071
1072 - string:
1073 name: configKubernetesDir
1074 default: 'kubernetes-configs'
1075 description: 'The kubernetes config folder'
1076
1077 - string:
1078 name: configFileName
1079 default: '{config-pod}'
1080 description: 'The config file'
1081
1082 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001083 name: podName
1084 default: '{config-pod}'
1085
1086 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001087 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -07001088 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001089 description: 'Path of SADIS config to load'
1090
1091 - string:
Andy Bavier893d2442020-05-21 12:41:17 -07001092 name: oltDebVersionMaster
1093 default: '{oltDebVersionMaster}'
1094 description: 'OLT Software version to install for master branch builds'
1095
1096 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001097 name: oltDebVersionVoltha23
Andy Bavier893d2442020-05-21 12:41:17 -07001098 default: '{oltDebVersionVoltha23}'
1099 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001100
1101 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001102 name: profile
1103 default: '{profile}'
1104 description: 'Technology Profile pushed to the ETCD'
1105
1106 - string:
1107 name: notificationEmail
1108 default: 'andy@opennetworking.org'
1109 description: ''
1110
1111 - bool:
1112 name: reinstallOlt
1113 default: true
1114 description: "Re-install OLT software"
1115
Zack Williams03ebb272020-03-27 09:42:33 -07001116 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001117 name: extraRobotArgs
1118 default: '{default-test-args}'
1119 description: 'Arguments to pass to robot'
1120
1121 - string:
1122 name: volthaSystemTestsChange
1123 default: '{volthaSystemTestsChange}'
1124 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
1125
1126 - string:
1127 name: volthaHelmChartsChange
1128 default: '{volthaHelmChartsChange}'
1129 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
1130
1131 - string:
1132 name: workflow
1133 default: '{workflow}'
1134 description: 'Installs and uses the specified work flow on the POD'
1135
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001136 - string:
1137 name: extraHelmFlags
1138 default: '{extraHelmFlags}'
1139 description: 'Helm flags (passed to each helm command)'
1140
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001141 # deprecated parameters, remove after VOLTHA-2.8 is released
1142 - string:
1143 name: deploymentConfigFile
1144 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
1145 description: 'Path of deployment config file'
1146
1147 - string:
1148 name: kindVolthaValuesFile
1149 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
1150 description: 'Path of kind-voltha values override file'
1151
1152 - string:
1153 name: manifestUrl
1154 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
1155 description: 'URL to the repo manifest'
1156
1157 - string:
1158 name: gerritChangeNumber
1159 default: '$GERRIT_CHANGE_NUMBER'
1160 description: 'Changeset number in Gerrit'
1161
1162 - string:
1163 name: gerritPatchsetNumber
1164 default: '$GERRIT_PATCHSET_NUMBER'
1165 description: 'PatchSet number in Gerrit'
1166
1167 - string:
1168 name: localConfigDir
1169 default: null
1170 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
1171
1172 - string:
1173 name: configRepo
1174 default: 'pod-configs'
1175 description: 'A repository containing the config files, will be checked out if specified'
1176
1177 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001178 name: manualBranch
1179 default: '{manualBranch}'
1180 description: "If a non-empty string, build manually as a specific branch, not with a specific patchset"
Andy Bavier51ba7e82019-12-17 11:01:01 -07001181
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001182- job-template:
1183 name: '{name}'
1184 id: verify_physical_voltha_patchset_auto
1185 description: |
1186 <!-- Managed by Jenkins Job Builder -->
1187 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
1188 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
1189 Created by Andy Bavier, andy@opennetworking.org <br />
1190 Copyright (c) 2019 Open Networking Foundation (ONF)
1191 sandbox: true
1192 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Matteo Scandolob6d80732021-05-05 14:06:42 -07001193 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001194 build-node: 'tucson-pod'
1195 config-pod: 'tucson-pod'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001196 profile: 'Default'
Girish Gowdra7ca29da2021-06-23 15:34:09 -07001197 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001198 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
1199 volthaSystemTestsChange: ''
1200 volthaHelmChartsChange: ''
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001201 extraHelmFlags: ''
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001202
1203 properties:
1204 - cord-infra-properties:
1205 build-days-to-keep: '{build-days-to-keep}'
1206 artifact-num-to-keep: '{artifact-num-to-keep}'
1207
1208 <<: *voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -07001209
1210 project-type: pipeline
1211 concurrent: true
1212
1213 dsl: !include-raw-escape: pipeline/{pipeline-script}
1214
1215 triggers:
1216 - gerrit:
1217 server-name: '{gerrit-server-name}'
1218 dependency-jobs: '{dependency-jobs}'
1219 silent-start: false
1220 successful-message: "PASSED hardware test"
1221 failure-message: "FAILED hardware test"
1222 unstable-message: "UNSTABLE hardware test"
1223 trigger-on:
1224 - comment-added-event:
1225 approval-category: 'Code-Review'
1226 approval-value: '+2'
1227 projects:
1228 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001229 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-go)$'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001230 branches:
Andy Bavier37f6ea92020-04-03 11:13:35 -07001231 - branch-compare-type: REG_EXP
Matteo Scandoloec3ec8e2021-05-27 13:03:00 -07001232 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001233
Andy Bavier51ba7e82019-12-17 11:01:01 -07001234- job-template:
1235 name: '{name}'
1236 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001237 description: |
1238 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001239 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -07001240 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001241 Created by Andy Bavier, andy@opennetworking.org <br />
1242 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001243 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001244 build-node: 'tucson-pod'
1245 config-pod: 'tucson-pod'
Girish Gowdra7ca29da2021-06-23 15:34:09 -07001246 oltDebVersionMaster: 'openolt_asfvolt16-3.4.8-eec0fc9e9a01dc0d35b0b8441e0a22a4c0cc51b4-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001247 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
1248 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001249 trigger-string: 'hardware test'
Matteo Scandolob6d80732021-05-05 14:06:42 -07001250 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001251 volthaSystemTestsChange: ''
1252 volthaHelmChartsChange: ''
Matteo Scandolob6d80732021-05-05 14:06:42 -07001253 profile: 'Default'
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001254 extraHelmFlags: ''
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001255
1256 properties:
1257 - cord-infra-properties:
1258 build-days-to-keep: '{build-days-to-keep}'
1259 artifact-num-to-keep: '{artifact-num-to-keep}'
1260
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001261 <<: *voltha-physical-patchset-parameters
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001262
Andy Bavier8c11d462019-12-17 08:19:34 -07001263
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001264 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001265 concurrent: true
1266
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001267 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001268
Andy Bavier1f465592019-11-06 10:03:56 -07001269 triggers:
1270 - gerrit:
1271 server-name: '{gerrit-server-name}'
1272 dependency-jobs: '{dependency-jobs}'
1273 silent-start: false
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001274 successful-message: "PASSED {trigger-string}"
1275 failure-message: "FAILED {trigger-string}"
1276 unstable-message: "UNSTABLE {trigger-string}"
Andy Bavier1f465592019-11-06 10:03:56 -07001277 trigger-on:
1278 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001279 comment-contains-value: '^{trigger-string}$'
Scott Bakerda31d7b2020-01-08 16:35:52 -08001280 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001281 comment-contains-value: '^{trigger-string} with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -07001282 projects:
1283 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001284 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 -07001285 branches:
Andy Bavierfc3ca142020-03-27 13:44:25 -07001286 - branch-compare-type: REG_EXP
Matteo Scandoloec3ec8e2021-05-27 13:03:00 -07001287 branch-pattern: '{branch-pattern}'