blob: 6a9dfde1915c8fb7a7bac70a53a7e462612d43ab [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
TorstenThieme45422612021-03-23 10:38:59 +000019 make-target-reconciletest: reconcile-openonu-go-adapter-test
20 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'
Matteo Scandoloa57b0972021-05-03 14:04:58 -070027 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
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 * * *"
Matteo Scandolo886cb8e2021-05-03 13:37:41 -070093 testTargets: |
94 - target: openonu-go-adapter-test
95 workflow: att
96 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -070097 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -070098 - target: 1t4gem-openonu-go-adapter-test
99 workflow: att
100 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700101 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700102 - target: 1t8gem-openonu-go-adapter-test
103 workflow: att
104 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700105 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700106 - target: mib-upload-templating-openonu-go-adapter-test
107 workflow: att
108 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700109 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700110 - target: reconcile-openonu-go-adapter-test
111 workflow: att
112 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700113 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700114 - target: reconcile-openonu-go-adapter-test-dt
115 workflow: dt
116 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700117 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700118 - target: reconcile-openonu-go-adapter-test-tt
119 workflow: tt
120 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700121 teardown: true
TorstenThieme326e7972021-01-19 14:27:59 +0000122
123 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700124 name: 'patchset-voltha-openonu-go-test-bbsim'
Hardik Windlass8c3813b2021-05-07 08:13:37 +0000125 trigger-comment: "voltha test openonu singleolt"
Matteo Scandolo075740f2021-04-22 14:52:29 -0700126 code-branch: '$GERRIT_BRANCH'
Matteo Scandoloee626e02021-05-05 08:13:16 -0700127 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700128 gerrit-project: '$GERRIT_PROJECT'
129 gerritRefspec: '$GERRIT_REFSPEC'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700130 testTargets: |
131 - target: openonu-go-adapter-test
132 workflow: att
133 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700134 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700135 - target: 1t4gem-openonu-go-adapter-test
136 workflow: att
137 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700138 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700139 - target: 1t8gem-openonu-go-adapter-test
140 workflow: att
141 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700142 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700143 - target: mib-upload-templating-openonu-go-adapter-test
144 workflow: att
145 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700146 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700147 - target: reconcile-openonu-go-adapter-test
148 workflow: att
149 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700150 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700151 - target: reconcile-openonu-go-adapter-test-dt
152 workflow: dt
153 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700154 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700155 - target: reconcile-openonu-go-adapter-test-tt
156 workflow: tt
157 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700158 teardown: true
Matteo Scandolo075740f2021-04-22 14:52:29 -0700159
160 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +0530161 name: 'periodic-voltha-openonu-go-test-bbsim-2.7'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700162 pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700163 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass46d61132021-03-30 16:42:07 +0530164 make-target: openonu-go-adapter-test
165 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
166 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
TorstenThieme45422612021-03-23 10:38:59 +0000167 make-target-reconciletest: reconcile-openonu-go-adapter-test
168 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
169 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +0530170 withAlarms: false
171 code-branch: 'voltha-2.7'
172 time-trigger: "H H/23 * * *"
173
174 - 'voltha-periodic-test':
TorstenThieme669258d2021-01-29 09:03:10 +0000175 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700176 code-branch: 'master'
Matteo Scandoloee626e02021-05-05 08:13:16 -0700177 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700178 olts: 2
179 onus: 2
180 pons: 2
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700181 testTargets: |
182 - target: openonu-go-adapter-multi-olt-test
183 workflow: att
184 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700185 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700186 - target: 1t4gem-openonu-go-adapter-multi-olt-test
187 workflow: att
188 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700189 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700190 - target: 1t8gem-openonu-go-adapter-multi-olt-test
191 workflow: att
192 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700193 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700194 - target: reconcile-openonu-go-adapter-multi-olt-test
195 workflow: att
196 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700197 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700198 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
199 workflow: dt
200 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700201 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700202 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
203 workflow: tt
204 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700205 teardown: true
TorstenThieme669258d2021-01-29 09:03:10 +0000206 time-trigger: "H H/12 * * *"
207
208 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700209 name: 'patchset-voltha-multiple-olts-openonu-go-test-bbsim'
210 trigger-comment: "voltha test openonu multiolt"
211 code-branch: '$GERRIT_BRANCH'
Matteo Scandoloee626e02021-05-05 08:13:16 -0700212 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700213 gerrit-project: '$GERRIT_PROJECT'
214 gerritRefspec: '$GERRIT_REFSPEC'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700215 extraHelmFlags: '--set onu=2,pon=2'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700216 testTargets: |
217 - target: openonu-go-adapter-multi-olt-test
218 workflow: att
219 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700220 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700221 - target: 1t4gem-openonu-go-adapter-multi-olt-test
222 workflow: att
223 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700224 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700225 - target: 1t8gem-openonu-go-adapter-multi-olt-test
226 workflow: att
227 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700228 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700229 - target: reconcile-openonu-go-adapter-multi-olt-test
230 workflow: att
231 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700232 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700233 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
234 workflow: dt
235 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700236 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700237 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
238 workflow: tt
239 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700240 teardown: true
Matteo Scandolo075740f2021-04-22 14:52:29 -0700241 olts: 2
Matteo Scandolo075740f2021-04-22 14:52:29 -0700242
243 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +0530244 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim-2.7'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700245 pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700246 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass46d61132021-03-30 16:42:07 +0530247 make-target: openonu-go-adapter-multi-olt-test
248 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-multi-olt-test
249 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-multi-olt-test
TorstenThieme45422612021-03-23 10:38:59 +0000250 make-target-reconciletest: reconcile-openonu-go-adapter-test
251 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
252 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +0530253 withAlarms: false
254 code-branch: 'voltha-2.7'
255 olts: 2
256 onus: 2
257 pons: 2
258 time-trigger: "H H/23 * * *"
259
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700260 - 'voltha-periodic-test':
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100261 name: 'periodic-voltha-test-DMI'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700262 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100263 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800264 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700265 testTargets: |
266 - target: bbsim-dmi-hw-management-test
267 workflow: att
268 flags: ""
269 teardown: true
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100270
Matteo Scandolo075740f2021-04-22 14:52:29 -0700271 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700272 name: 'periodic-voltha-test-DMI-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700273 pipeline-script: 'voltha/voltha-2.7/voltha-DMI-bbsim-tests.groovy'
Andrea Campanellae9739492020-12-17 09:54:04 +0100274 build-node: 'qct-pod4-node2'
275 make-target: bbsim-dmi-hw-management-test
276 withAlarms: false
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700277 code-branch: 'voltha-2.7'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800278 time-trigger: "H H/23 * * *"
Andrea Campanellae9739492020-12-17 09:54:04 +0100279
Matteo Scandolo075740f2021-04-22 14:52:29 -0700280 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700281 name: 'periodic-voltha-test-bbsim-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700282 pipeline-script: 'voltha/voltha-2.7/voltha-nightly-tests-bbsim.groovy'
Andy Bavier10926f12020-03-27 16:53:43 -0700283 build-node: 'qct-pod4-node2'
Andy Bavier10926f12020-03-27 16:53:43 -0700284 make-target: functional-single-kind
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800285 make-target-failtest: bbsim-failurescenarios
286 make-target-errortest: bbsim-errorscenarios
287 make-target-alarmtest: bbsim-alarms-kind
288 withAlarms: true
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700289 code-branch: 'voltha-2.7'
Andy Bavier4be37062020-06-29 15:17:26 -0700290 onus: 2
291 pons: 2
Suchitra Vemuri5fc1c6a2021-04-13 19:12:38 -0700292 time-trigger: "H H * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700293
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700294 - 'voltha-periodic-test':
Andy Bavier4be37062020-06-29 15:17:26 -0700295 name: 'periodic-voltha-etcd-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700296 build-node: 'ubuntu18.04-basebuild-4c-8g'
hwchiuc9189b72019-12-02 15:12:29 -0800297 code-branch: 'master'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700298 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
hwchiufdc49242019-11-18 16:37:22 -0800299 time-trigger: "H H/12 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700300 testTargets: |
301 - target: sanity-multi-kind
302 workflow: att
303 flags: ""
304 teardown: true
hwchiufdc49242019-11-18 16:37:22 -0800305
Matteo Scandolo075740f2021-04-22 14:52:29 -0700306 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700307 name: 'periodic-voltha-etcd-test-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700308 pipeline-script: 'voltha/voltha-2.7/voltha-system-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700309 build-node: 'ubuntu18.04-basebuild-4c-8g'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700310 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700311 make-target: sanity-multi-kind
312 onus: 2
313 pons: 2
314 time-trigger: "H H/12 * * *"
315
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700316 - 'voltha-periodic-test':
Andy Bavier3708d072019-12-10 15:22:18 -0700317 name: 'periodic-voltha-sanity-test-multi-runs'
Andy Bavier3708d072019-12-10 15:22:18 -0700318 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800319 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700320 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
321 testTargets: |
322 - target: sanity-kind
323 workflow: att
324 flags: ""
325 teardown: true
326 - target: sanity-kind
327 workflow: att
328 flags: ""
329 teardown: false
330 - target: sanity-kind
331 workflow: att
332 flags: ""
333 teardown: false
334 - target: sanity-kind
335 workflow: att
336 flags: ""
337 teardown: false
338 - target: sanity-kind
339 workflow: att
340 flags: ""
341 teardown: false
Andy Bavier10926f12020-03-27 16:53:43 -0700342
Matteo Scandolo075740f2021-04-22 14:52:29 -0700343 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700344 name: 'periodic-voltha-sanity-test-multi-runs-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700345 pipeline-script: 'voltha/voltha-2.7/voltha-go-multi-tests.groovy'
Andy Bavier10926f12020-03-27 16:53:43 -0700346 build-node: 'qct-pod4-node2'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700347 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700348 make-target: sanity-kind
349 onus: 1
350 pons: 1
351 test-runs: 5
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800352 time-trigger: "H H/23 * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700353
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700354 - 'voltha-periodic-test':
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700355 name: 'nightly-voltha-DTflow-sanity-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700356 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700357 code-branch: 'master'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700358 time-trigger: "@daily"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700359 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
360 testTargets: |
361 - target: sanity-kind-dt
362 workflow: dt
363 flags: ""
364 teardown: true
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700365
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700366 # Per-patchset Pod builds on Tucson pod (master)
Andy Bavier51ba7e82019-12-17 11:01:01 -0700367 - 'verify_physical_voltha_patchset_auto':
368 name: 'verify_physical_voltha_patchset_auto'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800369 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700370 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700371
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700372 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
373 - 'verify_physical_voltha_patchset_auto':
374 name: 'verify_physical_voltha_patchset_auto_voltha-2.7'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700375 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700376 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700377 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
378 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
379 branch-pattern: voltha-2.7
380
381 # Per-patchset Pod builds on Tucson pod (master)
382 - 'verify_physical_voltha_patchset_manual':
383 name: 'verify_physical_voltha_patchset_manual'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700384 profile: 'Default'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700385 trigger-string: 'hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800386 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700387 branch-pattern: master
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700388 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700389
390
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700391 # Per-patchset Pod builds on Tucson pod (master)
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700392 - 'verify_physical_voltha_patchset_manual':
393 name: 'verify_physical_voltha_patchset_manual_DT'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700394 workflow: 'dt'
395 profile: 'Default'
396 pipeline-script: 'voltha/voltha-2.7/voltha-dt-physical-build-and-tests.groovy'
397 trigger-string: 'DT hardware test'
398 default-test-args: '-i sanityDt -i PowerSwitch -X'
399 branch-pattern: master
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700400 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700401
402 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
403 - 'verify_physical_voltha_patchset_manual':
404 name: 'verify_physical_voltha_patchset_manual_voltha-2.7'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700405 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700406 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700407 profile: 'Default'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700408 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
409 trigger-string: 'hardware test'
410 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
411 branch-pattern: voltha-2.7
412
413
414 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
415 - 'verify_physical_voltha_patchset_manual':
416 name: 'verify_physical_voltha_patchset_manual_DT_voltha-2.7'
417 workflow: 'dt'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700418 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700419 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
420 profile: 'Default'
421 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700422 trigger-string: 'DT hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800423 default-test-args: '-i sanityDt -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700424 branch-pattern: voltha-2.7
Andy Bavier19c98a22019-11-11 13:57:11 -0700425
426 # Manual build job for Tucson pod
427 # Allow local testing without disrupting above job
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700428 - 'build_physical_voltha_manual':
Andy Bavier19c98a22019-11-11 13:57:11 -0700429 name: 'build_tucson-pod_manual'
Andy Bavier19c98a22019-11-11 13:57:11 -0700430 config-pod: 'tucson-pod'
Zack Williams03ebb272020-03-27 09:42:33 -0700431 manualBranch: 'master'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700432 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700433 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavier19c98a22019-11-11 13:57:11 -0700434 profile: 'Default'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800435 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700436 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700437
Kailash8b8de742019-07-30 08:54:51 -0700438- job-template:
Kailashaad71012019-08-27 10:36:53 -0700439 id: 'voltha-periodic-test'
440 name: '{name}'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700441 pipeline-script: 'voltha/master/periodic-bbsim-tests.groovy'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700442 build-node: 'ubuntu18.04-basebuild-8c-15g'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700443 robot-args: ''
444 gerrit-project: ''
445 gerritRefspec: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700446 volthaSystemTestsChange: ''
447 volthaHelmChartsChange: ''
448 extraHelmFlags: ''
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700449 registry: mirror.registry.opennetworking.org
Matteo Scandolo075740f2021-04-22 14:52:29 -0700450 sandbox: true
451 olts: 1
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700452
Matteo Scandolo075740f2021-04-22 14:52:29 -0700453 trigger-comment: vv7CBoQQYYonvaN8xcru
454 time-trigger: 0 0 29 2 *
455
456 description: |
457 <!-- Managed by Jenkins Job Builder -->
458 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
459 E2E Validation for Voltha 2.X
460
461 properties:
462 - cord-infra-properties:
463 build-days-to-keep: '{big-build-days-to-keep}'
464 artifact-num-to-keep: '{big-artifact-num-to-keep}'
465
466 wrappers:
467 - lf-infra-wrappers:
468 build-timeout: '{build-timeout}'
469 jenkins-ssh-credential: '{jenkins-ssh-credential}'
470
471 parameters:
472 - string:
473 name: buildNode
474 default: '{build-node}'
475 description: 'Name of the Jenkins node to run the job on'
476
477 - string:
478 name: extraHelmFlags
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700479 default: '{extraHelmFlags}'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700480 description: 'Helm flags (passed to each deployment)'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700481
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700482 # test configuration
483 # this is a parameter to drive the test execution, VOLTHA is redeployed each time with
484 # the provided configuration and then the make target is invoked,
485 # example value (has to be valid YAML):
486 # testTargets: |
487 # - target: openonu-go-adapter-test
488 # workflow: att
489 # flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700490 # teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700491 - text:
492 name: testTargets
493 default: '{testTargets}'
494 description: 'Test configuration, see the ci-management job definition for more info'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700495
496 - string:
497 name: branch
498 default: '{code-branch}'
499 description: 'Repo manifest branch for code checkout'
500
501 - string:
502 name: gerritProject
503 default: '{gerrit-project}'
504 description: 'Name of the Gerrit project'
505
506 - string:
507 name: gerritRefspec
508 default: ''
509 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
510
511 - string:
512 name: extraRobotArgs
513 default: '{robot-args}'
514 description: 'Arguments to pass to robot'
515
516 - string:
517 name: volthaSystemTestsChange
518 default: '{volthaSystemTestsChange}'
519 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
520
521 - string:
522 name: volthaHelmChartsChange
523 default: '{volthaHelmChartsChange}'
524 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
525
526 - string:
527 name: olts
528 default: '{olts}'
529 description: 'How many BBSim instances to run'
530
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700531 - string:
532 name: registry
533 default: '{registry}'
534 description: 'Which registry to use (amazon vs menlo)'
535
Matteo Scandolo075740f2021-04-22 14:52:29 -0700536 project-type: pipeline
537 concurrent: true
538
539 dsl: !include-raw-escape: pipeline/{pipeline-script}
540
541 triggers:
542 # patchset jobs will set this to "0 0 29 2 *" (feb 29th, it's once every 4 years)
543 - timed: |
544 TZ=America/Los_Angeles
545 {time-trigger}
546 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
547 - gerrit:
548 server-name: '{gerrit-server-name}'
549 silent-start: false
550 successful-message: "PASSED openonu-go test"
551 failure-message: "FAILED openonu-go test"
552 unstable-message: "UNSTABLE openonu-go test"
553 trigger-on:
554 - comment-added-contains-event:
555 comment-contains-value: '.*{trigger-comment}.*'
556 projects:
557 - project-compare-type: REG_EXP
558 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter-go|ofagent-go|voltha-onos|bbsim)$'
559 branches:
560 - branch-compare-type: REG_EXP
561 branch-pattern: '{all-branches-regexp}'
562
563- job-template:
564 id: 'voltha-periodic-test-kind-voltha-based'
565 name: '{name}'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700566 pipeline-script: 'voltha/voltha-2.7/voltha-go-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -0700567 test-runs: 1
568 robot-args: ''
Andy Bavierb35171c2020-03-06 15:47:29 -0700569 gerrit-project: ''
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700570 work-flow: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700571 volthaSystemTestsChange: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700572 volthaHelmChartsChange: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700573 kindVolthaChange: ''
Andrea Campanella6d562182020-10-06 18:39:30 +0200574 extraHelmFlags: ''
Andy Bavier02b00dc2020-04-28 13:01:12 -0700575 sandbox: true
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800576 olts: 1
Matteo Scandolob36f0892020-11-23 12:19:48 -0800577 withAlarms: false
Andy Bavierb35171c2020-03-06 15:47:29 -0700578
Kailash8b8de742019-07-30 08:54:51 -0700579 description: |
580 <!-- Managed by Jenkins Job Builder -->
581 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
582 E2E Validation for Voltha 2.X
583
584 properties:
585 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800586 build-days-to-keep: '{big-build-days-to-keep}'
587 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Kailash8b8de742019-07-30 08:54:51 -0700588
589 wrappers:
590 - lf-infra-wrappers:
591 build-timeout: '{build-timeout}'
592 jenkins-ssh-credential: '{jenkins-ssh-credential}'
593
594 parameters:
595 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700596 name: buildNode
Andy Bavier833b78e2019-11-22 17:01:31 -0700597 default: '{build-node}'
Kailash8b8de742019-07-30 08:54:51 -0700598 description: 'Name of the Jenkins node to run the job on'
599
600 - string:
Andy Bavierea26c5c2019-09-18 08:09:17 -0700601 name: extraHelmFlags
Andrea Campanellae9517922021-05-06 10:01:44 +0200602 default: '--set onu={onus},pon={pons} {extraHelmFlags}'
Andy Bavierea26c5c2019-09-18 08:09:17 -0700603 description: 'Helm flags to pass to ./voltha up'
604
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800605 - bool:
606 name: withAlarms
Matteo Scandolob36f0892020-11-23 12:19:48 -0800607 default: '{withAlarms}'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800608 description: "Run alarm based tests when true"
609
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700610 - string:
Andy Bavier218385e2019-11-13 09:51:38 -0700611 name: makeTarget
612 default: '{make-target}'
613 description: 'Makefile target to invoke during test'
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700614
Andy Bavier4c8b3232019-11-22 16:17:47 -0700615 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800616 name: makeFailtestTarget
617 default: '{make-target-failtest}'
618 description: 'Makefile target to invoke during failure/based test'
619
620 - string:
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -0800621 name: makeMultiOltTarget
622 default: '{make-target-multipleolt}'
623 description: 'Makefile target to invoke during multiple olt test'
624
625 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800626 name: makeErrortestTarget
627 default: '{make-target-errortest}'
628 description: 'Makefile target to invoke during error test'
629
630 - string:
631 name: makeAlarmtestTarget
632 default: '{make-target-alarmtest}'
633 description: 'Makefile target to invoke during alarm test'
634
635 - string:
TorstenThieme669258d2021-01-29 09:03:10 +0000636 name: make1t4gemTestTarget
637 default: '{make-target-1t4gemtest}'
638 description: 'Makefile target to invoke during 1t4gem test'
639
640 - string:
641 name: make1t8gemTestTarget
642 default: '{make-target-1t8gemtest}'
643 description: 'Makefile target to invoke during 1t8gem test'
644
645 - string:
TorstenThieme45422612021-03-23 10:38:59 +0000646 name: makeReconcileTestTarget
647 default: '{make-target-reconciletest}'
648 description: 'Makefile target to invoke during reconcile test'
649
650 - string:
651 name: makeReconcileDtTestTarget
652 default: '{make-target-reconciledttest}'
653 description: 'Makefile target to invoke during reconcile dt test'
654
655 - string:
656 name: makeReconcileTtTestTarget
657 default: '{make-target-reconciletttest}'
658 description: 'Makefile target to invoke during reconcile tt test'
659
660 - string:
Andy Bavier4c8b3232019-11-22 16:17:47 -0700661 name: manifestUrl
662 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700663 description: 'Repo manifest URL for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700664
665 - string:
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700666 name: branch
Andy Bavier4c8b3232019-11-22 16:17:47 -0700667 default: '{code-branch}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700668 description: 'Repo manifest branch for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700669
Andy Bavier3708d072019-12-10 15:22:18 -0700670 - string:
Andy Bavierb35171c2020-03-06 15:47:29 -0700671 name: gerritProject
672 default: '{gerrit-project}'
673 description: 'Name of the Gerrit project'
674
675 - string:
676 name: gerritChangeNumber
677 default: ''
678 description: 'Changeset number in Gerrit'
679
680 - string:
681 name: gerritPatchsetNumber
682 default: ''
683 description: 'PatchSet number in Gerrit'
684
685 - string:
Andy Bavier3708d072019-12-10 15:22:18 -0700686 name: testRuns
687 default: '{test-runs}'
688 description: 'How many times to repeat the tests'
689
690 - string:
691 name: extraRobotArgs
692 default: '{robot-args}'
693 description: 'Arguments to pass to robot'
694
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700695 - string:
696 name: workFlow
697 default: '{work-flow}'
698 description: 'Workflow for testcase'
Andy Bavier3708d072019-12-10 15:22:18 -0700699
pierventref48ebc12020-07-17 16:01:32 +0200700 - string:
701 name: karafHome
702 default: '{karaf-home}'
703 description: 'Karaf home'
704
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700705 - string:
706 name: volthaSystemTestsChange
707 default: '{volthaSystemTestsChange}'
708 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
709
710 - string:
711 name: kindVolthaChange
712 default: '{kindVolthaChange}'
713 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
714
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800715 - string:
716 name: olts
717 default: '{olts}'
718 description: 'How many BBSim instances to run'
719
Kailash8b8de742019-07-30 08:54:51 -0700720 project-type: pipeline
Andy Bavier358aa0b2019-11-22 11:55:39 -0700721 concurrent: true
Kailash8b8de742019-07-30 08:54:51 -0700722
Zack Williamsb3292082019-10-11 17:15:18 -0700723 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailash6be1aa92019-08-05 18:11:11 -0700724
725 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700726 - timed: |
Kailash6be1aa92019-08-05 18:11:11 -0700727 TZ=America/Los_Angeles
Andy Bavier218385e2019-11-13 09:51:38 -0700728 {time-trigger}
Kailashaad71012019-08-27 10:36:53 -0700729
730- job-template:
731 id: 'voltha-patch-test'
Matteo Scandolo84e5f002020-02-10 11:50:05 -0800732 name: 'verify_{project}_sanity-test{name-extension}'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700733 build-node: 'ubuntu18.04-basebuild-4c-8g'
Andy Bavier4318f8d2020-04-09 13:50:53 -0700734 override-branch: '$GERRIT_BRANCH'
Andy Bavier02b00dc2020-04-28 13:01:12 -0700735 sandbox: true
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800736 build-timeout: 20
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700737 volthaSystemTestsChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800738 volthaHelmChartsChange: ''
Matteo Scandolocecb0842021-05-04 13:16:47 -0700739 extraHelmFlags: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800740 branch-regexp: '{all-branches-regexp}'
Kailashaad71012019-08-27 10:36:53 -0700741
742 description: |
743 <!-- Managed by Jenkins Job Builder -->
744 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
745 E2E Validation for Voltha 2.X
746
747 properties:
748 - cord-infra-properties:
749 build-days-to-keep: '{build-days-to-keep}'
750 artifact-num-to-keep: '{artifact-num-to-keep}'
751
752 wrappers:
753 - lf-infra-wrappers:
754 build-timeout: '{build-timeout}'
755 jenkins-ssh-credential: '{jenkins-ssh-credential}'
756
757 parameters:
758 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700759 name: buildNode
Andrea Campanella4792b7f2021-04-23 15:06:42 +0200760 default: '{build-node}'
Kailashaad71012019-08-27 10:36:53 -0700761 description: 'Name of the Jenkins node to run the job on'
762
763 - string:
hwchiu14f97852019-10-08 10:51:11 -0700764 name: gerritProject
765 default: '$GERRIT_PROJECT'
766 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700767
768 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700769 name: gerritRefspec
770 default: '$GERRIT_REFSPEC'
771 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
Kailashaad71012019-08-27 10:36:53 -0700772
773 - string:
Andy Bavierbedd0392019-10-16 13:58:18 -0700774 name: extraHelmFlags
Matteo Scandolocecb0842021-05-04 13:16:47 -0700775 default: '{extraHelmFlags}'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700776 description: 'Helm flags to pass to every helm command'
Andy Bavierbedd0392019-10-16 13:58:18 -0700777
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700778 - string:
779 name: volthaSystemTestsChange
780 default: '{volthaSystemTestsChange}'
781 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
782
783 - string:
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800784 name: volthaHelmChartsChange
785 default: '{volthaHelmChartsChange}'
786 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
787
788 - string:
789 name: branch
790 default: '{override-branch}'
791 description: 'Name of the branch to use'
792
Kailashaad71012019-08-27 10:36:53 -0700793 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -0700794 concurrent: true
Kailashaad71012019-08-27 10:36:53 -0700795
Zack Williamsb3292082019-10-11 17:15:18 -0700796 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -0700797
798 triggers:
Andy Bavierb99c3d32020-02-18 11:14:17 -0700799 - gerrit:
800 server-name: '{gerrit-server-name}'
Kailashaad71012019-08-27 10:36:53 -0700801 dependency-jobs: '{dependency-jobs}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700802 silent-start: true
803 trigger-on:
804 - patchset-created-event:
805 exclude-drafts: true
806 exclude-trivial-rebase: false
807 exclude-no-code-change: true
808 - draft-published-event
809 - comment-added-contains-event:
810 comment-contains-value: '(?i)^.*recheck$'
811 projects:
812 - project-compare-type: REG_EXP
813 project-pattern: '^{project}$'
814 branches:
815 - branch-compare-type: REG_EXP
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800816 branch-pattern: '{branch-regexp}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700817 file-paths:
818 - compare-type: REG_EXP
819 pattern: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700820
821# POD Per Patchset Pipeline Jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700822# to use these parameters in a job: `<<: *voltha-physical-patchset-parameters`
823- voltha-physical-patchset-parameters: &voltha-physical-patchset-parameters
824 name: voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -0700825 parameters:
826 - string:
827 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -0700828 default: '{build-node}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700829 description: 'Pod management node'
830
831 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700832 name: branch
833 default: '$GERRIT_BRANCH'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700834 description: 'Name of the repo branch to use'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700835
836 - string:
837 name: gerritProject
838 default: '$GERRIT_PROJECT'
839 description: 'Name of the Gerrit project'
840
841 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -0700842 name: gerritRefspec
843 default: '$GERRIT_REFSPEC'
844 description: 'RefSpec number in Gerrit'
845
846 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700847 name: gerritComment
848 default: '$GERRIT_EVENT_COMMENT_TEXT'
849 description: 'RefSpec number in Gerrit'
850
851 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700852 name: cordRepoUrl
853 default: '{gerrit-server-url}'
854 description: 'The URL of the CORD Project repository'
855
856 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700857 name: configBaseDir
858 default: 'pod-configs'
859 description: 'The directory inside the POD configs repository'
860
861 - string:
862 name: configDeploymentDir
863 default: 'deployment-configs'
864 description: 'The deployment configs folder'
865
866 - string:
867 name: configKubernetesDir
868 default: 'kubernetes-configs'
869 description: 'The kubernetes config folder'
870
871 - string:
872 name: configFileName
873 default: '{config-pod}'
874 description: 'The config file'
875
876 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700877 name: podName
878 default: '{config-pod}'
879
880 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700881 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -0700882 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700883 description: 'Path of SADIS config to load'
884
885 - string:
Andy Bavier893d2442020-05-21 12:41:17 -0700886 name: oltDebVersionMaster
887 default: '{oltDebVersionMaster}'
888 description: 'OLT Software version to install for master branch builds'
889
890 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700891 name: oltDebVersionVoltha23
Andy Bavier893d2442020-05-21 12:41:17 -0700892 default: '{oltDebVersionVoltha23}'
893 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700894
895 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700896 name: profile
897 default: '{profile}'
898 description: 'Technology Profile pushed to the ETCD'
899
900 - string:
901 name: notificationEmail
902 default: 'andy@opennetworking.org'
903 description: ''
904
905 - bool:
906 name: reinstallOlt
907 default: true
908 description: "Re-install OLT software"
909
Zack Williams03ebb272020-03-27 09:42:33 -0700910 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700911 name: extraRobotArgs
912 default: '{default-test-args}'
913 description: 'Arguments to pass to robot'
914
915 - string:
916 name: volthaSystemTestsChange
917 default: '{volthaSystemTestsChange}'
918 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
919
920 - string:
921 name: volthaHelmChartsChange
922 default: '{volthaHelmChartsChange}'
923 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
924
925 - string:
926 name: workflow
927 default: '{workflow}'
928 description: 'Installs and uses the specified work flow on the POD'
929
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700930 - string:
931 name: extraHelmFlags
932 default: '{extraHelmFlags}'
933 description: 'Helm flags (passed to each helm command)'
934
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700935 # deprecated parameters, remove after VOLTHA-2.8 is released
936 - string:
937 name: deploymentConfigFile
938 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
939 description: 'Path of deployment config file'
940
941 - string:
942 name: kindVolthaValuesFile
943 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
944 description: 'Path of kind-voltha values override file'
945
946 - string:
947 name: manifestUrl
948 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
949 description: 'URL to the repo manifest'
950
951 - string:
952 name: gerritChangeNumber
953 default: '$GERRIT_CHANGE_NUMBER'
954 description: 'Changeset number in Gerrit'
955
956 - string:
957 name: gerritPatchsetNumber
958 default: '$GERRIT_PATCHSET_NUMBER'
959 description: 'PatchSet number in Gerrit'
960
961 - string:
962 name: localConfigDir
963 default: null
964 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
965
966 - string:
967 name: configRepo
968 default: 'pod-configs'
969 description: 'A repository containing the config files, will be checked out if specified'
970
971 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700972 name: manualBranch
973 default: '{manualBranch}'
974 description: "If a non-empty string, build manually as a specific branch, not with a specific patchset"
Andy Bavier51ba7e82019-12-17 11:01:01 -0700975
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700976- job-template:
977 name: '{name}'
978 id: verify_physical_voltha_patchset_auto
979 description: |
980 <!-- Managed by Jenkins Job Builder -->
981 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
982 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
983 Created by Andy Bavier, andy@opennetworking.org <br />
984 Copyright (c) 2019 Open Networking Foundation (ONF)
985 sandbox: true
986 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
987 default-test-args: '-i sanityORDeleteOLT -X'
988 branch-pattern: '{all-branches-regexp}'
989 build-node: 'tucson-pod'
990 config-pod: 'tucson-pod'
991 workflow: 'att'
992 profile: 'Default'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700993 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700994 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
995 volthaSystemTestsChange: ''
996 volthaHelmChartsChange: ''
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700997 extraHelmFlags: ''
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700998
999 properties:
1000 - cord-infra-properties:
1001 build-days-to-keep: '{build-days-to-keep}'
1002 artifact-num-to-keep: '{artifact-num-to-keep}'
1003
1004 <<: *voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -07001005
1006 project-type: pipeline
1007 concurrent: true
1008
1009 dsl: !include-raw-escape: pipeline/{pipeline-script}
1010
1011 triggers:
1012 - gerrit:
1013 server-name: '{gerrit-server-name}'
1014 dependency-jobs: '{dependency-jobs}'
1015 silent-start: false
1016 successful-message: "PASSED hardware test"
1017 failure-message: "FAILED hardware test"
1018 unstable-message: "UNSTABLE hardware test"
1019 trigger-on:
1020 - comment-added-event:
1021 approval-category: 'Code-Review'
1022 approval-value: '+2'
1023 projects:
1024 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001025 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-go)$'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001026 branches:
Andy Bavier37f6ea92020-04-03 11:13:35 -07001027 - branch-compare-type: REG_EXP
Matteo Scandolo5b998a22021-04-22 09:42:40 -07001028 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001029
Andy Bavier51ba7e82019-12-17 11:01:01 -07001030- job-template:
1031 name: '{name}'
1032 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001033 description: |
1034 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001035 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -07001036 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001037 Created by Andy Bavier, andy@opennetworking.org <br />
1038 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001039 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001040 build-node: 'tucson-pod'
1041 config-pod: 'tucson-pod'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -07001042 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001043 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
1044 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001045 trigger-string: 'hardware test'
1046 default-test-args: '-i sanityORDeleteOLT -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001047 branch-pattern: '{all-branches-regexp}'
1048 volthaSystemTestsChange: ''
1049 volthaHelmChartsChange: ''
1050 workflow: 'att'
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001051 extraHelmFlags: ''
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001052
1053 properties:
1054 - cord-infra-properties:
1055 build-days-to-keep: '{build-days-to-keep}'
1056 artifact-num-to-keep: '{artifact-num-to-keep}'
1057
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001058 <<: *voltha-physical-patchset-parameters
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001059
Andy Bavier8c11d462019-12-17 08:19:34 -07001060
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001061 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001062 concurrent: true
1063
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001064 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001065
Andy Bavier1f465592019-11-06 10:03:56 -07001066 triggers:
1067 - gerrit:
1068 server-name: '{gerrit-server-name}'
1069 dependency-jobs: '{dependency-jobs}'
1070 silent-start: false
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001071 successful-message: "PASSED {trigger-string}"
1072 failure-message: "FAILED {trigger-string}"
1073 unstable-message: "UNSTABLE {trigger-string}"
Andy Bavier1f465592019-11-06 10:03:56 -07001074 trigger-on:
1075 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001076 comment-contains-value: '^{trigger-string}$'
Scott Bakerda31d7b2020-01-08 16:35:52 -08001077 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001078 comment-contains-value: '^{trigger-string} with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -07001079 projects:
1080 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001081 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 -07001082 branches:
Andy Bavierfc3ca142020-03-27 13:44:25 -07001083 - branch-compare-type: REG_EXP
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001084 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001085
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001086- job-template:
1087 name: '{name}'
1088 id: build_physical_voltha_manual
1089 description: |
1090 <!-- Managed by Jenkins Job Builder -->
1091 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
1092 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
1093 Created by Andy Bavier, andy@opennetworking.org <br />
1094 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001095 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001096 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001097
1098 properties:
1099 - cord-infra-properties:
1100 build-days-to-keep: '{build-days-to-keep}'
1101 artifact-num-to-keep: '{artifact-num-to-keep}'
1102
1103 parameters:
1104 - string:
1105 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -07001106 default: '{build-node}'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001107 description: 'Pod management node'
1108
1109 - string:
1110 name: manifestUrl
1111 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
1112 description: 'URL to the repo manifest'
1113
1114 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001115 name: branch
1116 default: "$GERRIT_BRANCH"
1117 description: 'Name of the repo manifest branch to use'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001118
1119 - string:
1120 name: gerritProject
1121 default: '$GERRIT_PROJECT'
1122 description: 'Name of the Gerrit project'
1123
1124 - string:
1125 name: gerritChangeNumber
1126 default: '$GERRIT_CHANGE_NUMBER'
1127 description: 'Changeset number in Gerrit'
1128
1129 - string:
1130 name: gerritPatchsetNumber
1131 default: '$GERRIT_PATCHSET_NUMBER'
1132 description: 'PatchSet number in Gerrit'
1133
1134 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -07001135 name: gerritRefspec
1136 default: '$GERRIT_REFSPEC'
1137 description: 'RefSpec number in Gerrit'
1138
1139 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001140 name: cordRepoUrl
1141 default: '{gerrit-server-url}'
1142 description: 'The URL of the CORD Project repository'
1143
1144 - string:
1145 name: podName
1146 default: '{config-pod}'
1147
1148 - string:
1149 name: deploymentConfigFile
1150 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
1151 description: 'Path of deployment config file'
1152
1153 - string:
1154 name: kindVolthaValuesFile
1155 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
1156 description: 'Path of kind-voltha values override file'
1157
1158 - string:
1159 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -07001160 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001161 description: 'Path of SADIS config to load'
1162
1163 - string:
1164 name: localConfigDir
1165 default: null
1166 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
1167
1168 - string:
1169 name: configRepo
1170 default: 'pod-configs'
1171 description: 'A repository containing the config files, will be checked out if specified'
1172
1173 - string:
Andy Bavier893d2442020-05-21 12:41:17 -07001174 name: oltDebVersionMaster
1175 default: '{oltDebVersionMaster}'
1176 description: 'OLT Software version to install for master branch builds'
1177
1178 - string:
1179 name: oltDebVersionVoltha23
1180 default: '{oltDebVersionVoltha23}'
1181 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001182
1183 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001184 name: profile
1185 default: '{profile}'
1186 description: 'Technology Profile pushed to the ETCD'
1187
1188 - string:
1189 name: notificationEmail
1190 default: 'andy@opennetworking.org'
1191 description: ''
1192
1193 - bool:
1194 name: reinstallOlt
1195 default: false
1196 description: "Re-install OLT software"
1197
Zack Williams03ebb272020-03-27 09:42:33 -07001198 - string:
1199 name: manualBranch
1200 default: '{manualBranch}'
1201 description: "If a non-empty string, build manually on a specific branch, not with a specific patchset"
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001202
Andy Bavier8c11d462019-12-17 08:19:34 -07001203 - string:
1204 name: extraRobotArgs
Andy Bavierd2b25fe2020-06-09 07:22:00 -07001205 default: '-e bbsim -X'
Andy Bavier8c11d462019-12-17 08:19:34 -07001206 description: 'Arguments to pass to robot'
1207
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001208 project-type: pipeline
1209 concurrent: true
1210
1211 dsl: !include-raw-escape: pipeline/{pipeline-script}