blob: 39e22c782a5ae5a107a993e96754edd6eb680110 [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 * * *"
76
77 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -070078 name: 'patchset-voltha-openonu-go-test-bbsim'
79 trigger-comment: "voltha test openonu"
80 code-branch: '$GERRIT_BRANCH'
81 gerrit-project: '$GERRIT_PROJECT'
82 gerritRefspec: '$GERRIT_REFSPEC'
83
84 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +053085 name: 'periodic-voltha-openonu-go-test-bbsim-2.7'
Matteo Scandolo075740f2021-04-22 14:52:29 -070086 pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -070087 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass46d61132021-03-30 16:42:07 +053088 make-target: openonu-go-adapter-test
89 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
90 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
TorstenThieme45422612021-03-23 10:38:59 +000091 make-target-reconciletest: reconcile-openonu-go-adapter-test
92 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
93 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +053094 withAlarms: false
95 code-branch: 'voltha-2.7'
96 time-trigger: "H H/23 * * *"
97
98 - 'voltha-periodic-test':
TorstenThieme669258d2021-01-29 09:03:10 +000099 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700100 code-branch: 'master'
101 olts: 2
102 onus: 2
103 pons: 2
Matteo Scandolo2cc5b392021-05-03 09:33:18 -0700104 make-target: openonu-go-adapter-multi-olt-test
TorstenThieme669258d2021-01-29 09:03:10 +0000105 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-multi-olt-test
106 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-multi-olt-test
TorstenThieme45422612021-03-23 10:38:59 +0000107 make-target-reconciletest: reconcile-openonu-go-adapter-multi-olt-test
108 make-target-reconciledttest: reconcile-openonu-go-adapter-multi-olt-test-dt
109 make-target-reconciletttest: reconcile-openonu-go-adapter-multi-olt-test-tt
TorstenThieme669258d2021-01-29 09:03:10 +0000110 time-trigger: "H H/12 * * *"
111
112 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700113 name: 'patchset-voltha-multiple-olts-openonu-go-test-bbsim'
114 trigger-comment: "voltha test openonu multiolt"
115 code-branch: '$GERRIT_BRANCH'
116 gerrit-project: '$GERRIT_PROJECT'
117 gerritRefspec: '$GERRIT_REFSPEC'
Matteo Scandolo2cc5b392021-05-03 09:33:18 -0700118 make-target: openonu-go-adapter-multi-olt-test
Matteo Scandolo075740f2021-04-22 14:52:29 -0700119 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-multi-olt-test
120 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-multi-olt-test
121 make-target-reconciletest: reconcile-openonu-go-adapter-multi-olt-test
122 make-target-reconciledttest: reconcile-openonu-go-adapter-multi-olt-test-dt
123 make-target-reconciletttest: reconcile-openonu-go-adapter-multi-olt-test-tt
124 olts: 2
125 onus: 2
126 pons: 2
127
128 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +0530129 name: 'periodic-voltha-multiple-olts-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-multi-olt-test
133 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-multi-olt-test
134 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-multi-olt-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 olts: 2
141 onus: 2
142 pons: 2
143 time-trigger: "H H/23 * * *"
144
Matteo Scandolo075740f2021-04-22 14:52:29 -0700145 - 'voltha-periodic-test-kind-voltha-based':
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100146 name: 'periodic-voltha-test-DMI'
147 pipeline-script: 'voltha-DMI-bbsim-tests.groovy'
148 build-node: 'qct-pod4-node2'
Andrea Campanellae9739492020-12-17 09:54:04 +0100149 make-target: bbsim-dmi-hw-management-test
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100150 withAlarms: false
151 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800152 time-trigger: "H H/23 * * *"
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100153
Matteo Scandolo075740f2021-04-22 14:52:29 -0700154 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700155 name: 'periodic-voltha-test-DMI-2.7'
Andrea Campanellae9739492020-12-17 09:54:04 +0100156 pipeline-script: 'voltha-DMI-bbsim-tests.groovy'
157 build-node: 'qct-pod4-node2'
158 make-target: bbsim-dmi-hw-management-test
159 withAlarms: false
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700160 code-branch: 'voltha-2.7'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800161 time-trigger: "H H/23 * * *"
Andrea Campanellae9739492020-12-17 09:54:04 +0100162
Matteo Scandolo075740f2021-04-22 14:52:29 -0700163 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700164 name: 'periodic-voltha-test-bbsim-2.7'
Andy Bavier4be37062020-06-29 15:17:26 -0700165 pipeline-script: 'voltha-nightly-tests-bbsim.groovy'
Andy Bavier10926f12020-03-27 16:53:43 -0700166 build-node: 'qct-pod4-node2'
Andy Bavier10926f12020-03-27 16:53:43 -0700167 make-target: functional-single-kind
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800168 make-target-failtest: bbsim-failurescenarios
169 make-target-errortest: bbsim-errorscenarios
170 make-target-alarmtest: bbsim-alarms-kind
171 withAlarms: true
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700172 code-branch: 'voltha-2.7'
Andy Bavier4be37062020-06-29 15:17:26 -0700173 onus: 2
174 pons: 2
Suchitra Vemuri5fc1c6a2021-04-13 19:12:38 -0700175 time-trigger: "H H * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700176
Matteo Scandolo075740f2021-04-22 14:52:29 -0700177 - 'voltha-periodic-test-kind-voltha-based':
Andy Bavier4be37062020-06-29 15:17:26 -0700178 name: 'periodic-voltha-etcd-test'
hwchiufdc49242019-11-18 16:37:22 -0800179 pipeline-script: 'voltha-system-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700180 build-node: 'ubuntu18.04-basebuild-4c-8g'
hwchiuc9189b72019-12-02 15:12:29 -0800181 code-branch: 'master'
hwchiu593a95a2020-01-30 10:09:39 -0800182 make-target: sanity-multi-kind
hwchiufdc49242019-11-18 16:37:22 -0800183 onus: 2
184 pons: 2
185 time-trigger: "H H/12 * * *"
186
Matteo Scandolo075740f2021-04-22 14:52:29 -0700187 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700188 name: 'periodic-voltha-etcd-test-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700189 pipeline-script: 'voltha-system-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700190 build-node: 'ubuntu18.04-basebuild-4c-8g'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700191 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700192 make-target: sanity-multi-kind
193 onus: 2
194 pons: 2
195 time-trigger: "H H/12 * * *"
196
197
Matteo Scandolo075740f2021-04-22 14:52:29 -0700198 - 'voltha-periodic-test-kind-voltha-based':
Andy Bavier3708d072019-12-10 15:22:18 -0700199 name: 'periodic-voltha-sanity-test-multi-runs'
Andy Bavier0088c212020-01-08 13:44:03 -0700200 pipeline-script: 'voltha-go-multi-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -0700201 build-node: 'qct-pod4-node2'
Andy Bavier3708d072019-12-10 15:22:18 -0700202 code-branch: 'master'
Andy Baviereea37da2020-01-17 17:11:32 -0700203 make-target: sanity-kind
Andy Bavier93e125e2020-01-17 15:23:50 -0700204 onus: 1
205 pons: 1
Andy Bavier3708d072019-12-10 15:22:18 -0700206 test-runs: 5
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800207 time-trigger: "H H/23 * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700208
Matteo Scandolo075740f2021-04-22 14:52:29 -0700209 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700210 name: 'periodic-voltha-sanity-test-multi-runs-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700211 pipeline-script: 'voltha-go-multi-tests.groovy'
212 build-node: 'qct-pod4-node2'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700213 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700214 make-target: sanity-kind
215 onus: 1
216 pons: 1
217 test-runs: 5
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800218 time-trigger: "H H/23 * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700219
Matteo Scandolo075740f2021-04-22 14:52:29 -0700220 - 'voltha-periodic-test-kind-voltha-based':
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700221 name: 'nightly-voltha-DTflow-sanity-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700222 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700223 code-branch: 'master'
224 make-target: sanity-kind-dt
225 onus: 1
226 pons: 1
227 time-trigger: "@daily"
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700228 work-flow: DT
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700229
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700230 # Per-patchset Pod builds on Tucson pod (master)
Andy Bavier51ba7e82019-12-17 11:01:01 -0700231 - 'verify_physical_voltha_patchset_auto':
232 name: 'verify_physical_voltha_patchset_auto'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800233 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700234
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700235 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
236 - 'verify_physical_voltha_patchset_auto':
237 name: 'verify_physical_voltha_patchset_auto_voltha-2.7'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700238 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
239 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700240 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
241 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
242 branch-pattern: voltha-2.7
243
244 # Per-patchset Pod builds on Tucson pod (master)
245 - 'verify_physical_voltha_patchset_manual':
246 name: 'verify_physical_voltha_patchset_manual'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700247 profile: 'Default'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700248 trigger-string: 'hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800249 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700250 branch-pattern: master
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700251
252
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700253 # Per-patchset Pod builds on Tucson pod (master)
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700254 - 'verify_physical_voltha_patchset_manual':
255 name: 'verify_physical_voltha_patchset_manual_DT'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700256 workflow: 'dt'
257 profile: 'Default'
258 pipeline-script: 'voltha/voltha-2.7/voltha-dt-physical-build-and-tests.groovy'
259 trigger-string: 'DT hardware test'
260 default-test-args: '-i sanityDt -i PowerSwitch -X'
261 branch-pattern: master
262
263 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
264 - 'verify_physical_voltha_patchset_manual':
265 name: 'verify_physical_voltha_patchset_manual_voltha-2.7'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700266 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
267 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700268 profile: 'Default'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700269 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
270 trigger-string: 'hardware test'
271 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
272 branch-pattern: voltha-2.7
273
274
275 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
276 - 'verify_physical_voltha_patchset_manual':
277 name: 'verify_physical_voltha_patchset_manual_DT_voltha-2.7'
278 workflow: 'dt'
279 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
280 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
281 profile: 'Default'
282 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700283 trigger-string: 'DT hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800284 default-test-args: '-i sanityDt -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700285 branch-pattern: voltha-2.7
Andy Bavier19c98a22019-11-11 13:57:11 -0700286
287 # Manual build job for Tucson pod
288 # Allow local testing without disrupting above job
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700289 - 'build_physical_voltha_manual':
Andy Bavier19c98a22019-11-11 13:57:11 -0700290 name: 'build_tucson-pod_manual'
Andy Bavier19c98a22019-11-11 13:57:11 -0700291 config-pod: 'tucson-pod'
Zack Williams03ebb272020-03-27 09:42:33 -0700292 manualBranch: 'master'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700293 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
294 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavier19c98a22019-11-11 13:57:11 -0700295 profile: 'Default'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800296 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700297
Kailash8b8de742019-07-30 08:54:51 -0700298- job-template:
Matteo Scandolo075740f2021-04-22 14:52:29 -0700299 # as of now this template is only used by the openonu-go periodic test,
300 # in order to use for multiple pipelines we should change it so that
301 # we can specify a list of make targets and iterate over that
Kailashaad71012019-08-27 10:36:53 -0700302 id: 'voltha-periodic-test'
303 name: '{name}'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700304 pipeline-script: 'voltha/master/openonu-go-periodic-test-bbsim.groovy'
305 build-node: 'ubuntu18.04-basebuild-8c-15g'
306 test-runs: 1
307 robot-args: ''
308 gerrit-project: ''
309 gerritRefspec: ''
310 work-flow: ''
311 volthaSystemTestsChange: ''
312 volthaHelmChartsChange: ''
313 extraHelmFlags: ''
314 sandbox: true
315 olts: 1
316 make-target: openonu-go-adapter-test
317 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
318 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
319 make-target-reconciletest: reconcile-openonu-go-adapter-test
320 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
321 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
322 trigger-comment: vv7CBoQQYYonvaN8xcru
323 time-trigger: 0 0 29 2 *
324
325 description: |
326 <!-- Managed by Jenkins Job Builder -->
327 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
328 E2E Validation for Voltha 2.X
329
330 properties:
331 - cord-infra-properties:
332 build-days-to-keep: '{big-build-days-to-keep}'
333 artifact-num-to-keep: '{big-artifact-num-to-keep}'
334
335 wrappers:
336 - lf-infra-wrappers:
337 build-timeout: '{build-timeout}'
338 jenkins-ssh-credential: '{jenkins-ssh-credential}'
339
340 parameters:
341 - string:
342 name: buildNode
343 default: '{build-node}'
344 description: 'Name of the Jenkins node to run the job on'
345
346 - string:
347 name: extraHelmFlags
348 default: '--set onu={onus},pon={pons},{extraHelmFlags}'
349 description: 'Helm flags to pass to ./voltha up'
350
351 # TODO is there a better way to manage the test targets?
352 # maybe we can use a comma separated list?
353 - string:
354 name: makeTarget
355 default: '{make-target}'
356 description: 'Makefile target to invoke during test'
357
358 - string:
359 name: makeFailtestTarget
360 default: '{make-target-failtest}'
361 description: 'Makefile target to invoke during failure/based test'
362
363 - string:
364 name: makeMultiOltTarget
365 default: '{make-target-multipleolt}'
366 description: 'Makefile target to invoke during multiple olt test'
367
368 - string:
369 name: makeErrortestTarget
370 default: '{make-target-errortest}'
371 description: 'Makefile target to invoke during error test'
372
373 - string:
374 name: makeAlarmtestTarget
375 default: '{make-target-alarmtest}'
376 description: 'Makefile target to invoke during alarm test'
377
378 - string:
379 name: make1t4gemTestTarget
380 default: '{make-target-1t4gemtest}'
381 description: 'Makefile target to invoke during 1t4gem test'
382
383 - string:
384 name: make1t8gemTestTarget
385 default: '{make-target-1t8gemtest}'
386 description: 'Makefile target to invoke during 1t8gem test'
387
388 - string:
389 name: makeReconcileTestTarget
390 default: '{make-target-reconciletest}'
391 description: 'Makefile target to invoke during reconcile test'
392
393 - string:
394 name: makeReconcileDtTestTarget
395 default: '{make-target-reconciledttest}'
396 description: 'Makefile target to invoke during reconcile dt test'
397
398 - string:
399 name: makeReconcileTtTestTarget
400 default: '{make-target-reconciletttest}'
401 description: 'Makefile target to invoke during reconcile tt test'
402
403 - string:
404 name: branch
405 default: '{code-branch}'
406 description: 'Repo manifest branch for code checkout'
407
408 - string:
409 name: gerritProject
410 default: '{gerrit-project}'
411 description: 'Name of the Gerrit project'
412
413 - string:
414 name: gerritRefspec
415 default: ''
416 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
417
418 - string:
419 name: extraRobotArgs
420 default: '{robot-args}'
421 description: 'Arguments to pass to robot'
422
423 - string:
424 name: volthaSystemTestsChange
425 default: '{volthaSystemTestsChange}'
426 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
427
428 - string:
429 name: volthaHelmChartsChange
430 default: '{volthaHelmChartsChange}'
431 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
432
433 - string:
434 name: olts
435 default: '{olts}'
436 description: 'How many BBSim instances to run'
437
438 project-type: pipeline
439 concurrent: true
440
441 dsl: !include-raw-escape: pipeline/{pipeline-script}
442
443 triggers:
444 # patchset jobs will set this to "0 0 29 2 *" (feb 29th, it's once every 4 years)
445 - timed: |
446 TZ=America/Los_Angeles
447 {time-trigger}
448 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
449 - gerrit:
450 server-name: '{gerrit-server-name}'
451 silent-start: false
452 successful-message: "PASSED openonu-go test"
453 failure-message: "FAILED openonu-go test"
454 unstable-message: "UNSTABLE openonu-go test"
455 trigger-on:
456 - comment-added-contains-event:
457 comment-contains-value: '.*{trigger-comment}.*'
458 projects:
459 - project-compare-type: REG_EXP
460 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter-go|ofagent-go|voltha-onos|bbsim)$'
461 branches:
462 - branch-compare-type: REG_EXP
463 branch-pattern: '{all-branches-regexp}'
464
465- job-template:
466 id: 'voltha-periodic-test-kind-voltha-based'
467 name: '{name}'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700468 pipeline-script: 'voltha-go-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -0700469 test-runs: 1
470 robot-args: ''
Andy Bavierb35171c2020-03-06 15:47:29 -0700471 gerrit-project: ''
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700472 work-flow: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700473 volthaSystemTestsChange: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700474 volthaHelmChartsChange: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700475 kindVolthaChange: ''
Andrea Campanella6d562182020-10-06 18:39:30 +0200476 extraHelmFlags: ''
Andy Bavier02b00dc2020-04-28 13:01:12 -0700477 sandbox: true
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800478 olts: 1
Matteo Scandolob36f0892020-11-23 12:19:48 -0800479 withAlarms: false
Andy Bavierb35171c2020-03-06 15:47:29 -0700480
Kailash8b8de742019-07-30 08:54:51 -0700481 description: |
482 <!-- Managed by Jenkins Job Builder -->
483 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
484 E2E Validation for Voltha 2.X
485
486 properties:
487 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800488 build-days-to-keep: '{big-build-days-to-keep}'
489 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Kailash8b8de742019-07-30 08:54:51 -0700490
491 wrappers:
492 - lf-infra-wrappers:
493 build-timeout: '{build-timeout}'
494 jenkins-ssh-credential: '{jenkins-ssh-credential}'
495
496 parameters:
497 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700498 name: buildNode
Andy Bavier833b78e2019-11-22 17:01:31 -0700499 default: '{build-node}'
Kailash8b8de742019-07-30 08:54:51 -0700500 description: 'Name of the Jenkins node to run the job on'
501
502 - string:
Andy Bavierea26c5c2019-09-18 08:09:17 -0700503 name: extraHelmFlags
Andrea Campanella6d562182020-10-06 18:39:30 +0200504 default: '--set onu={onus},pon={pons},{extraHelmFlags}'
Andy Bavierea26c5c2019-09-18 08:09:17 -0700505 description: 'Helm flags to pass to ./voltha up'
506
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800507 - bool:
508 name: withAlarms
Matteo Scandolob36f0892020-11-23 12:19:48 -0800509 default: '{withAlarms}'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800510 description: "Run alarm based tests when true"
511
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700512 - string:
Andy Bavier218385e2019-11-13 09:51:38 -0700513 name: makeTarget
514 default: '{make-target}'
515 description: 'Makefile target to invoke during test'
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700516
Andy Bavier4c8b3232019-11-22 16:17:47 -0700517 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800518 name: makeFailtestTarget
519 default: '{make-target-failtest}'
520 description: 'Makefile target to invoke during failure/based test'
521
522 - string:
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -0800523 name: makeMultiOltTarget
524 default: '{make-target-multipleolt}'
525 description: 'Makefile target to invoke during multiple olt test'
526
527 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800528 name: makeErrortestTarget
529 default: '{make-target-errortest}'
530 description: 'Makefile target to invoke during error test'
531
532 - string:
533 name: makeAlarmtestTarget
534 default: '{make-target-alarmtest}'
535 description: 'Makefile target to invoke during alarm test'
536
537 - string:
TorstenThieme669258d2021-01-29 09:03:10 +0000538 name: make1t4gemTestTarget
539 default: '{make-target-1t4gemtest}'
540 description: 'Makefile target to invoke during 1t4gem test'
541
542 - string:
543 name: make1t8gemTestTarget
544 default: '{make-target-1t8gemtest}'
545 description: 'Makefile target to invoke during 1t8gem test'
546
547 - string:
TorstenThieme45422612021-03-23 10:38:59 +0000548 name: makeReconcileTestTarget
549 default: '{make-target-reconciletest}'
550 description: 'Makefile target to invoke during reconcile test'
551
552 - string:
553 name: makeReconcileDtTestTarget
554 default: '{make-target-reconciledttest}'
555 description: 'Makefile target to invoke during reconcile dt test'
556
557 - string:
558 name: makeReconcileTtTestTarget
559 default: '{make-target-reconciletttest}'
560 description: 'Makefile target to invoke during reconcile tt test'
561
562 - string:
Andy Bavier4c8b3232019-11-22 16:17:47 -0700563 name: manifestUrl
564 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700565 description: 'Repo manifest URL for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700566
567 - string:
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700568 name: branch
Andy Bavier4c8b3232019-11-22 16:17:47 -0700569 default: '{code-branch}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700570 description: 'Repo manifest branch for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700571
Andy Bavier3708d072019-12-10 15:22:18 -0700572 - string:
Andy Bavierb35171c2020-03-06 15:47:29 -0700573 name: gerritProject
574 default: '{gerrit-project}'
575 description: 'Name of the Gerrit project'
576
577 - string:
578 name: gerritChangeNumber
579 default: ''
580 description: 'Changeset number in Gerrit'
581
582 - string:
583 name: gerritPatchsetNumber
584 default: ''
585 description: 'PatchSet number in Gerrit'
586
587 - string:
Andy Bavier3708d072019-12-10 15:22:18 -0700588 name: testRuns
589 default: '{test-runs}'
590 description: 'How many times to repeat the tests'
591
592 - string:
593 name: extraRobotArgs
594 default: '{robot-args}'
595 description: 'Arguments to pass to robot'
596
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700597 - string:
598 name: workFlow
599 default: '{work-flow}'
600 description: 'Workflow for testcase'
Andy Bavier3708d072019-12-10 15:22:18 -0700601
pierventref48ebc12020-07-17 16:01:32 +0200602 - string:
603 name: karafHome
604 default: '{karaf-home}'
605 description: 'Karaf home'
606
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700607 - string:
608 name: volthaSystemTestsChange
609 default: '{volthaSystemTestsChange}'
610 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
611
612 - string:
613 name: kindVolthaChange
614 default: '{kindVolthaChange}'
615 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
616
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800617 - string:
618 name: olts
619 default: '{olts}'
620 description: 'How many BBSim instances to run'
621
Kailash8b8de742019-07-30 08:54:51 -0700622 project-type: pipeline
Andy Bavier358aa0b2019-11-22 11:55:39 -0700623 concurrent: true
Kailash8b8de742019-07-30 08:54:51 -0700624
Zack Williamsb3292082019-10-11 17:15:18 -0700625 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailash6be1aa92019-08-05 18:11:11 -0700626
627 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700628 - timed: |
Kailash6be1aa92019-08-05 18:11:11 -0700629 TZ=America/Los_Angeles
Andy Bavier218385e2019-11-13 09:51:38 -0700630 {time-trigger}
Kailashaad71012019-08-27 10:36:53 -0700631
632- job-template:
633 id: 'voltha-patch-test'
Matteo Scandolo84e5f002020-02-10 11:50:05 -0800634 name: 'verify_{project}_sanity-test{name-extension}'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700635 build-node: 'ubuntu18.04-basebuild-4c-8g'
Andy Bavier4318f8d2020-04-09 13:50:53 -0700636 override-branch: '$GERRIT_BRANCH'
Andy Bavier02b00dc2020-04-28 13:01:12 -0700637 sandbox: true
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800638 build-timeout: 20
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700639 volthaSystemTestsChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800640 volthaHelmChartsChange: ''
Matteo Scandolocecb0842021-05-04 13:16:47 -0700641 extraHelmFlags: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800642 branch-regexp: '{all-branches-regexp}'
Kailashaad71012019-08-27 10:36:53 -0700643
644 description: |
645 <!-- Managed by Jenkins Job Builder -->
646 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
647 E2E Validation for Voltha 2.X
648
649 properties:
650 - cord-infra-properties:
651 build-days-to-keep: '{build-days-to-keep}'
652 artifact-num-to-keep: '{artifact-num-to-keep}'
653
654 wrappers:
655 - lf-infra-wrappers:
656 build-timeout: '{build-timeout}'
657 jenkins-ssh-credential: '{jenkins-ssh-credential}'
658
659 parameters:
660 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700661 name: buildNode
Andrea Campanella4792b7f2021-04-23 15:06:42 +0200662 default: '{build-node}'
Kailashaad71012019-08-27 10:36:53 -0700663 description: 'Name of the Jenkins node to run the job on'
664
665 - string:
hwchiu14f97852019-10-08 10:51:11 -0700666 name: gerritProject
667 default: '$GERRIT_PROJECT'
668 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700669
670 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700671 name: gerritRefspec
672 default: '$GERRIT_REFSPEC'
673 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
Kailashaad71012019-08-27 10:36:53 -0700674
675 - string:
Andy Bavierbedd0392019-10-16 13:58:18 -0700676 name: extraHelmFlags
Matteo Scandolocecb0842021-05-04 13:16:47 -0700677 default: '{extraHelmFlags}'
Andy Bavierbedd0392019-10-16 13:58:18 -0700678 description: 'Helm flags to pass to ./voltha up'
679
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700680 - string:
681 name: volthaSystemTestsChange
682 default: '{volthaSystemTestsChange}'
683 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
684
685 - string:
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800686 name: volthaHelmChartsChange
687 default: '{volthaHelmChartsChange}'
688 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
689
690 - string:
691 name: branch
692 default: '{override-branch}'
693 description: 'Name of the branch to use'
694
Kailashaad71012019-08-27 10:36:53 -0700695 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -0700696 concurrent: true
Kailashaad71012019-08-27 10:36:53 -0700697
Zack Williamsb3292082019-10-11 17:15:18 -0700698 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -0700699
700 triggers:
Andy Bavierb99c3d32020-02-18 11:14:17 -0700701 - gerrit:
702 server-name: '{gerrit-server-name}'
Kailashaad71012019-08-27 10:36:53 -0700703 dependency-jobs: '{dependency-jobs}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700704 silent-start: true
705 trigger-on:
706 - patchset-created-event:
707 exclude-drafts: true
708 exclude-trivial-rebase: false
709 exclude-no-code-change: true
710 - draft-published-event
711 - comment-added-contains-event:
712 comment-contains-value: '(?i)^.*recheck$'
713 projects:
714 - project-compare-type: REG_EXP
715 project-pattern: '^{project}$'
716 branches:
717 - branch-compare-type: REG_EXP
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800718 branch-pattern: '{branch-regexp}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700719 file-paths:
720 - compare-type: REG_EXP
721 pattern: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700722
723# POD Per Patchset Pipeline Jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700724# to use these parameters in a job: `<<: *voltha-physical-patchset-parameters`
725- voltha-physical-patchset-parameters: &voltha-physical-patchset-parameters
726 name: voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -0700727 parameters:
728 - string:
729 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -0700730 default: '{build-node}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700731 description: 'Pod management node'
732
733 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700734 name: branch
735 default: '$GERRIT_BRANCH'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700736 description: 'Name of the repo branch to use'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700737
738 - string:
739 name: gerritProject
740 default: '$GERRIT_PROJECT'
741 description: 'Name of the Gerrit project'
742
743 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -0700744 name: gerritRefspec
745 default: '$GERRIT_REFSPEC'
746 description: 'RefSpec number in Gerrit'
747
748 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700749 name: gerritComment
750 default: '$GERRIT_EVENT_COMMENT_TEXT'
751 description: 'RefSpec number in Gerrit'
752
753 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700754 name: cordRepoUrl
755 default: '{gerrit-server-url}'
756 description: 'The URL of the CORD Project repository'
757
758 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700759 name: configBaseDir
760 default: 'pod-configs'
761 description: 'The directory inside the POD configs repository'
762
763 - string:
764 name: configDeploymentDir
765 default: 'deployment-configs'
766 description: 'The deployment configs folder'
767
768 - string:
769 name: configKubernetesDir
770 default: 'kubernetes-configs'
771 description: 'The kubernetes config folder'
772
773 - string:
774 name: configFileName
775 default: '{config-pod}'
776 description: 'The config file'
777
778 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700779 name: podName
780 default: '{config-pod}'
781
782 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700783 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -0700784 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700785 description: 'Path of SADIS config to load'
786
787 - string:
Andy Bavier893d2442020-05-21 12:41:17 -0700788 name: oltDebVersionMaster
789 default: '{oltDebVersionMaster}'
790 description: 'OLT Software version to install for master branch builds'
791
792 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700793 name: oltDebVersionVoltha23
Andy Bavier893d2442020-05-21 12:41:17 -0700794 default: '{oltDebVersionVoltha23}'
795 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700796
797 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700798 name: profile
799 default: '{profile}'
800 description: 'Technology Profile pushed to the ETCD'
801
802 - string:
803 name: notificationEmail
804 default: 'andy@opennetworking.org'
805 description: ''
806
807 - bool:
808 name: reinstallOlt
809 default: true
810 description: "Re-install OLT software"
811
Zack Williams03ebb272020-03-27 09:42:33 -0700812 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700813 name: extraRobotArgs
814 default: '{default-test-args}'
815 description: 'Arguments to pass to robot'
816
817 - string:
818 name: volthaSystemTestsChange
819 default: '{volthaSystemTestsChange}'
820 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
821
822 - string:
823 name: volthaHelmChartsChange
824 default: '{volthaHelmChartsChange}'
825 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
826
827 - string:
828 name: workflow
829 default: '{workflow}'
830 description: 'Installs and uses the specified work flow on the POD'
831
832 # deprecated parameters, remove after VOLTHA-2.8 is released
833 - string:
834 name: deploymentConfigFile
835 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
836 description: 'Path of deployment config file'
837
838 - string:
839 name: kindVolthaValuesFile
840 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
841 description: 'Path of kind-voltha values override file'
842
843 - string:
844 name: manifestUrl
845 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
846 description: 'URL to the repo manifest'
847
848 - string:
849 name: gerritChangeNumber
850 default: '$GERRIT_CHANGE_NUMBER'
851 description: 'Changeset number in Gerrit'
852
853 - string:
854 name: gerritPatchsetNumber
855 default: '$GERRIT_PATCHSET_NUMBER'
856 description: 'PatchSet number in Gerrit'
857
858 - string:
859 name: localConfigDir
860 default: null
861 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
862
863 - string:
864 name: configRepo
865 default: 'pod-configs'
866 description: 'A repository containing the config files, will be checked out if specified'
867
868 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700869 name: manualBranch
870 default: '{manualBranch}'
871 description: "If a non-empty string, build manually as a specific branch, not with a specific patchset"
Andy Bavier51ba7e82019-12-17 11:01:01 -0700872
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700873- job-template:
874 name: '{name}'
875 id: verify_physical_voltha_patchset_auto
876 description: |
877 <!-- Managed by Jenkins Job Builder -->
878 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
879 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
880 Created by Andy Bavier, andy@opennetworking.org <br />
881 Copyright (c) 2019 Open Networking Foundation (ONF)
882 sandbox: true
883 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
884 default-test-args: '-i sanityORDeleteOLT -X'
885 branch-pattern: '{all-branches-regexp}'
886 build-node: 'tucson-pod'
887 config-pod: 'tucson-pod'
888 workflow: 'att'
889 profile: 'Default'
890 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
891 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
892 volthaSystemTestsChange: ''
893 volthaHelmChartsChange: ''
894
895 properties:
896 - cord-infra-properties:
897 build-days-to-keep: '{build-days-to-keep}'
898 artifact-num-to-keep: '{artifact-num-to-keep}'
899
900 <<: *voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -0700901
902 project-type: pipeline
903 concurrent: true
904
905 dsl: !include-raw-escape: pipeline/{pipeline-script}
906
907 triggers:
908 - gerrit:
909 server-name: '{gerrit-server-name}'
910 dependency-jobs: '{dependency-jobs}'
911 silent-start: false
912 successful-message: "PASSED hardware test"
913 failure-message: "FAILED hardware test"
914 unstable-message: "UNSTABLE hardware test"
915 trigger-on:
916 - comment-added-event:
917 approval-category: 'Code-Review'
918 approval-value: '+2'
919 projects:
920 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -0800921 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-go)$'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700922 branches:
Andy Bavier37f6ea92020-04-03 11:13:35 -0700923 - branch-compare-type: REG_EXP
Matteo Scandolo5b998a22021-04-22 09:42:40 -0700924 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700925
926
927- job-template:
928 name: '{name}'
929 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700930 description: |
931 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700932 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -0700933 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700934 Created by Andy Bavier, andy@opennetworking.org <br />
935 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700936 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700937 build-node: 'tucson-pod'
938 config-pod: 'tucson-pod'
939 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
940 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
941 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700942 trigger-string: 'hardware test'
943 default-test-args: '-i sanityORDeleteOLT -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700944 branch-pattern: '{all-branches-regexp}'
945 volthaSystemTestsChange: ''
946 volthaHelmChartsChange: ''
947 workflow: 'att'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700948
949 properties:
950 - cord-infra-properties:
951 build-days-to-keep: '{build-days-to-keep}'
952 artifact-num-to-keep: '{artifact-num-to-keep}'
953
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700954 <<: *voltha-physical-patchset-parameters
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700955
Andy Bavier8c11d462019-12-17 08:19:34 -0700956
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700957 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700958 concurrent: true
959
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700960 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700961
Andy Bavier1f465592019-11-06 10:03:56 -0700962 triggers:
963 - gerrit:
964 server-name: '{gerrit-server-name}'
965 dependency-jobs: '{dependency-jobs}'
966 silent-start: false
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700967 successful-message: "PASSED {trigger-string}"
968 failure-message: "FAILED {trigger-string}"
969 unstable-message: "UNSTABLE {trigger-string}"
Andy Bavier1f465592019-11-06 10:03:56 -0700970 trigger-on:
971 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700972 comment-contains-value: '^{trigger-string}$'
Scott Bakerda31d7b2020-01-08 16:35:52 -0800973 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700974 comment-contains-value: '^{trigger-string} with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -0700975 projects:
976 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -0800977 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 -0700978 branches:
Andy Bavierfc3ca142020-03-27 13:44:25 -0700979 - branch-compare-type: REG_EXP
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700980 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700981
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700982
983- job-template:
984 name: '{name}'
985 id: build_physical_voltha_manual
986 description: |
987 <!-- Managed by Jenkins Job Builder -->
988 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
989 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
990 Created by Andy Bavier, andy@opennetworking.org <br />
991 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700992 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700993 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700994
995 properties:
996 - cord-infra-properties:
997 build-days-to-keep: '{build-days-to-keep}'
998 artifact-num-to-keep: '{artifact-num-to-keep}'
999
1000 parameters:
1001 - string:
1002 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -07001003 default: '{build-node}'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001004 description: 'Pod management node'
1005
1006 - string:
1007 name: manifestUrl
1008 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
1009 description: 'URL to the repo manifest'
1010
1011 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001012 name: branch
1013 default: "$GERRIT_BRANCH"
1014 description: 'Name of the repo manifest branch to use'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001015
1016 - string:
1017 name: gerritProject
1018 default: '$GERRIT_PROJECT'
1019 description: 'Name of the Gerrit project'
1020
1021 - string:
1022 name: gerritChangeNumber
1023 default: '$GERRIT_CHANGE_NUMBER'
1024 description: 'Changeset number in Gerrit'
1025
1026 - string:
1027 name: gerritPatchsetNumber
1028 default: '$GERRIT_PATCHSET_NUMBER'
1029 description: 'PatchSet number in Gerrit'
1030
1031 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -07001032 name: gerritRefspec
1033 default: '$GERRIT_REFSPEC'
1034 description: 'RefSpec number in Gerrit'
1035
1036 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001037 name: cordRepoUrl
1038 default: '{gerrit-server-url}'
1039 description: 'The URL of the CORD Project repository'
1040
1041 - string:
1042 name: podName
1043 default: '{config-pod}'
1044
1045 - string:
1046 name: deploymentConfigFile
1047 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
1048 description: 'Path of deployment config file'
1049
1050 - string:
1051 name: kindVolthaValuesFile
1052 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
1053 description: 'Path of kind-voltha values override file'
1054
1055 - string:
1056 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -07001057 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001058 description: 'Path of SADIS config to load'
1059
1060 - string:
1061 name: localConfigDir
1062 default: null
1063 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
1064
1065 - string:
1066 name: configRepo
1067 default: 'pod-configs'
1068 description: 'A repository containing the config files, will be checked out if specified'
1069
1070 - string:
Andy Bavier893d2442020-05-21 12:41:17 -07001071 name: oltDebVersionMaster
1072 default: '{oltDebVersionMaster}'
1073 description: 'OLT Software version to install for master branch builds'
1074
1075 - string:
1076 name: oltDebVersionVoltha23
1077 default: '{oltDebVersionVoltha23}'
1078 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001079
1080 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001081 name: profile
1082 default: '{profile}'
1083 description: 'Technology Profile pushed to the ETCD'
1084
1085 - string:
1086 name: notificationEmail
1087 default: 'andy@opennetworking.org'
1088 description: ''
1089
1090 - bool:
1091 name: reinstallOlt
1092 default: false
1093 description: "Re-install OLT software"
1094
Zack Williams03ebb272020-03-27 09:42:33 -07001095 - string:
1096 name: manualBranch
1097 default: '{manualBranch}'
1098 description: "If a non-empty string, build manually on a specific branch, not with a specific patchset"
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001099
Andy Bavier8c11d462019-12-17 08:19:34 -07001100 - string:
1101 name: extraRobotArgs
Andy Bavierd2b25fe2020-06-09 07:22:00 -07001102 default: '-e bbsim -X'
Andy Bavier8c11d462019-12-17 08:19:34 -07001103 description: 'Arguments to pass to robot'
1104
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001105 project-type: pipeline
1106 concurrent: true
1107
1108 dsl: !include-raw-escape: pipeline/{pipeline-script}