blob: 5449361d172e3d67705942ef53a88126786adb86 [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 Scandolo9aae4952020-09-14 13:05:53 -0700641 kindVolthaChange: ''
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
Andy Bavier10926f12020-03-27 16:53:43 -0700677 default: ''
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
695 # deprecated params (not used in master, remove after 2.6 support is dropped)
696 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700697 name: kindVolthaChange
698 default: '{kindVolthaChange}'
699 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
700
Kailashaad71012019-08-27 10:36:53 -0700701 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -0700702 concurrent: true
Kailashaad71012019-08-27 10:36:53 -0700703
Zack Williamsb3292082019-10-11 17:15:18 -0700704 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -0700705
706 triggers:
Andy Bavierb99c3d32020-02-18 11:14:17 -0700707 - gerrit:
708 server-name: '{gerrit-server-name}'
Kailashaad71012019-08-27 10:36:53 -0700709 dependency-jobs: '{dependency-jobs}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700710 silent-start: true
711 trigger-on:
712 - patchset-created-event:
713 exclude-drafts: true
714 exclude-trivial-rebase: false
715 exclude-no-code-change: true
716 - draft-published-event
717 - comment-added-contains-event:
718 comment-contains-value: '(?i)^.*recheck$'
719 projects:
720 - project-compare-type: REG_EXP
721 project-pattern: '^{project}$'
722 branches:
723 - branch-compare-type: REG_EXP
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800724 branch-pattern: '{branch-regexp}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700725 file-paths:
726 - compare-type: REG_EXP
727 pattern: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700728
729# POD Per Patchset Pipeline Jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700730# to use these parameters in a job: `<<: *voltha-physical-patchset-parameters`
731- voltha-physical-patchset-parameters: &voltha-physical-patchset-parameters
732 name: voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -0700733 parameters:
734 - string:
735 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -0700736 default: '{build-node}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700737 description: 'Pod management node'
738
739 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700740 name: branch
741 default: '$GERRIT_BRANCH'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700742 description: 'Name of the repo branch to use'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700743
744 - string:
745 name: gerritProject
746 default: '$GERRIT_PROJECT'
747 description: 'Name of the Gerrit project'
748
749 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -0700750 name: gerritRefspec
751 default: '$GERRIT_REFSPEC'
752 description: 'RefSpec number in Gerrit'
753
754 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700755 name: gerritComment
756 default: '$GERRIT_EVENT_COMMENT_TEXT'
757 description: 'RefSpec number in Gerrit'
758
759 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700760 name: cordRepoUrl
761 default: '{gerrit-server-url}'
762 description: 'The URL of the CORD Project repository'
763
764 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700765 name: configBaseDir
766 default: 'pod-configs'
767 description: 'The directory inside the POD configs repository'
768
769 - string:
770 name: configDeploymentDir
771 default: 'deployment-configs'
772 description: 'The deployment configs folder'
773
774 - string:
775 name: configKubernetesDir
776 default: 'kubernetes-configs'
777 description: 'The kubernetes config folder'
778
779 - string:
780 name: configFileName
781 default: '{config-pod}'
782 description: 'The config file'
783
784 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700785 name: podName
786 default: '{config-pod}'
787
788 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700789 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -0700790 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700791 description: 'Path of SADIS config to load'
792
793 - string:
Andy Bavier893d2442020-05-21 12:41:17 -0700794 name: oltDebVersionMaster
795 default: '{oltDebVersionMaster}'
796 description: 'OLT Software version to install for master branch builds'
797
798 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700799 name: oltDebVersionVoltha23
Andy Bavier893d2442020-05-21 12:41:17 -0700800 default: '{oltDebVersionVoltha23}'
801 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700802
803 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700804 name: profile
805 default: '{profile}'
806 description: 'Technology Profile pushed to the ETCD'
807
808 - string:
809 name: notificationEmail
810 default: 'andy@opennetworking.org'
811 description: ''
812
813 - bool:
814 name: reinstallOlt
815 default: true
816 description: "Re-install OLT software"
817
Zack Williams03ebb272020-03-27 09:42:33 -0700818 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700819 name: extraRobotArgs
820 default: '{default-test-args}'
821 description: 'Arguments to pass to robot'
822
823 - string:
824 name: volthaSystemTestsChange
825 default: '{volthaSystemTestsChange}'
826 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
827
828 - string:
829 name: volthaHelmChartsChange
830 default: '{volthaHelmChartsChange}'
831 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
832
833 - string:
834 name: workflow
835 default: '{workflow}'
836 description: 'Installs and uses the specified work flow on the POD'
837
838 # deprecated parameters, remove after VOLTHA-2.8 is released
839 - string:
840 name: deploymentConfigFile
841 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
842 description: 'Path of deployment config file'
843
844 - string:
845 name: kindVolthaValuesFile
846 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
847 description: 'Path of kind-voltha values override file'
848
849 - string:
850 name: manifestUrl
851 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
852 description: 'URL to the repo manifest'
853
854 - string:
855 name: gerritChangeNumber
856 default: '$GERRIT_CHANGE_NUMBER'
857 description: 'Changeset number in Gerrit'
858
859 - string:
860 name: gerritPatchsetNumber
861 default: '$GERRIT_PATCHSET_NUMBER'
862 description: 'PatchSet number in Gerrit'
863
864 - string:
865 name: localConfigDir
866 default: null
867 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
868
869 - string:
870 name: configRepo
871 default: 'pod-configs'
872 description: 'A repository containing the config files, will be checked out if specified'
873
874 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700875 name: manualBranch
876 default: '{manualBranch}'
877 description: "If a non-empty string, build manually as a specific branch, not with a specific patchset"
Andy Bavier51ba7e82019-12-17 11:01:01 -0700878
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700879- job-template:
880 name: '{name}'
881 id: verify_physical_voltha_patchset_auto
882 description: |
883 <!-- Managed by Jenkins Job Builder -->
884 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
885 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
886 Created by Andy Bavier, andy@opennetworking.org <br />
887 Copyright (c) 2019 Open Networking Foundation (ONF)
888 sandbox: true
889 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
890 default-test-args: '-i sanityORDeleteOLT -X'
891 branch-pattern: '{all-branches-regexp}'
892 build-node: 'tucson-pod'
893 config-pod: 'tucson-pod'
894 workflow: 'att'
895 profile: 'Default'
896 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
897 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
898 volthaSystemTestsChange: ''
899 volthaHelmChartsChange: ''
900
901 properties:
902 - cord-infra-properties:
903 build-days-to-keep: '{build-days-to-keep}'
904 artifact-num-to-keep: '{artifact-num-to-keep}'
905
906 <<: *voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -0700907
908 project-type: pipeline
909 concurrent: true
910
911 dsl: !include-raw-escape: pipeline/{pipeline-script}
912
913 triggers:
914 - gerrit:
915 server-name: '{gerrit-server-name}'
916 dependency-jobs: '{dependency-jobs}'
917 silent-start: false
918 successful-message: "PASSED hardware test"
919 failure-message: "FAILED hardware test"
920 unstable-message: "UNSTABLE hardware test"
921 trigger-on:
922 - comment-added-event:
923 approval-category: 'Code-Review'
924 approval-value: '+2'
925 projects:
926 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -0800927 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-go)$'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700928 branches:
Andy Bavier37f6ea92020-04-03 11:13:35 -0700929 - branch-compare-type: REG_EXP
Matteo Scandolo5b998a22021-04-22 09:42:40 -0700930 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700931
932
933- job-template:
934 name: '{name}'
935 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700936 description: |
937 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700938 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -0700939 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700940 Created by Andy Bavier, andy@opennetworking.org <br />
941 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700942 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700943 build-node: 'tucson-pod'
944 config-pod: 'tucson-pod'
945 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
946 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
947 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700948 trigger-string: 'hardware test'
949 default-test-args: '-i sanityORDeleteOLT -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700950 branch-pattern: '{all-branches-regexp}'
951 volthaSystemTestsChange: ''
952 volthaHelmChartsChange: ''
953 workflow: 'att'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700954
955 properties:
956 - cord-infra-properties:
957 build-days-to-keep: '{build-days-to-keep}'
958 artifact-num-to-keep: '{artifact-num-to-keep}'
959
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700960 <<: *voltha-physical-patchset-parameters
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700961
Andy Bavier8c11d462019-12-17 08:19:34 -0700962
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700963 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700964 concurrent: true
965
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700966 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700967
Andy Bavier1f465592019-11-06 10:03:56 -0700968 triggers:
969 - gerrit:
970 server-name: '{gerrit-server-name}'
971 dependency-jobs: '{dependency-jobs}'
972 silent-start: false
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700973 successful-message: "PASSED {trigger-string}"
974 failure-message: "FAILED {trigger-string}"
975 unstable-message: "UNSTABLE {trigger-string}"
Andy Bavier1f465592019-11-06 10:03:56 -0700976 trigger-on:
977 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700978 comment-contains-value: '^{trigger-string}$'
Scott Bakerda31d7b2020-01-08 16:35:52 -0800979 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700980 comment-contains-value: '^{trigger-string} with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -0700981 projects:
982 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -0800983 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 -0700984 branches:
Andy Bavierfc3ca142020-03-27 13:44:25 -0700985 - branch-compare-type: REG_EXP
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700986 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700987
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700988
989- job-template:
990 name: '{name}'
991 id: build_physical_voltha_manual
992 description: |
993 <!-- Managed by Jenkins Job Builder -->
994 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
995 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
996 Created by Andy Bavier, andy@opennetworking.org <br />
997 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700998 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700999 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001000
1001 properties:
1002 - cord-infra-properties:
1003 build-days-to-keep: '{build-days-to-keep}'
1004 artifact-num-to-keep: '{artifact-num-to-keep}'
1005
1006 parameters:
1007 - string:
1008 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -07001009 default: '{build-node}'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001010 description: 'Pod management node'
1011
1012 - string:
1013 name: manifestUrl
1014 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
1015 description: 'URL to the repo manifest'
1016
1017 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001018 name: branch
1019 default: "$GERRIT_BRANCH"
1020 description: 'Name of the repo manifest branch to use'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001021
1022 - string:
1023 name: gerritProject
1024 default: '$GERRIT_PROJECT'
1025 description: 'Name of the Gerrit project'
1026
1027 - string:
1028 name: gerritChangeNumber
1029 default: '$GERRIT_CHANGE_NUMBER'
1030 description: 'Changeset number in Gerrit'
1031
1032 - string:
1033 name: gerritPatchsetNumber
1034 default: '$GERRIT_PATCHSET_NUMBER'
1035 description: 'PatchSet number in Gerrit'
1036
1037 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -07001038 name: gerritRefspec
1039 default: '$GERRIT_REFSPEC'
1040 description: 'RefSpec number in Gerrit'
1041
1042 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001043 name: cordRepoUrl
1044 default: '{gerrit-server-url}'
1045 description: 'The URL of the CORD Project repository'
1046
1047 - string:
1048 name: podName
1049 default: '{config-pod}'
1050
1051 - string:
1052 name: deploymentConfigFile
1053 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
1054 description: 'Path of deployment config file'
1055
1056 - string:
1057 name: kindVolthaValuesFile
1058 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
1059 description: 'Path of kind-voltha values override file'
1060
1061 - string:
1062 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -07001063 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001064 description: 'Path of SADIS config to load'
1065
1066 - string:
1067 name: localConfigDir
1068 default: null
1069 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
1070
1071 - string:
1072 name: configRepo
1073 default: 'pod-configs'
1074 description: 'A repository containing the config files, will be checked out if specified'
1075
1076 - string:
Andy Bavier893d2442020-05-21 12:41:17 -07001077 name: oltDebVersionMaster
1078 default: '{oltDebVersionMaster}'
1079 description: 'OLT Software version to install for master branch builds'
1080
1081 - string:
1082 name: oltDebVersionVoltha23
1083 default: '{oltDebVersionVoltha23}'
1084 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001085
1086 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001087 name: profile
1088 default: '{profile}'
1089 description: 'Technology Profile pushed to the ETCD'
1090
1091 - string:
1092 name: notificationEmail
1093 default: 'andy@opennetworking.org'
1094 description: ''
1095
1096 - bool:
1097 name: reinstallOlt
1098 default: false
1099 description: "Re-install OLT software"
1100
Zack Williams03ebb272020-03-27 09:42:33 -07001101 - string:
1102 name: manualBranch
1103 default: '{manualBranch}'
1104 description: "If a non-empty string, build manually on a specific branch, not with a specific patchset"
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001105
Andy Bavier8c11d462019-12-17 08:19:34 -07001106 - string:
1107 name: extraRobotArgs
Andy Bavierd2b25fe2020-06-09 07:22:00 -07001108 default: '-e bbsim -X'
Andy Bavier8c11d462019-12-17 08:19:34 -07001109 description: 'Arguments to pass to robot'
1110
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001111 project-type: pipeline
1112 concurrent: true
1113
1114 dsl: !include-raw-escape: pipeline/{pipeline-script}