blob: f830fe7b83e9852e4741bf3d9124d34cc850d91a [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'
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: |
95 - target: openonu-go-adapter-test
96 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
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700111 - target: reconcile-openonu-go-adapter-test
112 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: |
133 - target: openonu-go-adapter-test
134 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
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700149 - target: reconcile-openonu-go-adapter-test
150 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: |
183 - target: openonu-go-adapter-multi-olt-test
184 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
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700195 - target: reconcile-openonu-go-adapter-multi-olt-test
196 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: |
218 - target: openonu-go-adapter-multi-olt-test
219 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
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700230 - target: reconcile-openonu-go-adapter-multi-olt-test
231 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
244 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +0530245 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim-2.7'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700246 pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700247 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass46d61132021-03-30 16:42:07 +0530248 make-target: openonu-go-adapter-multi-olt-test
249 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-multi-olt-test
250 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-multi-olt-test
TorstenThieme45422612021-03-23 10:38:59 +0000251 make-target-reconciletest: reconcile-openonu-go-adapter-test
252 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
253 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +0530254 withAlarms: false
255 code-branch: 'voltha-2.7'
256 olts: 2
257 onus: 2
258 pons: 2
259 time-trigger: "H H/23 * * *"
260
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700261 - 'voltha-periodic-test':
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100262 name: 'periodic-voltha-test-DMI'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700263 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100264 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800265 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700266 testTargets: |
267 - target: bbsim-dmi-hw-management-test
268 workflow: att
269 flags: ""
270 teardown: true
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100271
Matteo Scandolo075740f2021-04-22 14:52:29 -0700272 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700273 name: 'periodic-voltha-test-DMI-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700274 pipeline-script: 'voltha/voltha-2.7/voltha-DMI-bbsim-tests.groovy'
Andrea Campanellae9739492020-12-17 09:54:04 +0100275 build-node: 'qct-pod4-node2'
276 make-target: bbsim-dmi-hw-management-test
277 withAlarms: false
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700278 code-branch: 'voltha-2.7'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800279 time-trigger: "H H/23 * * *"
Andrea Campanellae9739492020-12-17 09:54:04 +0100280
Matteo Scandolo075740f2021-04-22 14:52:29 -0700281 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700282 name: 'periodic-voltha-test-bbsim-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700283 pipeline-script: 'voltha/voltha-2.7/voltha-nightly-tests-bbsim.groovy'
Andy Bavier10926f12020-03-27 16:53:43 -0700284 build-node: 'qct-pod4-node2'
Andy Bavier10926f12020-03-27 16:53:43 -0700285 make-target: functional-single-kind
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800286 make-target-failtest: bbsim-failurescenarios
287 make-target-errortest: bbsim-errorscenarios
288 make-target-alarmtest: bbsim-alarms-kind
289 withAlarms: true
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700290 code-branch: 'voltha-2.7'
Suchitra Vemuri5fc1c6a2021-04-13 19:12:38 -0700291 time-trigger: "H H * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700292
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700293 - 'voltha-periodic-test':
Andy Bavier4be37062020-06-29 15:17:26 -0700294 name: 'periodic-voltha-etcd-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700295 build-node: 'ubuntu18.04-basebuild-4c-8g'
hwchiuc9189b72019-12-02 15:12:29 -0800296 code-branch: 'master'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700297 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
hwchiufdc49242019-11-18 16:37:22 -0800298 time-trigger: "H H/12 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700299 testTargets: |
300 - target: sanity-multi-kind
301 workflow: att
302 flags: ""
303 teardown: true
hwchiufdc49242019-11-18 16:37:22 -0800304
Matteo Scandolo075740f2021-04-22 14:52:29 -0700305 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700306 name: 'periodic-voltha-etcd-test-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700307 pipeline-script: 'voltha/voltha-2.7/voltha-system-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700308 build-node: 'ubuntu18.04-basebuild-4c-8g'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700309 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700310 make-target: sanity-multi-kind
311 onus: 2
312 pons: 2
313 time-trigger: "H H/12 * * *"
314
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700315 - 'voltha-periodic-test':
Andy Bavier3708d072019-12-10 15:22:18 -0700316 name: 'periodic-voltha-sanity-test-multi-runs'
Andy Bavier3708d072019-12-10 15:22:18 -0700317 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800318 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700319 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
320 testTargets: |
321 - target: sanity-kind
322 workflow: att
323 flags: ""
324 teardown: true
325 - target: sanity-kind
326 workflow: att
327 flags: ""
328 teardown: false
329 - target: sanity-kind
330 workflow: att
331 flags: ""
332 teardown: false
333 - target: sanity-kind
334 workflow: att
335 flags: ""
336 teardown: false
337 - target: sanity-kind
338 workflow: att
339 flags: ""
340 teardown: false
Andy Bavier10926f12020-03-27 16:53:43 -0700341
Matteo Scandolo075740f2021-04-22 14:52:29 -0700342 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700343 name: 'periodic-voltha-sanity-test-multi-runs-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700344 pipeline-script: 'voltha/voltha-2.7/voltha-go-multi-tests.groovy'
Andy Bavier10926f12020-03-27 16:53:43 -0700345 build-node: 'qct-pod4-node2'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700346 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700347 make-target: sanity-kind
348 onus: 1
349 pons: 1
350 test-runs: 5
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800351 time-trigger: "H H/23 * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700352
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700353 - 'voltha-periodic-test':
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700354 name: 'nightly-voltha-DTflow-sanity-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700355 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700356 code-branch: 'master'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700357 time-trigger: "@daily"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700358 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
359 testTargets: |
360 - target: sanity-kind-dt
361 workflow: dt
362 flags: ""
363 teardown: true
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700364
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700365 # Per-patchset Pod builds on Tucson pod (master)
Andy Bavier51ba7e82019-12-17 11:01:01 -0700366 - 'verify_physical_voltha_patchset_auto':
367 name: 'verify_physical_voltha_patchset_auto'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800368 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700369 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700370
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700371 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
372 - 'verify_physical_voltha_patchset_auto':
373 name: 'verify_physical_voltha_patchset_auto_voltha-2.7'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700374 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700375 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700376 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
377 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
378 branch-pattern: voltha-2.7
379
380 # Per-patchset Pod builds on Tucson pod (master)
381 - 'verify_physical_voltha_patchset_manual':
382 name: 'verify_physical_voltha_patchset_manual'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700383 profile: 'Default'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700384 trigger-string: 'hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800385 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700386 branch-pattern: master
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700387 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700388
389
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700390 # Per-patchset Pod builds on Tucson pod (master)
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700391 - 'verify_physical_voltha_patchset_manual':
392 name: 'verify_physical_voltha_patchset_manual_DT'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700393 workflow: 'dt'
394 profile: 'Default'
395 pipeline-script: 'voltha/voltha-2.7/voltha-dt-physical-build-and-tests.groovy'
396 trigger-string: 'DT hardware test'
397 default-test-args: '-i sanityDt -i PowerSwitch -X'
398 branch-pattern: master
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700399 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700400
401 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
402 - 'verify_physical_voltha_patchset_manual':
403 name: 'verify_physical_voltha_patchset_manual_voltha-2.7'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700404 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700405 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700406 profile: 'Default'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700407 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
408 trigger-string: 'hardware test'
409 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
410 branch-pattern: voltha-2.7
411
412
413 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
414 - 'verify_physical_voltha_patchset_manual':
415 name: 'verify_physical_voltha_patchset_manual_DT_voltha-2.7'
416 workflow: 'dt'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700417 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700418 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
419 profile: 'Default'
420 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700421 trigger-string: 'DT hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800422 default-test-args: '-i sanityDt -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700423 branch-pattern: voltha-2.7
Andy Bavier19c98a22019-11-11 13:57:11 -0700424
425 # Manual build job for Tucson pod
426 # Allow local testing without disrupting above job
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700427 - 'build_physical_voltha_manual':
Andy Bavier19c98a22019-11-11 13:57:11 -0700428 name: 'build_tucson-pod_manual'
Andy Bavier19c98a22019-11-11 13:57:11 -0700429 config-pod: 'tucson-pod'
Zack Williams03ebb272020-03-27 09:42:33 -0700430 manualBranch: 'master'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700431 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700432 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavier19c98a22019-11-11 13:57:11 -0700433 profile: 'Default'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800434 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700435 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700436
Kailash8b8de742019-07-30 08:54:51 -0700437- job-template:
Kailashaad71012019-08-27 10:36:53 -0700438 id: 'voltha-periodic-test'
439 name: '{name}'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700440 pipeline-script: 'voltha/master/periodic-bbsim-tests.groovy'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700441 build-node: 'ubuntu18.04-basebuild-8c-15g'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700442 robot-args: ''
443 gerrit-project: ''
444 gerritRefspec: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700445 volthaSystemTestsChange: ''
446 volthaHelmChartsChange: ''
447 extraHelmFlags: ''
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700448 registry: mirror.registry.opennetworking.org
Matteo Scandolo075740f2021-04-22 14:52:29 -0700449 sandbox: true
450 olts: 1
Hardik Windlass696002d2021-05-07 11:38:28 +0000451 logLevel: 'INFO'
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
Hardik Windlass696002d2021-05-07 11:38:28 +0000536 - string:
537 name: logLevel
538 default: '{logLevel}'
539 description: 'Log level for all the components'
540
Matteo Scandolo075740f2021-04-22 14:52:29 -0700541 project-type: pipeline
542 concurrent: true
543
544 dsl: !include-raw-escape: pipeline/{pipeline-script}
545
546 triggers:
547 # patchset jobs will set this to "0 0 29 2 *" (feb 29th, it's once every 4 years)
548 - timed: |
549 TZ=America/Los_Angeles
550 {time-trigger}
551 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
552 - gerrit:
553 server-name: '{gerrit-server-name}'
554 silent-start: false
555 successful-message: "PASSED openonu-go test"
556 failure-message: "FAILED openonu-go test"
557 unstable-message: "UNSTABLE openonu-go test"
558 trigger-on:
559 - comment-added-contains-event:
560 comment-contains-value: '.*{trigger-comment}.*'
561 projects:
562 - project-compare-type: REG_EXP
563 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter-go|ofagent-go|voltha-onos|bbsim)$'
564 branches:
565 - branch-compare-type: REG_EXP
566 branch-pattern: '{all-branches-regexp}'
567
568- job-template:
569 id: 'voltha-periodic-test-kind-voltha-based'
570 name: '{name}'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700571 pipeline-script: 'voltha/voltha-2.7/voltha-go-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -0700572 test-runs: 1
573 robot-args: ''
Andy Bavierb35171c2020-03-06 15:47:29 -0700574 gerrit-project: ''
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700575 work-flow: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700576 volthaSystemTestsChange: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700577 volthaHelmChartsChange: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700578 kindVolthaChange: ''
Andrea Campanella6d562182020-10-06 18:39:30 +0200579 extraHelmFlags: ''
Andy Bavier02b00dc2020-04-28 13:01:12 -0700580 sandbox: true
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800581 olts: 1
Matteo Scandolob36f0892020-11-23 12:19:48 -0800582 withAlarms: false
Andy Bavierb35171c2020-03-06 15:47:29 -0700583
Kailash8b8de742019-07-30 08:54:51 -0700584 description: |
585 <!-- Managed by Jenkins Job Builder -->
586 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
587 E2E Validation for Voltha 2.X
588
589 properties:
590 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800591 build-days-to-keep: '{big-build-days-to-keep}'
592 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Kailash8b8de742019-07-30 08:54:51 -0700593
594 wrappers:
595 - lf-infra-wrappers:
596 build-timeout: '{build-timeout}'
597 jenkins-ssh-credential: '{jenkins-ssh-credential}'
598
599 parameters:
600 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700601 name: buildNode
Andy Bavier833b78e2019-11-22 17:01:31 -0700602 default: '{build-node}'
Kailash8b8de742019-07-30 08:54:51 -0700603 description: 'Name of the Jenkins node to run the job on'
604
605 - string:
Andy Bavierea26c5c2019-09-18 08:09:17 -0700606 name: extraHelmFlags
Andrea Campanellae9517922021-05-06 10:01:44 +0200607 default: '--set onu={onus},pon={pons} {extraHelmFlags}'
Andy Bavierea26c5c2019-09-18 08:09:17 -0700608 description: 'Helm flags to pass to ./voltha up'
609
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800610 - bool:
611 name: withAlarms
Matteo Scandolob36f0892020-11-23 12:19:48 -0800612 default: '{withAlarms}'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800613 description: "Run alarm based tests when true"
614
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700615 - string:
Andy Bavier218385e2019-11-13 09:51:38 -0700616 name: makeTarget
617 default: '{make-target}'
618 description: 'Makefile target to invoke during test'
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700619
Andy Bavier4c8b3232019-11-22 16:17:47 -0700620 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800621 name: makeFailtestTarget
622 default: '{make-target-failtest}'
623 description: 'Makefile target to invoke during failure/based test'
624
625 - string:
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -0800626 name: makeMultiOltTarget
627 default: '{make-target-multipleolt}'
628 description: 'Makefile target to invoke during multiple olt test'
629
630 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800631 name: makeErrortestTarget
632 default: '{make-target-errortest}'
633 description: 'Makefile target to invoke during error test'
634
635 - string:
636 name: makeAlarmtestTarget
637 default: '{make-target-alarmtest}'
638 description: 'Makefile target to invoke during alarm test'
639
640 - string:
TorstenThieme669258d2021-01-29 09:03:10 +0000641 name: make1t4gemTestTarget
642 default: '{make-target-1t4gemtest}'
643 description: 'Makefile target to invoke during 1t4gem test'
644
645 - string:
646 name: make1t8gemTestTarget
647 default: '{make-target-1t8gemtest}'
648 description: 'Makefile target to invoke during 1t8gem test'
649
650 - string:
TorstenThieme45422612021-03-23 10:38:59 +0000651 name: makeReconcileTestTarget
652 default: '{make-target-reconciletest}'
653 description: 'Makefile target to invoke during reconcile test'
654
655 - string:
656 name: makeReconcileDtTestTarget
657 default: '{make-target-reconciledttest}'
658 description: 'Makefile target to invoke during reconcile dt test'
659
660 - string:
661 name: makeReconcileTtTestTarget
662 default: '{make-target-reconciletttest}'
663 description: 'Makefile target to invoke during reconcile tt test'
664
665 - string:
Andy Bavier4c8b3232019-11-22 16:17:47 -0700666 name: manifestUrl
667 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700668 description: 'Repo manifest URL for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700669
670 - string:
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700671 name: branch
Andy Bavier4c8b3232019-11-22 16:17:47 -0700672 default: '{code-branch}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700673 description: 'Repo manifest branch for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700674
Andy Bavier3708d072019-12-10 15:22:18 -0700675 - string:
Andy Bavierb35171c2020-03-06 15:47:29 -0700676 name: gerritProject
677 default: '{gerrit-project}'
678 description: 'Name of the Gerrit project'
679
680 - string:
681 name: gerritChangeNumber
682 default: ''
683 description: 'Changeset number in Gerrit'
684
685 - string:
686 name: gerritPatchsetNumber
687 default: ''
688 description: 'PatchSet number in Gerrit'
689
690 - string:
Andy Bavier3708d072019-12-10 15:22:18 -0700691 name: testRuns
692 default: '{test-runs}'
693 description: 'How many times to repeat the tests'
694
695 - string:
696 name: extraRobotArgs
697 default: '{robot-args}'
698 description: 'Arguments to pass to robot'
699
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700700 - string:
701 name: workFlow
702 default: '{work-flow}'
703 description: 'Workflow for testcase'
Andy Bavier3708d072019-12-10 15:22:18 -0700704
pierventref48ebc12020-07-17 16:01:32 +0200705 - string:
706 name: karafHome
707 default: '{karaf-home}'
708 description: 'Karaf home'
709
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700710 - string:
711 name: volthaSystemTestsChange
712 default: '{volthaSystemTestsChange}'
713 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
714
715 - string:
716 name: kindVolthaChange
717 default: '{kindVolthaChange}'
718 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
719
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800720 - string:
721 name: olts
722 default: '{olts}'
723 description: 'How many BBSim instances to run'
724
Kailash8b8de742019-07-30 08:54:51 -0700725 project-type: pipeline
Andy Bavier358aa0b2019-11-22 11:55:39 -0700726 concurrent: true
Kailash8b8de742019-07-30 08:54:51 -0700727
Zack Williamsb3292082019-10-11 17:15:18 -0700728 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailash6be1aa92019-08-05 18:11:11 -0700729
730 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700731 - timed: |
Kailash6be1aa92019-08-05 18:11:11 -0700732 TZ=America/Los_Angeles
Andy Bavier218385e2019-11-13 09:51:38 -0700733 {time-trigger}
Kailashaad71012019-08-27 10:36:53 -0700734
735- job-template:
736 id: 'voltha-patch-test'
Matteo Scandolo84e5f002020-02-10 11:50:05 -0800737 name: 'verify_{project}_sanity-test{name-extension}'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700738 build-node: 'ubuntu18.04-basebuild-4c-8g'
Andy Bavier4318f8d2020-04-09 13:50:53 -0700739 override-branch: '$GERRIT_BRANCH'
Andy Bavier02b00dc2020-04-28 13:01:12 -0700740 sandbox: true
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800741 build-timeout: 20
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700742 volthaSystemTestsChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800743 volthaHelmChartsChange: ''
Matteo Scandolocecb0842021-05-04 13:16:47 -0700744 extraHelmFlags: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800745 branch-regexp: '{all-branches-regexp}'
Kailashaad71012019-08-27 10:36:53 -0700746
747 description: |
748 <!-- Managed by Jenkins Job Builder -->
749 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
750 E2E Validation for Voltha 2.X
751
752 properties:
753 - cord-infra-properties:
754 build-days-to-keep: '{build-days-to-keep}'
755 artifact-num-to-keep: '{artifact-num-to-keep}'
756
757 wrappers:
758 - lf-infra-wrappers:
759 build-timeout: '{build-timeout}'
760 jenkins-ssh-credential: '{jenkins-ssh-credential}'
761
762 parameters:
763 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700764 name: buildNode
Andrea Campanella4792b7f2021-04-23 15:06:42 +0200765 default: '{build-node}'
Kailashaad71012019-08-27 10:36:53 -0700766 description: 'Name of the Jenkins node to run the job on'
767
768 - string:
hwchiu14f97852019-10-08 10:51:11 -0700769 name: gerritProject
770 default: '$GERRIT_PROJECT'
771 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700772
773 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700774 name: gerritRefspec
775 default: '$GERRIT_REFSPEC'
776 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
Kailashaad71012019-08-27 10:36:53 -0700777
778 - string:
Andy Bavierbedd0392019-10-16 13:58:18 -0700779 name: extraHelmFlags
Matteo Scandolocecb0842021-05-04 13:16:47 -0700780 default: '{extraHelmFlags}'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700781 description: 'Helm flags to pass to every helm command'
Andy Bavierbedd0392019-10-16 13:58:18 -0700782
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700783 - string:
784 name: volthaSystemTestsChange
785 default: '{volthaSystemTestsChange}'
786 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
787
788 - string:
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800789 name: volthaHelmChartsChange
790 default: '{volthaHelmChartsChange}'
791 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
792
793 - string:
794 name: branch
795 default: '{override-branch}'
796 description: 'Name of the branch to use'
797
Kailashaad71012019-08-27 10:36:53 -0700798 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -0700799 concurrent: true
Kailashaad71012019-08-27 10:36:53 -0700800
Zack Williamsb3292082019-10-11 17:15:18 -0700801 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -0700802
803 triggers:
Andy Bavierb99c3d32020-02-18 11:14:17 -0700804 - gerrit:
805 server-name: '{gerrit-server-name}'
Kailashaad71012019-08-27 10:36:53 -0700806 dependency-jobs: '{dependency-jobs}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700807 silent-start: true
808 trigger-on:
809 - patchset-created-event:
810 exclude-drafts: true
811 exclude-trivial-rebase: false
812 exclude-no-code-change: true
813 - draft-published-event
814 - comment-added-contains-event:
815 comment-contains-value: '(?i)^.*recheck$'
816 projects:
817 - project-compare-type: REG_EXP
818 project-pattern: '^{project}$'
819 branches:
820 - branch-compare-type: REG_EXP
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800821 branch-pattern: '{branch-regexp}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700822 file-paths:
823 - compare-type: REG_EXP
824 pattern: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700825
826# POD Per Patchset Pipeline Jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700827# to use these parameters in a job: `<<: *voltha-physical-patchset-parameters`
828- voltha-physical-patchset-parameters: &voltha-physical-patchset-parameters
829 name: voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -0700830 parameters:
831 - string:
832 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -0700833 default: '{build-node}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700834 description: 'Pod management node'
835
836 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700837 name: branch
838 default: '$GERRIT_BRANCH'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700839 description: 'Name of the repo branch to use'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700840
841 - string:
842 name: gerritProject
843 default: '$GERRIT_PROJECT'
844 description: 'Name of the Gerrit project'
845
846 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -0700847 name: gerritRefspec
848 default: '$GERRIT_REFSPEC'
849 description: 'RefSpec number in Gerrit'
850
851 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700852 name: gerritComment
853 default: '$GERRIT_EVENT_COMMENT_TEXT'
854 description: 'RefSpec number in Gerrit'
855
856 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700857 name: cordRepoUrl
858 default: '{gerrit-server-url}'
859 description: 'The URL of the CORD Project repository'
860
861 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700862 name: configBaseDir
863 default: 'pod-configs'
864 description: 'The directory inside the POD configs repository'
865
866 - string:
867 name: configDeploymentDir
868 default: 'deployment-configs'
869 description: 'The deployment configs folder'
870
871 - string:
872 name: configKubernetesDir
873 default: 'kubernetes-configs'
874 description: 'The kubernetes config folder'
875
876 - string:
877 name: configFileName
878 default: '{config-pod}'
879 description: 'The config file'
880
881 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700882 name: podName
883 default: '{config-pod}'
884
885 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700886 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -0700887 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700888 description: 'Path of SADIS config to load'
889
890 - string:
Andy Bavier893d2442020-05-21 12:41:17 -0700891 name: oltDebVersionMaster
892 default: '{oltDebVersionMaster}'
893 description: 'OLT Software version to install for master branch builds'
894
895 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700896 name: oltDebVersionVoltha23
Andy Bavier893d2442020-05-21 12:41:17 -0700897 default: '{oltDebVersionVoltha23}'
898 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700899
900 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700901 name: profile
902 default: '{profile}'
903 description: 'Technology Profile pushed to the ETCD'
904
905 - string:
906 name: notificationEmail
907 default: 'andy@opennetworking.org'
908 description: ''
909
910 - bool:
911 name: reinstallOlt
912 default: true
913 description: "Re-install OLT software"
914
Zack Williams03ebb272020-03-27 09:42:33 -0700915 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700916 name: extraRobotArgs
917 default: '{default-test-args}'
918 description: 'Arguments to pass to robot'
919
920 - string:
921 name: volthaSystemTestsChange
922 default: '{volthaSystemTestsChange}'
923 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
924
925 - string:
926 name: volthaHelmChartsChange
927 default: '{volthaHelmChartsChange}'
928 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
929
930 - string:
931 name: workflow
932 default: '{workflow}'
933 description: 'Installs and uses the specified work flow on the POD'
934
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700935 - string:
936 name: extraHelmFlags
937 default: '{extraHelmFlags}'
938 description: 'Helm flags (passed to each helm command)'
939
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700940 # deprecated parameters, remove after VOLTHA-2.8 is released
941 - string:
942 name: deploymentConfigFile
943 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
944 description: 'Path of deployment config file'
945
946 - string:
947 name: kindVolthaValuesFile
948 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
949 description: 'Path of kind-voltha values override file'
950
951 - string:
952 name: manifestUrl
953 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
954 description: 'URL to the repo manifest'
955
956 - string:
957 name: gerritChangeNumber
958 default: '$GERRIT_CHANGE_NUMBER'
959 description: 'Changeset number in Gerrit'
960
961 - string:
962 name: gerritPatchsetNumber
963 default: '$GERRIT_PATCHSET_NUMBER'
964 description: 'PatchSet number in Gerrit'
965
966 - string:
967 name: localConfigDir
968 default: null
969 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
970
971 - string:
972 name: configRepo
973 default: 'pod-configs'
974 description: 'A repository containing the config files, will be checked out if specified'
975
976 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700977 name: manualBranch
978 default: '{manualBranch}'
979 description: "If a non-empty string, build manually as a specific branch, not with a specific patchset"
Andy Bavier51ba7e82019-12-17 11:01:01 -0700980
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700981- job-template:
982 name: '{name}'
983 id: verify_physical_voltha_patchset_auto
984 description: |
985 <!-- Managed by Jenkins Job Builder -->
986 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
987 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
988 Created by Andy Bavier, andy@opennetworking.org <br />
989 Copyright (c) 2019 Open Networking Foundation (ONF)
990 sandbox: true
991 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
992 default-test-args: '-i sanityORDeleteOLT -X'
993 branch-pattern: '{all-branches-regexp}'
994 build-node: 'tucson-pod'
995 config-pod: 'tucson-pod'
996 workflow: 'att'
997 profile: 'Default'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700998 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700999 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
1000 volthaSystemTestsChange: ''
1001 volthaHelmChartsChange: ''
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001002 extraHelmFlags: ''
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001003
1004 properties:
1005 - cord-infra-properties:
1006 build-days-to-keep: '{build-days-to-keep}'
1007 artifact-num-to-keep: '{artifact-num-to-keep}'
1008
1009 <<: *voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -07001010
1011 project-type: pipeline
1012 concurrent: true
1013
1014 dsl: !include-raw-escape: pipeline/{pipeline-script}
1015
1016 triggers:
1017 - gerrit:
1018 server-name: '{gerrit-server-name}'
1019 dependency-jobs: '{dependency-jobs}'
1020 silent-start: false
1021 successful-message: "PASSED hardware test"
1022 failure-message: "FAILED hardware test"
1023 unstable-message: "UNSTABLE hardware test"
1024 trigger-on:
1025 - comment-added-event:
1026 approval-category: 'Code-Review'
1027 approval-value: '+2'
1028 projects:
1029 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001030 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-go)$'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001031 branches:
Andy Bavier37f6ea92020-04-03 11:13:35 -07001032 - branch-compare-type: REG_EXP
Matteo Scandolo5b998a22021-04-22 09:42:40 -07001033 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001034
Andy Bavier51ba7e82019-12-17 11:01:01 -07001035- job-template:
1036 name: '{name}'
1037 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001038 description: |
1039 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001040 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -07001041 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001042 Created by Andy Bavier, andy@opennetworking.org <br />
1043 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001044 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001045 build-node: 'tucson-pod'
1046 config-pod: 'tucson-pod'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -07001047 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001048 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
1049 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001050 trigger-string: 'hardware test'
1051 default-test-args: '-i sanityORDeleteOLT -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001052 branch-pattern: '{all-branches-regexp}'
1053 volthaSystemTestsChange: ''
1054 volthaHelmChartsChange: ''
1055 workflow: 'att'
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001056 extraHelmFlags: ''
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001057
1058 properties:
1059 - cord-infra-properties:
1060 build-days-to-keep: '{build-days-to-keep}'
1061 artifact-num-to-keep: '{artifact-num-to-keep}'
1062
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001063 <<: *voltha-physical-patchset-parameters
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001064
Andy Bavier8c11d462019-12-17 08:19:34 -07001065
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001066 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001067 concurrent: true
1068
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001069 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001070
Andy Bavier1f465592019-11-06 10:03:56 -07001071 triggers:
1072 - gerrit:
1073 server-name: '{gerrit-server-name}'
1074 dependency-jobs: '{dependency-jobs}'
1075 silent-start: false
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001076 successful-message: "PASSED {trigger-string}"
1077 failure-message: "FAILED {trigger-string}"
1078 unstable-message: "UNSTABLE {trigger-string}"
Andy Bavier1f465592019-11-06 10:03:56 -07001079 trigger-on:
1080 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001081 comment-contains-value: '^{trigger-string}$'
Scott Bakerda31d7b2020-01-08 16:35:52 -08001082 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001083 comment-contains-value: '^{trigger-string} with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -07001084 projects:
1085 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001086 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 -07001087 branches:
Andy Bavierfc3ca142020-03-27 13:44:25 -07001088 - branch-compare-type: REG_EXP
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001089 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001090
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001091- job-template:
1092 name: '{name}'
1093 id: build_physical_voltha_manual
1094 description: |
1095 <!-- Managed by Jenkins Job Builder -->
1096 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
1097 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
1098 Created by Andy Bavier, andy@opennetworking.org <br />
1099 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001100 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001101 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001102
1103 properties:
1104 - cord-infra-properties:
1105 build-days-to-keep: '{build-days-to-keep}'
1106 artifact-num-to-keep: '{artifact-num-to-keep}'
1107
1108 parameters:
1109 - string:
1110 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -07001111 default: '{build-node}'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001112 description: 'Pod management node'
1113
1114 - string:
1115 name: manifestUrl
1116 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
1117 description: 'URL to the repo manifest'
1118
1119 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001120 name: branch
1121 default: "$GERRIT_BRANCH"
1122 description: 'Name of the repo manifest branch to use'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001123
1124 - string:
1125 name: gerritProject
1126 default: '$GERRIT_PROJECT'
1127 description: 'Name of the Gerrit project'
1128
1129 - string:
1130 name: gerritChangeNumber
1131 default: '$GERRIT_CHANGE_NUMBER'
1132 description: 'Changeset number in Gerrit'
1133
1134 - string:
1135 name: gerritPatchsetNumber
1136 default: '$GERRIT_PATCHSET_NUMBER'
1137 description: 'PatchSet number in Gerrit'
1138
1139 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -07001140 name: gerritRefspec
1141 default: '$GERRIT_REFSPEC'
1142 description: 'RefSpec number in Gerrit'
1143
1144 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001145 name: cordRepoUrl
1146 default: '{gerrit-server-url}'
1147 description: 'The URL of the CORD Project repository'
1148
1149 - string:
1150 name: podName
1151 default: '{config-pod}'
1152
1153 - string:
1154 name: deploymentConfigFile
1155 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
1156 description: 'Path of deployment config file'
1157
1158 - string:
1159 name: kindVolthaValuesFile
1160 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
1161 description: 'Path of kind-voltha values override file'
1162
1163 - string:
1164 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -07001165 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001166 description: 'Path of SADIS config to load'
1167
1168 - string:
1169 name: localConfigDir
1170 default: null
1171 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
1172
1173 - string:
1174 name: configRepo
1175 default: 'pod-configs'
1176 description: 'A repository containing the config files, will be checked out if specified'
1177
1178 - string:
Andy Bavier893d2442020-05-21 12:41:17 -07001179 name: oltDebVersionMaster
1180 default: '{oltDebVersionMaster}'
1181 description: 'OLT Software version to install for master branch builds'
1182
1183 - string:
1184 name: oltDebVersionVoltha23
1185 default: '{oltDebVersionVoltha23}'
1186 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001187
1188 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001189 name: profile
1190 default: '{profile}'
1191 description: 'Technology Profile pushed to the ETCD'
1192
1193 - string:
1194 name: notificationEmail
1195 default: 'andy@opennetworking.org'
1196 description: ''
1197
1198 - bool:
1199 name: reinstallOlt
1200 default: false
1201 description: "Re-install OLT software"
1202
Zack Williams03ebb272020-03-27 09:42:33 -07001203 - string:
1204 name: manualBranch
1205 default: '{manualBranch}'
1206 description: "If a non-empty string, build manually on a specific branch, not with a specific patchset"
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001207
Andy Bavier8c11d462019-12-17 08:19:34 -07001208 - string:
1209 name: extraRobotArgs
Andy Bavierd2b25fe2020-06-09 07:22:00 -07001210 default: '-e bbsim -X'
Andy Bavier8c11d462019-12-17 08:19:34 -07001211 description: 'Arguments to pass to robot'
1212
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001213 project-type: pipeline
1214 concurrent: true
1215
1216 dsl: !include-raw-escape: pipeline/{pipeline-script}