blob: 665bb3f640382df04f1217f434dd73314278e48a [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 # NOTE why not a remote executor?
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080030 build-node: 'qct-pod4-node2'
Matteo Scandoloa57b0972021-05-03 14:04:58 -070031 registry: 'registry.menlo.onlab.us'
32 volthaSystemTestsChange: refs/changes/92/24492/1
33 testTargets: |
34 - target: functional-single-kind
35 workflow: att
36 flags: ""
37 teardown: true
38 - target: bbsim-alarms-kind
39 workflow: att
40 flags: ""
41 teardown: false
42 - target: bbsim-failurescenarios
43 workflow: att
44 flags: ""
45 teardown: false
46 - target: bbsim-errorscenarios
47 workflow: att
48 flags: ""
49 teardown: false
50
51 - 'voltha-periodic-test':
52 name: 'periodic-voltha-multiple-olts-test-bbsim'
53 # NOTE why not a remote executor?
54 build-node: 'qct-pod4-node2'
55 registry: 'registry.menlo.onlab.us'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080056 code-branch: 'master'
57 olts: 2
Matteo Scandoloa57b0972021-05-03 14:04:58 -070058 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -080059 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -070060 testTargets: |
61 - target: functional-multi-olt
62 workflow: att
63 flags: ""
64 teardown: true
65 - target: bbsim-multiolt-failurescenarios
66 workflow: att
67 flags: ""
68 teardown: false
69 - target: bbsim-multiolt-errorscenarios
70 workflow: att
71 flags: ""
72 teardown: false
73 - target: bbsim-multiolt-kind
74 workflow: att
75 flags: ""
76 teardown: false
Andy Bavierf93f3142020-01-09 16:08:51 -070077
Matteo Scandolo075740f2021-04-22 14:52:29 -070078 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +053079 name: 'periodic-voltha-multiple-olts-test-bbsim-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -070080 pipeline-script: 'voltha/voltha-2.7/voltha-nightly-tests-bbsim.groovy'
Suchitra Vemuri95a73432020-12-16 13:17:48 -080081 build-node: 'qct-pod4-node2'
82 make-target: functional-multi-olt
83 make-target-failtest: bbsim-multiolt-failurescenarios
84 make-target-errortest: bbsim-multiolt-errorscenarios
85 make-target-alarmtest: bbsim-alarms-kind
86 make-target-multipleolt: bbsim-multiolt-kind
87 withAlarms: false
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -070088 code-branch: 'voltha-2.7'
Suchitra Vemuri95a73432020-12-16 13:17:48 -080089 olts: 2
90 onus: 2
91 pons: 2
Suchitra Vemuri5fc1c6a2021-04-13 19:12:38 -070092 time-trigger: "H H * * *"
Suchitra Vemuri95a73432020-12-16 13:17:48 -080093
Matteo Scandoloa57b0972021-05-03 14:04:58 -070094 # openonu Go periodic tests
Suchitra Vemuri95a73432020-12-16 13:17:48 -080095 - 'voltha-periodic-test':
TorstenThieme326e7972021-01-19 14:27:59 +000096 name: 'periodic-voltha-openonu-go-test-bbsim'
TorstenThieme326e7972021-01-19 14:27:59 +000097 code-branch: 'master'
Matteo Scandoloee626e02021-05-05 08:13:16 -070098 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
TorstenThieme326e7972021-01-19 14:27:59 +000099 time-trigger: "H H/12 * * *"
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700100 testTargets: |
101 - target: openonu-go-adapter-test
102 workflow: att
103 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700104 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700105 - target: 1t4gem-openonu-go-adapter-test
106 workflow: att
107 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700108 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700109 - target: 1t8gem-openonu-go-adapter-test
110 workflow: att
111 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700112 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700113 - target: mib-upload-templating-openonu-go-adapter-test
114 workflow: att
115 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700116 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700117 - target: reconcile-openonu-go-adapter-test
118 workflow: att
119 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700120 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700121 - target: reconcile-openonu-go-adapter-test-dt
122 workflow: dt
123 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700124 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700125 - target: reconcile-openonu-go-adapter-test-tt
126 workflow: tt
127 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700128 teardown: true
TorstenThieme326e7972021-01-19 14:27:59 +0000129
130 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700131 name: 'patchset-voltha-openonu-go-test-bbsim'
132 trigger-comment: "voltha test openonu"
133 code-branch: '$GERRIT_BRANCH'
Matteo Scandoloee626e02021-05-05 08:13:16 -0700134 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700135 gerrit-project: '$GERRIT_PROJECT'
136 gerritRefspec: '$GERRIT_REFSPEC'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700137 testTargets: |
138 - target: openonu-go-adapter-test
139 workflow: att
140 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700141 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700142 - target: 1t4gem-openonu-go-adapter-test
143 workflow: att
144 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700145 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700146 - target: 1t8gem-openonu-go-adapter-test
147 workflow: att
148 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700149 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700150 - target: mib-upload-templating-openonu-go-adapter-test
151 workflow: att
152 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700153 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700154 - target: reconcile-openonu-go-adapter-test
155 workflow: att
156 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700157 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700158 - target: reconcile-openonu-go-adapter-test-dt
159 workflow: dt
160 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700161 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700162 - target: reconcile-openonu-go-adapter-test-tt
163 workflow: tt
164 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700165 teardown: true
Matteo Scandolo075740f2021-04-22 14:52:29 -0700166
167 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +0530168 name: 'periodic-voltha-openonu-go-test-bbsim-2.7'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700169 pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700170 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass46d61132021-03-30 16:42:07 +0530171 make-target: openonu-go-adapter-test
172 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
173 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
TorstenThieme45422612021-03-23 10:38:59 +0000174 make-target-reconciletest: reconcile-openonu-go-adapter-test
175 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
176 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +0530177 withAlarms: false
178 code-branch: 'voltha-2.7'
179 time-trigger: "H H/23 * * *"
180
181 - 'voltha-periodic-test':
TorstenThieme669258d2021-01-29 09:03:10 +0000182 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700183 code-branch: 'master'
Matteo Scandoloee626e02021-05-05 08:13:16 -0700184 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700185 olts: 2
186 onus: 2
187 pons: 2
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700188 testTargets: |
189 - target: openonu-go-adapter-multi-olt-test
190 workflow: att
191 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700192 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700193 - target: 1t4gem-openonu-go-adapter-multi-olt-test
194 workflow: att
195 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700196 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700197 - target: 1t8gem-openonu-go-adapter-multi-olt-test
198 workflow: att
199 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700200 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700201 - target: reconcile-openonu-go-adapter-multi-olt-test
202 workflow: att
203 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700204 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700205 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
206 workflow: dt
207 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700208 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700209 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
210 workflow: tt
211 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700212 teardown: true
TorstenThieme669258d2021-01-29 09:03:10 +0000213 time-trigger: "H H/12 * * *"
214
215 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700216 name: 'patchset-voltha-multiple-olts-openonu-go-test-bbsim'
217 trigger-comment: "voltha test openonu multiolt"
218 code-branch: '$GERRIT_BRANCH'
Matteo Scandoloee626e02021-05-05 08:13:16 -0700219 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700220 gerrit-project: '$GERRIT_PROJECT'
221 gerritRefspec: '$GERRIT_REFSPEC'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700222 extraHelmFlags: '--set onu=2,pon=2'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700223 testTargets: |
224 - target: openonu-go-adapter-multi-olt-test
225 workflow: att
226 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700227 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700228 - target: 1t4gem-openonu-go-adapter-multi-olt-test
229 workflow: att
230 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700231 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700232 - target: 1t8gem-openonu-go-adapter-multi-olt-test
233 workflow: att
234 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700235 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700236 - target: reconcile-openonu-go-adapter-multi-olt-test
237 workflow: att
238 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700239 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700240 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
241 workflow: dt
242 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700243 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700244 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
245 workflow: tt
246 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700247 teardown: true
Matteo Scandolo075740f2021-04-22 14:52:29 -0700248 olts: 2
Matteo Scandolo075740f2021-04-22 14:52:29 -0700249
250 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +0530251 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim-2.7'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700252 pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700253 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass46d61132021-03-30 16:42:07 +0530254 make-target: openonu-go-adapter-multi-olt-test
255 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-multi-olt-test
256 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-multi-olt-test
TorstenThieme45422612021-03-23 10:38:59 +0000257 make-target-reconciletest: reconcile-openonu-go-adapter-test
258 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
259 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +0530260 withAlarms: false
261 code-branch: 'voltha-2.7'
262 olts: 2
263 onus: 2
264 pons: 2
265 time-trigger: "H H/23 * * *"
266
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700267 - 'voltha-periodic-test':
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100268 name: 'periodic-voltha-test-DMI'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700269 # NOTE why not a remote executor?
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100270 build-node: 'qct-pod4-node2'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700271 registry: 'registry.menlo.onlab.us'
272 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100273 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800274 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700275 testTargets: |
276 - target: bbsim-dmi-hw-management-test
277 workflow: att
278 flags: ""
279 teardown: true
Andrea Campanellaf3c32af2020-12-10 12:21:57 +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-DMI-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700283 pipeline-script: 'voltha/voltha-2.7/voltha-DMI-bbsim-tests.groovy'
Andrea Campanellae9739492020-12-17 09:54:04 +0100284 build-node: 'qct-pod4-node2'
285 make-target: bbsim-dmi-hw-management-test
286 withAlarms: false
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700287 code-branch: 'voltha-2.7'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800288 time-trigger: "H H/23 * * *"
Andrea Campanellae9739492020-12-17 09:54:04 +0100289
Matteo Scandolo075740f2021-04-22 14:52:29 -0700290 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700291 name: 'periodic-voltha-test-bbsim-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700292 pipeline-script: 'voltha/voltha-2.7/voltha-nightly-tests-bbsim.groovy'
Andy Bavier10926f12020-03-27 16:53:43 -0700293 build-node: 'qct-pod4-node2'
Andy Bavier10926f12020-03-27 16:53:43 -0700294 make-target: functional-single-kind
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800295 make-target-failtest: bbsim-failurescenarios
296 make-target-errortest: bbsim-errorscenarios
297 make-target-alarmtest: bbsim-alarms-kind
298 withAlarms: true
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700299 code-branch: 'voltha-2.7'
Andy Bavier4be37062020-06-29 15:17:26 -0700300 onus: 2
301 pons: 2
Suchitra Vemuri5fc1c6a2021-04-13 19:12:38 -0700302 time-trigger: "H H * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700303
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700304 - 'voltha-periodic-test':
Andy Bavier4be37062020-06-29 15:17:26 -0700305 name: 'periodic-voltha-etcd-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700306 build-node: 'ubuntu18.04-basebuild-4c-8g'
hwchiuc9189b72019-12-02 15:12:29 -0800307 code-branch: 'master'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700308 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
hwchiufdc49242019-11-18 16:37:22 -0800309 time-trigger: "H H/12 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700310 testTargets: |
311 - target: sanity-multi-kind
312 workflow: att
313 flags: ""
314 teardown: true
hwchiufdc49242019-11-18 16:37:22 -0800315
Matteo Scandolo075740f2021-04-22 14:52:29 -0700316 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700317 name: 'periodic-voltha-etcd-test-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700318 pipeline-script: 'voltha/voltha-2.7/voltha-system-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700319 build-node: 'ubuntu18.04-basebuild-4c-8g'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700320 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700321 make-target: sanity-multi-kind
322 onus: 2
323 pons: 2
324 time-trigger: "H H/12 * * *"
325
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700326 - 'voltha-periodic-test':
Andy Bavier3708d072019-12-10 15:22:18 -0700327 name: 'periodic-voltha-sanity-test-multi-runs'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700328 # NOTE why not a remote executor?
Andy Bavier3708d072019-12-10 15:22:18 -0700329 build-node: 'qct-pod4-node2'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700330 registry: 'registry.menlo.onlab.us'
Andy Bavier3708d072019-12-10 15:22:18 -0700331 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800332 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700333 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
334 testTargets: |
335 - target: sanity-kind
336 workflow: att
337 flags: ""
338 teardown: true
339 - target: sanity-kind
340 workflow: att
341 flags: ""
342 teardown: false
343 - target: sanity-kind
344 workflow: att
345 flags: ""
346 teardown: false
347 - target: sanity-kind
348 workflow: att
349 flags: ""
350 teardown: false
351 - target: sanity-kind
352 workflow: att
353 flags: ""
354 teardown: false
Andy Bavier10926f12020-03-27 16:53:43 -0700355
Matteo Scandolo075740f2021-04-22 14:52:29 -0700356 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700357 name: 'periodic-voltha-sanity-test-multi-runs-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700358 pipeline-script: 'voltha/voltha-2.7/voltha-go-multi-tests.groovy'
Andy Bavier10926f12020-03-27 16:53:43 -0700359 build-node: 'qct-pod4-node2'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700360 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700361 make-target: sanity-kind
362 onus: 1
363 pons: 1
364 test-runs: 5
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800365 time-trigger: "H H/23 * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700366
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700367 - 'voltha-periodic-test':
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700368 name: 'nightly-voltha-DTflow-sanity-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700369 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700370 code-branch: 'master'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700371 time-trigger: "@daily"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700372 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
373 testTargets: |
374 - target: sanity-kind-dt
375 workflow: dt
376 flags: ""
377 teardown: true
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700378
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700379 # Per-patchset Pod builds on Tucson pod (master)
Andy Bavier51ba7e82019-12-17 11:01:01 -0700380 - 'verify_physical_voltha_patchset_auto':
381 name: 'verify_physical_voltha_patchset_auto'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800382 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700383
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700384 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
385 - 'verify_physical_voltha_patchset_auto':
386 name: 'verify_physical_voltha_patchset_auto_voltha-2.7'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700387 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700388 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700389 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
390 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
391 branch-pattern: voltha-2.7
392
393 # Per-patchset Pod builds on Tucson pod (master)
394 - 'verify_physical_voltha_patchset_manual':
395 name: 'verify_physical_voltha_patchset_manual'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700396 profile: 'Default'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700397 trigger-string: 'hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800398 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700399 branch-pattern: master
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700400
401
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700402 # Per-patchset Pod builds on Tucson pod (master)
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700403 - 'verify_physical_voltha_patchset_manual':
404 name: 'verify_physical_voltha_patchset_manual_DT'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700405 workflow: 'dt'
406 profile: 'Default'
407 pipeline-script: 'voltha/voltha-2.7/voltha-dt-physical-build-and-tests.groovy'
408 trigger-string: 'DT hardware test'
409 default-test-args: '-i sanityDt -i PowerSwitch -X'
410 branch-pattern: master
411
412 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
413 - 'verify_physical_voltha_patchset_manual':
414 name: 'verify_physical_voltha_patchset_manual_voltha-2.7'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700415 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700416 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700417 profile: 'Default'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700418 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
419 trigger-string: 'hardware test'
420 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
421 branch-pattern: voltha-2.7
422
423
424 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
425 - 'verify_physical_voltha_patchset_manual':
426 name: 'verify_physical_voltha_patchset_manual_DT_voltha-2.7'
427 workflow: 'dt'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700428 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700429 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
430 profile: 'Default'
431 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700432 trigger-string: 'DT hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800433 default-test-args: '-i sanityDt -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700434 branch-pattern: voltha-2.7
Andy Bavier19c98a22019-11-11 13:57:11 -0700435
436 # Manual build job for Tucson pod
437 # Allow local testing without disrupting above job
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700438 - 'build_physical_voltha_manual':
Andy Bavier19c98a22019-11-11 13:57:11 -0700439 name: 'build_tucson-pod_manual'
Andy Bavier19c98a22019-11-11 13:57:11 -0700440 config-pod: 'tucson-pod'
Zack Williams03ebb272020-03-27 09:42:33 -0700441 manualBranch: 'master'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700442 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700443 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavier19c98a22019-11-11 13:57:11 -0700444 profile: 'Default'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800445 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700446
Kailash8b8de742019-07-30 08:54:51 -0700447- job-template:
Kailashaad71012019-08-27 10:36:53 -0700448 id: 'voltha-periodic-test'
449 name: '{name}'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700450 pipeline-script: 'voltha/master/periodic-bbsim-tests.groovy'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700451 build-node: 'ubuntu18.04-basebuild-8c-15g'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700452 robot-args: ''
453 gerrit-project: ''
454 gerritRefspec: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700455 volthaSystemTestsChange: ''
456 volthaHelmChartsChange: ''
457 extraHelmFlags: ''
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700458 registry: mirror.registry.opennetworking.org
Matteo Scandolo075740f2021-04-22 14:52:29 -0700459 sandbox: true
460 olts: 1
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700461
Matteo Scandolo075740f2021-04-22 14:52:29 -0700462 trigger-comment: vv7CBoQQYYonvaN8xcru
463 time-trigger: 0 0 29 2 *
464
465 description: |
466 <!-- Managed by Jenkins Job Builder -->
467 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
468 E2E Validation for Voltha 2.X
469
470 properties:
471 - cord-infra-properties:
472 build-days-to-keep: '{big-build-days-to-keep}'
473 artifact-num-to-keep: '{big-artifact-num-to-keep}'
474
475 wrappers:
476 - lf-infra-wrappers:
477 build-timeout: '{build-timeout}'
478 jenkins-ssh-credential: '{jenkins-ssh-credential}'
479
480 parameters:
481 - string:
482 name: buildNode
483 default: '{build-node}'
484 description: 'Name of the Jenkins node to run the job on'
485
486 - string:
487 name: extraHelmFlags
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700488 default: '{extraHelmFlags}'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700489 description: 'Helm flags (passed to each deployment)'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700490
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700491 # test configuration
492 # this is a parameter to drive the test execution, VOLTHA is redeployed each time with
493 # the provided configuration and then the make target is invoked,
494 # example value (has to be valid YAML):
495 # testTargets: |
496 # - target: openonu-go-adapter-test
497 # workflow: att
498 # flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700499 # teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700500 - text:
501 name: testTargets
502 default: '{testTargets}'
503 description: 'Test configuration, see the ci-management job definition for more info'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700504
505 - string:
506 name: branch
507 default: '{code-branch}'
508 description: 'Repo manifest branch for code checkout'
509
510 - string:
511 name: gerritProject
512 default: '{gerrit-project}'
513 description: 'Name of the Gerrit project'
514
515 - string:
516 name: gerritRefspec
517 default: ''
518 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
519
520 - string:
521 name: extraRobotArgs
522 default: '{robot-args}'
523 description: 'Arguments to pass to robot'
524
525 - string:
526 name: volthaSystemTestsChange
527 default: '{volthaSystemTestsChange}'
528 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
529
530 - string:
531 name: volthaHelmChartsChange
532 default: '{volthaHelmChartsChange}'
533 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
534
535 - string:
536 name: olts
537 default: '{olts}'
538 description: 'How many BBSim instances to run'
539
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700540 - string:
541 name: registry
542 default: '{registry}'
543 description: 'Which registry to use (amazon vs menlo)'
544
Matteo Scandolo075740f2021-04-22 14:52:29 -0700545 project-type: pipeline
546 concurrent: true
547
548 dsl: !include-raw-escape: pipeline/{pipeline-script}
549
550 triggers:
551 # patchset jobs will set this to "0 0 29 2 *" (feb 29th, it's once every 4 years)
552 - timed: |
553 TZ=America/Los_Angeles
554 {time-trigger}
555 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
556 - gerrit:
557 server-name: '{gerrit-server-name}'
558 silent-start: false
559 successful-message: "PASSED openonu-go test"
560 failure-message: "FAILED openonu-go test"
561 unstable-message: "UNSTABLE openonu-go test"
562 trigger-on:
563 - comment-added-contains-event:
564 comment-contains-value: '.*{trigger-comment}.*'
565 projects:
566 - project-compare-type: REG_EXP
567 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter-go|ofagent-go|voltha-onos|bbsim)$'
568 branches:
569 - branch-compare-type: REG_EXP
570 branch-pattern: '{all-branches-regexp}'
571
572- job-template:
573 id: 'voltha-periodic-test-kind-voltha-based'
574 name: '{name}'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700575 pipeline-script: 'voltha/voltha-2.7/voltha-go-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -0700576 test-runs: 1
577 robot-args: ''
Andy Bavierb35171c2020-03-06 15:47:29 -0700578 gerrit-project: ''
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700579 work-flow: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700580 volthaSystemTestsChange: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700581 volthaHelmChartsChange: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700582 kindVolthaChange: ''
Andrea Campanella6d562182020-10-06 18:39:30 +0200583 extraHelmFlags: ''
Andy Bavier02b00dc2020-04-28 13:01:12 -0700584 sandbox: true
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800585 olts: 1
Matteo Scandolob36f0892020-11-23 12:19:48 -0800586 withAlarms: false
Andy Bavierb35171c2020-03-06 15:47:29 -0700587
Kailash8b8de742019-07-30 08:54:51 -0700588 description: |
589 <!-- Managed by Jenkins Job Builder -->
590 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
591 E2E Validation for Voltha 2.X
592
593 properties:
594 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800595 build-days-to-keep: '{big-build-days-to-keep}'
596 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Kailash8b8de742019-07-30 08:54:51 -0700597
598 wrappers:
599 - lf-infra-wrappers:
600 build-timeout: '{build-timeout}'
601 jenkins-ssh-credential: '{jenkins-ssh-credential}'
602
603 parameters:
604 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700605 name: buildNode
Andy Bavier833b78e2019-11-22 17:01:31 -0700606 default: '{build-node}'
Kailash8b8de742019-07-30 08:54:51 -0700607 description: 'Name of the Jenkins node to run the job on'
608
609 - string:
Andy Bavierea26c5c2019-09-18 08:09:17 -0700610 name: extraHelmFlags
Andrea Campanella6d562182020-10-06 18:39:30 +0200611 default: '--set onu={onus},pon={pons},{extraHelmFlags}'
Andy Bavierea26c5c2019-09-18 08:09:17 -0700612 description: 'Helm flags to pass to ./voltha up'
613
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800614 - bool:
615 name: withAlarms
Matteo Scandolob36f0892020-11-23 12:19:48 -0800616 default: '{withAlarms}'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800617 description: "Run alarm based tests when true"
618
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700619 - string:
Andy Bavier218385e2019-11-13 09:51:38 -0700620 name: makeTarget
621 default: '{make-target}'
622 description: 'Makefile target to invoke during test'
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700623
Andy Bavier4c8b3232019-11-22 16:17:47 -0700624 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800625 name: makeFailtestTarget
626 default: '{make-target-failtest}'
627 description: 'Makefile target to invoke during failure/based test'
628
629 - string:
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -0800630 name: makeMultiOltTarget
631 default: '{make-target-multipleolt}'
632 description: 'Makefile target to invoke during multiple olt test'
633
634 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800635 name: makeErrortestTarget
636 default: '{make-target-errortest}'
637 description: 'Makefile target to invoke during error test'
638
639 - string:
640 name: makeAlarmtestTarget
641 default: '{make-target-alarmtest}'
642 description: 'Makefile target to invoke during alarm test'
643
644 - string:
TorstenThieme669258d2021-01-29 09:03:10 +0000645 name: make1t4gemTestTarget
646 default: '{make-target-1t4gemtest}'
647 description: 'Makefile target to invoke during 1t4gem test'
648
649 - string:
650 name: make1t8gemTestTarget
651 default: '{make-target-1t8gemtest}'
652 description: 'Makefile target to invoke during 1t8gem test'
653
654 - string:
TorstenThieme45422612021-03-23 10:38:59 +0000655 name: makeReconcileTestTarget
656 default: '{make-target-reconciletest}'
657 description: 'Makefile target to invoke during reconcile test'
658
659 - string:
660 name: makeReconcileDtTestTarget
661 default: '{make-target-reconciledttest}'
662 description: 'Makefile target to invoke during reconcile dt test'
663
664 - string:
665 name: makeReconcileTtTestTarget
666 default: '{make-target-reconciletttest}'
667 description: 'Makefile target to invoke during reconcile tt test'
668
669 - string:
Andy Bavier4c8b3232019-11-22 16:17:47 -0700670 name: manifestUrl
671 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700672 description: 'Repo manifest URL for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700673
674 - string:
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700675 name: branch
Andy Bavier4c8b3232019-11-22 16:17:47 -0700676 default: '{code-branch}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700677 description: 'Repo manifest branch for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700678
Andy Bavier3708d072019-12-10 15:22:18 -0700679 - string:
Andy Bavierb35171c2020-03-06 15:47:29 -0700680 name: gerritProject
681 default: '{gerrit-project}'
682 description: 'Name of the Gerrit project'
683
684 - string:
685 name: gerritChangeNumber
686 default: ''
687 description: 'Changeset number in Gerrit'
688
689 - string:
690 name: gerritPatchsetNumber
691 default: ''
692 description: 'PatchSet number in Gerrit'
693
694 - string:
Andy Bavier3708d072019-12-10 15:22:18 -0700695 name: testRuns
696 default: '{test-runs}'
697 description: 'How many times to repeat the tests'
698
699 - string:
700 name: extraRobotArgs
701 default: '{robot-args}'
702 description: 'Arguments to pass to robot'
703
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700704 - string:
705 name: workFlow
706 default: '{work-flow}'
707 description: 'Workflow for testcase'
Andy Bavier3708d072019-12-10 15:22:18 -0700708
pierventref48ebc12020-07-17 16:01:32 +0200709 - string:
710 name: karafHome
711 default: '{karaf-home}'
712 description: 'Karaf home'
713
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700714 - string:
715 name: volthaSystemTestsChange
716 default: '{volthaSystemTestsChange}'
717 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
718
719 - string:
720 name: kindVolthaChange
721 default: '{kindVolthaChange}'
722 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
723
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800724 - string:
725 name: olts
726 default: '{olts}'
727 description: 'How many BBSim instances to run'
728
Kailash8b8de742019-07-30 08:54:51 -0700729 project-type: pipeline
Andy Bavier358aa0b2019-11-22 11:55:39 -0700730 concurrent: true
Kailash8b8de742019-07-30 08:54:51 -0700731
Zack Williamsb3292082019-10-11 17:15:18 -0700732 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailash6be1aa92019-08-05 18:11:11 -0700733
734 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700735 - timed: |
Kailash6be1aa92019-08-05 18:11:11 -0700736 TZ=America/Los_Angeles
Andy Bavier218385e2019-11-13 09:51:38 -0700737 {time-trigger}
Kailashaad71012019-08-27 10:36:53 -0700738
739- job-template:
740 id: 'voltha-patch-test'
Matteo Scandolo84e5f002020-02-10 11:50:05 -0800741 name: 'verify_{project}_sanity-test{name-extension}'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700742 build-node: 'ubuntu18.04-basebuild-4c-8g'
Andy Bavier4318f8d2020-04-09 13:50:53 -0700743 override-branch: '$GERRIT_BRANCH'
Andy Bavier02b00dc2020-04-28 13:01:12 -0700744 sandbox: true
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800745 build-timeout: 20
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700746 volthaSystemTestsChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800747 volthaHelmChartsChange: ''
Matteo Scandolocecb0842021-05-04 13:16:47 -0700748 extraHelmFlags: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800749 branch-regexp: '{all-branches-regexp}'
Kailashaad71012019-08-27 10:36:53 -0700750
751 description: |
752 <!-- Managed by Jenkins Job Builder -->
753 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
754 E2E Validation for Voltha 2.X
755
756 properties:
757 - cord-infra-properties:
758 build-days-to-keep: '{build-days-to-keep}'
759 artifact-num-to-keep: '{artifact-num-to-keep}'
760
761 wrappers:
762 - lf-infra-wrappers:
763 build-timeout: '{build-timeout}'
764 jenkins-ssh-credential: '{jenkins-ssh-credential}'
765
766 parameters:
767 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700768 name: buildNode
Andrea Campanella4792b7f2021-04-23 15:06:42 +0200769 default: '{build-node}'
Kailashaad71012019-08-27 10:36:53 -0700770 description: 'Name of the Jenkins node to run the job on'
771
772 - string:
hwchiu14f97852019-10-08 10:51:11 -0700773 name: gerritProject
774 default: '$GERRIT_PROJECT'
775 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700776
777 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700778 name: gerritRefspec
779 default: '$GERRIT_REFSPEC'
780 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
Kailashaad71012019-08-27 10:36:53 -0700781
782 - string:
Andy Bavierbedd0392019-10-16 13:58:18 -0700783 name: extraHelmFlags
Matteo Scandolocecb0842021-05-04 13:16:47 -0700784 default: '{extraHelmFlags}'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700785 description: 'Helm flags to pass to every helm command'
Andy Bavierbedd0392019-10-16 13:58:18 -0700786
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700787 - string:
788 name: volthaSystemTestsChange
789 default: '{volthaSystemTestsChange}'
790 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
791
792 - string:
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800793 name: volthaHelmChartsChange
794 default: '{volthaHelmChartsChange}'
795 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
796
797 - string:
798 name: branch
799 default: '{override-branch}'
800 description: 'Name of the branch to use'
801
Kailashaad71012019-08-27 10:36:53 -0700802 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -0700803 concurrent: true
Kailashaad71012019-08-27 10:36:53 -0700804
Zack Williamsb3292082019-10-11 17:15:18 -0700805 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -0700806
807 triggers:
Andy Bavierb99c3d32020-02-18 11:14:17 -0700808 - gerrit:
809 server-name: '{gerrit-server-name}'
Kailashaad71012019-08-27 10:36:53 -0700810 dependency-jobs: '{dependency-jobs}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700811 silent-start: true
812 trigger-on:
813 - patchset-created-event:
814 exclude-drafts: true
815 exclude-trivial-rebase: false
816 exclude-no-code-change: true
817 - draft-published-event
818 - comment-added-contains-event:
819 comment-contains-value: '(?i)^.*recheck$'
820 projects:
821 - project-compare-type: REG_EXP
822 project-pattern: '^{project}$'
823 branches:
824 - branch-compare-type: REG_EXP
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800825 branch-pattern: '{branch-regexp}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700826 file-paths:
827 - compare-type: REG_EXP
828 pattern: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700829
830# POD Per Patchset Pipeline Jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700831# to use these parameters in a job: `<<: *voltha-physical-patchset-parameters`
832- voltha-physical-patchset-parameters: &voltha-physical-patchset-parameters
833 name: voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -0700834 parameters:
835 - string:
836 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -0700837 default: '{build-node}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700838 description: 'Pod management node'
839
840 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700841 name: branch
842 default: '$GERRIT_BRANCH'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700843 description: 'Name of the repo branch to use'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700844
845 - string:
846 name: gerritProject
847 default: '$GERRIT_PROJECT'
848 description: 'Name of the Gerrit project'
849
850 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -0700851 name: gerritRefspec
852 default: '$GERRIT_REFSPEC'
853 description: 'RefSpec number in Gerrit'
854
855 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700856 name: gerritComment
857 default: '$GERRIT_EVENT_COMMENT_TEXT'
858 description: 'RefSpec number in Gerrit'
859
860 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700861 name: cordRepoUrl
862 default: '{gerrit-server-url}'
863 description: 'The URL of the CORD Project repository'
864
865 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700866 name: configBaseDir
867 default: 'pod-configs'
868 description: 'The directory inside the POD configs repository'
869
870 - string:
871 name: configDeploymentDir
872 default: 'deployment-configs'
873 description: 'The deployment configs folder'
874
875 - string:
876 name: configKubernetesDir
877 default: 'kubernetes-configs'
878 description: 'The kubernetes config folder'
879
880 - string:
881 name: configFileName
882 default: '{config-pod}'
883 description: 'The config file'
884
885 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700886 name: podName
887 default: '{config-pod}'
888
889 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700890 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -0700891 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700892 description: 'Path of SADIS config to load'
893
894 - string:
Andy Bavier893d2442020-05-21 12:41:17 -0700895 name: oltDebVersionMaster
896 default: '{oltDebVersionMaster}'
897 description: 'OLT Software version to install for master branch builds'
898
899 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700900 name: oltDebVersionVoltha23
Andy Bavier893d2442020-05-21 12:41:17 -0700901 default: '{oltDebVersionVoltha23}'
902 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700903
904 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700905 name: profile
906 default: '{profile}'
907 description: 'Technology Profile pushed to the ETCD'
908
909 - string:
910 name: notificationEmail
911 default: 'andy@opennetworking.org'
912 description: ''
913
914 - bool:
915 name: reinstallOlt
916 default: true
917 description: "Re-install OLT software"
918
Zack Williams03ebb272020-03-27 09:42:33 -0700919 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700920 name: extraRobotArgs
921 default: '{default-test-args}'
922 description: 'Arguments to pass to robot'
923
924 - string:
925 name: volthaSystemTestsChange
926 default: '{volthaSystemTestsChange}'
927 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
928
929 - string:
930 name: volthaHelmChartsChange
931 default: '{volthaHelmChartsChange}'
932 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
933
934 - string:
935 name: workflow
936 default: '{workflow}'
937 description: 'Installs and uses the specified work flow on the POD'
938
939 # deprecated parameters, remove after VOLTHA-2.8 is released
940 - string:
941 name: deploymentConfigFile
942 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
943 description: 'Path of deployment config file'
944
945 - string:
946 name: kindVolthaValuesFile
947 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
948 description: 'Path of kind-voltha values override file'
949
950 - string:
951 name: manifestUrl
952 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
953 description: 'URL to the repo manifest'
954
955 - string:
956 name: gerritChangeNumber
957 default: '$GERRIT_CHANGE_NUMBER'
958 description: 'Changeset number in Gerrit'
959
960 - string:
961 name: gerritPatchsetNumber
962 default: '$GERRIT_PATCHSET_NUMBER'
963 description: 'PatchSet number in Gerrit'
964
965 - string:
966 name: localConfigDir
967 default: null
968 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
969
970 - string:
971 name: configRepo
972 default: 'pod-configs'
973 description: 'A repository containing the config files, will be checked out if specified'
974
975 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700976 name: manualBranch
977 default: '{manualBranch}'
978 description: "If a non-empty string, build manually as a specific branch, not with a specific patchset"
Andy Bavier51ba7e82019-12-17 11:01:01 -0700979
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700980- job-template:
981 name: '{name}'
982 id: verify_physical_voltha_patchset_auto
983 description: |
984 <!-- Managed by Jenkins Job Builder -->
985 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
986 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
987 Created by Andy Bavier, andy@opennetworking.org <br />
988 Copyright (c) 2019 Open Networking Foundation (ONF)
989 sandbox: true
990 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
991 default-test-args: '-i sanityORDeleteOLT -X'
992 branch-pattern: '{all-branches-regexp}'
993 build-node: 'tucson-pod'
994 config-pod: 'tucson-pod'
995 workflow: 'att'
996 profile: 'Default'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700997 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700998 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
999 volthaSystemTestsChange: ''
1000 volthaHelmChartsChange: ''
1001
1002 properties:
1003 - cord-infra-properties:
1004 build-days-to-keep: '{build-days-to-keep}'
1005 artifact-num-to-keep: '{artifact-num-to-keep}'
1006
1007 <<: *voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -07001008
1009 project-type: pipeline
1010 concurrent: true
1011
1012 dsl: !include-raw-escape: pipeline/{pipeline-script}
1013
1014 triggers:
1015 - gerrit:
1016 server-name: '{gerrit-server-name}'
1017 dependency-jobs: '{dependency-jobs}'
1018 silent-start: false
1019 successful-message: "PASSED hardware test"
1020 failure-message: "FAILED hardware test"
1021 unstable-message: "UNSTABLE hardware test"
1022 trigger-on:
1023 - comment-added-event:
1024 approval-category: 'Code-Review'
1025 approval-value: '+2'
1026 projects:
1027 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001028 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-go)$'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001029 branches:
Andy Bavier37f6ea92020-04-03 11:13:35 -07001030 - branch-compare-type: REG_EXP
Matteo Scandolo5b998a22021-04-22 09:42:40 -07001031 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001032
Andy Bavier51ba7e82019-12-17 11:01:01 -07001033- job-template:
1034 name: '{name}'
1035 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001036 description: |
1037 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001038 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -07001039 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001040 Created by Andy Bavier, andy@opennetworking.org <br />
1041 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001042 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001043 build-node: 'tucson-pod'
1044 config-pod: 'tucson-pod'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -07001045 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001046 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
1047 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001048 trigger-string: 'hardware test'
1049 default-test-args: '-i sanityORDeleteOLT -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001050 branch-pattern: '{all-branches-regexp}'
1051 volthaSystemTestsChange: ''
1052 volthaHelmChartsChange: ''
1053 workflow: 'att'
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001054
1055 properties:
1056 - cord-infra-properties:
1057 build-days-to-keep: '{build-days-to-keep}'
1058 artifact-num-to-keep: '{artifact-num-to-keep}'
1059
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001060 <<: *voltha-physical-patchset-parameters
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001061
Andy Bavier8c11d462019-12-17 08:19:34 -07001062
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001063 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001064 concurrent: true
1065
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001066 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001067
Andy Bavier1f465592019-11-06 10:03:56 -07001068 triggers:
1069 - gerrit:
1070 server-name: '{gerrit-server-name}'
1071 dependency-jobs: '{dependency-jobs}'
1072 silent-start: false
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001073 successful-message: "PASSED {trigger-string}"
1074 failure-message: "FAILED {trigger-string}"
1075 unstable-message: "UNSTABLE {trigger-string}"
Andy Bavier1f465592019-11-06 10:03:56 -07001076 trigger-on:
1077 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001078 comment-contains-value: '^{trigger-string}$'
Scott Bakerda31d7b2020-01-08 16:35:52 -08001079 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001080 comment-contains-value: '^{trigger-string} with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -07001081 projects:
1082 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001083 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 -07001084 branches:
Andy Bavierfc3ca142020-03-27 13:44:25 -07001085 - branch-compare-type: REG_EXP
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001086 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001087
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001088- job-template:
1089 name: '{name}'
1090 id: build_physical_voltha_manual
1091 description: |
1092 <!-- Managed by Jenkins Job Builder -->
1093 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
1094 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
1095 Created by Andy Bavier, andy@opennetworking.org <br />
1096 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001097 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001098 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001099
1100 properties:
1101 - cord-infra-properties:
1102 build-days-to-keep: '{build-days-to-keep}'
1103 artifact-num-to-keep: '{artifact-num-to-keep}'
1104
1105 parameters:
1106 - string:
1107 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -07001108 default: '{build-node}'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001109 description: 'Pod management node'
1110
1111 - string:
1112 name: manifestUrl
1113 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
1114 description: 'URL to the repo manifest'
1115
1116 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001117 name: branch
1118 default: "$GERRIT_BRANCH"
1119 description: 'Name of the repo manifest branch to use'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001120
1121 - string:
1122 name: gerritProject
1123 default: '$GERRIT_PROJECT'
1124 description: 'Name of the Gerrit project'
1125
1126 - string:
1127 name: gerritChangeNumber
1128 default: '$GERRIT_CHANGE_NUMBER'
1129 description: 'Changeset number in Gerrit'
1130
1131 - string:
1132 name: gerritPatchsetNumber
1133 default: '$GERRIT_PATCHSET_NUMBER'
1134 description: 'PatchSet number in Gerrit'
1135
1136 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -07001137 name: gerritRefspec
1138 default: '$GERRIT_REFSPEC'
1139 description: 'RefSpec number in Gerrit'
1140
1141 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001142 name: cordRepoUrl
1143 default: '{gerrit-server-url}'
1144 description: 'The URL of the CORD Project repository'
1145
1146 - string:
1147 name: podName
1148 default: '{config-pod}'
1149
1150 - string:
1151 name: deploymentConfigFile
1152 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
1153 description: 'Path of deployment config file'
1154
1155 - string:
1156 name: kindVolthaValuesFile
1157 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
1158 description: 'Path of kind-voltha values override file'
1159
1160 - string:
1161 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -07001162 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001163 description: 'Path of SADIS config to load'
1164
1165 - string:
1166 name: localConfigDir
1167 default: null
1168 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
1169
1170 - string:
1171 name: configRepo
1172 default: 'pod-configs'
1173 description: 'A repository containing the config files, will be checked out if specified'
1174
1175 - string:
Andy Bavier893d2442020-05-21 12:41:17 -07001176 name: oltDebVersionMaster
1177 default: '{oltDebVersionMaster}'
1178 description: 'OLT Software version to install for master branch builds'
1179
1180 - string:
1181 name: oltDebVersionVoltha23
1182 default: '{oltDebVersionVoltha23}'
1183 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001184
1185 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001186 name: profile
1187 default: '{profile}'
1188 description: 'Technology Profile pushed to the ETCD'
1189
1190 - string:
1191 name: notificationEmail
1192 default: 'andy@opennetworking.org'
1193 description: ''
1194
1195 - bool:
1196 name: reinstallOlt
1197 default: false
1198 description: "Re-install OLT software"
1199
Zack Williams03ebb272020-03-27 09:42:33 -07001200 - string:
1201 name: manualBranch
1202 default: '{manualBranch}'
1203 description: "If a non-empty string, build manually on a specific branch, not with a specific patchset"
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001204
Andy Bavier8c11d462019-12-17 08:19:34 -07001205 - string:
1206 name: extraRobotArgs
Andy Bavierd2b25fe2020-06-09 07:22:00 -07001207 default: '-e bbsim -X'
Andy Bavier8c11d462019-12-17 08:19:34 -07001208 description: 'Arguments to pass to robot'
1209
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001210 project-type: pipeline
1211 concurrent: true
1212
1213 dsl: !include-raw-escape: pipeline/{pipeline-script}