blob: c7001de2cdbd0ea669cae0e98ffa2a4711f06366 [file] [log] [blame]
Kailash8b8de742019-07-30 08:54:51 -07001---
2# voltha 2.0 tests
3
4- project:
5 name: voltha-e2e
6
7 project-name: '{name}'
Zack Williams03ebb272020-03-27 09:42:33 -07008 manualBranch: ''
Suchitra Vemuri456b6b42020-11-10 19:06:22 -08009 olts: 1
Andrea Campanellaf3c32af2020-12-10 12:21:57 +010010 onus: 1
11 pons: 1
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080012 withAlarms: true
13 make-target-failtest: bbsim-failurescenarios
14 make-target-errortest: bbsim-errorscenarios
15 make-target-alarmtest: bbsim-alarms-kind
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -080016 make-target-multipleolt: bbsim-multiolt-kind
TorstenThieme669258d2021-01-29 09:03:10 +000017 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
18 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
TorstenThiemea6c21342021-05-05 09:21:59 +000019 make-target-reconciletest: reconcile-openonu-go-adapter-test-att
TorstenThieme45422612021-03-23 10:38:59 +000020 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
21 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
Kailash8b8de742019-07-30 08:54:51 -070022
23 jobs:
Matteo Scandoloa57b0972021-05-03 14:04:58 -070024 - 'voltha-periodic-test':
Hung-Wei Chiu5ec2edf2020-04-30 14:53:13 -070025 name: 'periodic-voltha-test-bbsim'
Hung-Wei Chiu5ec2edf2020-04-30 14:53:13 -070026 code-branch: 'master'
Hardik Windlass696002d2021-05-07 11:38:28 +000027 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -080028 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -070029 testTargets: |
30 - target: functional-single-kind
31 workflow: att
32 flags: ""
33 teardown: true
34 - target: bbsim-alarms-kind
35 workflow: att
36 flags: ""
37 teardown: false
38 - target: bbsim-failurescenarios
39 workflow: att
40 flags: ""
41 teardown: false
42 - target: bbsim-errorscenarios
43 workflow: att
44 flags: ""
45 teardown: false
46
47 - 'voltha-periodic-test':
48 name: 'periodic-voltha-multiple-olts-test-bbsim'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080049 code-branch: 'master'
50 olts: 2
Matteo Scandoloa57b0972021-05-03 14:04:58 -070051 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -080052 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -070053 testTargets: |
54 - target: functional-multi-olt
55 workflow: att
56 flags: ""
57 teardown: true
58 - target: bbsim-multiolt-failurescenarios
59 workflow: att
60 flags: ""
61 teardown: false
62 - target: bbsim-multiolt-errorscenarios
63 workflow: att
64 flags: ""
65 teardown: false
66 - target: bbsim-multiolt-kind
67 workflow: att
68 flags: ""
69 teardown: false
Andy Bavierf93f3142020-01-09 16:08:51 -070070
Matteo Scandolo075740f2021-04-22 14:52:29 -070071 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +053072 name: 'periodic-voltha-multiple-olts-test-bbsim-2.7'
Matteo Scandoloa57b0972021-05-03 14:04:58 -070073 pipeline-script: 'voltha/voltha-2.7/voltha-nightly-tests-bbsim.groovy'
Suchitra Vemuri95a73432020-12-16 13:17:48 -080074 build-node: 'qct-pod4-node2'
75 make-target: functional-multi-olt
76 make-target-failtest: bbsim-multiolt-failurescenarios
77 make-target-errortest: bbsim-multiolt-errorscenarios
78 make-target-alarmtest: bbsim-alarms-kind
79 make-target-multipleolt: bbsim-multiolt-kind
80 withAlarms: false
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -070081 code-branch: 'voltha-2.7'
Suchitra Vemuri95a73432020-12-16 13:17:48 -080082 olts: 2
83 onus: 2
84 pons: 2
Suchitra Vemuri5fc1c6a2021-04-13 19:12:38 -070085 time-trigger: "H H * * *"
Suchitra Vemuri95a73432020-12-16 13:17:48 -080086
Matteo Scandoloa57b0972021-05-03 14:04:58 -070087 # openonu Go periodic tests
Suchitra Vemuri95a73432020-12-16 13:17:48 -080088 - 'voltha-periodic-test':
TorstenThieme326e7972021-01-19 14:27:59 +000089 name: 'periodic-voltha-openonu-go-test-bbsim'
TorstenThieme326e7972021-01-19 14:27:59 +000090 code-branch: 'master'
Matteo Scandoloee626e02021-05-05 08:13:16 -070091 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
TorstenThieme326e7972021-01-19 14:27:59 +000092 time-trigger: "H H/12 * * *"
Hardik Windlass696002d2021-05-07 11:38:28 +000093 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -070094 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +000095 - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -070096 workflow: att
97 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -070098 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -070099 - target: 1t4gem-openonu-go-adapter-test
100 workflow: att
101 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700102 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700103 - target: 1t8gem-openonu-go-adapter-test
104 workflow: att
105 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700106 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700107 - target: mib-upload-templating-openonu-go-adapter-test
108 workflow: att
109 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700110 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000111 - target: reconcile-openonu-go-adapter-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700112 workflow: att
113 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700114 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700115 - target: reconcile-openonu-go-adapter-test-dt
116 workflow: dt
117 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700118 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700119 - target: reconcile-openonu-go-adapter-test-tt
120 workflow: tt
121 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700122 teardown: true
TorstenThieme326e7972021-01-19 14:27:59 +0000123
124 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700125 name: 'patchset-voltha-openonu-go-test-bbsim'
Hardik Windlass8c3813b2021-05-07 08:13:37 +0000126 trigger-comment: "voltha test openonu singleolt"
Matteo Scandolo075740f2021-04-22 14:52:29 -0700127 code-branch: '$GERRIT_BRANCH'
Matteo Scandoloee626e02021-05-05 08:13:16 -0700128 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700129 gerrit-project: '$GERRIT_PROJECT'
130 gerritRefspec: '$GERRIT_REFSPEC'
Hardik Windlass696002d2021-05-07 11:38:28 +0000131 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700132 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000133 - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700134 workflow: att
135 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700136 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700137 - target: 1t4gem-openonu-go-adapter-test
138 workflow: att
139 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700140 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700141 - target: 1t8gem-openonu-go-adapter-test
142 workflow: att
143 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700144 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700145 - target: mib-upload-templating-openonu-go-adapter-test
146 workflow: att
147 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700148 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000149 - target: reconcile-openonu-go-adapter-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700150 workflow: att
151 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700152 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700153 - target: reconcile-openonu-go-adapter-test-dt
154 workflow: dt
155 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700156 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700157 - target: reconcile-openonu-go-adapter-test-tt
158 workflow: tt
159 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700160 teardown: true
Matteo Scandolo075740f2021-04-22 14:52:29 -0700161
162 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +0530163 name: 'periodic-voltha-openonu-go-test-bbsim-2.7'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700164 pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700165 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass46d61132021-03-30 16:42:07 +0530166 make-target: openonu-go-adapter-test
167 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
168 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
TorstenThieme45422612021-03-23 10:38:59 +0000169 make-target-reconciletest: reconcile-openonu-go-adapter-test
170 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
171 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +0530172 withAlarms: false
173 code-branch: 'voltha-2.7'
174 time-trigger: "H H/23 * * *"
175
176 - 'voltha-periodic-test':
TorstenThieme669258d2021-01-29 09:03:10 +0000177 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700178 code-branch: 'master'
Hardik Windlass696002d2021-05-07 11:38:28 +0000179 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700180 olts: 2
Hardik Windlass696002d2021-05-07 11:38:28 +0000181 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700182 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000183 - target: 1t1gem-openonu-go-adapter-multi-olt-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700184 workflow: att
185 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700186 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700187 - target: 1t4gem-openonu-go-adapter-multi-olt-test
188 workflow: att
189 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700190 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700191 - target: 1t8gem-openonu-go-adapter-multi-olt-test
192 workflow: att
193 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700194 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000195 - target: reconcile-openonu-go-adapter-multi-olt-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700196 workflow: att
197 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700198 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700199 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
200 workflow: dt
201 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700202 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700203 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
204 workflow: tt
205 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700206 teardown: true
TorstenThieme669258d2021-01-29 09:03:10 +0000207 time-trigger: "H H/12 * * *"
208
209 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700210 name: 'patchset-voltha-multiple-olts-openonu-go-test-bbsim'
211 trigger-comment: "voltha test openonu multiolt"
212 code-branch: '$GERRIT_BRANCH'
Hardik Windlass696002d2021-05-07 11:38:28 +0000213 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700214 gerrit-project: '$GERRIT_PROJECT'
215 gerritRefspec: '$GERRIT_REFSPEC'
Hardik Windlass696002d2021-05-07 11:38:28 +0000216 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700217 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000218 - target: 1t1gem-openonu-go-adapter-multi-olt-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700219 workflow: att
220 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700221 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700222 - target: 1t4gem-openonu-go-adapter-multi-olt-test
223 workflow: att
224 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700225 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700226 - target: 1t8gem-openonu-go-adapter-multi-olt-test
227 workflow: att
228 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700229 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000230 - target: reconcile-openonu-go-adapter-multi-olt-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700231 workflow: att
232 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700233 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700234 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
235 workflow: dt
236 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700237 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700238 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
239 workflow: tt
240 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700241 teardown: true
Matteo Scandolo075740f2021-04-22 14:52:29 -0700242 olts: 2
Matteo Scandolo075740f2021-04-22 14:52:29 -0700243
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
TorstenThiemea6c21342021-05-05 09:21:59 +0000251 make-target-reconciletest: reconcile-openonu-go-adapter-multi-olt-test
252 make-target-reconciledttest: reconcile-openonu-go-adapter-multi-olt-test-dt
253 make-target-reconciletttest: reconcile-openonu-go-adapter-multi-olt-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 Scandolob6d80732021-05-05 14:06:42 -0700365 # ATT 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'
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700368 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700369 workflow: 'att'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700370
Matteo Scandolob6d80732021-05-05 14:06:42 -0700371 # ATT Per-patchset Pod builds on Tucson pod (voltha-2.7)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700372 - '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 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
377 branch-pattern: voltha-2.7
Matteo Scandolob6d80732021-05-05 14:06:42 -0700378 workflow: 'att'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700379
Matteo Scandolob6d80732021-05-05 14:06:42 -0700380 # ATT Manual Pod builds on Tucson pod (master)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700381 - 'verify_physical_voltha_patchset_manual':
382 name: 'verify_physical_voltha_patchset_manual'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700383 trigger-string: 'hardware test'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700384 branch-pattern: master
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700385 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700386 workflow: 'att'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700387
Matteo Scandolob6d80732021-05-05 14:06:42 -0700388 # ATT Manual Pod builds on Tucson pod (voltha-2.7)
389 - 'verify_physical_voltha_patchset_manual':
390 name: 'verify_physical_voltha_patchset_manual_voltha-2.7'
391 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
392 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
393 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
394 trigger-string: 'hardware test'
395 branch-pattern: voltha-2.7
396 workflow: 'att'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700397
Matteo Scandolob6d80732021-05-05 14:06:42 -0700398 # DT Manual Pod builds on Tucson pod (master)
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700399 - 'verify_physical_voltha_patchset_manual':
400 name: 'verify_physical_voltha_patchset_manual_DT'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700401 workflow: 'dt'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700402 trigger-string: 'DT hardware test'
403 default-test-args: '-i sanityDt -i PowerSwitch -X'
404 branch-pattern: master
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700405 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700406
Matteo Scandolob6d80732021-05-05 14:06:42 -0700407 # DT Per-patchset Pod builds on Tucson pod (voltha-2.7)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700408 - 'verify_physical_voltha_patchset_manual':
409 name: 'verify_physical_voltha_patchset_manual_DT_voltha-2.7'
410 workflow: 'dt'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700411 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700412 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700413 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700414 trigger-string: 'DT hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800415 default-test-args: '-i sanityDt -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700416 branch-pattern: voltha-2.7
Andy Bavier19c98a22019-11-11 13:57:11 -0700417
Kailash8b8de742019-07-30 08:54:51 -0700418- job-template:
Kailashaad71012019-08-27 10:36:53 -0700419 id: 'voltha-periodic-test'
420 name: '{name}'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700421 pipeline-script: 'voltha/master/periodic-bbsim-tests.groovy'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700422 build-node: 'ubuntu18.04-basebuild-8c-15g'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700423 robot-args: ''
424 gerrit-project: ''
425 gerritRefspec: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700426 volthaSystemTestsChange: ''
427 volthaHelmChartsChange: ''
428 extraHelmFlags: ''
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700429 registry: mirror.registry.opennetworking.org
Matteo Scandolo075740f2021-04-22 14:52:29 -0700430 sandbox: true
431 olts: 1
Hardik Windlass696002d2021-05-07 11:38:28 +0000432 logLevel: 'INFO'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700433
Matteo Scandolo075740f2021-04-22 14:52:29 -0700434 trigger-comment: vv7CBoQQYYonvaN8xcru
435 time-trigger: 0 0 29 2 *
436
437 description: |
438 <!-- Managed by Jenkins Job Builder -->
439 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
440 E2E Validation for Voltha 2.X
441
442 properties:
443 - cord-infra-properties:
444 build-days-to-keep: '{big-build-days-to-keep}'
445 artifact-num-to-keep: '{big-artifact-num-to-keep}'
446
447 wrappers:
448 - lf-infra-wrappers:
449 build-timeout: '{build-timeout}'
450 jenkins-ssh-credential: '{jenkins-ssh-credential}'
451
452 parameters:
453 - string:
454 name: buildNode
455 default: '{build-node}'
456 description: 'Name of the Jenkins node to run the job on'
457
458 - string:
459 name: extraHelmFlags
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700460 default: '{extraHelmFlags}'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700461 description: 'Helm flags (passed to each deployment)'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700462
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700463 # test configuration
464 # this is a parameter to drive the test execution, VOLTHA is redeployed each time with
465 # the provided configuration and then the make target is invoked,
466 # example value (has to be valid YAML):
467 # testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000468 # - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700469 # workflow: att
470 # flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700471 # teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700472 - text:
473 name: testTargets
474 default: '{testTargets}'
475 description: 'Test configuration, see the ci-management job definition for more info'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700476
477 - string:
478 name: branch
479 default: '{code-branch}'
480 description: 'Repo manifest branch for code checkout'
481
482 - string:
483 name: gerritProject
484 default: '{gerrit-project}'
485 description: 'Name of the Gerrit project'
486
487 - string:
488 name: gerritRefspec
489 default: ''
490 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
491
492 - string:
493 name: extraRobotArgs
494 default: '{robot-args}'
495 description: 'Arguments to pass to robot'
496
497 - string:
498 name: volthaSystemTestsChange
499 default: '{volthaSystemTestsChange}'
500 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
501
502 - string:
503 name: volthaHelmChartsChange
504 default: '{volthaHelmChartsChange}'
505 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
506
507 - string:
508 name: olts
509 default: '{olts}'
510 description: 'How many BBSim instances to run'
511
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700512 - string:
513 name: registry
514 default: '{registry}'
515 description: 'Which registry to use (amazon vs menlo)'
516
Hardik Windlass696002d2021-05-07 11:38:28 +0000517 - string:
518 name: logLevel
519 default: '{logLevel}'
520 description: 'Log level for all the components'
521
Matteo Scandolo075740f2021-04-22 14:52:29 -0700522 project-type: pipeline
523 concurrent: true
524
525 dsl: !include-raw-escape: pipeline/{pipeline-script}
526
527 triggers:
528 # patchset jobs will set this to "0 0 29 2 *" (feb 29th, it's once every 4 years)
529 - timed: |
530 TZ=America/Los_Angeles
531 {time-trigger}
532 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
533 - gerrit:
534 server-name: '{gerrit-server-name}'
535 silent-start: false
536 successful-message: "PASSED openonu-go test"
537 failure-message: "FAILED openonu-go test"
538 unstable-message: "UNSTABLE openonu-go test"
539 trigger-on:
540 - comment-added-contains-event:
541 comment-contains-value: '.*{trigger-comment}.*'
542 projects:
543 - project-compare-type: REG_EXP
544 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter-go|ofagent-go|voltha-onos|bbsim)$'
545 branches:
546 - branch-compare-type: REG_EXP
547 branch-pattern: '{all-branches-regexp}'
548
549- job-template:
550 id: 'voltha-periodic-test-kind-voltha-based'
551 name: '{name}'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700552 pipeline-script: 'voltha/voltha-2.7/voltha-go-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -0700553 test-runs: 1
554 robot-args: ''
Andy Bavierb35171c2020-03-06 15:47:29 -0700555 gerrit-project: ''
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700556 work-flow: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700557 volthaSystemTestsChange: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700558 volthaHelmChartsChange: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700559 kindVolthaChange: ''
Andrea Campanella6d562182020-10-06 18:39:30 +0200560 extraHelmFlags: ''
Andy Bavier02b00dc2020-04-28 13:01:12 -0700561 sandbox: true
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800562 olts: 1
Matteo Scandolob36f0892020-11-23 12:19:48 -0800563 withAlarms: false
Andy Bavierb35171c2020-03-06 15:47:29 -0700564
Kailash8b8de742019-07-30 08:54:51 -0700565 description: |
566 <!-- Managed by Jenkins Job Builder -->
567 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
568 E2E Validation for Voltha 2.X
569
570 properties:
571 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800572 build-days-to-keep: '{big-build-days-to-keep}'
573 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Kailash8b8de742019-07-30 08:54:51 -0700574
575 wrappers:
576 - lf-infra-wrappers:
577 build-timeout: '{build-timeout}'
578 jenkins-ssh-credential: '{jenkins-ssh-credential}'
579
580 parameters:
581 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700582 name: buildNode
Andy Bavier833b78e2019-11-22 17:01:31 -0700583 default: '{build-node}'
Kailash8b8de742019-07-30 08:54:51 -0700584 description: 'Name of the Jenkins node to run the job on'
585
586 - string:
Andy Bavierea26c5c2019-09-18 08:09:17 -0700587 name: extraHelmFlags
Andrea Campanellae9517922021-05-06 10:01:44 +0200588 default: '--set onu={onus},pon={pons} {extraHelmFlags}'
Andy Bavierea26c5c2019-09-18 08:09:17 -0700589 description: 'Helm flags to pass to ./voltha up'
590
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800591 - bool:
592 name: withAlarms
Matteo Scandolob36f0892020-11-23 12:19:48 -0800593 default: '{withAlarms}'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800594 description: "Run alarm based tests when true"
595
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700596 - string:
Andy Bavier218385e2019-11-13 09:51:38 -0700597 name: makeTarget
598 default: '{make-target}'
599 description: 'Makefile target to invoke during test'
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700600
Andy Bavier4c8b3232019-11-22 16:17:47 -0700601 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800602 name: makeFailtestTarget
603 default: '{make-target-failtest}'
604 description: 'Makefile target to invoke during failure/based test'
605
606 - string:
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -0800607 name: makeMultiOltTarget
608 default: '{make-target-multipleolt}'
609 description: 'Makefile target to invoke during multiple olt test'
610
611 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800612 name: makeErrortestTarget
613 default: '{make-target-errortest}'
614 description: 'Makefile target to invoke during error test'
615
616 - string:
617 name: makeAlarmtestTarget
618 default: '{make-target-alarmtest}'
619 description: 'Makefile target to invoke during alarm test'
620
621 - string:
TorstenThieme669258d2021-01-29 09:03:10 +0000622 name: make1t4gemTestTarget
623 default: '{make-target-1t4gemtest}'
624 description: 'Makefile target to invoke during 1t4gem test'
625
626 - string:
627 name: make1t8gemTestTarget
628 default: '{make-target-1t8gemtest}'
629 description: 'Makefile target to invoke during 1t8gem test'
630
631 - string:
TorstenThieme45422612021-03-23 10:38:59 +0000632 name: makeReconcileTestTarget
633 default: '{make-target-reconciletest}'
634 description: 'Makefile target to invoke during reconcile test'
635
636 - string:
637 name: makeReconcileDtTestTarget
638 default: '{make-target-reconciledttest}'
639 description: 'Makefile target to invoke during reconcile dt test'
640
641 - string:
642 name: makeReconcileTtTestTarget
643 default: '{make-target-reconciletttest}'
644 description: 'Makefile target to invoke during reconcile tt test'
645
646 - string:
Andy Bavier4c8b3232019-11-22 16:17:47 -0700647 name: manifestUrl
648 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700649 description: 'Repo manifest URL for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700650
651 - string:
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700652 name: branch
Andy Bavier4c8b3232019-11-22 16:17:47 -0700653 default: '{code-branch}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700654 description: 'Repo manifest branch for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700655
Andy Bavier3708d072019-12-10 15:22:18 -0700656 - string:
Andy Bavierb35171c2020-03-06 15:47:29 -0700657 name: gerritProject
658 default: '{gerrit-project}'
659 description: 'Name of the Gerrit project'
660
661 - string:
662 name: gerritChangeNumber
663 default: ''
664 description: 'Changeset number in Gerrit'
665
666 - string:
667 name: gerritPatchsetNumber
668 default: ''
669 description: 'PatchSet number in Gerrit'
670
671 - string:
Andy Bavier3708d072019-12-10 15:22:18 -0700672 name: testRuns
673 default: '{test-runs}'
674 description: 'How many times to repeat the tests'
675
676 - string:
677 name: extraRobotArgs
678 default: '{robot-args}'
679 description: 'Arguments to pass to robot'
680
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700681 - string:
682 name: workFlow
683 default: '{work-flow}'
684 description: 'Workflow for testcase'
Andy Bavier3708d072019-12-10 15:22:18 -0700685
pierventref48ebc12020-07-17 16:01:32 +0200686 - string:
687 name: karafHome
688 default: '{karaf-home}'
689 description: 'Karaf home'
690
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700691 - string:
692 name: volthaSystemTestsChange
693 default: '{volthaSystemTestsChange}'
694 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
695
696 - string:
697 name: kindVolthaChange
698 default: '{kindVolthaChange}'
699 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
700
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800701 - string:
702 name: olts
703 default: '{olts}'
704 description: 'How many BBSim instances to run'
705
Kailash8b8de742019-07-30 08:54:51 -0700706 project-type: pipeline
Andy Bavier358aa0b2019-11-22 11:55:39 -0700707 concurrent: true
Kailash8b8de742019-07-30 08:54:51 -0700708
Zack Williamsb3292082019-10-11 17:15:18 -0700709 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailash6be1aa92019-08-05 18:11:11 -0700710
711 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700712 - timed: |
Kailash6be1aa92019-08-05 18:11:11 -0700713 TZ=America/Los_Angeles
Andy Bavier218385e2019-11-13 09:51:38 -0700714 {time-trigger}
Kailashaad71012019-08-27 10:36:53 -0700715
716- job-template:
717 id: 'voltha-patch-test'
Matteo Scandolo84e5f002020-02-10 11:50:05 -0800718 name: 'verify_{project}_sanity-test{name-extension}'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700719 build-node: 'ubuntu18.04-basebuild-4c-8g'
Andy Bavier4318f8d2020-04-09 13:50:53 -0700720 override-branch: '$GERRIT_BRANCH'
Andy Bavier02b00dc2020-04-28 13:01:12 -0700721 sandbox: true
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800722 build-timeout: 20
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700723 volthaSystemTestsChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800724 volthaHelmChartsChange: ''
Matteo Scandolocecb0842021-05-04 13:16:47 -0700725 extraHelmFlags: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800726 branch-regexp: '{all-branches-regexp}'
Matteo Scandolo42f517b2021-05-07 09:36:53 -0700727 kindVolthaChange: '' # this is only needed to test kind-voltha patches
Kailashaad71012019-08-27 10:36:53 -0700728
729 description: |
730 <!-- Managed by Jenkins Job Builder -->
731 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
732 E2E Validation for Voltha 2.X
733
734 properties:
735 - cord-infra-properties:
736 build-days-to-keep: '{build-days-to-keep}'
737 artifact-num-to-keep: '{artifact-num-to-keep}'
738
739 wrappers:
740 - lf-infra-wrappers:
741 build-timeout: '{build-timeout}'
742 jenkins-ssh-credential: '{jenkins-ssh-credential}'
743
744 parameters:
745 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700746 name: buildNode
Andrea Campanella4792b7f2021-04-23 15:06:42 +0200747 default: '{build-node}'
Kailashaad71012019-08-27 10:36:53 -0700748 description: 'Name of the Jenkins node to run the job on'
749
750 - string:
hwchiu14f97852019-10-08 10:51:11 -0700751 name: gerritProject
752 default: '$GERRIT_PROJECT'
753 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700754
755 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700756 name: gerritRefspec
757 default: '$GERRIT_REFSPEC'
758 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
Kailashaad71012019-08-27 10:36:53 -0700759
760 - string:
Andy Bavierbedd0392019-10-16 13:58:18 -0700761 name: extraHelmFlags
Matteo Scandolocecb0842021-05-04 13:16:47 -0700762 default: '{extraHelmFlags}'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700763 description: 'Helm flags to pass to every helm command'
Andy Bavierbedd0392019-10-16 13:58:18 -0700764
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700765 - string:
766 name: volthaSystemTestsChange
767 default: '{volthaSystemTestsChange}'
768 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
769
770 - string:
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800771 name: volthaHelmChartsChange
772 default: '{volthaHelmChartsChange}'
773 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
774
775 - string:
776 name: branch
777 default: '{override-branch}'
778 description: 'Name of the branch to use'
779
Matteo Scandolo42f517b2021-05-07 09:36:53 -0700780 # Used in the 2.7 based pipeline, can be removed after 2.8
781 - string:
782 name: kindVolthaChange
783 default: '{kindVolthaChange}'
784 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1" (only used to test kind-voltha changes in 2.7)'
785
Kailashaad71012019-08-27 10:36:53 -0700786 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -0700787 concurrent: true
Kailashaad71012019-08-27 10:36:53 -0700788
Zack Williamsb3292082019-10-11 17:15:18 -0700789 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -0700790
791 triggers:
Andy Bavierb99c3d32020-02-18 11:14:17 -0700792 - gerrit:
793 server-name: '{gerrit-server-name}'
Kailashaad71012019-08-27 10:36:53 -0700794 dependency-jobs: '{dependency-jobs}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700795 silent-start: true
796 trigger-on:
797 - patchset-created-event:
798 exclude-drafts: true
799 exclude-trivial-rebase: false
800 exclude-no-code-change: true
801 - draft-published-event
802 - comment-added-contains-event:
803 comment-contains-value: '(?i)^.*recheck$'
804 projects:
805 - project-compare-type: REG_EXP
806 project-pattern: '^{project}$'
807 branches:
808 - branch-compare-type: REG_EXP
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800809 branch-pattern: '{branch-regexp}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700810 file-paths:
811 - compare-type: REG_EXP
812 pattern: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700813
814# POD Per Patchset Pipeline Jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700815# to use these parameters in a job: `<<: *voltha-physical-patchset-parameters`
816- voltha-physical-patchset-parameters: &voltha-physical-patchset-parameters
817 name: voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -0700818 parameters:
819 - string:
820 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -0700821 default: '{build-node}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700822 description: 'Pod management node'
823
824 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700825 name: branch
826 default: '$GERRIT_BRANCH'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700827 description: 'Name of the repo branch to use'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700828
829 - string:
830 name: gerritProject
831 default: '$GERRIT_PROJECT'
832 description: 'Name of the Gerrit project'
833
834 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -0700835 name: gerritRefspec
836 default: '$GERRIT_REFSPEC'
837 description: 'RefSpec number in Gerrit'
838
839 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700840 name: gerritComment
841 default: '$GERRIT_EVENT_COMMENT_TEXT'
842 description: 'RefSpec number in Gerrit'
843
844 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700845 name: cordRepoUrl
846 default: '{gerrit-server-url}'
847 description: 'The URL of the CORD Project repository'
848
849 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700850 name: configBaseDir
851 default: 'pod-configs'
852 description: 'The directory inside the POD configs repository'
853
854 - string:
855 name: configDeploymentDir
856 default: 'deployment-configs'
857 description: 'The deployment configs folder'
858
859 - string:
860 name: configKubernetesDir
861 default: 'kubernetes-configs'
862 description: 'The kubernetes config folder'
863
864 - string:
865 name: configFileName
866 default: '{config-pod}'
867 description: 'The config file'
868
869 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700870 name: podName
871 default: '{config-pod}'
872
873 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700874 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -0700875 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700876 description: 'Path of SADIS config to load'
877
878 - string:
Andy Bavier893d2442020-05-21 12:41:17 -0700879 name: oltDebVersionMaster
880 default: '{oltDebVersionMaster}'
881 description: 'OLT Software version to install for master branch builds'
882
883 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700884 name: oltDebVersionVoltha23
Andy Bavier893d2442020-05-21 12:41:17 -0700885 default: '{oltDebVersionVoltha23}'
886 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700887
888 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700889 name: profile
890 default: '{profile}'
891 description: 'Technology Profile pushed to the ETCD'
892
893 - string:
894 name: notificationEmail
895 default: 'andy@opennetworking.org'
896 description: ''
897
898 - bool:
899 name: reinstallOlt
900 default: true
901 description: "Re-install OLT software"
902
Zack Williams03ebb272020-03-27 09:42:33 -0700903 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700904 name: extraRobotArgs
905 default: '{default-test-args}'
906 description: 'Arguments to pass to robot'
907
908 - string:
909 name: volthaSystemTestsChange
910 default: '{volthaSystemTestsChange}'
911 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
912
913 - string:
914 name: volthaHelmChartsChange
915 default: '{volthaHelmChartsChange}'
916 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
917
918 - string:
919 name: workflow
920 default: '{workflow}'
921 description: 'Installs and uses the specified work flow on the POD'
922
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700923 - string:
924 name: extraHelmFlags
925 default: '{extraHelmFlags}'
926 description: 'Helm flags (passed to each helm command)'
927
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700928 # deprecated parameters, remove after VOLTHA-2.8 is released
929 - string:
930 name: deploymentConfigFile
931 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
932 description: 'Path of deployment config file'
933
934 - string:
935 name: kindVolthaValuesFile
936 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
937 description: 'Path of kind-voltha values override file'
938
939 - string:
940 name: manifestUrl
941 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
942 description: 'URL to the repo manifest'
943
944 - string:
945 name: gerritChangeNumber
946 default: '$GERRIT_CHANGE_NUMBER'
947 description: 'Changeset number in Gerrit'
948
949 - string:
950 name: gerritPatchsetNumber
951 default: '$GERRIT_PATCHSET_NUMBER'
952 description: 'PatchSet number in Gerrit'
953
954 - string:
955 name: localConfigDir
956 default: null
957 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
958
959 - string:
960 name: configRepo
961 default: 'pod-configs'
962 description: 'A repository containing the config files, will be checked out if specified'
963
964 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700965 name: manualBranch
966 default: '{manualBranch}'
967 description: "If a non-empty string, build manually as a specific branch, not with a specific patchset"
Andy Bavier51ba7e82019-12-17 11:01:01 -0700968
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700969- job-template:
970 name: '{name}'
971 id: verify_physical_voltha_patchset_auto
972 description: |
973 <!-- Managed by Jenkins Job Builder -->
974 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
975 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
976 Created by Andy Bavier, andy@opennetworking.org <br />
977 Copyright (c) 2019 Open Networking Foundation (ONF)
978 sandbox: true
979 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Matteo Scandolob6d80732021-05-05 14:06:42 -0700980 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700981 branch-pattern: '{all-branches-regexp}'
982 build-node: 'tucson-pod'
983 config-pod: 'tucson-pod'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700984 profile: 'Default'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700985 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700986 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
987 volthaSystemTestsChange: ''
988 volthaHelmChartsChange: ''
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700989 extraHelmFlags: ''
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700990
991 properties:
992 - cord-infra-properties:
993 build-days-to-keep: '{build-days-to-keep}'
994 artifact-num-to-keep: '{artifact-num-to-keep}'
995
996 <<: *voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -0700997
998 project-type: pipeline
999 concurrent: true
1000
1001 dsl: !include-raw-escape: pipeline/{pipeline-script}
1002
1003 triggers:
1004 - gerrit:
1005 server-name: '{gerrit-server-name}'
1006 dependency-jobs: '{dependency-jobs}'
1007 silent-start: false
1008 successful-message: "PASSED hardware test"
1009 failure-message: "FAILED hardware test"
1010 unstable-message: "UNSTABLE hardware test"
1011 trigger-on:
1012 - comment-added-event:
1013 approval-category: 'Code-Review'
1014 approval-value: '+2'
1015 projects:
1016 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001017 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-go)$'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001018 branches:
Andy Bavier37f6ea92020-04-03 11:13:35 -07001019 - branch-compare-type: REG_EXP
Matteo Scandolo5b998a22021-04-22 09:42:40 -07001020 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001021
Andy Bavier51ba7e82019-12-17 11:01:01 -07001022- job-template:
1023 name: '{name}'
1024 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001025 description: |
1026 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001027 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -07001028 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001029 Created by Andy Bavier, andy@opennetworking.org <br />
1030 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001031 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001032 build-node: 'tucson-pod'
1033 config-pod: 'tucson-pod'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -07001034 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001035 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
1036 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001037 trigger-string: 'hardware test'
Matteo Scandolob6d80732021-05-05 14:06:42 -07001038 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001039 branch-pattern: '{all-branches-regexp}'
1040 volthaSystemTestsChange: ''
1041 volthaHelmChartsChange: ''
Matteo Scandolob6d80732021-05-05 14:06:42 -07001042 profile: 'Default'
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001043 extraHelmFlags: ''
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001044
1045 properties:
1046 - cord-infra-properties:
1047 build-days-to-keep: '{build-days-to-keep}'
1048 artifact-num-to-keep: '{artifact-num-to-keep}'
1049
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001050 <<: *voltha-physical-patchset-parameters
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001051
Andy Bavier8c11d462019-12-17 08:19:34 -07001052
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001053 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001054 concurrent: true
1055
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001056 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001057
Andy Bavier1f465592019-11-06 10:03:56 -07001058 triggers:
1059 - gerrit:
1060 server-name: '{gerrit-server-name}'
1061 dependency-jobs: '{dependency-jobs}'
1062 silent-start: false
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001063 successful-message: "PASSED {trigger-string}"
1064 failure-message: "FAILED {trigger-string}"
1065 unstable-message: "UNSTABLE {trigger-string}"
Andy Bavier1f465592019-11-06 10:03:56 -07001066 trigger-on:
1067 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001068 comment-contains-value: '^{trigger-string}$'
Scott Bakerda31d7b2020-01-08 16:35:52 -08001069 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001070 comment-contains-value: '^{trigger-string} with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -07001071 projects:
1072 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001073 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 -07001074 branches:
Andy Bavierfc3ca142020-03-27 13:44:25 -07001075 - branch-compare-type: REG_EXP
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001076 branch-pattern: '{branch-pattern}'