blob: 6b899091b1bfaf2e07b1e042ec889e07e3f48bc2 [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:
hwchiu14f97852019-10-08 10:51:11 -070024 - 'voltha-periodic-test':
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
40 - 'voltha-periodic-test':
41 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
56 - 'voltha-periodic-test':
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'
74 pipeline-script: 'voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -070075 build-node: 'ubuntu18.04-basebuild-8c-15g'
TorstenThieme326e7972021-01-19 14:27:59 +000076 make-target: openonu-go-adapter-test
TorstenThieme669258d2021-01-29 09:03:10 +000077 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
78 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
TorstenThieme45422612021-03-23 10:38:59 +000079 make-target-reconciletest: reconcile-openonu-go-adapter-test
80 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
81 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
TorstenThieme326e7972021-01-19 14:27:59 +000082 withAlarms: false
83 code-branch: 'master'
84 time-trigger: "H H/12 * * *"
85
86 - 'voltha-periodic-test':
Hardik Windlass46d61132021-03-30 16:42:07 +053087 name: 'periodic-voltha-openonu-go-test-bbsim-2.7'
88 pipeline-script: 'voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -070089 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass46d61132021-03-30 16:42:07 +053090 make-target: openonu-go-adapter-test
91 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
92 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
TorstenThieme45422612021-03-23 10:38:59 +000093 make-target-reconciletest: reconcile-openonu-go-adapter-test
94 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
95 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +053096 withAlarms: false
97 code-branch: 'voltha-2.7'
98 time-trigger: "H H/23 * * *"
99
100 - 'voltha-periodic-test':
TorstenThieme669258d2021-01-29 09:03:10 +0000101 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim'
102 pipeline-script: 'voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700103 build-node: 'ubuntu18.04-basebuild-8c-15g'
TorstenThieme669258d2021-01-29 09:03:10 +0000104 make-target: openonu-go-adapter-multi-olt-test
105 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 withAlarms: false
111 code-branch: 'master'
112 olts: 2
113 onus: 2
114 pons: 2
115 time-trigger: "H H/12 * * *"
116
117 - 'voltha-periodic-test':
Hardik Windlass46d61132021-03-30 16:42:07 +0530118 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim-2.7'
119 pipeline-script: 'voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700120 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass46d61132021-03-30 16:42:07 +0530121 make-target: openonu-go-adapter-multi-olt-test
122 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-multi-olt-test
123 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-multi-olt-test
TorstenThieme45422612021-03-23 10:38:59 +0000124 make-target-reconciletest: reconcile-openonu-go-adapter-test
125 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
126 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +0530127 withAlarms: false
128 code-branch: 'voltha-2.7'
129 olts: 2
130 onus: 2
131 pons: 2
132 time-trigger: "H H/23 * * *"
133
134 - 'voltha-periodic-test':
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100135 name: 'periodic-voltha-test-DMI'
136 pipeline-script: 'voltha-DMI-bbsim-tests.groovy'
137 build-node: 'qct-pod4-node2'
Andrea Campanellae9739492020-12-17 09:54:04 +0100138 make-target: bbsim-dmi-hw-management-test
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100139 withAlarms: false
140 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800141 time-trigger: "H H/23 * * *"
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100142
143 - 'voltha-periodic-test':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700144 name: 'periodic-voltha-test-DMI-2.7'
Andrea Campanellae9739492020-12-17 09:54:04 +0100145 pipeline-script: 'voltha-DMI-bbsim-tests.groovy'
146 build-node: 'qct-pod4-node2'
147 make-target: bbsim-dmi-hw-management-test
148 withAlarms: false
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700149 code-branch: 'voltha-2.7'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800150 time-trigger: "H H/23 * * *"
Andrea Campanellae9739492020-12-17 09:54:04 +0100151
152 - 'voltha-periodic-test':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700153 name: 'periodic-voltha-test-bbsim-2.7'
Andy Bavier4be37062020-06-29 15:17:26 -0700154 pipeline-script: 'voltha-nightly-tests-bbsim.groovy'
Andy Bavier10926f12020-03-27 16:53:43 -0700155 build-node: 'qct-pod4-node2'
Andy Bavier10926f12020-03-27 16:53:43 -0700156 make-target: functional-single-kind
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800157 make-target-failtest: bbsim-failurescenarios
158 make-target-errortest: bbsim-errorscenarios
159 make-target-alarmtest: bbsim-alarms-kind
160 withAlarms: true
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700161 code-branch: 'voltha-2.7'
Andy Bavier4be37062020-06-29 15:17:26 -0700162 onus: 2
163 pons: 2
Suchitra Vemuri5fc1c6a2021-04-13 19:12:38 -0700164 time-trigger: "H H * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700165
166 - 'voltha-periodic-test':
Andy Bavier4be37062020-06-29 15:17:26 -0700167 name: 'periodic-voltha-etcd-test'
hwchiufdc49242019-11-18 16:37:22 -0800168 pipeline-script: 'voltha-system-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700169 build-node: 'ubuntu18.04-basebuild-4c-8g'
hwchiuc9189b72019-12-02 15:12:29 -0800170 code-branch: 'master'
hwchiu593a95a2020-01-30 10:09:39 -0800171 make-target: sanity-multi-kind
hwchiufdc49242019-11-18 16:37:22 -0800172 onus: 2
173 pons: 2
174 time-trigger: "H H/12 * * *"
175
176 - 'voltha-periodic-test':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700177 name: 'periodic-voltha-etcd-test-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700178 pipeline-script: 'voltha-system-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700179 build-node: 'ubuntu18.04-basebuild-4c-8g'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700180 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700181 make-target: sanity-multi-kind
182 onus: 2
183 pons: 2
184 time-trigger: "H H/12 * * *"
185
186
187 - 'voltha-periodic-test':
Andy Bavier3708d072019-12-10 15:22:18 -0700188 name: 'periodic-voltha-sanity-test-multi-runs'
Andy Bavier0088c212020-01-08 13:44:03 -0700189 pipeline-script: 'voltha-go-multi-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -0700190 build-node: 'qct-pod4-node2'
Andy Bavier3708d072019-12-10 15:22:18 -0700191 code-branch: 'master'
Andy Baviereea37da2020-01-17 17:11:32 -0700192 make-target: sanity-kind
Andy Bavier93e125e2020-01-17 15:23:50 -0700193 onus: 1
194 pons: 1
Andy Bavier3708d072019-12-10 15:22:18 -0700195 test-runs: 5
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800196 time-trigger: "H H/23 * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700197
198 - 'voltha-periodic-test':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700199 name: 'periodic-voltha-sanity-test-multi-runs-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700200 pipeline-script: 'voltha-go-multi-tests.groovy'
201 build-node: 'qct-pod4-node2'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700202 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700203 make-target: sanity-kind
204 onus: 1
205 pons: 1
206 test-runs: 5
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800207 time-trigger: "H H/23 * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700208
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700209 - 'voltha-periodic-test':
210 name: 'nightly-voltha-DTflow-sanity-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700211 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700212 code-branch: 'master'
213 make-target: sanity-kind-dt
214 onus: 1
215 pons: 1
216 time-trigger: "@daily"
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700217 work-flow: DT
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700218
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700219 # Per-patchset Pod builds on Tucson pod (master)
Andy Bavier51ba7e82019-12-17 11:01:01 -0700220 - 'verify_physical_voltha_patchset_auto':
221 name: 'verify_physical_voltha_patchset_auto'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800222 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700223
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700224 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
225 - 'verify_physical_voltha_patchset_auto':
226 name: 'verify_physical_voltha_patchset_auto_voltha-2.7'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700227 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
228 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700229 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
230 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
231 branch-pattern: voltha-2.7
232
233 # Per-patchset Pod builds on Tucson pod (master)
234 - 'verify_physical_voltha_patchset_manual':
235 name: 'verify_physical_voltha_patchset_manual'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700236 profile: 'Default'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700237 trigger-string: 'hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800238 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700239 branch-pattern: master
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700240
241
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700242 # Per-patchset Pod builds on Tucson pod (master)
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700243 - 'verify_physical_voltha_patchset_manual':
244 name: 'verify_physical_voltha_patchset_manual_DT'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700245 workflow: 'dt'
246 profile: 'Default'
247 pipeline-script: 'voltha/voltha-2.7/voltha-dt-physical-build-and-tests.groovy'
248 trigger-string: 'DT hardware test'
249 default-test-args: '-i sanityDt -i PowerSwitch -X'
250 branch-pattern: master
251
252 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
253 - 'verify_physical_voltha_patchset_manual':
254 name: 'verify_physical_voltha_patchset_manual_voltha-2.7'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700255 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
256 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700257 profile: 'Default'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700258 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
259 trigger-string: 'hardware test'
260 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
261 branch-pattern: voltha-2.7
262
263
264 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
265 - 'verify_physical_voltha_patchset_manual':
266 name: 'verify_physical_voltha_patchset_manual_DT_voltha-2.7'
267 workflow: 'dt'
268 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
269 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
270 profile: 'Default'
271 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700272 trigger-string: 'DT hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800273 default-test-args: '-i sanityDt -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700274 branch-pattern: voltha-2.7
Andy Bavier19c98a22019-11-11 13:57:11 -0700275
276 # Manual build job for Tucson pod
277 # Allow local testing without disrupting above job
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700278 - 'build_physical_voltha_manual':
Andy Bavier19c98a22019-11-11 13:57:11 -0700279 name: 'build_tucson-pod_manual'
Andy Bavier19c98a22019-11-11 13:57:11 -0700280 config-pod: 'tucson-pod'
Zack Williams03ebb272020-03-27 09:42:33 -0700281 manualBranch: 'master'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700282 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
283 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavier19c98a22019-11-11 13:57:11 -0700284 profile: 'Default'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800285 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700286
Kailash8b8de742019-07-30 08:54:51 -0700287- job-template:
Kailashaad71012019-08-27 10:36:53 -0700288 id: 'voltha-periodic-test'
289 name: '{name}'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700290 pipeline-script: 'voltha-go-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -0700291 test-runs: 1
292 robot-args: ''
Andy Bavierb35171c2020-03-06 15:47:29 -0700293 gerrit-project: ''
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700294 work-flow: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700295 volthaSystemTestsChange: ''
296 kindVolthaChange: ''
Andrea Campanella6d562182020-10-06 18:39:30 +0200297 extraHelmFlags: ''
Andy Bavier02b00dc2020-04-28 13:01:12 -0700298 sandbox: true
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800299 olts: 1
Matteo Scandolob36f0892020-11-23 12:19:48 -0800300 withAlarms: false
Andy Bavierb35171c2020-03-06 15:47:29 -0700301
Kailash8b8de742019-07-30 08:54:51 -0700302 description: |
303 <!-- Managed by Jenkins Job Builder -->
304 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
305 E2E Validation for Voltha 2.X
306
307 properties:
308 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800309 build-days-to-keep: '{big-build-days-to-keep}'
310 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Kailash8b8de742019-07-30 08:54:51 -0700311
312 wrappers:
313 - lf-infra-wrappers:
314 build-timeout: '{build-timeout}'
315 jenkins-ssh-credential: '{jenkins-ssh-credential}'
316
317 parameters:
318 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700319 name: buildNode
Andy Bavier833b78e2019-11-22 17:01:31 -0700320 default: '{build-node}'
Kailash8b8de742019-07-30 08:54:51 -0700321 description: 'Name of the Jenkins node to run the job on'
322
323 - string:
Andy Bavierea26c5c2019-09-18 08:09:17 -0700324 name: extraHelmFlags
Andrea Campanella6d562182020-10-06 18:39:30 +0200325 default: '--set onu={onus},pon={pons},{extraHelmFlags}'
Andy Bavierea26c5c2019-09-18 08:09:17 -0700326 description: 'Helm flags to pass to ./voltha up'
327
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800328 - bool:
329 name: withAlarms
Matteo Scandolob36f0892020-11-23 12:19:48 -0800330 default: '{withAlarms}'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800331 description: "Run alarm based tests when true"
332
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700333 - string:
Andy Bavier218385e2019-11-13 09:51:38 -0700334 name: makeTarget
335 default: '{make-target}'
336 description: 'Makefile target to invoke during test'
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700337
Andy Bavier4c8b3232019-11-22 16:17:47 -0700338 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800339 name: makeFailtestTarget
340 default: '{make-target-failtest}'
341 description: 'Makefile target to invoke during failure/based test'
342
343 - string:
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -0800344 name: makeMultiOltTarget
345 default: '{make-target-multipleolt}'
346 description: 'Makefile target to invoke during multiple olt test'
347
348 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800349 name: makeErrortestTarget
350 default: '{make-target-errortest}'
351 description: 'Makefile target to invoke during error test'
352
353 - string:
354 name: makeAlarmtestTarget
355 default: '{make-target-alarmtest}'
356 description: 'Makefile target to invoke during alarm test'
357
358 - string:
TorstenThieme669258d2021-01-29 09:03:10 +0000359 name: make1t4gemTestTarget
360 default: '{make-target-1t4gemtest}'
361 description: 'Makefile target to invoke during 1t4gem test'
362
363 - string:
364 name: make1t8gemTestTarget
365 default: '{make-target-1t8gemtest}'
366 description: 'Makefile target to invoke during 1t8gem test'
367
368 - string:
TorstenThieme45422612021-03-23 10:38:59 +0000369 name: makeReconcileTestTarget
370 default: '{make-target-reconciletest}'
371 description: 'Makefile target to invoke during reconcile test'
372
373 - string:
374 name: makeReconcileDtTestTarget
375 default: '{make-target-reconciledttest}'
376 description: 'Makefile target to invoke during reconcile dt test'
377
378 - string:
379 name: makeReconcileTtTestTarget
380 default: '{make-target-reconciletttest}'
381 description: 'Makefile target to invoke during reconcile tt test'
382
383 - string:
Andy Bavier4c8b3232019-11-22 16:17:47 -0700384 name: manifestUrl
385 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700386 description: 'Repo manifest URL for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700387
388 - string:
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700389 name: branch
Andy Bavier4c8b3232019-11-22 16:17:47 -0700390 default: '{code-branch}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700391 description: 'Repo manifest branch for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700392
Andy Bavier3708d072019-12-10 15:22:18 -0700393 - string:
Andy Bavierb35171c2020-03-06 15:47:29 -0700394 name: gerritProject
395 default: '{gerrit-project}'
396 description: 'Name of the Gerrit project'
397
398 - string:
399 name: gerritChangeNumber
400 default: ''
401 description: 'Changeset number in Gerrit'
402
403 - string:
404 name: gerritPatchsetNumber
405 default: ''
406 description: 'PatchSet number in Gerrit'
407
408 - string:
Andy Bavier3708d072019-12-10 15:22:18 -0700409 name: testRuns
410 default: '{test-runs}'
411 description: 'How many times to repeat the tests'
412
413 - string:
414 name: extraRobotArgs
415 default: '{robot-args}'
416 description: 'Arguments to pass to robot'
417
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700418 - string:
419 name: workFlow
420 default: '{work-flow}'
421 description: 'Workflow for testcase'
Andy Bavier3708d072019-12-10 15:22:18 -0700422
pierventref48ebc12020-07-17 16:01:32 +0200423 - string:
424 name: karafHome
425 default: '{karaf-home}'
426 description: 'Karaf home'
427
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700428 - string:
429 name: volthaSystemTestsChange
430 default: '{volthaSystemTestsChange}'
431 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
432
433 - string:
434 name: kindVolthaChange
435 default: '{kindVolthaChange}'
436 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
437
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800438 - string:
439 name: olts
440 default: '{olts}'
441 description: 'How many BBSim instances to run'
442
Kailash8b8de742019-07-30 08:54:51 -0700443 project-type: pipeline
Andy Bavier358aa0b2019-11-22 11:55:39 -0700444 concurrent: true
Kailash8b8de742019-07-30 08:54:51 -0700445
Zack Williamsb3292082019-10-11 17:15:18 -0700446 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailash6be1aa92019-08-05 18:11:11 -0700447
448 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700449 - timed: |
Kailash6be1aa92019-08-05 18:11:11 -0700450 TZ=America/Los_Angeles
Andy Bavier218385e2019-11-13 09:51:38 -0700451 {time-trigger}
Kailashaad71012019-08-27 10:36:53 -0700452
453- job-template:
454 id: 'voltha-patch-test'
Matteo Scandolo84e5f002020-02-10 11:50:05 -0800455 name: 'verify_{project}_sanity-test{name-extension}'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700456 build-node: 'ubuntu18.04-basebuild-4c-8g'
Andy Bavier4318f8d2020-04-09 13:50:53 -0700457 override-branch: '$GERRIT_BRANCH'
Andy Bavier02b00dc2020-04-28 13:01:12 -0700458 sandbox: true
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800459 build-timeout: 20
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700460 volthaSystemTestsChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800461 volthaHelmChartsChange: ''
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700462 kindVolthaChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800463 branch-regexp: '{all-branches-regexp}'
Kailashaad71012019-08-27 10:36:53 -0700464
465 description: |
466 <!-- Managed by Jenkins Job Builder -->
467 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
468 E2E Validation for Voltha 2.X
469
470 properties:
471 - cord-infra-properties:
472 build-days-to-keep: '{build-days-to-keep}'
473 artifact-num-to-keep: '{artifact-num-to-keep}'
474
475 wrappers:
476 - lf-infra-wrappers:
477 build-timeout: '{build-timeout}'
478 jenkins-ssh-credential: '{jenkins-ssh-credential}'
479
480 parameters:
481 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700482 name: buildNode
Andrea Campanella4792b7f2021-04-23 15:06:42 +0200483 default: '{build-node}'
Kailashaad71012019-08-27 10:36:53 -0700484 description: 'Name of the Jenkins node to run the job on'
485
486 - string:
hwchiu14f97852019-10-08 10:51:11 -0700487 name: gerritProject
488 default: '$GERRIT_PROJECT'
489 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700490
491 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700492 name: gerritRefspec
493 default: '$GERRIT_REFSPEC'
494 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
Kailashaad71012019-08-27 10:36:53 -0700495
496 - string:
Andy Bavierbedd0392019-10-16 13:58:18 -0700497 name: extraHelmFlags
Andy Bavier10926f12020-03-27 16:53:43 -0700498 default: ''
Andy Bavierbedd0392019-10-16 13:58:18 -0700499 description: 'Helm flags to pass to ./voltha up'
500
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700501 - string:
502 name: volthaSystemTestsChange
503 default: '{volthaSystemTestsChange}'
504 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
505
506 - string:
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800507 name: volthaHelmChartsChange
508 default: '{volthaHelmChartsChange}'
509 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
510
511 - string:
512 name: branch
513 default: '{override-branch}'
514 description: 'Name of the branch to use'
515
516 # deprecated params (not used in master, remove after 2.6 support is dropped)
517 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700518 name: kindVolthaChange
519 default: '{kindVolthaChange}'
520 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
521
Kailashaad71012019-08-27 10:36:53 -0700522 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -0700523 concurrent: true
Kailashaad71012019-08-27 10:36:53 -0700524
Zack Williamsb3292082019-10-11 17:15:18 -0700525 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -0700526
527 triggers:
Andy Bavierb99c3d32020-02-18 11:14:17 -0700528 - gerrit:
529 server-name: '{gerrit-server-name}'
Kailashaad71012019-08-27 10:36:53 -0700530 dependency-jobs: '{dependency-jobs}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700531 silent-start: true
532 trigger-on:
533 - patchset-created-event:
534 exclude-drafts: true
535 exclude-trivial-rebase: false
536 exclude-no-code-change: true
537 - draft-published-event
538 - comment-added-contains-event:
539 comment-contains-value: '(?i)^.*recheck$'
540 projects:
541 - project-compare-type: REG_EXP
542 project-pattern: '^{project}$'
543 branches:
544 - branch-compare-type: REG_EXP
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800545 branch-pattern: '{branch-regexp}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700546 file-paths:
547 - compare-type: REG_EXP
548 pattern: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700549
550# POD Per Patchset Pipeline Jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700551# to use these parameters in a job: `<<: *voltha-physical-patchset-parameters`
552- voltha-physical-patchset-parameters: &voltha-physical-patchset-parameters
553 name: voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -0700554 parameters:
555 - string:
556 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -0700557 default: '{build-node}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700558 description: 'Pod management node'
559
560 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700561 name: branch
562 default: '$GERRIT_BRANCH'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700563 description: 'Name of the repo branch to use'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700564
565 - string:
566 name: gerritProject
567 default: '$GERRIT_PROJECT'
568 description: 'Name of the Gerrit project'
569
570 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -0700571 name: gerritRefspec
572 default: '$GERRIT_REFSPEC'
573 description: 'RefSpec number in Gerrit'
574
575 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700576 name: gerritComment
577 default: '$GERRIT_EVENT_COMMENT_TEXT'
578 description: 'RefSpec number in Gerrit'
579
580 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700581 name: cordRepoUrl
582 default: '{gerrit-server-url}'
583 description: 'The URL of the CORD Project repository'
584
585 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700586 name: configBaseDir
587 default: 'pod-configs'
588 description: 'The directory inside the POD configs repository'
589
590 - string:
591 name: configDeploymentDir
592 default: 'deployment-configs'
593 description: 'The deployment configs folder'
594
595 - string:
596 name: configKubernetesDir
597 default: 'kubernetes-configs'
598 description: 'The kubernetes config folder'
599
600 - string:
601 name: configFileName
602 default: '{config-pod}'
603 description: 'The config file'
604
605 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700606 name: podName
607 default: '{config-pod}'
608
609 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700610 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -0700611 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700612 description: 'Path of SADIS config to load'
613
614 - string:
Andy Bavier893d2442020-05-21 12:41:17 -0700615 name: oltDebVersionMaster
616 default: '{oltDebVersionMaster}'
617 description: 'OLT Software version to install for master branch builds'
618
619 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700620 name: oltDebVersionVoltha23
Andy Bavier893d2442020-05-21 12:41:17 -0700621 default: '{oltDebVersionVoltha23}'
622 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700623
624 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700625 name: profile
626 default: '{profile}'
627 description: 'Technology Profile pushed to the ETCD'
628
629 - string:
630 name: notificationEmail
631 default: 'andy@opennetworking.org'
632 description: ''
633
634 - bool:
635 name: reinstallOlt
636 default: true
637 description: "Re-install OLT software"
638
Zack Williams03ebb272020-03-27 09:42:33 -0700639 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700640 name: extraRobotArgs
641 default: '{default-test-args}'
642 description: 'Arguments to pass to robot'
643
644 - string:
645 name: volthaSystemTestsChange
646 default: '{volthaSystemTestsChange}'
647 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
648
649 - string:
650 name: volthaHelmChartsChange
651 default: '{volthaHelmChartsChange}'
652 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
653
654 - string:
655 name: workflow
656 default: '{workflow}'
657 description: 'Installs and uses the specified work flow on the POD'
658
659 # deprecated parameters, remove after VOLTHA-2.8 is released
660 - string:
661 name: deploymentConfigFile
662 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
663 description: 'Path of deployment config file'
664
665 - string:
666 name: kindVolthaValuesFile
667 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
668 description: 'Path of kind-voltha values override file'
669
670 - string:
671 name: manifestUrl
672 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
673 description: 'URL to the repo manifest'
674
675 - string:
676 name: gerritChangeNumber
677 default: '$GERRIT_CHANGE_NUMBER'
678 description: 'Changeset number in Gerrit'
679
680 - string:
681 name: gerritPatchsetNumber
682 default: '$GERRIT_PATCHSET_NUMBER'
683 description: 'PatchSet number in Gerrit'
684
685 - string:
686 name: localConfigDir
687 default: null
688 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
689
690 - string:
691 name: configRepo
692 default: 'pod-configs'
693 description: 'A repository containing the config files, will be checked out if specified'
694
695 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700696 name: manualBranch
697 default: '{manualBranch}'
698 description: "If a non-empty string, build manually as a specific branch, not with a specific patchset"
Andy Bavier51ba7e82019-12-17 11:01:01 -0700699
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700700- job-template:
701 name: '{name}'
702 id: verify_physical_voltha_patchset_auto
703 description: |
704 <!-- Managed by Jenkins Job Builder -->
705 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
706 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
707 Created by Andy Bavier, andy@opennetworking.org <br />
708 Copyright (c) 2019 Open Networking Foundation (ONF)
709 sandbox: true
710 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
711 default-test-args: '-i sanityORDeleteOLT -X'
712 branch-pattern: '{all-branches-regexp}'
713 build-node: 'tucson-pod'
714 config-pod: 'tucson-pod'
715 workflow: 'att'
716 profile: 'Default'
717 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
718 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
719 volthaSystemTestsChange: ''
720 volthaHelmChartsChange: ''
721
722 properties:
723 - cord-infra-properties:
724 build-days-to-keep: '{build-days-to-keep}'
725 artifact-num-to-keep: '{artifact-num-to-keep}'
726
727 <<: *voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -0700728
729 project-type: pipeline
730 concurrent: true
731
732 dsl: !include-raw-escape: pipeline/{pipeline-script}
733
734 triggers:
735 - gerrit:
736 server-name: '{gerrit-server-name}'
737 dependency-jobs: '{dependency-jobs}'
738 silent-start: false
739 successful-message: "PASSED hardware test"
740 failure-message: "FAILED hardware test"
741 unstable-message: "UNSTABLE hardware test"
742 trigger-on:
743 - comment-added-event:
744 approval-category: 'Code-Review'
745 approval-value: '+2'
746 projects:
747 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -0800748 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-go)$'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700749 branches:
Andy Bavier37f6ea92020-04-03 11:13:35 -0700750 - branch-compare-type: REG_EXP
Matteo Scandolo5b998a22021-04-22 09:42:40 -0700751 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700752
753
754- job-template:
755 name: '{name}'
756 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700757 description: |
758 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700759 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -0700760 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700761 Created by Andy Bavier, andy@opennetworking.org <br />
762 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700763 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700764 build-node: 'tucson-pod'
765 config-pod: 'tucson-pod'
766 oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
767 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
768 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700769 trigger-string: 'hardware test'
770 default-test-args: '-i sanityORDeleteOLT -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700771 branch-pattern: '{all-branches-regexp}'
772 volthaSystemTestsChange: ''
773 volthaHelmChartsChange: ''
774 workflow: 'att'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700775
776 properties:
777 - cord-infra-properties:
778 build-days-to-keep: '{build-days-to-keep}'
779 artifact-num-to-keep: '{artifact-num-to-keep}'
780
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700781 <<: *voltha-physical-patchset-parameters
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700782
Andy Bavier8c11d462019-12-17 08:19:34 -0700783
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700784 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700785 concurrent: true
786
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700787 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700788
Andy Bavier1f465592019-11-06 10:03:56 -0700789 triggers:
790 - gerrit:
791 server-name: '{gerrit-server-name}'
792 dependency-jobs: '{dependency-jobs}'
793 silent-start: false
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700794 successful-message: "PASSED {trigger-string}"
795 failure-message: "FAILED {trigger-string}"
796 unstable-message: "UNSTABLE {trigger-string}"
Andy Bavier1f465592019-11-06 10:03:56 -0700797 trigger-on:
798 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700799 comment-contains-value: '^{trigger-string}$'
Scott Bakerda31d7b2020-01-08 16:35:52 -0800800 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700801 comment-contains-value: '^{trigger-string} with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -0700802 projects:
803 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -0800804 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 -0700805 branches:
Andy Bavierfc3ca142020-03-27 13:44:25 -0700806 - branch-compare-type: REG_EXP
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700807 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700808
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700809
810- job-template:
811 name: '{name}'
812 id: build_physical_voltha_manual
813 description: |
814 <!-- Managed by Jenkins Job Builder -->
815 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
816 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
817 Created by Andy Bavier, andy@opennetworking.org <br />
818 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700819 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700820 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700821
822 properties:
823 - cord-infra-properties:
824 build-days-to-keep: '{build-days-to-keep}'
825 artifact-num-to-keep: '{artifact-num-to-keep}'
826
827 parameters:
828 - string:
829 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -0700830 default: '{build-node}'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700831 description: 'Pod management node'
832
833 - string:
834 name: manifestUrl
835 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
836 description: 'URL to the repo manifest'
837
838 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700839 name: branch
840 default: "$GERRIT_BRANCH"
841 description: 'Name of the repo manifest branch to use'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700842
843 - string:
844 name: gerritProject
845 default: '$GERRIT_PROJECT'
846 description: 'Name of the Gerrit project'
847
848 - string:
849 name: gerritChangeNumber
850 default: '$GERRIT_CHANGE_NUMBER'
851 description: 'Changeset number in Gerrit'
852
853 - string:
854 name: gerritPatchsetNumber
855 default: '$GERRIT_PATCHSET_NUMBER'
856 description: 'PatchSet number in Gerrit'
857
858 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -0700859 name: gerritRefspec
860 default: '$GERRIT_REFSPEC'
861 description: 'RefSpec number in Gerrit'
862
863 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700864 name: cordRepoUrl
865 default: '{gerrit-server-url}'
866 description: 'The URL of the CORD Project repository'
867
868 - string:
869 name: podName
870 default: '{config-pod}'
871
872 - string:
873 name: deploymentConfigFile
874 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
875 description: 'Path of deployment config file'
876
877 - string:
878 name: kindVolthaValuesFile
879 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
880 description: 'Path of kind-voltha values override file'
881
882 - string:
883 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -0700884 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700885 description: 'Path of SADIS config to load'
886
887 - string:
888 name: localConfigDir
889 default: null
890 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
891
892 - string:
893 name: configRepo
894 default: 'pod-configs'
895 description: 'A repository containing the config files, will be checked out if specified'
896
897 - string:
Andy Bavier893d2442020-05-21 12:41:17 -0700898 name: oltDebVersionMaster
899 default: '{oltDebVersionMaster}'
900 description: 'OLT Software version to install for master branch builds'
901
902 - string:
903 name: oltDebVersionVoltha23
904 default: '{oltDebVersionVoltha23}'
905 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700906
907 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700908 name: profile
909 default: '{profile}'
910 description: 'Technology Profile pushed to the ETCD'
911
912 - string:
913 name: notificationEmail
914 default: 'andy@opennetworking.org'
915 description: ''
916
917 - bool:
918 name: reinstallOlt
919 default: false
920 description: "Re-install OLT software"
921
Zack Williams03ebb272020-03-27 09:42:33 -0700922 - string:
923 name: manualBranch
924 default: '{manualBranch}'
925 description: "If a non-empty string, build manually on a specific branch, not with a specific patchset"
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700926
Andy Bavier8c11d462019-12-17 08:19:34 -0700927 - string:
928 name: extraRobotArgs
Andy Bavierd2b25fe2020-06-09 07:22:00 -0700929 default: '-e bbsim -X'
Andy Bavier8c11d462019-12-17 08:19:34 -0700930 description: 'Arguments to pass to robot'
931
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700932 project-type: pipeline
933 concurrent: true
934
935 dsl: !include-raw-escape: pipeline/{pipeline-script}