blob: bb42b7ba425008bcd8cef3d888f74a20fff8bacc [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
TorstenThieme669258d2021-01-29 09:03:10 +0000104 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-multi-olt-test
105 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-multi-olt-test
TorstenThieme45422612021-03-23 10:38:59 +0000106 make-target-reconciletest: reconcile-openonu-go-adapter-multi-olt-test
107 make-target-reconciledttest: reconcile-openonu-go-adapter-multi-olt-test-dt
108 make-target-reconciletttest: reconcile-openonu-go-adapter-multi-olt-test-tt
TorstenThieme669258d2021-01-29 09:03:10 +0000109 time-trigger: "H H/12 * * *"
110
111 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700112 name: 'patchset-voltha-multiple-olts-openonu-go-test-bbsim'
113 trigger-comment: "voltha test openonu multiolt"
114 code-branch: '$GERRIT_BRANCH'
115 gerrit-project: '$GERRIT_PROJECT'
116 gerritRefspec: '$GERRIT_REFSPEC'
117 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-multi-olt-test
118 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-multi-olt-test
119 make-target-reconciletest: reconcile-openonu-go-adapter-multi-olt-test
120 make-target-reconciledttest: reconcile-openonu-go-adapter-multi-olt-test-dt
121 make-target-reconciletttest: reconcile-openonu-go-adapter-multi-olt-test-tt
122 olts: 2
123 onus: 2
124 pons: 2
125
126 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +0530127 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim-2.7'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700128 pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700129 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass46d61132021-03-30 16:42:07 +0530130 make-target: openonu-go-adapter-multi-olt-test
131 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-multi-olt-test
132 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-multi-olt-test
TorstenThieme45422612021-03-23 10:38:59 +0000133 make-target-reconciletest: reconcile-openonu-go-adapter-test
134 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
135 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +0530136 withAlarms: false
137 code-branch: 'voltha-2.7'
138 olts: 2
139 onus: 2
140 pons: 2
141 time-trigger: "H H/23 * * *"
142
Matteo Scandolo075740f2021-04-22 14:52:29 -0700143 - 'voltha-periodic-test-kind-voltha-based':
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100144 name: 'periodic-voltha-test-DMI'
145 pipeline-script: 'voltha-DMI-bbsim-tests.groovy'
146 build-node: 'qct-pod4-node2'
Andrea Campanellae9739492020-12-17 09:54:04 +0100147 make-target: bbsim-dmi-hw-management-test
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100148 withAlarms: false
149 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800150 time-trigger: "H H/23 * * *"
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100151
Matteo Scandolo075740f2021-04-22 14:52:29 -0700152 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700153 name: 'periodic-voltha-test-DMI-2.7'
Andrea Campanellae9739492020-12-17 09:54:04 +0100154 pipeline-script: 'voltha-DMI-bbsim-tests.groovy'
155 build-node: 'qct-pod4-node2'
156 make-target: bbsim-dmi-hw-management-test
157 withAlarms: false
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700158 code-branch: 'voltha-2.7'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800159 time-trigger: "H H/23 * * *"
Andrea Campanellae9739492020-12-17 09:54:04 +0100160
Matteo Scandolo075740f2021-04-22 14:52:29 -0700161 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700162 name: 'periodic-voltha-test-bbsim-2.7'
Andy Bavier4be37062020-06-29 15:17:26 -0700163 pipeline-script: 'voltha-nightly-tests-bbsim.groovy'
Andy Bavier10926f12020-03-27 16:53:43 -0700164 build-node: 'qct-pod4-node2'
Andy Bavier10926f12020-03-27 16:53:43 -0700165 make-target: functional-single-kind
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800166 make-target-failtest: bbsim-failurescenarios
167 make-target-errortest: bbsim-errorscenarios
168 make-target-alarmtest: bbsim-alarms-kind
169 withAlarms: true
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700170 code-branch: 'voltha-2.7'
Andy Bavier4be37062020-06-29 15:17:26 -0700171 onus: 2
172 pons: 2
Suchitra Vemuri5fc1c6a2021-04-13 19:12:38 -0700173 time-trigger: "H H * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700174
Matteo Scandolo075740f2021-04-22 14:52:29 -0700175 - 'voltha-periodic-test-kind-voltha-based':
Andy Bavier4be37062020-06-29 15:17:26 -0700176 name: 'periodic-voltha-etcd-test'
hwchiufdc49242019-11-18 16:37:22 -0800177 pipeline-script: 'voltha-system-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700178 build-node: 'ubuntu18.04-basebuild-4c-8g'
hwchiuc9189b72019-12-02 15:12:29 -0800179 code-branch: 'master'
hwchiu593a95a2020-01-30 10:09:39 -0800180 make-target: sanity-multi-kind
hwchiufdc49242019-11-18 16:37:22 -0800181 onus: 2
182 pons: 2
183 time-trigger: "H H/12 * * *"
184
Matteo Scandolo075740f2021-04-22 14:52:29 -0700185 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700186 name: 'periodic-voltha-etcd-test-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700187 pipeline-script: 'voltha-system-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700188 build-node: 'ubuntu18.04-basebuild-4c-8g'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700189 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700190 make-target: sanity-multi-kind
191 onus: 2
192 pons: 2
193 time-trigger: "H H/12 * * *"
194
195
Matteo Scandolo075740f2021-04-22 14:52:29 -0700196 - 'voltha-periodic-test-kind-voltha-based':
Andy Bavier3708d072019-12-10 15:22:18 -0700197 name: 'periodic-voltha-sanity-test-multi-runs'
Andy Bavier0088c212020-01-08 13:44:03 -0700198 pipeline-script: 'voltha-go-multi-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -0700199 build-node: 'qct-pod4-node2'
Andy Bavier3708d072019-12-10 15:22:18 -0700200 code-branch: 'master'
Andy Baviereea37da2020-01-17 17:11:32 -0700201 make-target: sanity-kind
Andy Bavier93e125e2020-01-17 15:23:50 -0700202 onus: 1
203 pons: 1
Andy Bavier3708d072019-12-10 15:22:18 -0700204 test-runs: 5
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800205 time-trigger: "H H/23 * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700206
Matteo Scandolo075740f2021-04-22 14:52:29 -0700207 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700208 name: 'periodic-voltha-sanity-test-multi-runs-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700209 pipeline-script: 'voltha-go-multi-tests.groovy'
210 build-node: 'qct-pod4-node2'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700211 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700212 make-target: sanity-kind
213 onus: 1
214 pons: 1
215 test-runs: 5
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800216 time-trigger: "H H/23 * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700217
Matteo Scandolo075740f2021-04-22 14:52:29 -0700218 - 'voltha-periodic-test-kind-voltha-based':
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700219 name: 'nightly-voltha-DTflow-sanity-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700220 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700221 code-branch: 'master'
222 make-target: sanity-kind-dt
223 onus: 1
224 pons: 1
225 time-trigger: "@daily"
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700226 work-flow: DT
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700227
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700228 # Per-patchset Pod builds on Tucson pod (master)
Andy Bavier51ba7e82019-12-17 11:01:01 -0700229 - 'verify_physical_voltha_patchset_auto':
230 name: 'verify_physical_voltha_patchset_auto'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800231 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700232
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700233 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
234 - 'verify_physical_voltha_patchset_auto':
235 name: 'verify_physical_voltha_patchset_auto_voltha-2.7'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700236 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
237 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700238 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
239 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
240 branch-pattern: voltha-2.7
241
242 # Per-patchset Pod builds on Tucson pod (master)
243 - 'verify_physical_voltha_patchset_manual':
244 name: 'verify_physical_voltha_patchset_manual'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700245 profile: 'Default'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700246 trigger-string: 'hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800247 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700248 branch-pattern: master
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700249
250
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700251 # Per-patchset Pod builds on Tucson pod (master)
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700252 - 'verify_physical_voltha_patchset_manual':
253 name: 'verify_physical_voltha_patchset_manual_DT'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700254 workflow: 'dt'
255 profile: 'Default'
256 pipeline-script: 'voltha/voltha-2.7/voltha-dt-physical-build-and-tests.groovy'
257 trigger-string: 'DT hardware test'
258 default-test-args: '-i sanityDt -i PowerSwitch -X'
259 branch-pattern: master
260
261 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
262 - 'verify_physical_voltha_patchset_manual':
263 name: 'verify_physical_voltha_patchset_manual_voltha-2.7'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700264 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
265 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700266 profile: 'Default'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700267 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
268 trigger-string: 'hardware test'
269 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
270 branch-pattern: voltha-2.7
271
272
273 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
274 - 'verify_physical_voltha_patchset_manual':
275 name: 'verify_physical_voltha_patchset_manual_DT_voltha-2.7'
276 workflow: 'dt'
277 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
278 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
279 profile: 'Default'
280 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700281 trigger-string: 'DT hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800282 default-test-args: '-i sanityDt -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700283 branch-pattern: voltha-2.7
Andy Bavier19c98a22019-11-11 13:57:11 -0700284
285 # Manual build job for Tucson pod
286 # Allow local testing without disrupting above job
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700287 - 'build_physical_voltha_manual':
Andy Bavier19c98a22019-11-11 13:57:11 -0700288 name: 'build_tucson-pod_manual'
Andy Bavier19c98a22019-11-11 13:57:11 -0700289 config-pod: 'tucson-pod'
Zack Williams03ebb272020-03-27 09:42:33 -0700290 manualBranch: 'master'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700291 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
292 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavier19c98a22019-11-11 13:57:11 -0700293 profile: 'Default'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800294 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700295
Kailash8b8de742019-07-30 08:54:51 -0700296- job-template:
Matteo Scandolo075740f2021-04-22 14:52:29 -0700297 # as of now this template is only used by the openonu-go periodic test,
298 # in order to use for multiple pipelines we should change it so that
299 # we can specify a list of make targets and iterate over that
Kailashaad71012019-08-27 10:36:53 -0700300 id: 'voltha-periodic-test'
301 name: '{name}'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700302 pipeline-script: 'voltha/master/openonu-go-periodic-test-bbsim.groovy'
303 build-node: 'ubuntu18.04-basebuild-8c-15g'
304 test-runs: 1
305 robot-args: ''
306 gerrit-project: ''
307 gerritRefspec: ''
308 work-flow: ''
309 volthaSystemTestsChange: ''
310 volthaHelmChartsChange: ''
311 extraHelmFlags: ''
312 sandbox: true
313 olts: 1
314 make-target: openonu-go-adapter-test
315 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
316 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
317 make-target-reconciletest: reconcile-openonu-go-adapter-test
318 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
319 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
320 trigger-comment: vv7CBoQQYYonvaN8xcru
321 time-trigger: 0 0 29 2 *
322
323 description: |
324 <!-- Managed by Jenkins Job Builder -->
325 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
326 E2E Validation for Voltha 2.X
327
328 properties:
329 - cord-infra-properties:
330 build-days-to-keep: '{big-build-days-to-keep}'
331 artifact-num-to-keep: '{big-artifact-num-to-keep}'
332
333 wrappers:
334 - lf-infra-wrappers:
335 build-timeout: '{build-timeout}'
336 jenkins-ssh-credential: '{jenkins-ssh-credential}'
337
338 parameters:
339 - string:
340 name: buildNode
341 default: '{build-node}'
342 description: 'Name of the Jenkins node to run the job on'
343
344 - string:
345 name: extraHelmFlags
346 default: '--set onu={onus},pon={pons},{extraHelmFlags}'
347 description: 'Helm flags to pass to ./voltha up'
348
349 # TODO is there a better way to manage the test targets?
350 # maybe we can use a comma separated list?
351 - string:
352 name: makeTarget
353 default: '{make-target}'
354 description: 'Makefile target to invoke during test'
355
356 - string:
357 name: makeFailtestTarget
358 default: '{make-target-failtest}'
359 description: 'Makefile target to invoke during failure/based test'
360
361 - string:
362 name: makeMultiOltTarget
363 default: '{make-target-multipleolt}'
364 description: 'Makefile target to invoke during multiple olt test'
365
366 - string:
367 name: makeErrortestTarget
368 default: '{make-target-errortest}'
369 description: 'Makefile target to invoke during error test'
370
371 - string:
372 name: makeAlarmtestTarget
373 default: '{make-target-alarmtest}'
374 description: 'Makefile target to invoke during alarm test'
375
376 - string:
377 name: make1t4gemTestTarget
378 default: '{make-target-1t4gemtest}'
379 description: 'Makefile target to invoke during 1t4gem test'
380
381 - string:
382 name: make1t8gemTestTarget
383 default: '{make-target-1t8gemtest}'
384 description: 'Makefile target to invoke during 1t8gem test'
385
386 - string:
387 name: makeReconcileTestTarget
388 default: '{make-target-reconciletest}'
389 description: 'Makefile target to invoke during reconcile test'
390
391 - string:
392 name: makeReconcileDtTestTarget
393 default: '{make-target-reconciledttest}'
394 description: 'Makefile target to invoke during reconcile dt test'
395
396 - string:
397 name: makeReconcileTtTestTarget
398 default: '{make-target-reconciletttest}'
399 description: 'Makefile target to invoke during reconcile tt test'
400
401 - string:
402 name: branch
403 default: '{code-branch}'
404 description: 'Repo manifest branch for code checkout'
405
406 - string:
407 name: gerritProject
408 default: '{gerrit-project}'
409 description: 'Name of the Gerrit project'
410
411 - string:
412 name: gerritRefspec
413 default: ''
414 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
415
416 - string:
417 name: extraRobotArgs
418 default: '{robot-args}'
419 description: 'Arguments to pass to robot'
420
421 - string:
422 name: volthaSystemTestsChange
423 default: '{volthaSystemTestsChange}'
424 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
425
426 - string:
427 name: volthaHelmChartsChange
428 default: '{volthaHelmChartsChange}'
429 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
430
431 - string:
432 name: olts
433 default: '{olts}'
434 description: 'How many BBSim instances to run'
435
436 project-type: pipeline
437 concurrent: true
438
439 dsl: !include-raw-escape: pipeline/{pipeline-script}
440
441 triggers:
442 # patchset jobs will set this to "0 0 29 2 *" (feb 29th, it's once every 4 years)
443 - timed: |
444 TZ=America/Los_Angeles
445 {time-trigger}
446 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
447 - gerrit:
448 server-name: '{gerrit-server-name}'
449 silent-start: false
450 successful-message: "PASSED openonu-go test"
451 failure-message: "FAILED openonu-go test"
452 unstable-message: "UNSTABLE openonu-go test"
453 trigger-on:
454 - comment-added-contains-event:
455 comment-contains-value: '.*{trigger-comment}.*'
456 projects:
457 - project-compare-type: REG_EXP
458 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter-go|ofagent-go|voltha-onos|bbsim)$'
459 branches:
460 - branch-compare-type: REG_EXP
461 branch-pattern: '{all-branches-regexp}'
462
463- job-template:
464 id: 'voltha-periodic-test-kind-voltha-based'
465 name: '{name}'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700466 pipeline-script: 'voltha-go-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -0700467 test-runs: 1
468 robot-args: ''
Andy Bavierb35171c2020-03-06 15:47:29 -0700469 gerrit-project: ''
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700470 work-flow: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700471 volthaSystemTestsChange: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700472 volthaHelmChartsChange: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700473 kindVolthaChange: ''
Andrea Campanella6d562182020-10-06 18:39:30 +0200474 extraHelmFlags: ''
Andy Bavier02b00dc2020-04-28 13:01:12 -0700475 sandbox: true
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800476 olts: 1
Matteo Scandolob36f0892020-11-23 12:19:48 -0800477 withAlarms: false
Andy Bavierb35171c2020-03-06 15:47:29 -0700478
Kailash8b8de742019-07-30 08:54:51 -0700479 description: |
480 <!-- Managed by Jenkins Job Builder -->
481 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
482 E2E Validation for Voltha 2.X
483
484 properties:
485 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800486 build-days-to-keep: '{big-build-days-to-keep}'
487 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Kailash8b8de742019-07-30 08:54:51 -0700488
489 wrappers:
490 - lf-infra-wrappers:
491 build-timeout: '{build-timeout}'
492 jenkins-ssh-credential: '{jenkins-ssh-credential}'
493
494 parameters:
495 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700496 name: buildNode
Andy Bavier833b78e2019-11-22 17:01:31 -0700497 default: '{build-node}'
Kailash8b8de742019-07-30 08:54:51 -0700498 description: 'Name of the Jenkins node to run the job on'
499
500 - string:
Andy Bavierea26c5c2019-09-18 08:09:17 -0700501 name: extraHelmFlags
Andrea Campanella6d562182020-10-06 18:39:30 +0200502 default: '--set onu={onus},pon={pons},{extraHelmFlags}'
Andy Bavierea26c5c2019-09-18 08:09:17 -0700503 description: 'Helm flags to pass to ./voltha up'
504
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800505 - bool:
506 name: withAlarms
Matteo Scandolob36f0892020-11-23 12:19:48 -0800507 default: '{withAlarms}'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800508 description: "Run alarm based tests when true"
509
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700510 - string:
Andy Bavier218385e2019-11-13 09:51:38 -0700511 name: makeTarget
512 default: '{make-target}'
513 description: 'Makefile target to invoke during test'
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700514
Andy Bavier4c8b3232019-11-22 16:17:47 -0700515 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800516 name: makeFailtestTarget
517 default: '{make-target-failtest}'
518 description: 'Makefile target to invoke during failure/based test'
519
520 - string:
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -0800521 name: makeMultiOltTarget
522 default: '{make-target-multipleolt}'
523 description: 'Makefile target to invoke during multiple olt test'
524
525 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800526 name: makeErrortestTarget
527 default: '{make-target-errortest}'
528 description: 'Makefile target to invoke during error test'
529
530 - string:
531 name: makeAlarmtestTarget
532 default: '{make-target-alarmtest}'
533 description: 'Makefile target to invoke during alarm test'
534
535 - string:
TorstenThieme669258d2021-01-29 09:03:10 +0000536 name: make1t4gemTestTarget
537 default: '{make-target-1t4gemtest}'
538 description: 'Makefile target to invoke during 1t4gem test'
539
540 - string:
541 name: make1t8gemTestTarget
542 default: '{make-target-1t8gemtest}'
543 description: 'Makefile target to invoke during 1t8gem test'
544
545 - string:
TorstenThieme45422612021-03-23 10:38:59 +0000546 name: makeReconcileTestTarget
547 default: '{make-target-reconciletest}'
548 description: 'Makefile target to invoke during reconcile test'
549
550 - string:
551 name: makeReconcileDtTestTarget
552 default: '{make-target-reconciledttest}'
553 description: 'Makefile target to invoke during reconcile dt test'
554
555 - string:
556 name: makeReconcileTtTestTarget
557 default: '{make-target-reconciletttest}'
558 description: 'Makefile target to invoke during reconcile tt test'
559
560 - string:
Andy Bavier4c8b3232019-11-22 16:17:47 -0700561 name: manifestUrl
562 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700563 description: 'Repo manifest URL for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700564
565 - string:
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700566 name: branch
Andy Bavier4c8b3232019-11-22 16:17:47 -0700567 default: '{code-branch}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700568 description: 'Repo manifest branch for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700569
Andy Bavier3708d072019-12-10 15:22:18 -0700570 - string:
Andy Bavierb35171c2020-03-06 15:47:29 -0700571 name: gerritProject
572 default: '{gerrit-project}'
573 description: 'Name of the Gerrit project'
574
575 - string:
576 name: gerritChangeNumber
577 default: ''
578 description: 'Changeset number in Gerrit'
579
580 - string:
581 name: gerritPatchsetNumber
582 default: ''
583 description: 'PatchSet number in Gerrit'
584
585 - string:
Andy Bavier3708d072019-12-10 15:22:18 -0700586 name: testRuns
587 default: '{test-runs}'
588 description: 'How many times to repeat the tests'
589
590 - string:
591 name: extraRobotArgs
592 default: '{robot-args}'
593 description: 'Arguments to pass to robot'
594
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700595 - string:
596 name: workFlow
597 default: '{work-flow}'
598 description: 'Workflow for testcase'
Andy Bavier3708d072019-12-10 15:22:18 -0700599
pierventref48ebc12020-07-17 16:01:32 +0200600 - string:
601 name: karafHome
602 default: '{karaf-home}'
603 description: 'Karaf home'
604
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700605 - string:
606 name: volthaSystemTestsChange
607 default: '{volthaSystemTestsChange}'
608 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
609
610 - string:
611 name: kindVolthaChange
612 default: '{kindVolthaChange}'
613 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
614
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800615 - string:
616 name: olts
617 default: '{olts}'
618 description: 'How many BBSim instances to run'
619
Kailash8b8de742019-07-30 08:54:51 -0700620 project-type: pipeline
Andy Bavier358aa0b2019-11-22 11:55:39 -0700621 concurrent: true
Kailash8b8de742019-07-30 08:54:51 -0700622
Zack Williamsb3292082019-10-11 17:15:18 -0700623 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailash6be1aa92019-08-05 18:11:11 -0700624
625 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700626 - timed: |
Kailash6be1aa92019-08-05 18:11:11 -0700627 TZ=America/Los_Angeles
Andy Bavier218385e2019-11-13 09:51:38 -0700628 {time-trigger}
Kailashaad71012019-08-27 10:36:53 -0700629
630- job-template:
631 id: 'voltha-patch-test'
Matteo Scandolo84e5f002020-02-10 11:50:05 -0800632 name: 'verify_{project}_sanity-test{name-extension}'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700633 build-node: 'ubuntu18.04-basebuild-4c-8g'
Andy Bavier4318f8d2020-04-09 13:50:53 -0700634 override-branch: '$GERRIT_BRANCH'
Andy Bavier02b00dc2020-04-28 13:01:12 -0700635 sandbox: true
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800636 build-timeout: 20
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700637 volthaSystemTestsChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800638 volthaHelmChartsChange: ''
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700639 kindVolthaChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800640 branch-regexp: '{all-branches-regexp}'
Kailashaad71012019-08-27 10:36:53 -0700641
642 description: |
643 <!-- Managed by Jenkins Job Builder -->
644 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
645 E2E Validation for Voltha 2.X
646
647 properties:
648 - cord-infra-properties:
649 build-days-to-keep: '{build-days-to-keep}'
650 artifact-num-to-keep: '{artifact-num-to-keep}'
651
652 wrappers:
653 - lf-infra-wrappers:
654 build-timeout: '{build-timeout}'
655 jenkins-ssh-credential: '{jenkins-ssh-credential}'
656
657 parameters:
658 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700659 name: buildNode
Andrea Campanella4792b7f2021-04-23 15:06:42 +0200660 default: '{build-node}'
Kailashaad71012019-08-27 10:36:53 -0700661 description: 'Name of the Jenkins node to run the job on'
662
663 - string:
hwchiu14f97852019-10-08 10:51:11 -0700664 name: gerritProject
665 default: '$GERRIT_PROJECT'
666 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700667
668 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700669 name: gerritRefspec
670 default: '$GERRIT_REFSPEC'
671 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
Kailashaad71012019-08-27 10:36:53 -0700672
673 - string:
Andy Bavierbedd0392019-10-16 13:58:18 -0700674 name: extraHelmFlags
Andy Bavier10926f12020-03-27 16:53:43 -0700675 default: ''
Andy Bavierbedd0392019-10-16 13:58:18 -0700676 description: 'Helm flags to pass to ./voltha up'
677
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700678 - string:
679 name: volthaSystemTestsChange
680 default: '{volthaSystemTestsChange}'
681 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
682
683 - string:
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800684 name: volthaHelmChartsChange
685 default: '{volthaHelmChartsChange}'
686 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
687
688 - string:
689 name: branch
690 default: '{override-branch}'
691 description: 'Name of the branch to use'
692
693 # deprecated params (not used in master, remove after 2.6 support is dropped)
694 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700695 name: kindVolthaChange
696 default: '{kindVolthaChange}'
697 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
698
Kailashaad71012019-08-27 10:36:53 -0700699 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -0700700 concurrent: true
Kailashaad71012019-08-27 10:36:53 -0700701
Zack Williamsb3292082019-10-11 17:15:18 -0700702 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -0700703
704 triggers:
Andy Bavierb99c3d32020-02-18 11:14:17 -0700705 - gerrit:
706 server-name: '{gerrit-server-name}'
Kailashaad71012019-08-27 10:36:53 -0700707 dependency-jobs: '{dependency-jobs}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700708 silent-start: true
709 trigger-on:
710 - patchset-created-event:
711 exclude-drafts: true
712 exclude-trivial-rebase: false
713 exclude-no-code-change: true
714 - draft-published-event
715 - comment-added-contains-event:
716 comment-contains-value: '(?i)^.*recheck$'
717 projects:
718 - project-compare-type: REG_EXP
719 project-pattern: '^{project}$'
720 branches:
721 - branch-compare-type: REG_EXP
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800722 branch-pattern: '{branch-regexp}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700723 file-paths:
724 - compare-type: REG_EXP
725 pattern: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700726
727# POD Per Patchset Pipeline Jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700728# to use these parameters in a job: `<<: *voltha-physical-patchset-parameters`
729- voltha-physical-patchset-parameters: &voltha-physical-patchset-parameters
730 name: voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -0700731 parameters:
732 - string:
733 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -0700734 default: '{build-node}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700735 description: 'Pod management node'
736
737 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700738 name: branch
739 default: '$GERRIT_BRANCH'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700740 description: 'Name of the repo branch to use'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700741
742 - string:
743 name: gerritProject
744 default: '$GERRIT_PROJECT'
745 description: 'Name of the Gerrit project'
746
747 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -0700748 name: gerritRefspec
749 default: '$GERRIT_REFSPEC'
750 description: 'RefSpec number in Gerrit'
751
752 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700753 name: gerritComment
754 default: '$GERRIT_EVENT_COMMENT_TEXT'
755 description: 'RefSpec number in Gerrit'
756
757 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700758 name: cordRepoUrl
759 default: '{gerrit-server-url}'
760 description: 'The URL of the CORD Project repository'
761
762 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700763 name: configBaseDir
764 default: 'pod-configs'
765 description: 'The directory inside the POD configs repository'
766
767 - string:
768 name: configDeploymentDir
769 default: 'deployment-configs'
770 description: 'The deployment configs folder'
771
772 - string:
773 name: configKubernetesDir
774 default: 'kubernetes-configs'
775 description: 'The kubernetes config folder'
776
777 - string:
778 name: configFileName
779 default: '{config-pod}'
780 description: 'The config file'
781
782 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700783 name: podName
784 default: '{config-pod}'
785
786 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700787 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -0700788 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700789 description: 'Path of SADIS config to load'
790
791 - string:
Andy Bavier893d2442020-05-21 12:41:17 -0700792 name: oltDebVersionMaster
793 default: '{oltDebVersionMaster}'
794 description: 'OLT Software version to install for master branch builds'
795
796 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700797 name: oltDebVersionVoltha23
Andy Bavier893d2442020-05-21 12:41:17 -0700798 default: '{oltDebVersionVoltha23}'
799 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700800
801 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700802 name: profile
803 default: '{profile}'
804 description: 'Technology Profile pushed to the ETCD'
805
806 - string:
807 name: notificationEmail
808 default: 'andy@opennetworking.org'
809 description: ''
810
811 - bool:
812 name: reinstallOlt
813 default: true
814 description: "Re-install OLT software"
815
Zack Williams03ebb272020-03-27 09:42:33 -0700816 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700817 name: extraRobotArgs
818 default: '{default-test-args}'
819 description: 'Arguments to pass to robot'
820
821 - string:
822 name: volthaSystemTestsChange
823 default: '{volthaSystemTestsChange}'
824 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
825
826 - string:
827 name: volthaHelmChartsChange
828 default: '{volthaHelmChartsChange}'
829 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
830
831 - string:
832 name: workflow
833 default: '{workflow}'
834 description: 'Installs and uses the specified work flow on the POD'
835
836 # deprecated parameters, remove after VOLTHA-2.8 is released
837 - string:
838 name: deploymentConfigFile
839 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
840 description: 'Path of deployment config file'
841
842 - string:
843 name: kindVolthaValuesFile
844 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
845 description: 'Path of kind-voltha values override file'
846
847 - string:
848 name: manifestUrl
849 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
850 description: 'URL to the repo manifest'
851
852 - string:
853 name: gerritChangeNumber
854 default: '$GERRIT_CHANGE_NUMBER'
855 description: 'Changeset number in Gerrit'
856
857 - string:
858 name: gerritPatchsetNumber
859 default: '$GERRIT_PATCHSET_NUMBER'
860 description: 'PatchSet number in Gerrit'
861
862 - string:
863 name: localConfigDir
864 default: null
865 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
866
867 - string:
868 name: configRepo
869 default: 'pod-configs'
870 description: 'A repository containing the config files, will be checked out if specified'
871
872 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700873 name: manualBranch
874 default: '{manualBranch}'
875 description: "If a non-empty string, build manually as a specific branch, not with a specific patchset"
Andy Bavier51ba7e82019-12-17 11:01:01 -0700876
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700877- job-template:
878 name: '{name}'
879 id: verify_physical_voltha_patchset_auto
880 description: |
881 <!-- Managed by Jenkins Job Builder -->
882 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
883 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
884 Created by Andy Bavier, andy@opennetworking.org <br />
885 Copyright (c) 2019 Open Networking Foundation (ONF)
886 sandbox: true
887 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
888 default-test-args: '-i sanityORDeleteOLT -X'
889 branch-pattern: '{all-branches-regexp}'
890 build-node: 'tucson-pod'
891 config-pod: 'tucson-pod'
892 workflow: 'att'
893 profile: 'Default'
894 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
895 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
896 volthaSystemTestsChange: ''
897 volthaHelmChartsChange: ''
898
899 properties:
900 - cord-infra-properties:
901 build-days-to-keep: '{build-days-to-keep}'
902 artifact-num-to-keep: '{artifact-num-to-keep}'
903
904 <<: *voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -0700905
906 project-type: pipeline
907 concurrent: true
908
909 dsl: !include-raw-escape: pipeline/{pipeline-script}
910
911 triggers:
912 - gerrit:
913 server-name: '{gerrit-server-name}'
914 dependency-jobs: '{dependency-jobs}'
915 silent-start: false
916 successful-message: "PASSED hardware test"
917 failure-message: "FAILED hardware test"
918 unstable-message: "UNSTABLE hardware test"
919 trigger-on:
920 - comment-added-event:
921 approval-category: 'Code-Review'
922 approval-value: '+2'
923 projects:
924 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -0800925 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-go)$'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700926 branches:
Andy Bavier37f6ea92020-04-03 11:13:35 -0700927 - branch-compare-type: REG_EXP
Matteo Scandolo5b998a22021-04-22 09:42:40 -0700928 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700929
930
931- job-template:
932 name: '{name}'
933 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700934 description: |
935 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700936 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -0700937 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700938 Created by Andy Bavier, andy@opennetworking.org <br />
939 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700940 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700941 build-node: 'tucson-pod'
942 config-pod: 'tucson-pod'
943 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
944 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
945 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700946 trigger-string: 'hardware test'
947 default-test-args: '-i sanityORDeleteOLT -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700948 branch-pattern: '{all-branches-regexp}'
949 volthaSystemTestsChange: ''
950 volthaHelmChartsChange: ''
951 workflow: 'att'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700952
953 properties:
954 - cord-infra-properties:
955 build-days-to-keep: '{build-days-to-keep}'
956 artifact-num-to-keep: '{artifact-num-to-keep}'
957
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700958 <<: *voltha-physical-patchset-parameters
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700959
Andy Bavier8c11d462019-12-17 08:19:34 -0700960
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700961 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700962 concurrent: true
963
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700964 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700965
Andy Bavier1f465592019-11-06 10:03:56 -0700966 triggers:
967 - gerrit:
968 server-name: '{gerrit-server-name}'
969 dependency-jobs: '{dependency-jobs}'
970 silent-start: false
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700971 successful-message: "PASSED {trigger-string}"
972 failure-message: "FAILED {trigger-string}"
973 unstable-message: "UNSTABLE {trigger-string}"
Andy Bavier1f465592019-11-06 10:03:56 -0700974 trigger-on:
975 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700976 comment-contains-value: '^{trigger-string}$'
Scott Bakerda31d7b2020-01-08 16:35:52 -0800977 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700978 comment-contains-value: '^{trigger-string} with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -0700979 projects:
980 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -0800981 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 -0700982 branches:
Andy Bavierfc3ca142020-03-27 13:44:25 -0700983 - branch-compare-type: REG_EXP
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700984 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700985
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700986
987- job-template:
988 name: '{name}'
989 id: build_physical_voltha_manual
990 description: |
991 <!-- Managed by Jenkins Job Builder -->
992 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
993 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
994 Created by Andy Bavier, andy@opennetworking.org <br />
995 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700996 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700997 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700998
999 properties:
1000 - cord-infra-properties:
1001 build-days-to-keep: '{build-days-to-keep}'
1002 artifact-num-to-keep: '{artifact-num-to-keep}'
1003
1004 parameters:
1005 - string:
1006 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -07001007 default: '{build-node}'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001008 description: 'Pod management node'
1009
1010 - string:
1011 name: manifestUrl
1012 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
1013 description: 'URL to the repo manifest'
1014
1015 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001016 name: branch
1017 default: "$GERRIT_BRANCH"
1018 description: 'Name of the repo manifest branch to use'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001019
1020 - string:
1021 name: gerritProject
1022 default: '$GERRIT_PROJECT'
1023 description: 'Name of the Gerrit project'
1024
1025 - string:
1026 name: gerritChangeNumber
1027 default: '$GERRIT_CHANGE_NUMBER'
1028 description: 'Changeset number in Gerrit'
1029
1030 - string:
1031 name: gerritPatchsetNumber
1032 default: '$GERRIT_PATCHSET_NUMBER'
1033 description: 'PatchSet number in Gerrit'
1034
1035 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -07001036 name: gerritRefspec
1037 default: '$GERRIT_REFSPEC'
1038 description: 'RefSpec number in Gerrit'
1039
1040 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001041 name: cordRepoUrl
1042 default: '{gerrit-server-url}'
1043 description: 'The URL of the CORD Project repository'
1044
1045 - string:
1046 name: podName
1047 default: '{config-pod}'
1048
1049 - string:
1050 name: deploymentConfigFile
1051 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
1052 description: 'Path of deployment config file'
1053
1054 - string:
1055 name: kindVolthaValuesFile
1056 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
1057 description: 'Path of kind-voltha values override file'
1058
1059 - string:
1060 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -07001061 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001062 description: 'Path of SADIS config to load'
1063
1064 - string:
1065 name: localConfigDir
1066 default: null
1067 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
1068
1069 - string:
1070 name: configRepo
1071 default: 'pod-configs'
1072 description: 'A repository containing the config files, will be checked out if specified'
1073
1074 - string:
Andy Bavier893d2442020-05-21 12:41:17 -07001075 name: oltDebVersionMaster
1076 default: '{oltDebVersionMaster}'
1077 description: 'OLT Software version to install for master branch builds'
1078
1079 - string:
1080 name: oltDebVersionVoltha23
1081 default: '{oltDebVersionVoltha23}'
1082 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001083
1084 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001085 name: profile
1086 default: '{profile}'
1087 description: 'Technology Profile pushed to the ETCD'
1088
1089 - string:
1090 name: notificationEmail
1091 default: 'andy@opennetworking.org'
1092 description: ''
1093
1094 - bool:
1095 name: reinstallOlt
1096 default: false
1097 description: "Re-install OLT software"
1098
Zack Williams03ebb272020-03-27 09:42:33 -07001099 - string:
1100 name: manualBranch
1101 default: '{manualBranch}'
1102 description: "If a non-empty string, build manually on a specific branch, not with a specific patchset"
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001103
Andy Bavier8c11d462019-12-17 08:19:34 -07001104 - string:
1105 name: extraRobotArgs
Andy Bavierd2b25fe2020-06-09 07:22:00 -07001106 default: '-e bbsim -X'
Andy Bavier8c11d462019-12-17 08:19:34 -07001107 description: 'Arguments to pass to robot'
1108
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001109 project-type: pipeline
1110 concurrent: true
1111
1112 dsl: !include-raw-escape: pipeline/{pipeline-script}