blob: aca9ed9772ce8c7f64441dc8d993ab1b0b7fb276 [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'
Hardik Windlass696002d2021-05-07 11:38:28 +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
Matteo Scandoloa57b0972021-05-03 14:04:58 -070051 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'
Matteo Scandoloee626e02021-05-05 08:13:16 -070091 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
TorstenThieme326e7972021-01-19 14:27:59 +0000123
124 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700125 name: 'patchset-voltha-openonu-go-test-bbsim'
Hardik Windlass8c3813b2021-05-07 08:13:37 +0000126 trigger-comment: "voltha test openonu singleolt"
Matteo Scandolo075740f2021-04-22 14:52:29 -0700127 code-branch: '$GERRIT_BRANCH'
Matteo Scandoloee626e02021-05-05 08:13:16 -0700128 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700129 gerrit-project: '$GERRIT_PROJECT'
130 gerritRefspec: '$GERRIT_REFSPEC'
Hardik Windlass696002d2021-05-07 11:38:28 +0000131 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700132 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000133 - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700134 workflow: att
135 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700136 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700137 - target: 1t4gem-openonu-go-adapter-test
138 workflow: att
139 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700140 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700141 - target: 1t8gem-openonu-go-adapter-test
142 workflow: att
143 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700144 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700145 - target: mib-upload-templating-openonu-go-adapter-test
146 workflow: att
147 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700148 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000149 - target: reconcile-openonu-go-adapter-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700150 workflow: att
151 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700152 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700153 - target: reconcile-openonu-go-adapter-test-dt
154 workflow: dt
155 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700156 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700157 - target: reconcile-openonu-go-adapter-test-tt
158 workflow: tt
159 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700160 teardown: true
Matteo Scandolo075740f2021-04-22 14:52:29 -0700161
162 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +0530163 name: 'periodic-voltha-openonu-go-test-bbsim-2.7'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700164 pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700165 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass46d61132021-03-30 16:42:07 +0530166 make-target: openonu-go-adapter-test
167 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
168 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
TorstenThieme45422612021-03-23 10:38:59 +0000169 make-target-reconciletest: reconcile-openonu-go-adapter-test
170 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
171 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +0530172 withAlarms: false
173 code-branch: 'voltha-2.7'
174 time-trigger: "H H/23 * * *"
175
176 - 'voltha-periodic-test':
TorstenThieme669258d2021-01-29 09:03:10 +0000177 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700178 code-branch: 'master'
Hardik Windlass696002d2021-05-07 11:38:28 +0000179 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700180 olts: 2
Hardik Windlass696002d2021-05-07 11:38:28 +0000181 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700182 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000183 - target: 1t1gem-openonu-go-adapter-multi-olt-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700184 workflow: att
185 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700186 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700187 - target: 1t4gem-openonu-go-adapter-multi-olt-test
188 workflow: att
189 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700190 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700191 - target: 1t8gem-openonu-go-adapter-multi-olt-test
192 workflow: att
193 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700194 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000195 - target: reconcile-openonu-go-adapter-multi-olt-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700196 workflow: att
197 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700198 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700199 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
200 workflow: dt
201 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700202 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700203 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
204 workflow: tt
205 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700206 teardown: true
TorstenThieme669258d2021-01-29 09:03:10 +0000207 time-trigger: "H H/12 * * *"
208
209 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700210 name: 'patchset-voltha-multiple-olts-openonu-go-test-bbsim'
211 trigger-comment: "voltha test openonu multiolt"
212 code-branch: '$GERRIT_BRANCH'
Hardik Windlass696002d2021-05-07 11:38:28 +0000213 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700214 gerrit-project: '$GERRIT_PROJECT'
215 gerritRefspec: '$GERRIT_REFSPEC'
Hardik Windlass696002d2021-05-07 11:38:28 +0000216 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700217 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000218 - target: 1t1gem-openonu-go-adapter-multi-olt-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700219 workflow: att
220 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700221 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700222 - target: 1t4gem-openonu-go-adapter-multi-olt-test
223 workflow: att
224 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700225 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700226 - target: 1t8gem-openonu-go-adapter-multi-olt-test
227 workflow: att
228 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700229 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000230 - target: reconcile-openonu-go-adapter-multi-olt-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700231 workflow: att
232 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700233 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700234 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
235 workflow: dt
236 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700237 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700238 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
239 workflow: tt
240 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700241 teardown: true
Matteo Scandolo075740f2021-04-22 14:52:29 -0700242 olts: 2
Matteo Scandolo075740f2021-04-22 14:52:29 -0700243
TorstenThieme869ba322021-05-05 12:11:42 +0000244 - 'voltha-periodic-test':
245 name: 'periodic-voltha-pm-data-test-bbsim'
246 code-branch: 'master'
247 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
248 time-trigger: "H H/23 * * *"
249 logLevel: 'DEBUG'
250 testTargets: |
251 - target: voltha-pm-data-single-kind-att
252 workflow: att
253 flags: ""
254 teardown: true
255 - target: voltha-pm-data-single-kind-dt
256 workflow: dt
257 flags: ""
258 teardown: true
259 - target: voltha-pm-data-single-kind-tt
260 workflow: tt
261 flags: ""
262 teardown: true
263 timeout: 140
264
265 - 'voltha-periodic-test':
266 name: 'patchset-voltha-pm-data-test-bbsim'
267 trigger-comment: "voltha test pm data singleolt"
268 code-branch: '$GERRIT_BRANCH'
269 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
270 code-branch: '$GERRIT_BRANCH'
271 gerrit-project: '$GERRIT_PROJECT'
272 gerritRefspec: '$GERRIT_REFSPEC'
273 logLevel: 'DEBUG'
274 testTargets: |
275 - target: voltha-pm-data-single-kind-att
276 workflow: att
277 flags: ""
278 teardown: true
279 - target: voltha-pm-data-single-kind-dt
280 workflow: dt
281 flags: ""
282 teardown: true
283 - target: voltha-pm-data-single-kind-tt
284 workflow: tt
285 flags: ""
286 teardown: true
287 timeout: 140
288
289 - 'voltha-periodic-test':
290 name: 'periodic-voltha-multiple-olts-pm-data-test-bbsim'
291 code-branch: 'master'
292 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
293 olts: 2
294 timeout: 180
295 logLevel: 'DEBUG'
296 testTargets: |
297 - target: voltha-pm-data-multiolt-kind-att
298 workflow: att
299 flags: ""
300 teardown: true
301 - target: voltha-pm-data-multiolt-kind-dt
302 workflow: dt
303 flags: ""
304 teardown: true
305 - target: voltha-pm-data-multiolt-kind-tt
306 workflow: tt
307 flags: ""
308 teardown: true
309 time-trigger: "H H/23 * * *"
310
311 - 'voltha-periodic-test':
312 name: 'patchset-voltha-multiple-olts-pm-data-test-bbsim'
313 trigger-comment: "voltha test pm data multiolt"
314 code-branch: '$GERRIT_BRANCH'
315 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
316 gerrit-project: '$GERRIT_PROJECT'
317 gerritRefspec: '$GERRIT_REFSPEC'
318 logLevel: 'DEBUG'
319 testTargets: |
320 - target: voltha-pm-data-multiolt-kind-att
321 workflow: att
322 flags: ""
323 teardown: true
324 - target: voltha-pm-data-multiolt-kind-dt
325 workflow: dt
326 flags: ""
327 teardown: true
328 - target: voltha-pm-data-multiolt-kind-tt
329 workflow: tt
330 flags: ""
331 teardown: true
332 olts: 2
333 timeout: 180
334
Matteo Scandolo075740f2021-04-22 14:52:29 -0700335 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +0530336 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim-2.7'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700337 pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700338 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass46d61132021-03-30 16:42:07 +0530339 make-target: openonu-go-adapter-multi-olt-test
340 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-multi-olt-test
341 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-multi-olt-test
TorstenThiemea6c21342021-05-05 09:21:59 +0000342 make-target-reconciletest: reconcile-openonu-go-adapter-multi-olt-test
343 make-target-reconciledttest: reconcile-openonu-go-adapter-multi-olt-test-dt
344 make-target-reconciletttest: reconcile-openonu-go-adapter-multi-olt-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +0530345 withAlarms: false
346 code-branch: 'voltha-2.7'
347 olts: 2
348 onus: 2
349 pons: 2
350 time-trigger: "H H/23 * * *"
351
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700352 - 'voltha-periodic-test':
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100353 name: 'periodic-voltha-test-DMI'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700354 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100355 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800356 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700357 testTargets: |
358 - target: bbsim-dmi-hw-management-test
359 workflow: att
360 flags: ""
361 teardown: true
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100362
Matteo Scandolo075740f2021-04-22 14:52:29 -0700363 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700364 name: 'periodic-voltha-test-DMI-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700365 pipeline-script: 'voltha/voltha-2.7/voltha-DMI-bbsim-tests.groovy'
Andrea Campanellae9739492020-12-17 09:54:04 +0100366 build-node: 'qct-pod4-node2'
367 make-target: bbsim-dmi-hw-management-test
368 withAlarms: false
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700369 code-branch: 'voltha-2.7'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800370 time-trigger: "H H/23 * * *"
Andrea Campanellae9739492020-12-17 09:54:04 +0100371
Matteo Scandolo075740f2021-04-22 14:52:29 -0700372 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700373 name: 'periodic-voltha-test-bbsim-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700374 pipeline-script: 'voltha/voltha-2.7/voltha-nightly-tests-bbsim.groovy'
Andy Bavier10926f12020-03-27 16:53:43 -0700375 build-node: 'qct-pod4-node2'
Andy Bavier10926f12020-03-27 16:53:43 -0700376 make-target: functional-single-kind
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800377 make-target-failtest: bbsim-failurescenarios
378 make-target-errortest: bbsim-errorscenarios
379 make-target-alarmtest: bbsim-alarms-kind
380 withAlarms: true
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700381 code-branch: 'voltha-2.7'
Suchitra Vemuri5fc1c6a2021-04-13 19:12:38 -0700382 time-trigger: "H H * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700383
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700384 - 'voltha-periodic-test':
Andy Bavier4be37062020-06-29 15:17:26 -0700385 name: 'periodic-voltha-etcd-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700386 build-node: 'ubuntu18.04-basebuild-4c-8g'
hwchiuc9189b72019-12-02 15:12:29 -0800387 code-branch: 'master'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700388 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
hwchiufdc49242019-11-18 16:37:22 -0800389 time-trigger: "H H/12 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700390 testTargets: |
391 - target: sanity-multi-kind
392 workflow: att
393 flags: ""
394 teardown: true
hwchiufdc49242019-11-18 16:37:22 -0800395
Matteo Scandolo075740f2021-04-22 14:52:29 -0700396 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700397 name: 'periodic-voltha-etcd-test-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700398 pipeline-script: 'voltha/voltha-2.7/voltha-system-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700399 build-node: 'ubuntu18.04-basebuild-4c-8g'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700400 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700401 make-target: sanity-multi-kind
402 onus: 2
403 pons: 2
404 time-trigger: "H H/12 * * *"
405
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700406 - 'voltha-periodic-test':
Andy Bavier3708d072019-12-10 15:22:18 -0700407 name: 'periodic-voltha-sanity-test-multi-runs'
Andy Bavier3708d072019-12-10 15:22:18 -0700408 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800409 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700410 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
411 testTargets: |
412 - target: sanity-kind
413 workflow: att
414 flags: ""
415 teardown: true
416 - target: sanity-kind
417 workflow: att
418 flags: ""
419 teardown: false
420 - target: sanity-kind
421 workflow: att
422 flags: ""
423 teardown: false
424 - target: sanity-kind
425 workflow: att
426 flags: ""
427 teardown: false
428 - target: sanity-kind
429 workflow: att
430 flags: ""
431 teardown: false
Andy Bavier10926f12020-03-27 16:53:43 -0700432
Matteo Scandolo075740f2021-04-22 14:52:29 -0700433 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700434 name: 'periodic-voltha-sanity-test-multi-runs-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700435 pipeline-script: 'voltha/voltha-2.7/voltha-go-multi-tests.groovy'
Andy Bavier10926f12020-03-27 16:53:43 -0700436 build-node: 'qct-pod4-node2'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700437 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700438 make-target: sanity-kind
439 onus: 1
440 pons: 1
441 test-runs: 5
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800442 time-trigger: "H H/23 * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700443
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700444 - 'voltha-periodic-test':
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700445 name: 'nightly-voltha-DTflow-sanity-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700446 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700447 code-branch: 'master'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700448 time-trigger: "@daily"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700449 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
450 testTargets: |
451 - target: sanity-kind-dt
452 workflow: dt
453 flags: ""
454 teardown: true
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700455
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700456 # Per-patchset Pod builds on Tucson pod (master)
Andy Bavier51ba7e82019-12-17 11:01:01 -0700457 - 'verify_physical_voltha_patchset_auto':
458 name: 'verify_physical_voltha_patchset_auto'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800459 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700460 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700461
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700462 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
463 - 'verify_physical_voltha_patchset_auto':
464 name: 'verify_physical_voltha_patchset_auto_voltha-2.7'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700465 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700466 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700467 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
468 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
469 branch-pattern: voltha-2.7
470
471 # Per-patchset Pod builds on Tucson pod (master)
472 - 'verify_physical_voltha_patchset_manual':
473 name: 'verify_physical_voltha_patchset_manual'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700474 profile: 'Default'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700475 trigger-string: 'hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800476 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700477 branch-pattern: master
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700478 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700479
480
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700481 # Per-patchset Pod builds on Tucson pod (master)
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700482 - 'verify_physical_voltha_patchset_manual':
483 name: 'verify_physical_voltha_patchset_manual_DT'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700484 workflow: 'dt'
485 profile: 'Default'
486 pipeline-script: 'voltha/voltha-2.7/voltha-dt-physical-build-and-tests.groovy'
487 trigger-string: 'DT hardware test'
488 default-test-args: '-i sanityDt -i PowerSwitch -X'
489 branch-pattern: master
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700490 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700491
492 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
493 - 'verify_physical_voltha_patchset_manual':
494 name: 'verify_physical_voltha_patchset_manual_voltha-2.7'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700495 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700496 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700497 profile: 'Default'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700498 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
499 trigger-string: 'hardware test'
500 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
501 branch-pattern: voltha-2.7
502
503
504 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
505 - 'verify_physical_voltha_patchset_manual':
506 name: 'verify_physical_voltha_patchset_manual_DT_voltha-2.7'
507 workflow: 'dt'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700508 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700509 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
510 profile: 'Default'
511 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700512 trigger-string: 'DT hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800513 default-test-args: '-i sanityDt -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700514 branch-pattern: voltha-2.7
Andy Bavier19c98a22019-11-11 13:57:11 -0700515
516 # Manual build job for Tucson pod
517 # Allow local testing without disrupting above job
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700518 - 'build_physical_voltha_manual':
Andy Bavier19c98a22019-11-11 13:57:11 -0700519 name: 'build_tucson-pod_manual'
Andy Bavier19c98a22019-11-11 13:57:11 -0700520 config-pod: 'tucson-pod'
Zack Williams03ebb272020-03-27 09:42:33 -0700521 manualBranch: 'master'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700522 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700523 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavier19c98a22019-11-11 13:57:11 -0700524 profile: 'Default'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800525 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700526 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700527
Kailash8b8de742019-07-30 08:54:51 -0700528- job-template:
Kailashaad71012019-08-27 10:36:53 -0700529 id: 'voltha-periodic-test'
530 name: '{name}'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700531 pipeline-script: 'voltha/master/periodic-bbsim-tests.groovy'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700532 build-node: 'ubuntu18.04-basebuild-8c-15g'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700533 robot-args: ''
534 gerrit-project: ''
535 gerritRefspec: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700536 volthaSystemTestsChange: ''
537 volthaHelmChartsChange: ''
538 extraHelmFlags: ''
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700539 registry: mirror.registry.opennetworking.org
Matteo Scandolo075740f2021-04-22 14:52:29 -0700540 sandbox: true
541 olts: 1
TorstenThieme869ba322021-05-05 12:11:42 +0000542 timeout: 130
Hardik Windlass696002d2021-05-07 11:38:28 +0000543 logLevel: 'INFO'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700544
Matteo Scandolo075740f2021-04-22 14:52:29 -0700545 trigger-comment: vv7CBoQQYYonvaN8xcru
546 time-trigger: 0 0 29 2 *
547
548 description: |
549 <!-- Managed by Jenkins Job Builder -->
550 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
551 E2E Validation for Voltha 2.X
552
553 properties:
554 - cord-infra-properties:
555 build-days-to-keep: '{big-build-days-to-keep}'
556 artifact-num-to-keep: '{big-artifact-num-to-keep}'
557
558 wrappers:
559 - lf-infra-wrappers:
560 build-timeout: '{build-timeout}'
561 jenkins-ssh-credential: '{jenkins-ssh-credential}'
562
563 parameters:
564 - string:
565 name: buildNode
566 default: '{build-node}'
567 description: 'Name of the Jenkins node to run the job on'
568
569 - string:
570 name: extraHelmFlags
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700571 default: '{extraHelmFlags}'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700572 description: 'Helm flags (passed to each deployment)'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700573
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700574 # test configuration
575 # this is a parameter to drive the test execution, VOLTHA is redeployed each time with
576 # the provided configuration and then the make target is invoked,
577 # example value (has to be valid YAML):
578 # testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000579 # - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700580 # workflow: att
581 # flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700582 # teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700583 - text:
584 name: testTargets
585 default: '{testTargets}'
586 description: 'Test configuration, see the ci-management job definition for more info'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700587
588 - string:
589 name: branch
590 default: '{code-branch}'
591 description: 'Repo manifest branch for code checkout'
592
593 - string:
594 name: gerritProject
595 default: '{gerrit-project}'
596 description: 'Name of the Gerrit project'
597
598 - string:
599 name: gerritRefspec
600 default: ''
601 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
602
603 - string:
604 name: extraRobotArgs
605 default: '{robot-args}'
606 description: 'Arguments to pass to robot'
607
608 - string:
609 name: volthaSystemTestsChange
610 default: '{volthaSystemTestsChange}'
611 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
612
613 - string:
614 name: volthaHelmChartsChange
615 default: '{volthaHelmChartsChange}'
616 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
617
618 - string:
619 name: olts
620 default: '{olts}'
621 description: 'How many BBSim instances to run'
622
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700623 - string:
624 name: registry
625 default: '{registry}'
626 description: 'Which registry to use (amazon vs menlo)'
627
Hardik Windlass696002d2021-05-07 11:38:28 +0000628 - string:
629 name: logLevel
630 default: '{logLevel}'
631 description: 'Log level for all the components'
632
TorstenThieme869ba322021-05-05 12:11:42 +0000633 - string:
634 name: timeout
635 default: '{timeout}'
636 description: 'Timeout of pipeline job [minutes]'
637
Matteo Scandolo075740f2021-04-22 14:52:29 -0700638 project-type: pipeline
639 concurrent: true
640
641 dsl: !include-raw-escape: pipeline/{pipeline-script}
642
643 triggers:
644 # patchset jobs will set this to "0 0 29 2 *" (feb 29th, it's once every 4 years)
645 - timed: |
646 TZ=America/Los_Angeles
647 {time-trigger}
648 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
649 - gerrit:
650 server-name: '{gerrit-server-name}'
651 silent-start: false
652 successful-message: "PASSED openonu-go test"
653 failure-message: "FAILED openonu-go test"
654 unstable-message: "UNSTABLE openonu-go test"
655 trigger-on:
656 - comment-added-contains-event:
657 comment-contains-value: '.*{trigger-comment}.*'
658 projects:
659 - project-compare-type: REG_EXP
660 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter-go|ofagent-go|voltha-onos|bbsim)$'
661 branches:
662 - branch-compare-type: REG_EXP
663 branch-pattern: '{all-branches-regexp}'
664
665- job-template:
666 id: 'voltha-periodic-test-kind-voltha-based'
667 name: '{name}'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700668 pipeline-script: 'voltha/voltha-2.7/voltha-go-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -0700669 test-runs: 1
670 robot-args: ''
Andy Bavierb35171c2020-03-06 15:47:29 -0700671 gerrit-project: ''
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700672 work-flow: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700673 volthaSystemTestsChange: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700674 volthaHelmChartsChange: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700675 kindVolthaChange: ''
Andrea Campanella6d562182020-10-06 18:39:30 +0200676 extraHelmFlags: ''
Andy Bavier02b00dc2020-04-28 13:01:12 -0700677 sandbox: true
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800678 olts: 1
Matteo Scandolob36f0892020-11-23 12:19:48 -0800679 withAlarms: false
Andy Bavierb35171c2020-03-06 15:47:29 -0700680
Kailash8b8de742019-07-30 08:54:51 -0700681 description: |
682 <!-- Managed by Jenkins Job Builder -->
683 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
684 E2E Validation for Voltha 2.X
685
686 properties:
687 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800688 build-days-to-keep: '{big-build-days-to-keep}'
689 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Kailash8b8de742019-07-30 08:54:51 -0700690
691 wrappers:
692 - lf-infra-wrappers:
693 build-timeout: '{build-timeout}'
694 jenkins-ssh-credential: '{jenkins-ssh-credential}'
695
696 parameters:
697 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700698 name: buildNode
Andy Bavier833b78e2019-11-22 17:01:31 -0700699 default: '{build-node}'
Kailash8b8de742019-07-30 08:54:51 -0700700 description: 'Name of the Jenkins node to run the job on'
701
702 - string:
Andy Bavierea26c5c2019-09-18 08:09:17 -0700703 name: extraHelmFlags
Andrea Campanellae9517922021-05-06 10:01:44 +0200704 default: '--set onu={onus},pon={pons} {extraHelmFlags}'
Andy Bavierea26c5c2019-09-18 08:09:17 -0700705 description: 'Helm flags to pass to ./voltha up'
706
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800707 - bool:
708 name: withAlarms
Matteo Scandolob36f0892020-11-23 12:19:48 -0800709 default: '{withAlarms}'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800710 description: "Run alarm based tests when true"
711
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700712 - string:
Andy Bavier218385e2019-11-13 09:51:38 -0700713 name: makeTarget
714 default: '{make-target}'
715 description: 'Makefile target to invoke during test'
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700716
Andy Bavier4c8b3232019-11-22 16:17:47 -0700717 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800718 name: makeFailtestTarget
719 default: '{make-target-failtest}'
720 description: 'Makefile target to invoke during failure/based test'
721
722 - string:
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -0800723 name: makeMultiOltTarget
724 default: '{make-target-multipleolt}'
725 description: 'Makefile target to invoke during multiple olt test'
726
727 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800728 name: makeErrortestTarget
729 default: '{make-target-errortest}'
730 description: 'Makefile target to invoke during error test'
731
732 - string:
733 name: makeAlarmtestTarget
734 default: '{make-target-alarmtest}'
735 description: 'Makefile target to invoke during alarm test'
736
737 - string:
TorstenThieme669258d2021-01-29 09:03:10 +0000738 name: make1t4gemTestTarget
739 default: '{make-target-1t4gemtest}'
740 description: 'Makefile target to invoke during 1t4gem test'
741
742 - string:
743 name: make1t8gemTestTarget
744 default: '{make-target-1t8gemtest}'
745 description: 'Makefile target to invoke during 1t8gem test'
746
747 - string:
TorstenThieme45422612021-03-23 10:38:59 +0000748 name: makeReconcileTestTarget
749 default: '{make-target-reconciletest}'
750 description: 'Makefile target to invoke during reconcile test'
751
752 - string:
753 name: makeReconcileDtTestTarget
754 default: '{make-target-reconciledttest}'
755 description: 'Makefile target to invoke during reconcile dt test'
756
757 - string:
758 name: makeReconcileTtTestTarget
759 default: '{make-target-reconciletttest}'
760 description: 'Makefile target to invoke during reconcile tt test'
761
762 - string:
Andy Bavier4c8b3232019-11-22 16:17:47 -0700763 name: manifestUrl
764 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700765 description: 'Repo manifest URL for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700766
767 - string:
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700768 name: branch
Andy Bavier4c8b3232019-11-22 16:17:47 -0700769 default: '{code-branch}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700770 description: 'Repo manifest branch for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700771
Andy Bavier3708d072019-12-10 15:22:18 -0700772 - string:
Andy Bavierb35171c2020-03-06 15:47:29 -0700773 name: gerritProject
774 default: '{gerrit-project}'
775 description: 'Name of the Gerrit project'
776
777 - string:
778 name: gerritChangeNumber
779 default: ''
780 description: 'Changeset number in Gerrit'
781
782 - string:
783 name: gerritPatchsetNumber
784 default: ''
785 description: 'PatchSet number in Gerrit'
786
787 - string:
Andy Bavier3708d072019-12-10 15:22:18 -0700788 name: testRuns
789 default: '{test-runs}'
790 description: 'How many times to repeat the tests'
791
792 - string:
793 name: extraRobotArgs
794 default: '{robot-args}'
795 description: 'Arguments to pass to robot'
796
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700797 - string:
798 name: workFlow
799 default: '{work-flow}'
800 description: 'Workflow for testcase'
Andy Bavier3708d072019-12-10 15:22:18 -0700801
pierventref48ebc12020-07-17 16:01:32 +0200802 - string:
803 name: karafHome
804 default: '{karaf-home}'
805 description: 'Karaf home'
806
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700807 - string:
808 name: volthaSystemTestsChange
809 default: '{volthaSystemTestsChange}'
810 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
811
812 - string:
813 name: kindVolthaChange
814 default: '{kindVolthaChange}'
815 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
816
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800817 - string:
818 name: olts
819 default: '{olts}'
820 description: 'How many BBSim instances to run'
821
Kailash8b8de742019-07-30 08:54:51 -0700822 project-type: pipeline
Andy Bavier358aa0b2019-11-22 11:55:39 -0700823 concurrent: true
Kailash8b8de742019-07-30 08:54:51 -0700824
Zack Williamsb3292082019-10-11 17:15:18 -0700825 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailash6be1aa92019-08-05 18:11:11 -0700826
827 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700828 - timed: |
Kailash6be1aa92019-08-05 18:11:11 -0700829 TZ=America/Los_Angeles
Andy Bavier218385e2019-11-13 09:51:38 -0700830 {time-trigger}
Kailashaad71012019-08-27 10:36:53 -0700831
832- job-template:
833 id: 'voltha-patch-test'
Matteo Scandolo84e5f002020-02-10 11:50:05 -0800834 name: 'verify_{project}_sanity-test{name-extension}'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700835 build-node: 'ubuntu18.04-basebuild-4c-8g'
Andy Bavier4318f8d2020-04-09 13:50:53 -0700836 override-branch: '$GERRIT_BRANCH'
Andy Bavier02b00dc2020-04-28 13:01:12 -0700837 sandbox: true
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800838 build-timeout: 20
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700839 volthaSystemTestsChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800840 volthaHelmChartsChange: ''
Matteo Scandolocecb0842021-05-04 13:16:47 -0700841 extraHelmFlags: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800842 branch-regexp: '{all-branches-regexp}'
Matteo Scandolo42f517b2021-05-07 09:36:53 -0700843 kindVolthaChange: '' # this is only needed to test kind-voltha patches
Kailashaad71012019-08-27 10:36:53 -0700844
845 description: |
846 <!-- Managed by Jenkins Job Builder -->
847 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
848 E2E Validation for Voltha 2.X
849
850 properties:
851 - cord-infra-properties:
852 build-days-to-keep: '{build-days-to-keep}'
853 artifact-num-to-keep: '{artifact-num-to-keep}'
854
855 wrappers:
856 - lf-infra-wrappers:
857 build-timeout: '{build-timeout}'
858 jenkins-ssh-credential: '{jenkins-ssh-credential}'
859
860 parameters:
861 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700862 name: buildNode
Andrea Campanella4792b7f2021-04-23 15:06:42 +0200863 default: '{build-node}'
Kailashaad71012019-08-27 10:36:53 -0700864 description: 'Name of the Jenkins node to run the job on'
865
866 - string:
hwchiu14f97852019-10-08 10:51:11 -0700867 name: gerritProject
868 default: '$GERRIT_PROJECT'
869 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700870
871 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700872 name: gerritRefspec
873 default: '$GERRIT_REFSPEC'
874 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
Kailashaad71012019-08-27 10:36:53 -0700875
876 - string:
Andy Bavierbedd0392019-10-16 13:58:18 -0700877 name: extraHelmFlags
Matteo Scandolocecb0842021-05-04 13:16:47 -0700878 default: '{extraHelmFlags}'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700879 description: 'Helm flags to pass to every helm command'
Andy Bavierbedd0392019-10-16 13:58:18 -0700880
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700881 - string:
882 name: volthaSystemTestsChange
883 default: '{volthaSystemTestsChange}'
884 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
885
886 - string:
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800887 name: volthaHelmChartsChange
888 default: '{volthaHelmChartsChange}'
889 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
890
891 - string:
892 name: branch
893 default: '{override-branch}'
894 description: 'Name of the branch to use'
895
Matteo Scandolo42f517b2021-05-07 09:36:53 -0700896 # Used in the 2.7 based pipeline, can be removed after 2.8
897 - string:
898 name: kindVolthaChange
899 default: '{kindVolthaChange}'
900 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1" (only used to test kind-voltha changes in 2.7)'
901
Kailashaad71012019-08-27 10:36:53 -0700902 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -0700903 concurrent: true
Kailashaad71012019-08-27 10:36:53 -0700904
Zack Williamsb3292082019-10-11 17:15:18 -0700905 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -0700906
907 triggers:
Andy Bavierb99c3d32020-02-18 11:14:17 -0700908 - gerrit:
909 server-name: '{gerrit-server-name}'
Kailashaad71012019-08-27 10:36:53 -0700910 dependency-jobs: '{dependency-jobs}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700911 silent-start: true
912 trigger-on:
913 - patchset-created-event:
914 exclude-drafts: true
915 exclude-trivial-rebase: false
916 exclude-no-code-change: true
917 - draft-published-event
918 - comment-added-contains-event:
919 comment-contains-value: '(?i)^.*recheck$'
920 projects:
921 - project-compare-type: REG_EXP
922 project-pattern: '^{project}$'
923 branches:
924 - branch-compare-type: REG_EXP
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800925 branch-pattern: '{branch-regexp}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700926 file-paths:
927 - compare-type: REG_EXP
928 pattern: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700929
930# POD Per Patchset Pipeline Jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700931# to use these parameters in a job: `<<: *voltha-physical-patchset-parameters`
932- voltha-physical-patchset-parameters: &voltha-physical-patchset-parameters
933 name: voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -0700934 parameters:
935 - string:
936 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -0700937 default: '{build-node}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700938 description: 'Pod management node'
939
940 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700941 name: branch
942 default: '$GERRIT_BRANCH'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700943 description: 'Name of the repo branch to use'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700944
945 - string:
946 name: gerritProject
947 default: '$GERRIT_PROJECT'
948 description: 'Name of the Gerrit project'
949
950 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -0700951 name: gerritRefspec
952 default: '$GERRIT_REFSPEC'
953 description: 'RefSpec number in Gerrit'
954
955 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700956 name: gerritComment
957 default: '$GERRIT_EVENT_COMMENT_TEXT'
958 description: 'RefSpec number in Gerrit'
959
960 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700961 name: cordRepoUrl
962 default: '{gerrit-server-url}'
963 description: 'The URL of the CORD Project repository'
964
965 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700966 name: configBaseDir
967 default: 'pod-configs'
968 description: 'The directory inside the POD configs repository'
969
970 - string:
971 name: configDeploymentDir
972 default: 'deployment-configs'
973 description: 'The deployment configs folder'
974
975 - string:
976 name: configKubernetesDir
977 default: 'kubernetes-configs'
978 description: 'The kubernetes config folder'
979
980 - string:
981 name: configFileName
982 default: '{config-pod}'
983 description: 'The config file'
984
985 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700986 name: podName
987 default: '{config-pod}'
988
989 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700990 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -0700991 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700992 description: 'Path of SADIS config to load'
993
994 - string:
Andy Bavier893d2442020-05-21 12:41:17 -0700995 name: oltDebVersionMaster
996 default: '{oltDebVersionMaster}'
997 description: 'OLT Software version to install for master branch builds'
998
999 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001000 name: oltDebVersionVoltha23
Andy Bavier893d2442020-05-21 12:41:17 -07001001 default: '{oltDebVersionVoltha23}'
1002 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001003
1004 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001005 name: profile
1006 default: '{profile}'
1007 description: 'Technology Profile pushed to the ETCD'
1008
1009 - string:
1010 name: notificationEmail
1011 default: 'andy@opennetworking.org'
1012 description: ''
1013
1014 - bool:
1015 name: reinstallOlt
1016 default: true
1017 description: "Re-install OLT software"
1018
Zack Williams03ebb272020-03-27 09:42:33 -07001019 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001020 name: extraRobotArgs
1021 default: '{default-test-args}'
1022 description: 'Arguments to pass to robot'
1023
1024 - string:
1025 name: volthaSystemTestsChange
1026 default: '{volthaSystemTestsChange}'
1027 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
1028
1029 - string:
1030 name: volthaHelmChartsChange
1031 default: '{volthaHelmChartsChange}'
1032 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
1033
1034 - string:
1035 name: workflow
1036 default: '{workflow}'
1037 description: 'Installs and uses the specified work flow on the POD'
1038
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001039 - string:
1040 name: extraHelmFlags
1041 default: '{extraHelmFlags}'
1042 description: 'Helm flags (passed to each helm command)'
1043
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001044 # deprecated parameters, remove after VOLTHA-2.8 is released
1045 - string:
1046 name: deploymentConfigFile
1047 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
1048 description: 'Path of deployment config file'
1049
1050 - string:
1051 name: kindVolthaValuesFile
1052 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
1053 description: 'Path of kind-voltha values override file'
1054
1055 - string:
1056 name: manifestUrl
1057 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
1058 description: 'URL to the repo manifest'
1059
1060 - string:
1061 name: gerritChangeNumber
1062 default: '$GERRIT_CHANGE_NUMBER'
1063 description: 'Changeset number in Gerrit'
1064
1065 - string:
1066 name: gerritPatchsetNumber
1067 default: '$GERRIT_PATCHSET_NUMBER'
1068 description: 'PatchSet number in Gerrit'
1069
1070 - string:
1071 name: localConfigDir
1072 default: null
1073 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
1074
1075 - string:
1076 name: configRepo
1077 default: 'pod-configs'
1078 description: 'A repository containing the config files, will be checked out if specified'
1079
1080 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001081 name: manualBranch
1082 default: '{manualBranch}'
1083 description: "If a non-empty string, build manually as a specific branch, not with a specific patchset"
Andy Bavier51ba7e82019-12-17 11:01:01 -07001084
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001085- job-template:
1086 name: '{name}'
1087 id: verify_physical_voltha_patchset_auto
1088 description: |
1089 <!-- Managed by Jenkins Job Builder -->
1090 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
1091 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
1092 Created by Andy Bavier, andy@opennetworking.org <br />
1093 Copyright (c) 2019 Open Networking Foundation (ONF)
1094 sandbox: true
1095 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
1096 default-test-args: '-i sanityORDeleteOLT -X'
1097 branch-pattern: '{all-branches-regexp}'
1098 build-node: 'tucson-pod'
1099 config-pod: 'tucson-pod'
1100 workflow: 'att'
1101 profile: 'Default'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -07001102 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001103 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
1104 volthaSystemTestsChange: ''
1105 volthaHelmChartsChange: ''
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001106 extraHelmFlags: ''
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001107
1108 properties:
1109 - cord-infra-properties:
1110 build-days-to-keep: '{build-days-to-keep}'
1111 artifact-num-to-keep: '{artifact-num-to-keep}'
1112
1113 <<: *voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -07001114
1115 project-type: pipeline
1116 concurrent: true
1117
1118 dsl: !include-raw-escape: pipeline/{pipeline-script}
1119
1120 triggers:
1121 - gerrit:
1122 server-name: '{gerrit-server-name}'
1123 dependency-jobs: '{dependency-jobs}'
1124 silent-start: false
1125 successful-message: "PASSED hardware test"
1126 failure-message: "FAILED hardware test"
1127 unstable-message: "UNSTABLE hardware test"
1128 trigger-on:
1129 - comment-added-event:
1130 approval-category: 'Code-Review'
1131 approval-value: '+2'
1132 projects:
1133 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001134 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-go)$'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001135 branches:
Andy Bavier37f6ea92020-04-03 11:13:35 -07001136 - branch-compare-type: REG_EXP
Matteo Scandolo5b998a22021-04-22 09:42:40 -07001137 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001138
Andy Bavier51ba7e82019-12-17 11:01:01 -07001139- job-template:
1140 name: '{name}'
1141 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001142 description: |
1143 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001144 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -07001145 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001146 Created by Andy Bavier, andy@opennetworking.org <br />
1147 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001148 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001149 build-node: 'tucson-pod'
1150 config-pod: 'tucson-pod'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -07001151 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001152 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
1153 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001154 trigger-string: 'hardware test'
1155 default-test-args: '-i sanityORDeleteOLT -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001156 branch-pattern: '{all-branches-regexp}'
1157 volthaSystemTestsChange: ''
1158 volthaHelmChartsChange: ''
1159 workflow: 'att'
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001160 extraHelmFlags: ''
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001161
1162 properties:
1163 - cord-infra-properties:
1164 build-days-to-keep: '{build-days-to-keep}'
1165 artifact-num-to-keep: '{artifact-num-to-keep}'
1166
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001167 <<: *voltha-physical-patchset-parameters
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001168
Andy Bavier8c11d462019-12-17 08:19:34 -07001169
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001170 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001171 concurrent: true
1172
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001173 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001174
Andy Bavier1f465592019-11-06 10:03:56 -07001175 triggers:
1176 - gerrit:
1177 server-name: '{gerrit-server-name}'
1178 dependency-jobs: '{dependency-jobs}'
1179 silent-start: false
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001180 successful-message: "PASSED {trigger-string}"
1181 failure-message: "FAILED {trigger-string}"
1182 unstable-message: "UNSTABLE {trigger-string}"
Andy Bavier1f465592019-11-06 10:03:56 -07001183 trigger-on:
1184 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001185 comment-contains-value: '^{trigger-string}$'
Scott Bakerda31d7b2020-01-08 16:35:52 -08001186 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001187 comment-contains-value: '^{trigger-string} with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -07001188 projects:
1189 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001190 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 -07001191 branches:
Andy Bavierfc3ca142020-03-27 13:44:25 -07001192 - branch-compare-type: REG_EXP
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001193 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001194
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001195- job-template:
1196 name: '{name}'
1197 id: build_physical_voltha_manual
1198 description: |
1199 <!-- Managed by Jenkins Job Builder -->
1200 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
1201 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
1202 Created by Andy Bavier, andy@opennetworking.org <br />
1203 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001204 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001205 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001206
1207 properties:
1208 - cord-infra-properties:
1209 build-days-to-keep: '{build-days-to-keep}'
1210 artifact-num-to-keep: '{artifact-num-to-keep}'
1211
1212 parameters:
1213 - string:
1214 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -07001215 default: '{build-node}'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001216 description: 'Pod management node'
1217
1218 - string:
1219 name: manifestUrl
1220 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
1221 description: 'URL to the repo manifest'
1222
1223 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001224 name: branch
1225 default: "$GERRIT_BRANCH"
1226 description: 'Name of the repo manifest branch to use'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001227
1228 - string:
1229 name: gerritProject
1230 default: '$GERRIT_PROJECT'
1231 description: 'Name of the Gerrit project'
1232
1233 - string:
1234 name: gerritChangeNumber
1235 default: '$GERRIT_CHANGE_NUMBER'
1236 description: 'Changeset number in Gerrit'
1237
1238 - string:
1239 name: gerritPatchsetNumber
1240 default: '$GERRIT_PATCHSET_NUMBER'
1241 description: 'PatchSet number in Gerrit'
1242
1243 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -07001244 name: gerritRefspec
1245 default: '$GERRIT_REFSPEC'
1246 description: 'RefSpec number in Gerrit'
1247
1248 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001249 name: cordRepoUrl
1250 default: '{gerrit-server-url}'
1251 description: 'The URL of the CORD Project repository'
1252
1253 - string:
1254 name: podName
1255 default: '{config-pod}'
1256
1257 - string:
1258 name: deploymentConfigFile
1259 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
1260 description: 'Path of deployment config file'
1261
1262 - string:
1263 name: kindVolthaValuesFile
1264 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
1265 description: 'Path of kind-voltha values override file'
1266
1267 - string:
1268 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -07001269 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001270 description: 'Path of SADIS config to load'
1271
1272 - string:
1273 name: localConfigDir
1274 default: null
1275 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
1276
1277 - string:
1278 name: configRepo
1279 default: 'pod-configs'
1280 description: 'A repository containing the config files, will be checked out if specified'
1281
1282 - string:
Andy Bavier893d2442020-05-21 12:41:17 -07001283 name: oltDebVersionMaster
1284 default: '{oltDebVersionMaster}'
1285 description: 'OLT Software version to install for master branch builds'
1286
1287 - string:
1288 name: oltDebVersionVoltha23
1289 default: '{oltDebVersionVoltha23}'
1290 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001291
1292 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001293 name: profile
1294 default: '{profile}'
1295 description: 'Technology Profile pushed to the ETCD'
1296
1297 - string:
1298 name: notificationEmail
1299 default: 'andy@opennetworking.org'
1300 description: ''
1301
1302 - bool:
1303 name: reinstallOlt
1304 default: false
1305 description: "Re-install OLT software"
1306
Zack Williams03ebb272020-03-27 09:42:33 -07001307 - string:
1308 name: manualBranch
1309 default: '{manualBranch}'
1310 description: "If a non-empty string, build manually on a specific branch, not with a specific patchset"
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001311
Andy Bavier8c11d462019-12-17 08:19:34 -07001312 - string:
1313 name: extraRobotArgs
Andy Bavierd2b25fe2020-06-09 07:22:00 -07001314 default: '-e bbsim -X'
Andy Bavier8c11d462019-12-17 08:19:34 -07001315 description: 'Arguments to pass to robot'
1316
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001317 project-type: pipeline
1318 concurrent: true
1319
1320 dsl: !include-raw-escape: pipeline/{pipeline-script}