blob: 22b73c5734b35d8a4cd713d7465014f4ce40b1d9 [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 Scandolo075740f2021-04-22 14:52:29 -070024 - 'voltha-periodic-test-kind-voltha-based':
Hung-Wei Chiu5ec2edf2020-04-30 14:53:13 -070025 name: 'periodic-voltha-test-bbsim'
26 pipeline-script: 'voltha-nightly-tests-bbsim.groovy'
Andy Bavierf93f3142020-01-09 16:08:51 -070027 build-node: 'qct-pod4-node2'
Andy Bavierd4ba3372020-01-21 17:01:53 -070028 make-target: functional-single-kind
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080029 make-target-failtest: bbsim-failurescenarios
30 make-target-errortest: bbsim-errorscenarios
31 make-target-alarmtest: bbsim-alarms-kind
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -080032 make-target-multipleolt: bbsim-multiolt-kind
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080033 withAlarms: true
Hung-Wei Chiu5ec2edf2020-04-30 14:53:13 -070034 code-branch: 'master'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080035 olts: 1
36 onus: 2
37 pons: 2
Suchitra Vemuricbb9d842021-02-24 20:29:19 -080038 time-trigger: "H H/23 * * *"
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080039
Matteo Scandolo075740f2021-04-22 14:52:29 -070040 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080041 name: 'periodic-voltha-multiple-olts-test-bbsim'
42 pipeline-script: 'voltha-nightly-tests-bbsim.groovy'
43 build-node: 'qct-pod4-node2'
Suchitra Vemurie50560a2020-11-18 14:14:09 -080044 make-target: functional-multi-olt
45 make-target-failtest: bbsim-multiolt-failurescenarios
46 make-target-errortest: bbsim-multiolt-errorscenarios
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080047 make-target-alarmtest: bbsim-alarms-kind
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -080048 make-target-multipleolt: bbsim-multiolt-kind
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080049 withAlarms: false
50 code-branch: 'master'
51 olts: 2
Andy Bavier4be37062020-06-29 15:17:26 -070052 onus: 2
53 pons: 2
Suchitra Vemuricbb9d842021-02-24 20:29:19 -080054 time-trigger: "H H/23 * * *"
Andy Bavierf93f3142020-01-09 16:08:51 -070055
Matteo Scandolo075740f2021-04-22 14:52:29 -070056 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +053057 name: 'periodic-voltha-multiple-olts-test-bbsim-2.7'
Suchitra Vemuri95a73432020-12-16 13:17:48 -080058 pipeline-script: 'voltha-nightly-tests-bbsim.groovy'
59 build-node: 'qct-pod4-node2'
60 make-target: functional-multi-olt
61 make-target-failtest: bbsim-multiolt-failurescenarios
62 make-target-errortest: bbsim-multiolt-errorscenarios
63 make-target-alarmtest: bbsim-alarms-kind
64 make-target-multipleolt: bbsim-multiolt-kind
65 withAlarms: false
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -070066 code-branch: 'voltha-2.7'
Suchitra Vemuri95a73432020-12-16 13:17:48 -080067 olts: 2
68 onus: 2
69 pons: 2
Suchitra Vemuri5fc1c6a2021-04-13 19:12:38 -070070 time-trigger: "H H * * *"
Suchitra Vemuri95a73432020-12-16 13:17:48 -080071
72 - 'voltha-periodic-test':
TorstenThieme326e7972021-01-19 14:27:59 +000073 name: 'periodic-voltha-openonu-go-test-bbsim'
TorstenThieme326e7972021-01-19 14:27:59 +000074 code-branch: 'master'
75 time-trigger: "H H/12 * * *"
Matteo Scandolo886cb8e2021-05-03 13:37:41 -070076 testTargets: |
77 - target: openonu-go-adapter-test
78 workflow: att
79 flags: ""
80 - target: 1t4gem-openonu-go-adapter-test
81 workflow: att
82 flags: ""
83 - target: 1t8gem-openonu-go-adapter-test
84 workflow: att
85 flags: ""
86 - target: mib-upload-templating-openonu-go-adapter-test
87 workflow: att
88 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
89 - target: reconcile-openonu-go-adapter-test
90 workflow: att
91 flags: ""
92 - target: reconcile-openonu-go-adapter-test-dt
93 workflow: dt
94 flags: ""
95 - target: reconcile-openonu-go-adapter-test-tt
96 workflow: tt
97 flags: ""
TorstenThieme326e7972021-01-19 14:27:59 +000098
99 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700100 name: 'patchset-voltha-openonu-go-test-bbsim'
101 trigger-comment: "voltha test openonu"
102 code-branch: '$GERRIT_BRANCH'
103 gerrit-project: '$GERRIT_PROJECT'
104 gerritRefspec: '$GERRIT_REFSPEC'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700105 testTargets: |
106 - target: openonu-go-adapter-test
107 workflow: att
108 flags: ""
109 - target: 1t4gem-openonu-go-adapter-test
110 workflow: att
111 flags: ""
112 - target: 1t8gem-openonu-go-adapter-test
113 workflow: att
114 flags: ""
115 - target: mib-upload-templating-openonu-go-adapter-test
116 workflow: att
117 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
118 - target: reconcile-openonu-go-adapter-test
119 workflow: att
120 flags: ""
121 - target: reconcile-openonu-go-adapter-test-dt
122 workflow: dt
123 flags: ""
124 - target: reconcile-openonu-go-adapter-test-tt
125 workflow: tt
126 flags: ""
Matteo Scandolo075740f2021-04-22 14:52:29 -0700127
128 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +0530129 name: 'periodic-voltha-openonu-go-test-bbsim-2.7'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700130 pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700131 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass46d61132021-03-30 16:42:07 +0530132 make-target: openonu-go-adapter-test
133 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
134 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
TorstenThieme45422612021-03-23 10:38:59 +0000135 make-target-reconciletest: reconcile-openonu-go-adapter-test
136 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
137 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +0530138 withAlarms: false
139 code-branch: 'voltha-2.7'
140 time-trigger: "H H/23 * * *"
141
142 - 'voltha-periodic-test':
TorstenThieme669258d2021-01-29 09:03:10 +0000143 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700144 code-branch: 'master'
145 olts: 2
146 onus: 2
147 pons: 2
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700148 testTargets: |
149 - target: openonu-go-adapter-multi-olt-test
150 workflow: att
151 flags: ""
152 - target: 1t4gem-openonu-go-adapter-multi-olt-test
153 workflow: att
154 flags: ""
155 - target: 1t8gem-openonu-go-adapter-multi-olt-test
156 workflow: att
157 flags: ""
158 - target: reconcile-openonu-go-adapter-multi-olt-test
159 workflow: att
160 flags: ""
161 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
162 workflow: dt
163 flags: ""
164 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
165 workflow: tt
166 flags: ""
TorstenThieme669258d2021-01-29 09:03:10 +0000167 time-trigger: "H H/12 * * *"
168
169 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700170 name: 'patchset-voltha-multiple-olts-openonu-go-test-bbsim'
171 trigger-comment: "voltha test openonu multiolt"
172 code-branch: '$GERRIT_BRANCH'
173 gerrit-project: '$GERRIT_PROJECT'
174 gerritRefspec: '$GERRIT_REFSPEC'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700175 testTargets: |
176 - target: openonu-go-adapter-multi-olt-test
177 workflow: att
178 flags: ""
179 - target: 1t4gem-openonu-go-adapter-multi-olt-test
180 workflow: att
181 flags: ""
182 - target: 1t8gem-openonu-go-adapter-multi-olt-test
183 workflow: att
184 flags: ""
185 - target: reconcile-openonu-go-adapter-multi-olt-test
186 workflow: att
187 flags: ""
188 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
189 workflow: dt
190 flags: ""
191 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
192 workflow: tt
193 flags: ""
Matteo Scandolo075740f2021-04-22 14:52:29 -0700194 olts: 2
195 onus: 2
196 pons: 2
197
198 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +0530199 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim-2.7'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700200 pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700201 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass46d61132021-03-30 16:42:07 +0530202 make-target: openonu-go-adapter-multi-olt-test
203 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-multi-olt-test
204 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-multi-olt-test
TorstenThieme45422612021-03-23 10:38:59 +0000205 make-target-reconciletest: reconcile-openonu-go-adapter-test
206 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
207 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +0530208 withAlarms: false
209 code-branch: 'voltha-2.7'
210 olts: 2
211 onus: 2
212 pons: 2
213 time-trigger: "H H/23 * * *"
214
Matteo Scandolo075740f2021-04-22 14:52:29 -0700215 - 'voltha-periodic-test-kind-voltha-based':
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100216 name: 'periodic-voltha-test-DMI'
217 pipeline-script: 'voltha-DMI-bbsim-tests.groovy'
218 build-node: 'qct-pod4-node2'
Andrea Campanellae9739492020-12-17 09:54:04 +0100219 make-target: bbsim-dmi-hw-management-test
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100220 withAlarms: false
221 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800222 time-trigger: "H H/23 * * *"
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100223
Matteo Scandolo075740f2021-04-22 14:52:29 -0700224 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700225 name: 'periodic-voltha-test-DMI-2.7'
Andrea Campanellae9739492020-12-17 09:54:04 +0100226 pipeline-script: 'voltha-DMI-bbsim-tests.groovy'
227 build-node: 'qct-pod4-node2'
228 make-target: bbsim-dmi-hw-management-test
229 withAlarms: false
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700230 code-branch: 'voltha-2.7'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800231 time-trigger: "H H/23 * * *"
Andrea Campanellae9739492020-12-17 09:54:04 +0100232
Matteo Scandolo075740f2021-04-22 14:52:29 -0700233 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700234 name: 'periodic-voltha-test-bbsim-2.7'
Andy Bavier4be37062020-06-29 15:17:26 -0700235 pipeline-script: 'voltha-nightly-tests-bbsim.groovy'
Andy Bavier10926f12020-03-27 16:53:43 -0700236 build-node: 'qct-pod4-node2'
Andy Bavier10926f12020-03-27 16:53:43 -0700237 make-target: functional-single-kind
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800238 make-target-failtest: bbsim-failurescenarios
239 make-target-errortest: bbsim-errorscenarios
240 make-target-alarmtest: bbsim-alarms-kind
241 withAlarms: true
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700242 code-branch: 'voltha-2.7'
Andy Bavier4be37062020-06-29 15:17:26 -0700243 onus: 2
244 pons: 2
Suchitra Vemuri5fc1c6a2021-04-13 19:12:38 -0700245 time-trigger: "H H * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700246
Matteo Scandolo075740f2021-04-22 14:52:29 -0700247 - 'voltha-periodic-test-kind-voltha-based':
Andy Bavier4be37062020-06-29 15:17:26 -0700248 name: 'periodic-voltha-etcd-test'
hwchiufdc49242019-11-18 16:37:22 -0800249 pipeline-script: 'voltha-system-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700250 build-node: 'ubuntu18.04-basebuild-4c-8g'
hwchiuc9189b72019-12-02 15:12:29 -0800251 code-branch: 'master'
hwchiu593a95a2020-01-30 10:09:39 -0800252 make-target: sanity-multi-kind
hwchiufdc49242019-11-18 16:37:22 -0800253 onus: 2
254 pons: 2
255 time-trigger: "H H/12 * * *"
256
Matteo Scandolo075740f2021-04-22 14:52:29 -0700257 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700258 name: 'periodic-voltha-etcd-test-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700259 pipeline-script: 'voltha-system-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700260 build-node: 'ubuntu18.04-basebuild-4c-8g'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700261 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700262 make-target: sanity-multi-kind
263 onus: 2
264 pons: 2
265 time-trigger: "H H/12 * * *"
266
267
Matteo Scandolo075740f2021-04-22 14:52:29 -0700268 - 'voltha-periodic-test-kind-voltha-based':
Andy Bavier3708d072019-12-10 15:22:18 -0700269 name: 'periodic-voltha-sanity-test-multi-runs'
Andy Bavier0088c212020-01-08 13:44:03 -0700270 pipeline-script: 'voltha-go-multi-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -0700271 build-node: 'qct-pod4-node2'
Andy Bavier3708d072019-12-10 15:22:18 -0700272 code-branch: 'master'
Andy Baviereea37da2020-01-17 17:11:32 -0700273 make-target: sanity-kind
Andy Bavier93e125e2020-01-17 15:23:50 -0700274 onus: 1
275 pons: 1
Andy Bavier3708d072019-12-10 15:22:18 -0700276 test-runs: 5
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800277 time-trigger: "H H/23 * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700278
Matteo Scandolo075740f2021-04-22 14:52:29 -0700279 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700280 name: 'periodic-voltha-sanity-test-multi-runs-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700281 pipeline-script: 'voltha-go-multi-tests.groovy'
282 build-node: 'qct-pod4-node2'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700283 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700284 make-target: sanity-kind
285 onus: 1
286 pons: 1
287 test-runs: 5
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800288 time-trigger: "H H/23 * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700289
Matteo Scandolo075740f2021-04-22 14:52:29 -0700290 - 'voltha-periodic-test-kind-voltha-based':
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700291 name: 'nightly-voltha-DTflow-sanity-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700292 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700293 code-branch: 'master'
294 make-target: sanity-kind-dt
295 onus: 1
296 pons: 1
297 time-trigger: "@daily"
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700298 work-flow: DT
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700299
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700300 # Per-patchset Pod builds on Tucson pod (master)
Andy Bavier51ba7e82019-12-17 11:01:01 -0700301 - 'verify_physical_voltha_patchset_auto':
302 name: 'verify_physical_voltha_patchset_auto'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800303 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700304
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700305 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
306 - 'verify_physical_voltha_patchset_auto':
307 name: 'verify_physical_voltha_patchset_auto_voltha-2.7'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700308 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
309 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700310 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
311 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
312 branch-pattern: voltha-2.7
313
314 # Per-patchset Pod builds on Tucson pod (master)
315 - 'verify_physical_voltha_patchset_manual':
316 name: 'verify_physical_voltha_patchset_manual'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700317 profile: 'Default'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700318 trigger-string: 'hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800319 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700320 branch-pattern: master
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700321
322
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700323 # Per-patchset Pod builds on Tucson pod (master)
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700324 - 'verify_physical_voltha_patchset_manual':
325 name: 'verify_physical_voltha_patchset_manual_DT'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700326 workflow: 'dt'
327 profile: 'Default'
328 pipeline-script: 'voltha/voltha-2.7/voltha-dt-physical-build-and-tests.groovy'
329 trigger-string: 'DT hardware test'
330 default-test-args: '-i sanityDt -i PowerSwitch -X'
331 branch-pattern: master
332
333 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
334 - 'verify_physical_voltha_patchset_manual':
335 name: 'verify_physical_voltha_patchset_manual_voltha-2.7'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700336 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
337 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700338 profile: 'Default'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700339 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
340 trigger-string: 'hardware test'
341 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
342 branch-pattern: voltha-2.7
343
344
345 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
346 - 'verify_physical_voltha_patchset_manual':
347 name: 'verify_physical_voltha_patchset_manual_DT_voltha-2.7'
348 workflow: 'dt'
349 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
350 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
351 profile: 'Default'
352 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700353 trigger-string: 'DT hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800354 default-test-args: '-i sanityDt -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700355 branch-pattern: voltha-2.7
Andy Bavier19c98a22019-11-11 13:57:11 -0700356
357 # Manual build job for Tucson pod
358 # Allow local testing without disrupting above job
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700359 - 'build_physical_voltha_manual':
Andy Bavier19c98a22019-11-11 13:57:11 -0700360 name: 'build_tucson-pod_manual'
Andy Bavier19c98a22019-11-11 13:57:11 -0700361 config-pod: 'tucson-pod'
Zack Williams03ebb272020-03-27 09:42:33 -0700362 manualBranch: 'master'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700363 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
364 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavier19c98a22019-11-11 13:57:11 -0700365 profile: 'Default'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800366 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700367
Kailash8b8de742019-07-30 08:54:51 -0700368- job-template:
Kailashaad71012019-08-27 10:36:53 -0700369 id: 'voltha-periodic-test'
370 name: '{name}'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700371 pipeline-script: 'voltha/master/periodic-bbsim-tests.groovy'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700372 build-node: 'ubuntu18.04-basebuild-8c-15g'
373 test-runs: 1
374 robot-args: ''
375 gerrit-project: ''
376 gerritRefspec: ''
377 work-flow: ''
378 volthaSystemTestsChange: ''
379 volthaHelmChartsChange: ''
380 extraHelmFlags: ''
381 sandbox: true
382 olts: 1
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700383
Matteo Scandolo075740f2021-04-22 14:52:29 -0700384 trigger-comment: vv7CBoQQYYonvaN8xcru
385 time-trigger: 0 0 29 2 *
386
387 description: |
388 <!-- Managed by Jenkins Job Builder -->
389 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
390 E2E Validation for Voltha 2.X
391
392 properties:
393 - cord-infra-properties:
394 build-days-to-keep: '{big-build-days-to-keep}'
395 artifact-num-to-keep: '{big-artifact-num-to-keep}'
396
397 wrappers:
398 - lf-infra-wrappers:
399 build-timeout: '{build-timeout}'
400 jenkins-ssh-credential: '{jenkins-ssh-credential}'
401
402 parameters:
403 - string:
404 name: buildNode
405 default: '{build-node}'
406 description: 'Name of the Jenkins node to run the job on'
407
408 - string:
409 name: extraHelmFlags
410 default: '--set onu={onus},pon={pons},{extraHelmFlags}'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700411 description: 'Helm flags (passed to each deployment)'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700412
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700413 # test configuration
414 # this is a parameter to drive the test execution, VOLTHA is redeployed each time with
415 # the provided configuration and then the make target is invoked,
416 # example value (has to be valid YAML):
417 # testTargets: |
418 # - target: openonu-go-adapter-test
419 # workflow: att
420 # flags: ""
421 - text:
422 name: testTargets
423 default: '{testTargets}'
424 description: 'Test configuration, see the ci-management job definition for more info'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700425
426 - string:
427 name: branch
428 default: '{code-branch}'
429 description: 'Repo manifest branch for code checkout'
430
431 - string:
432 name: gerritProject
433 default: '{gerrit-project}'
434 description: 'Name of the Gerrit project'
435
436 - string:
437 name: gerritRefspec
438 default: ''
439 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
440
441 - string:
442 name: extraRobotArgs
443 default: '{robot-args}'
444 description: 'Arguments to pass to robot'
445
446 - string:
447 name: volthaSystemTestsChange
448 default: '{volthaSystemTestsChange}'
449 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
450
451 - string:
452 name: volthaHelmChartsChange
453 default: '{volthaHelmChartsChange}'
454 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
455
456 - string:
457 name: olts
458 default: '{olts}'
459 description: 'How many BBSim instances to run'
460
461 project-type: pipeline
462 concurrent: true
463
464 dsl: !include-raw-escape: pipeline/{pipeline-script}
465
466 triggers:
467 # patchset jobs will set this to "0 0 29 2 *" (feb 29th, it's once every 4 years)
468 - timed: |
469 TZ=America/Los_Angeles
470 {time-trigger}
471 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
472 - gerrit:
473 server-name: '{gerrit-server-name}'
474 silent-start: false
475 successful-message: "PASSED openonu-go test"
476 failure-message: "FAILED openonu-go test"
477 unstable-message: "UNSTABLE openonu-go test"
478 trigger-on:
479 - comment-added-contains-event:
480 comment-contains-value: '.*{trigger-comment}.*'
481 projects:
482 - project-compare-type: REG_EXP
483 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter-go|ofagent-go|voltha-onos|bbsim)$'
484 branches:
485 - branch-compare-type: REG_EXP
486 branch-pattern: '{all-branches-regexp}'
487
488- job-template:
489 id: 'voltha-periodic-test-kind-voltha-based'
490 name: '{name}'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700491 pipeline-script: 'voltha-go-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -0700492 test-runs: 1
493 robot-args: ''
Andy Bavierb35171c2020-03-06 15:47:29 -0700494 gerrit-project: ''
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700495 work-flow: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700496 volthaSystemTestsChange: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700497 volthaHelmChartsChange: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700498 kindVolthaChange: ''
Andrea Campanella6d562182020-10-06 18:39:30 +0200499 extraHelmFlags: ''
Andy Bavier02b00dc2020-04-28 13:01:12 -0700500 sandbox: true
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800501 olts: 1
Matteo Scandolob36f0892020-11-23 12:19:48 -0800502 withAlarms: false
Andy Bavierb35171c2020-03-06 15:47:29 -0700503
Kailash8b8de742019-07-30 08:54:51 -0700504 description: |
505 <!-- Managed by Jenkins Job Builder -->
506 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
507 E2E Validation for Voltha 2.X
508
509 properties:
510 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800511 build-days-to-keep: '{big-build-days-to-keep}'
512 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Kailash8b8de742019-07-30 08:54:51 -0700513
514 wrappers:
515 - lf-infra-wrappers:
516 build-timeout: '{build-timeout}'
517 jenkins-ssh-credential: '{jenkins-ssh-credential}'
518
519 parameters:
520 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700521 name: buildNode
Andy Bavier833b78e2019-11-22 17:01:31 -0700522 default: '{build-node}'
Kailash8b8de742019-07-30 08:54:51 -0700523 description: 'Name of the Jenkins node to run the job on'
524
525 - string:
Andy Bavierea26c5c2019-09-18 08:09:17 -0700526 name: extraHelmFlags
Andrea Campanella6d562182020-10-06 18:39:30 +0200527 default: '--set onu={onus},pon={pons},{extraHelmFlags}'
Andy Bavierea26c5c2019-09-18 08:09:17 -0700528 description: 'Helm flags to pass to ./voltha up'
529
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800530 - bool:
531 name: withAlarms
Matteo Scandolob36f0892020-11-23 12:19:48 -0800532 default: '{withAlarms}'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800533 description: "Run alarm based tests when true"
534
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700535 - string:
Andy Bavier218385e2019-11-13 09:51:38 -0700536 name: makeTarget
537 default: '{make-target}'
538 description: 'Makefile target to invoke during test'
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700539
Andy Bavier4c8b3232019-11-22 16:17:47 -0700540 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800541 name: makeFailtestTarget
542 default: '{make-target-failtest}'
543 description: 'Makefile target to invoke during failure/based test'
544
545 - string:
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -0800546 name: makeMultiOltTarget
547 default: '{make-target-multipleolt}'
548 description: 'Makefile target to invoke during multiple olt test'
549
550 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800551 name: makeErrortestTarget
552 default: '{make-target-errortest}'
553 description: 'Makefile target to invoke during error test'
554
555 - string:
556 name: makeAlarmtestTarget
557 default: '{make-target-alarmtest}'
558 description: 'Makefile target to invoke during alarm test'
559
560 - string:
TorstenThieme669258d2021-01-29 09:03:10 +0000561 name: make1t4gemTestTarget
562 default: '{make-target-1t4gemtest}'
563 description: 'Makefile target to invoke during 1t4gem test'
564
565 - string:
566 name: make1t8gemTestTarget
567 default: '{make-target-1t8gemtest}'
568 description: 'Makefile target to invoke during 1t8gem test'
569
570 - string:
TorstenThieme45422612021-03-23 10:38:59 +0000571 name: makeReconcileTestTarget
572 default: '{make-target-reconciletest}'
573 description: 'Makefile target to invoke during reconcile test'
574
575 - string:
576 name: makeReconcileDtTestTarget
577 default: '{make-target-reconciledttest}'
578 description: 'Makefile target to invoke during reconcile dt test'
579
580 - string:
581 name: makeReconcileTtTestTarget
582 default: '{make-target-reconciletttest}'
583 description: 'Makefile target to invoke during reconcile tt test'
584
585 - string:
Andy Bavier4c8b3232019-11-22 16:17:47 -0700586 name: manifestUrl
587 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700588 description: 'Repo manifest URL for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700589
590 - string:
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700591 name: branch
Andy Bavier4c8b3232019-11-22 16:17:47 -0700592 default: '{code-branch}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700593 description: 'Repo manifest branch for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700594
Andy Bavier3708d072019-12-10 15:22:18 -0700595 - string:
Andy Bavierb35171c2020-03-06 15:47:29 -0700596 name: gerritProject
597 default: '{gerrit-project}'
598 description: 'Name of the Gerrit project'
599
600 - string:
601 name: gerritChangeNumber
602 default: ''
603 description: 'Changeset number in Gerrit'
604
605 - string:
606 name: gerritPatchsetNumber
607 default: ''
608 description: 'PatchSet number in Gerrit'
609
610 - string:
Andy Bavier3708d072019-12-10 15:22:18 -0700611 name: testRuns
612 default: '{test-runs}'
613 description: 'How many times to repeat the tests'
614
615 - string:
616 name: extraRobotArgs
617 default: '{robot-args}'
618 description: 'Arguments to pass to robot'
619
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700620 - string:
621 name: workFlow
622 default: '{work-flow}'
623 description: 'Workflow for testcase'
Andy Bavier3708d072019-12-10 15:22:18 -0700624
pierventref48ebc12020-07-17 16:01:32 +0200625 - string:
626 name: karafHome
627 default: '{karaf-home}'
628 description: 'Karaf home'
629
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700630 - string:
631 name: volthaSystemTestsChange
632 default: '{volthaSystemTestsChange}'
633 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
634
635 - string:
636 name: kindVolthaChange
637 default: '{kindVolthaChange}'
638 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
639
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800640 - string:
641 name: olts
642 default: '{olts}'
643 description: 'How many BBSim instances to run'
644
Kailash8b8de742019-07-30 08:54:51 -0700645 project-type: pipeline
Andy Bavier358aa0b2019-11-22 11:55:39 -0700646 concurrent: true
Kailash8b8de742019-07-30 08:54:51 -0700647
Zack Williamsb3292082019-10-11 17:15:18 -0700648 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailash6be1aa92019-08-05 18:11:11 -0700649
650 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700651 - timed: |
Kailash6be1aa92019-08-05 18:11:11 -0700652 TZ=America/Los_Angeles
Andy Bavier218385e2019-11-13 09:51:38 -0700653 {time-trigger}
Kailashaad71012019-08-27 10:36:53 -0700654
655- job-template:
656 id: 'voltha-patch-test'
Matteo Scandolo84e5f002020-02-10 11:50:05 -0800657 name: 'verify_{project}_sanity-test{name-extension}'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700658 build-node: 'ubuntu18.04-basebuild-4c-8g'
Andy Bavier4318f8d2020-04-09 13:50:53 -0700659 override-branch: '$GERRIT_BRANCH'
Andy Bavier02b00dc2020-04-28 13:01:12 -0700660 sandbox: true
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800661 build-timeout: 20
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700662 volthaSystemTestsChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800663 volthaHelmChartsChange: ''
Matteo Scandolocecb0842021-05-04 13:16:47 -0700664 extraHelmFlags: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800665 branch-regexp: '{all-branches-regexp}'
Kailashaad71012019-08-27 10:36:53 -0700666
667 description: |
668 <!-- Managed by Jenkins Job Builder -->
669 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
670 E2E Validation for Voltha 2.X
671
672 properties:
673 - cord-infra-properties:
674 build-days-to-keep: '{build-days-to-keep}'
675 artifact-num-to-keep: '{artifact-num-to-keep}'
676
677 wrappers:
678 - lf-infra-wrappers:
679 build-timeout: '{build-timeout}'
680 jenkins-ssh-credential: '{jenkins-ssh-credential}'
681
682 parameters:
683 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700684 name: buildNode
Andrea Campanella4792b7f2021-04-23 15:06:42 +0200685 default: '{build-node}'
Kailashaad71012019-08-27 10:36:53 -0700686 description: 'Name of the Jenkins node to run the job on'
687
688 - string:
hwchiu14f97852019-10-08 10:51:11 -0700689 name: gerritProject
690 default: '$GERRIT_PROJECT'
691 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700692
693 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700694 name: gerritRefspec
695 default: '$GERRIT_REFSPEC'
696 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
Kailashaad71012019-08-27 10:36:53 -0700697
698 - string:
Andy Bavierbedd0392019-10-16 13:58:18 -0700699 name: extraHelmFlags
Matteo Scandolocecb0842021-05-04 13:16:47 -0700700 default: '{extraHelmFlags}'
Andy Bavierbedd0392019-10-16 13:58:18 -0700701 description: 'Helm flags to pass to ./voltha up'
702
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700703 - string:
704 name: volthaSystemTestsChange
705 default: '{volthaSystemTestsChange}'
706 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
707
708 - string:
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800709 name: volthaHelmChartsChange
710 default: '{volthaHelmChartsChange}'
711 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
712
713 - string:
714 name: branch
715 default: '{override-branch}'
716 description: 'Name of the branch to use'
717
Kailashaad71012019-08-27 10:36:53 -0700718 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -0700719 concurrent: true
Kailashaad71012019-08-27 10:36:53 -0700720
Zack Williamsb3292082019-10-11 17:15:18 -0700721 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -0700722
723 triggers:
Andy Bavierb99c3d32020-02-18 11:14:17 -0700724 - gerrit:
725 server-name: '{gerrit-server-name}'
Kailashaad71012019-08-27 10:36:53 -0700726 dependency-jobs: '{dependency-jobs}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700727 silent-start: true
728 trigger-on:
729 - patchset-created-event:
730 exclude-drafts: true
731 exclude-trivial-rebase: false
732 exclude-no-code-change: true
733 - draft-published-event
734 - comment-added-contains-event:
735 comment-contains-value: '(?i)^.*recheck$'
736 projects:
737 - project-compare-type: REG_EXP
738 project-pattern: '^{project}$'
739 branches:
740 - branch-compare-type: REG_EXP
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800741 branch-pattern: '{branch-regexp}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700742 file-paths:
743 - compare-type: REG_EXP
744 pattern: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700745
746# POD Per Patchset Pipeline Jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700747# to use these parameters in a job: `<<: *voltha-physical-patchset-parameters`
748- voltha-physical-patchset-parameters: &voltha-physical-patchset-parameters
749 name: voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -0700750 parameters:
751 - string:
752 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -0700753 default: '{build-node}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700754 description: 'Pod management node'
755
756 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700757 name: branch
758 default: '$GERRIT_BRANCH'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700759 description: 'Name of the repo branch to use'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700760
761 - string:
762 name: gerritProject
763 default: '$GERRIT_PROJECT'
764 description: 'Name of the Gerrit project'
765
766 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -0700767 name: gerritRefspec
768 default: '$GERRIT_REFSPEC'
769 description: 'RefSpec number in Gerrit'
770
771 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700772 name: gerritComment
773 default: '$GERRIT_EVENT_COMMENT_TEXT'
774 description: 'RefSpec number in Gerrit'
775
776 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700777 name: cordRepoUrl
778 default: '{gerrit-server-url}'
779 description: 'The URL of the CORD Project repository'
780
781 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700782 name: configBaseDir
783 default: 'pod-configs'
784 description: 'The directory inside the POD configs repository'
785
786 - string:
787 name: configDeploymentDir
788 default: 'deployment-configs'
789 description: 'The deployment configs folder'
790
791 - string:
792 name: configKubernetesDir
793 default: 'kubernetes-configs'
794 description: 'The kubernetes config folder'
795
796 - string:
797 name: configFileName
798 default: '{config-pod}'
799 description: 'The config file'
800
801 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700802 name: podName
803 default: '{config-pod}'
804
805 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700806 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -0700807 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700808 description: 'Path of SADIS config to load'
809
810 - string:
Andy Bavier893d2442020-05-21 12:41:17 -0700811 name: oltDebVersionMaster
812 default: '{oltDebVersionMaster}'
813 description: 'OLT Software version to install for master branch builds'
814
815 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700816 name: oltDebVersionVoltha23
Andy Bavier893d2442020-05-21 12:41:17 -0700817 default: '{oltDebVersionVoltha23}'
818 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700819
820 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700821 name: profile
822 default: '{profile}'
823 description: 'Technology Profile pushed to the ETCD'
824
825 - string:
826 name: notificationEmail
827 default: 'andy@opennetworking.org'
828 description: ''
829
830 - bool:
831 name: reinstallOlt
832 default: true
833 description: "Re-install OLT software"
834
Zack Williams03ebb272020-03-27 09:42:33 -0700835 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700836 name: extraRobotArgs
837 default: '{default-test-args}'
838 description: 'Arguments to pass to robot'
839
840 - string:
841 name: volthaSystemTestsChange
842 default: '{volthaSystemTestsChange}'
843 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
844
845 - string:
846 name: volthaHelmChartsChange
847 default: '{volthaHelmChartsChange}'
848 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
849
850 - string:
851 name: workflow
852 default: '{workflow}'
853 description: 'Installs and uses the specified work flow on the POD'
854
855 # deprecated parameters, remove after VOLTHA-2.8 is released
856 - string:
857 name: deploymentConfigFile
858 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
859 description: 'Path of deployment config file'
860
861 - string:
862 name: kindVolthaValuesFile
863 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
864 description: 'Path of kind-voltha values override file'
865
866 - string:
867 name: manifestUrl
868 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
869 description: 'URL to the repo manifest'
870
871 - string:
872 name: gerritChangeNumber
873 default: '$GERRIT_CHANGE_NUMBER'
874 description: 'Changeset number in Gerrit'
875
876 - string:
877 name: gerritPatchsetNumber
878 default: '$GERRIT_PATCHSET_NUMBER'
879 description: 'PatchSet number in Gerrit'
880
881 - string:
882 name: localConfigDir
883 default: null
884 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
885
886 - string:
887 name: configRepo
888 default: 'pod-configs'
889 description: 'A repository containing the config files, will be checked out if specified'
890
891 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700892 name: manualBranch
893 default: '{manualBranch}'
894 description: "If a non-empty string, build manually as a specific branch, not with a specific patchset"
Andy Bavier51ba7e82019-12-17 11:01:01 -0700895
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700896- job-template:
897 name: '{name}'
898 id: verify_physical_voltha_patchset_auto
899 description: |
900 <!-- Managed by Jenkins Job Builder -->
901 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
902 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
903 Created by Andy Bavier, andy@opennetworking.org <br />
904 Copyright (c) 2019 Open Networking Foundation (ONF)
905 sandbox: true
906 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
907 default-test-args: '-i sanityORDeleteOLT -X'
908 branch-pattern: '{all-branches-regexp}'
909 build-node: 'tucson-pod'
910 config-pod: 'tucson-pod'
911 workflow: 'att'
912 profile: 'Default'
913 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
914 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
915 volthaSystemTestsChange: ''
916 volthaHelmChartsChange: ''
917
918 properties:
919 - cord-infra-properties:
920 build-days-to-keep: '{build-days-to-keep}'
921 artifact-num-to-keep: '{artifact-num-to-keep}'
922
923 <<: *voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -0700924
925 project-type: pipeline
926 concurrent: true
927
928 dsl: !include-raw-escape: pipeline/{pipeline-script}
929
930 triggers:
931 - gerrit:
932 server-name: '{gerrit-server-name}'
933 dependency-jobs: '{dependency-jobs}'
934 silent-start: false
935 successful-message: "PASSED hardware test"
936 failure-message: "FAILED hardware test"
937 unstable-message: "UNSTABLE hardware test"
938 trigger-on:
939 - comment-added-event:
940 approval-category: 'Code-Review'
941 approval-value: '+2'
942 projects:
943 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -0800944 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-go)$'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700945 branches:
Andy Bavier37f6ea92020-04-03 11:13:35 -0700946 - branch-compare-type: REG_EXP
Matteo Scandolo5b998a22021-04-22 09:42:40 -0700947 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700948
949
950- job-template:
951 name: '{name}'
952 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700953 description: |
954 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700955 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -0700956 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700957 Created by Andy Bavier, andy@opennetworking.org <br />
958 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700959 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700960 build-node: 'tucson-pod'
961 config-pod: 'tucson-pod'
962 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
963 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
964 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700965 trigger-string: 'hardware test'
966 default-test-args: '-i sanityORDeleteOLT -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700967 branch-pattern: '{all-branches-regexp}'
968 volthaSystemTestsChange: ''
969 volthaHelmChartsChange: ''
970 workflow: 'att'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700971
972 properties:
973 - cord-infra-properties:
974 build-days-to-keep: '{build-days-to-keep}'
975 artifact-num-to-keep: '{artifact-num-to-keep}'
976
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700977 <<: *voltha-physical-patchset-parameters
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700978
Andy Bavier8c11d462019-12-17 08:19:34 -0700979
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700980 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700981 concurrent: true
982
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700983 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700984
Andy Bavier1f465592019-11-06 10:03:56 -0700985 triggers:
986 - gerrit:
987 server-name: '{gerrit-server-name}'
988 dependency-jobs: '{dependency-jobs}'
989 silent-start: false
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700990 successful-message: "PASSED {trigger-string}"
991 failure-message: "FAILED {trigger-string}"
992 unstable-message: "UNSTABLE {trigger-string}"
Andy Bavier1f465592019-11-06 10:03:56 -0700993 trigger-on:
994 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700995 comment-contains-value: '^{trigger-string}$'
Scott Bakerda31d7b2020-01-08 16:35:52 -0800996 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700997 comment-contains-value: '^{trigger-string} with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -0700998 projects:
999 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001000 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 -07001001 branches:
Andy Bavierfc3ca142020-03-27 13:44:25 -07001002 - branch-compare-type: REG_EXP
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001003 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001004
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001005
1006- job-template:
1007 name: '{name}'
1008 id: build_physical_voltha_manual
1009 description: |
1010 <!-- Managed by Jenkins Job Builder -->
1011 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
1012 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
1013 Created by Andy Bavier, andy@opennetworking.org <br />
1014 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001015 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001016 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001017
1018 properties:
1019 - cord-infra-properties:
1020 build-days-to-keep: '{build-days-to-keep}'
1021 artifact-num-to-keep: '{artifact-num-to-keep}'
1022
1023 parameters:
1024 - string:
1025 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -07001026 default: '{build-node}'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001027 description: 'Pod management node'
1028
1029 - string:
1030 name: manifestUrl
1031 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
1032 description: 'URL to the repo manifest'
1033
1034 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001035 name: branch
1036 default: "$GERRIT_BRANCH"
1037 description: 'Name of the repo manifest branch to use'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001038
1039 - string:
1040 name: gerritProject
1041 default: '$GERRIT_PROJECT'
1042 description: 'Name of the Gerrit project'
1043
1044 - string:
1045 name: gerritChangeNumber
1046 default: '$GERRIT_CHANGE_NUMBER'
1047 description: 'Changeset number in Gerrit'
1048
1049 - string:
1050 name: gerritPatchsetNumber
1051 default: '$GERRIT_PATCHSET_NUMBER'
1052 description: 'PatchSet number in Gerrit'
1053
1054 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -07001055 name: gerritRefspec
1056 default: '$GERRIT_REFSPEC'
1057 description: 'RefSpec number in Gerrit'
1058
1059 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001060 name: cordRepoUrl
1061 default: '{gerrit-server-url}'
1062 description: 'The URL of the CORD Project repository'
1063
1064 - string:
1065 name: podName
1066 default: '{config-pod}'
1067
1068 - string:
1069 name: deploymentConfigFile
1070 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
1071 description: 'Path of deployment config file'
1072
1073 - string:
1074 name: kindVolthaValuesFile
1075 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
1076 description: 'Path of kind-voltha values override file'
1077
1078 - string:
1079 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -07001080 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001081 description: 'Path of SADIS config to load'
1082
1083 - string:
1084 name: localConfigDir
1085 default: null
1086 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
1087
1088 - string:
1089 name: configRepo
1090 default: 'pod-configs'
1091 description: 'A repository containing the config files, will be checked out if specified'
1092
1093 - string:
Andy Bavier893d2442020-05-21 12:41:17 -07001094 name: oltDebVersionMaster
1095 default: '{oltDebVersionMaster}'
1096 description: 'OLT Software version to install for master branch builds'
1097
1098 - string:
1099 name: oltDebVersionVoltha23
1100 default: '{oltDebVersionVoltha23}'
1101 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001102
1103 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001104 name: profile
1105 default: '{profile}'
1106 description: 'Technology Profile pushed to the ETCD'
1107
1108 - string:
1109 name: notificationEmail
1110 default: 'andy@opennetworking.org'
1111 description: ''
1112
1113 - bool:
1114 name: reinstallOlt
1115 default: false
1116 description: "Re-install OLT software"
1117
Zack Williams03ebb272020-03-27 09:42:33 -07001118 - string:
1119 name: manualBranch
1120 default: '{manualBranch}'
1121 description: "If a non-empty string, build manually on a specific branch, not with a specific patchset"
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001122
Andy Bavier8c11d462019-12-17 08:19:34 -07001123 - string:
1124 name: extraRobotArgs
Andy Bavierd2b25fe2020-06-09 07:22:00 -07001125 default: '-e bbsim -X'
Andy Bavier8c11d462019-12-17 08:19:34 -07001126 description: 'Arguments to pass to robot'
1127
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001128 project-type: pipeline
1129 concurrent: true
1130
1131 dsl: !include-raw-escape: pipeline/{pipeline-script}