blob: 9e359af6937d43f397a285878c651120863e7e45 [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'
Matteo Scandoloee626e02021-05-05 08:13:16 -070075 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
TorstenThieme326e7972021-01-19 14:27:59 +000076 time-trigger: "H H/12 * * *"
Matteo Scandolo886cb8e2021-05-03 13:37:41 -070077 testTargets: |
78 - target: openonu-go-adapter-test
79 workflow: att
80 flags: ""
81 - target: 1t4gem-openonu-go-adapter-test
82 workflow: att
83 flags: ""
84 - target: 1t8gem-openonu-go-adapter-test
85 workflow: att
86 flags: ""
87 - target: mib-upload-templating-openonu-go-adapter-test
88 workflow: att
89 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
90 - target: reconcile-openonu-go-adapter-test
91 workflow: att
92 flags: ""
93 - target: reconcile-openonu-go-adapter-test-dt
94 workflow: dt
95 flags: ""
96 - target: reconcile-openonu-go-adapter-test-tt
97 workflow: tt
98 flags: ""
TorstenThieme326e7972021-01-19 14:27:59 +000099
100 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700101 name: 'patchset-voltha-openonu-go-test-bbsim'
102 trigger-comment: "voltha test openonu"
103 code-branch: '$GERRIT_BRANCH'
Matteo Scandoloee626e02021-05-05 08:13:16 -0700104 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700105 gerrit-project: '$GERRIT_PROJECT'
106 gerritRefspec: '$GERRIT_REFSPEC'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700107 testTargets: |
108 - target: openonu-go-adapter-test
109 workflow: att
110 flags: ""
111 - target: 1t4gem-openonu-go-adapter-test
112 workflow: att
113 flags: ""
114 - target: 1t8gem-openonu-go-adapter-test
115 workflow: att
116 flags: ""
117 - target: mib-upload-templating-openonu-go-adapter-test
118 workflow: att
119 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
120 - target: reconcile-openonu-go-adapter-test
121 workflow: att
122 flags: ""
123 - target: reconcile-openonu-go-adapter-test-dt
124 workflow: dt
125 flags: ""
126 - target: reconcile-openonu-go-adapter-test-tt
127 workflow: tt
128 flags: ""
Matteo Scandolo075740f2021-04-22 14:52:29 -0700129
130 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +0530131 name: 'periodic-voltha-openonu-go-test-bbsim-2.7'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700132 pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700133 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass46d61132021-03-30 16:42:07 +0530134 make-target: openonu-go-adapter-test
135 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
136 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
TorstenThieme45422612021-03-23 10:38:59 +0000137 make-target-reconciletest: reconcile-openonu-go-adapter-test
138 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
139 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +0530140 withAlarms: false
141 code-branch: 'voltha-2.7'
142 time-trigger: "H H/23 * * *"
143
144 - 'voltha-periodic-test':
TorstenThieme669258d2021-01-29 09:03:10 +0000145 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700146 code-branch: 'master'
Matteo Scandoloee626e02021-05-05 08:13:16 -0700147 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700148 olts: 2
149 onus: 2
150 pons: 2
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700151 testTargets: |
152 - target: openonu-go-adapter-multi-olt-test
153 workflow: att
154 flags: ""
155 - target: 1t4gem-openonu-go-adapter-multi-olt-test
156 workflow: att
157 flags: ""
158 - target: 1t8gem-openonu-go-adapter-multi-olt-test
159 workflow: att
160 flags: ""
161 - target: reconcile-openonu-go-adapter-multi-olt-test
162 workflow: att
163 flags: ""
164 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
165 workflow: dt
166 flags: ""
167 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
168 workflow: tt
169 flags: ""
TorstenThieme669258d2021-01-29 09:03:10 +0000170 time-trigger: "H H/12 * * *"
171
172 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700173 name: 'patchset-voltha-multiple-olts-openonu-go-test-bbsim'
174 trigger-comment: "voltha test openonu multiolt"
175 code-branch: '$GERRIT_BRANCH'
Matteo Scandoloee626e02021-05-05 08:13:16 -0700176 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700177 gerrit-project: '$GERRIT_PROJECT'
178 gerritRefspec: '$GERRIT_REFSPEC'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700179 testTargets: |
180 - target: openonu-go-adapter-multi-olt-test
181 workflow: att
182 flags: ""
183 - target: 1t4gem-openonu-go-adapter-multi-olt-test
184 workflow: att
185 flags: ""
186 - target: 1t8gem-openonu-go-adapter-multi-olt-test
187 workflow: att
188 flags: ""
189 - target: reconcile-openonu-go-adapter-multi-olt-test
190 workflow: att
191 flags: ""
192 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
193 workflow: dt
194 flags: ""
195 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
196 workflow: tt
197 flags: ""
Matteo Scandolo075740f2021-04-22 14:52:29 -0700198 olts: 2
199 onus: 2
200 pons: 2
201
202 - 'voltha-periodic-test-kind-voltha-based':
Hardik Windlass46d61132021-03-30 16:42:07 +0530203 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim-2.7'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700204 pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700205 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass46d61132021-03-30 16:42:07 +0530206 make-target: openonu-go-adapter-multi-olt-test
207 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-multi-olt-test
208 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-multi-olt-test
TorstenThieme45422612021-03-23 10:38:59 +0000209 make-target-reconciletest: reconcile-openonu-go-adapter-test
210 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
211 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
Hardik Windlass46d61132021-03-30 16:42:07 +0530212 withAlarms: false
213 code-branch: 'voltha-2.7'
214 olts: 2
215 onus: 2
216 pons: 2
217 time-trigger: "H H/23 * * *"
218
Matteo Scandolo075740f2021-04-22 14:52:29 -0700219 - 'voltha-periodic-test-kind-voltha-based':
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100220 name: 'periodic-voltha-test-DMI'
221 pipeline-script: 'voltha-DMI-bbsim-tests.groovy'
222 build-node: 'qct-pod4-node2'
Andrea Campanellae9739492020-12-17 09:54:04 +0100223 make-target: bbsim-dmi-hw-management-test
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100224 withAlarms: false
225 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800226 time-trigger: "H H/23 * * *"
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100227
Matteo Scandolo075740f2021-04-22 14:52:29 -0700228 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700229 name: 'periodic-voltha-test-DMI-2.7'
Andrea Campanellae9739492020-12-17 09:54:04 +0100230 pipeline-script: 'voltha-DMI-bbsim-tests.groovy'
231 build-node: 'qct-pod4-node2'
232 make-target: bbsim-dmi-hw-management-test
233 withAlarms: false
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700234 code-branch: 'voltha-2.7'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800235 time-trigger: "H H/23 * * *"
Andrea Campanellae9739492020-12-17 09:54:04 +0100236
Matteo Scandolo075740f2021-04-22 14:52:29 -0700237 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700238 name: 'periodic-voltha-test-bbsim-2.7'
Andy Bavier4be37062020-06-29 15:17:26 -0700239 pipeline-script: 'voltha-nightly-tests-bbsim.groovy'
Andy Bavier10926f12020-03-27 16:53:43 -0700240 build-node: 'qct-pod4-node2'
Andy Bavier10926f12020-03-27 16:53:43 -0700241 make-target: functional-single-kind
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800242 make-target-failtest: bbsim-failurescenarios
243 make-target-errortest: bbsim-errorscenarios
244 make-target-alarmtest: bbsim-alarms-kind
245 withAlarms: true
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700246 code-branch: 'voltha-2.7'
Andy Bavier4be37062020-06-29 15:17:26 -0700247 onus: 2
248 pons: 2
Suchitra Vemuri5fc1c6a2021-04-13 19:12:38 -0700249 time-trigger: "H H * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700250
Matteo Scandolo075740f2021-04-22 14:52:29 -0700251 - 'voltha-periodic-test-kind-voltha-based':
Andy Bavier4be37062020-06-29 15:17:26 -0700252 name: 'periodic-voltha-etcd-test'
hwchiufdc49242019-11-18 16:37:22 -0800253 pipeline-script: 'voltha-system-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700254 build-node: 'ubuntu18.04-basebuild-4c-8g'
hwchiuc9189b72019-12-02 15:12:29 -0800255 code-branch: 'master'
hwchiu593a95a2020-01-30 10:09:39 -0800256 make-target: sanity-multi-kind
hwchiufdc49242019-11-18 16:37:22 -0800257 onus: 2
258 pons: 2
259 time-trigger: "H H/12 * * *"
260
Matteo Scandolo075740f2021-04-22 14:52:29 -0700261 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700262 name: 'periodic-voltha-etcd-test-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700263 pipeline-script: 'voltha-system-test-bbsim.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700264 build-node: 'ubuntu18.04-basebuild-4c-8g'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700265 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700266 make-target: sanity-multi-kind
267 onus: 2
268 pons: 2
269 time-trigger: "H H/12 * * *"
270
271
Matteo Scandolo075740f2021-04-22 14:52:29 -0700272 - 'voltha-periodic-test-kind-voltha-based':
Andy Bavier3708d072019-12-10 15:22:18 -0700273 name: 'periodic-voltha-sanity-test-multi-runs'
Andy Bavier0088c212020-01-08 13:44:03 -0700274 pipeline-script: 'voltha-go-multi-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -0700275 build-node: 'qct-pod4-node2'
Andy Bavier3708d072019-12-10 15:22:18 -0700276 code-branch: 'master'
Andy Baviereea37da2020-01-17 17:11:32 -0700277 make-target: sanity-kind
Andy Bavier93e125e2020-01-17 15:23:50 -0700278 onus: 1
279 pons: 1
Andy Bavier3708d072019-12-10 15:22:18 -0700280 test-runs: 5
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800281 time-trigger: "H H/23 * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700282
Matteo Scandolo075740f2021-04-22 14:52:29 -0700283 - 'voltha-periodic-test-kind-voltha-based':
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700284 name: 'periodic-voltha-sanity-test-multi-runs-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700285 pipeline-script: 'voltha-go-multi-tests.groovy'
286 build-node: 'qct-pod4-node2'
Suchitra Vemuri2b0f4882021-03-22 22:10:43 -0700287 code-branch: 'voltha-2.7'
Andy Bavier10926f12020-03-27 16:53:43 -0700288 make-target: sanity-kind
289 onus: 1
290 pons: 1
291 test-runs: 5
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800292 time-trigger: "H H/23 * * *"
Andy Bavier10926f12020-03-27 16:53:43 -0700293
Matteo Scandolo075740f2021-04-22 14:52:29 -0700294 - 'voltha-periodic-test-kind-voltha-based':
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700295 name: 'nightly-voltha-DTflow-sanity-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700296 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700297 code-branch: 'master'
298 make-target: sanity-kind-dt
299 onus: 1
300 pons: 1
301 time-trigger: "@daily"
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700302 work-flow: DT
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -0700303
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700304 # Per-patchset Pod builds on Tucson pod (master)
Andy Bavier51ba7e82019-12-17 11:01:01 -0700305 - 'verify_physical_voltha_patchset_auto':
306 name: 'verify_physical_voltha_patchset_auto'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800307 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700308
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700309 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
310 - 'verify_physical_voltha_patchset_auto':
311 name: 'verify_physical_voltha_patchset_auto_voltha-2.7'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700312 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700313 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700314 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
315 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
316 branch-pattern: voltha-2.7
317
318 # Per-patchset Pod builds on Tucson pod (master)
319 - 'verify_physical_voltha_patchset_manual':
320 name: 'verify_physical_voltha_patchset_manual'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700321 profile: 'Default'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700322 trigger-string: 'hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800323 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700324 branch-pattern: master
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700325
326
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700327 # Per-patchset Pod builds on Tucson pod (master)
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700328 - 'verify_physical_voltha_patchset_manual':
329 name: 'verify_physical_voltha_patchset_manual_DT'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700330 workflow: 'dt'
331 profile: 'Default'
332 pipeline-script: 'voltha/voltha-2.7/voltha-dt-physical-build-and-tests.groovy'
333 trigger-string: 'DT hardware test'
334 default-test-args: '-i sanityDt -i PowerSwitch -X'
335 branch-pattern: master
336
337 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
338 - 'verify_physical_voltha_patchset_manual':
339 name: 'verify_physical_voltha_patchset_manual_voltha-2.7'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700340 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700341 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700342 profile: 'Default'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700343 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
344 trigger-string: 'hardware test'
345 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
346 branch-pattern: voltha-2.7
347
348
349 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
350 - 'verify_physical_voltha_patchset_manual':
351 name: 'verify_physical_voltha_patchset_manual_DT_voltha-2.7'
352 workflow: 'dt'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700353 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700354 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
355 profile: 'Default'
356 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700357 trigger-string: 'DT hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800358 default-test-args: '-i sanityDt -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700359 branch-pattern: voltha-2.7
Andy Bavier19c98a22019-11-11 13:57:11 -0700360
361 # Manual build job for Tucson pod
362 # Allow local testing without disrupting above job
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700363 - 'build_physical_voltha_manual':
Andy Bavier19c98a22019-11-11 13:57:11 -0700364 name: 'build_tucson-pod_manual'
Andy Bavier19c98a22019-11-11 13:57:11 -0700365 config-pod: 'tucson-pod'
Zack Williams03ebb272020-03-27 09:42:33 -0700366 manualBranch: 'master'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700367 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700368 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavier19c98a22019-11-11 13:57:11 -0700369 profile: 'Default'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800370 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700371
Kailash8b8de742019-07-30 08:54:51 -0700372- job-template:
Kailashaad71012019-08-27 10:36:53 -0700373 id: 'voltha-periodic-test'
374 name: '{name}'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700375 pipeline-script: 'voltha/master/periodic-bbsim-tests.groovy'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700376 build-node: 'ubuntu18.04-basebuild-8c-15g'
377 test-runs: 1
378 robot-args: ''
379 gerrit-project: ''
380 gerritRefspec: ''
381 work-flow: ''
382 volthaSystemTestsChange: ''
383 volthaHelmChartsChange: ''
384 extraHelmFlags: ''
385 sandbox: true
386 olts: 1
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700387
Matteo Scandolo075740f2021-04-22 14:52:29 -0700388 trigger-comment: vv7CBoQQYYonvaN8xcru
389 time-trigger: 0 0 29 2 *
390
391 description: |
392 <!-- Managed by Jenkins Job Builder -->
393 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
394 E2E Validation for Voltha 2.X
395
396 properties:
397 - cord-infra-properties:
398 build-days-to-keep: '{big-build-days-to-keep}'
399 artifact-num-to-keep: '{big-artifact-num-to-keep}'
400
401 wrappers:
402 - lf-infra-wrappers:
403 build-timeout: '{build-timeout}'
404 jenkins-ssh-credential: '{jenkins-ssh-credential}'
405
406 parameters:
407 - string:
408 name: buildNode
409 default: '{build-node}'
410 description: 'Name of the Jenkins node to run the job on'
411
412 - string:
413 name: extraHelmFlags
414 default: '--set onu={onus},pon={pons},{extraHelmFlags}'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700415 description: 'Helm flags (passed to each deployment)'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700416
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700417 # test configuration
418 # this is a parameter to drive the test execution, VOLTHA is redeployed each time with
419 # the provided configuration and then the make target is invoked,
420 # example value (has to be valid YAML):
421 # testTargets: |
422 # - target: openonu-go-adapter-test
423 # workflow: att
424 # flags: ""
425 - text:
426 name: testTargets
427 default: '{testTargets}'
428 description: 'Test configuration, see the ci-management job definition for more info'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700429
430 - string:
431 name: branch
432 default: '{code-branch}'
433 description: 'Repo manifest branch for code checkout'
434
435 - string:
436 name: gerritProject
437 default: '{gerrit-project}'
438 description: 'Name of the Gerrit project'
439
440 - string:
441 name: gerritRefspec
442 default: ''
443 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
444
445 - string:
446 name: extraRobotArgs
447 default: '{robot-args}'
448 description: 'Arguments to pass to robot'
449
450 - string:
451 name: volthaSystemTestsChange
452 default: '{volthaSystemTestsChange}'
453 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
454
455 - string:
456 name: volthaHelmChartsChange
457 default: '{volthaHelmChartsChange}'
458 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
459
460 - string:
461 name: olts
462 default: '{olts}'
463 description: 'How many BBSim instances to run'
464
465 project-type: pipeline
466 concurrent: true
467
468 dsl: !include-raw-escape: pipeline/{pipeline-script}
469
470 triggers:
471 # patchset jobs will set this to "0 0 29 2 *" (feb 29th, it's once every 4 years)
472 - timed: |
473 TZ=America/Los_Angeles
474 {time-trigger}
475 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
476 - gerrit:
477 server-name: '{gerrit-server-name}'
478 silent-start: false
479 successful-message: "PASSED openonu-go test"
480 failure-message: "FAILED openonu-go test"
481 unstable-message: "UNSTABLE openonu-go test"
482 trigger-on:
483 - comment-added-contains-event:
484 comment-contains-value: '.*{trigger-comment}.*'
485 projects:
486 - project-compare-type: REG_EXP
487 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter-go|ofagent-go|voltha-onos|bbsim)$'
488 branches:
489 - branch-compare-type: REG_EXP
490 branch-pattern: '{all-branches-regexp}'
491
492- job-template:
493 id: 'voltha-periodic-test-kind-voltha-based'
494 name: '{name}'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700495 pipeline-script: 'voltha-go-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -0700496 test-runs: 1
497 robot-args: ''
Andy Bavierb35171c2020-03-06 15:47:29 -0700498 gerrit-project: ''
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700499 work-flow: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700500 volthaSystemTestsChange: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700501 volthaHelmChartsChange: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700502 kindVolthaChange: ''
Andrea Campanella6d562182020-10-06 18:39:30 +0200503 extraHelmFlags: ''
Andy Bavier02b00dc2020-04-28 13:01:12 -0700504 sandbox: true
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800505 olts: 1
Matteo Scandolob36f0892020-11-23 12:19:48 -0800506 withAlarms: false
Andy Bavierb35171c2020-03-06 15:47:29 -0700507
Kailash8b8de742019-07-30 08:54:51 -0700508 description: |
509 <!-- Managed by Jenkins Job Builder -->
510 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
511 E2E Validation for Voltha 2.X
512
513 properties:
514 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800515 build-days-to-keep: '{big-build-days-to-keep}'
516 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Kailash8b8de742019-07-30 08:54:51 -0700517
518 wrappers:
519 - lf-infra-wrappers:
520 build-timeout: '{build-timeout}'
521 jenkins-ssh-credential: '{jenkins-ssh-credential}'
522
523 parameters:
524 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700525 name: buildNode
Andy Bavier833b78e2019-11-22 17:01:31 -0700526 default: '{build-node}'
Kailash8b8de742019-07-30 08:54:51 -0700527 description: 'Name of the Jenkins node to run the job on'
528
529 - string:
Andy Bavierea26c5c2019-09-18 08:09:17 -0700530 name: extraHelmFlags
Andrea Campanella6d562182020-10-06 18:39:30 +0200531 default: '--set onu={onus},pon={pons},{extraHelmFlags}'
Andy Bavierea26c5c2019-09-18 08:09:17 -0700532 description: 'Helm flags to pass to ./voltha up'
533
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800534 - bool:
535 name: withAlarms
Matteo Scandolob36f0892020-11-23 12:19:48 -0800536 default: '{withAlarms}'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800537 description: "Run alarm based tests when true"
538
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700539 - string:
Andy Bavier218385e2019-11-13 09:51:38 -0700540 name: makeTarget
541 default: '{make-target}'
542 description: 'Makefile target to invoke during test'
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700543
Andy Bavier4c8b3232019-11-22 16:17:47 -0700544 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800545 name: makeFailtestTarget
546 default: '{make-target-failtest}'
547 description: 'Makefile target to invoke during failure/based test'
548
549 - string:
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -0800550 name: makeMultiOltTarget
551 default: '{make-target-multipleolt}'
552 description: 'Makefile target to invoke during multiple olt test'
553
554 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800555 name: makeErrortestTarget
556 default: '{make-target-errortest}'
557 description: 'Makefile target to invoke during error test'
558
559 - string:
560 name: makeAlarmtestTarget
561 default: '{make-target-alarmtest}'
562 description: 'Makefile target to invoke during alarm test'
563
564 - string:
TorstenThieme669258d2021-01-29 09:03:10 +0000565 name: make1t4gemTestTarget
566 default: '{make-target-1t4gemtest}'
567 description: 'Makefile target to invoke during 1t4gem test'
568
569 - string:
570 name: make1t8gemTestTarget
571 default: '{make-target-1t8gemtest}'
572 description: 'Makefile target to invoke during 1t8gem test'
573
574 - string:
TorstenThieme45422612021-03-23 10:38:59 +0000575 name: makeReconcileTestTarget
576 default: '{make-target-reconciletest}'
577 description: 'Makefile target to invoke during reconcile test'
578
579 - string:
580 name: makeReconcileDtTestTarget
581 default: '{make-target-reconciledttest}'
582 description: 'Makefile target to invoke during reconcile dt test'
583
584 - string:
585 name: makeReconcileTtTestTarget
586 default: '{make-target-reconciletttest}'
587 description: 'Makefile target to invoke during reconcile tt test'
588
589 - string:
Andy Bavier4c8b3232019-11-22 16:17:47 -0700590 name: manifestUrl
591 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700592 description: 'Repo manifest URL for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700593
594 - string:
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700595 name: branch
Andy Bavier4c8b3232019-11-22 16:17:47 -0700596 default: '{code-branch}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700597 description: 'Repo manifest branch for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700598
Andy Bavier3708d072019-12-10 15:22:18 -0700599 - string:
Andy Bavierb35171c2020-03-06 15:47:29 -0700600 name: gerritProject
601 default: '{gerrit-project}'
602 description: 'Name of the Gerrit project'
603
604 - string:
605 name: gerritChangeNumber
606 default: ''
607 description: 'Changeset number in Gerrit'
608
609 - string:
610 name: gerritPatchsetNumber
611 default: ''
612 description: 'PatchSet number in Gerrit'
613
614 - string:
Andy Bavier3708d072019-12-10 15:22:18 -0700615 name: testRuns
616 default: '{test-runs}'
617 description: 'How many times to repeat the tests'
618
619 - string:
620 name: extraRobotArgs
621 default: '{robot-args}'
622 description: 'Arguments to pass to robot'
623
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700624 - string:
625 name: workFlow
626 default: '{work-flow}'
627 description: 'Workflow for testcase'
Andy Bavier3708d072019-12-10 15:22:18 -0700628
pierventref48ebc12020-07-17 16:01:32 +0200629 - string:
630 name: karafHome
631 default: '{karaf-home}'
632 description: 'Karaf home'
633
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700634 - string:
635 name: volthaSystemTestsChange
636 default: '{volthaSystemTestsChange}'
637 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
638
639 - string:
640 name: kindVolthaChange
641 default: '{kindVolthaChange}'
642 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
643
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800644 - string:
645 name: olts
646 default: '{olts}'
647 description: 'How many BBSim instances to run'
648
Kailash8b8de742019-07-30 08:54:51 -0700649 project-type: pipeline
Andy Bavier358aa0b2019-11-22 11:55:39 -0700650 concurrent: true
Kailash8b8de742019-07-30 08:54:51 -0700651
Zack Williamsb3292082019-10-11 17:15:18 -0700652 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailash6be1aa92019-08-05 18:11:11 -0700653
654 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700655 - timed: |
Kailash6be1aa92019-08-05 18:11:11 -0700656 TZ=America/Los_Angeles
Andy Bavier218385e2019-11-13 09:51:38 -0700657 {time-trigger}
Kailashaad71012019-08-27 10:36:53 -0700658
659- job-template:
660 id: 'voltha-patch-test'
Matteo Scandolo84e5f002020-02-10 11:50:05 -0800661 name: 'verify_{project}_sanity-test{name-extension}'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700662 build-node: 'ubuntu18.04-basebuild-4c-8g'
Andy Bavier4318f8d2020-04-09 13:50:53 -0700663 override-branch: '$GERRIT_BRANCH'
Andy Bavier02b00dc2020-04-28 13:01:12 -0700664 sandbox: true
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800665 build-timeout: 20
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700666 volthaSystemTestsChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800667 volthaHelmChartsChange: ''
Matteo Scandolocecb0842021-05-04 13:16:47 -0700668 extraHelmFlags: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800669 branch-regexp: '{all-branches-regexp}'
Kailashaad71012019-08-27 10:36:53 -0700670
671 description: |
672 <!-- Managed by Jenkins Job Builder -->
673 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
674 E2E Validation for Voltha 2.X
675
676 properties:
677 - cord-infra-properties:
678 build-days-to-keep: '{build-days-to-keep}'
679 artifact-num-to-keep: '{artifact-num-to-keep}'
680
681 wrappers:
682 - lf-infra-wrappers:
683 build-timeout: '{build-timeout}'
684 jenkins-ssh-credential: '{jenkins-ssh-credential}'
685
686 parameters:
687 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700688 name: buildNode
Andrea Campanella4792b7f2021-04-23 15:06:42 +0200689 default: '{build-node}'
Kailashaad71012019-08-27 10:36:53 -0700690 description: 'Name of the Jenkins node to run the job on'
691
692 - string:
hwchiu14f97852019-10-08 10:51:11 -0700693 name: gerritProject
694 default: '$GERRIT_PROJECT'
695 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700696
697 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700698 name: gerritRefspec
699 default: '$GERRIT_REFSPEC'
700 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
Kailashaad71012019-08-27 10:36:53 -0700701
702 - string:
Andy Bavierbedd0392019-10-16 13:58:18 -0700703 name: extraHelmFlags
Matteo Scandolocecb0842021-05-04 13:16:47 -0700704 default: '{extraHelmFlags}'
Andy Bavierbedd0392019-10-16 13:58:18 -0700705 description: 'Helm flags to pass to ./voltha up'
706
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700707 - string:
708 name: volthaSystemTestsChange
709 default: '{volthaSystemTestsChange}'
710 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
711
712 - string:
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800713 name: volthaHelmChartsChange
714 default: '{volthaHelmChartsChange}'
715 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
716
717 - string:
718 name: branch
719 default: '{override-branch}'
720 description: 'Name of the branch to use'
721
Kailashaad71012019-08-27 10:36:53 -0700722 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -0700723 concurrent: true
Kailashaad71012019-08-27 10:36:53 -0700724
Zack Williamsb3292082019-10-11 17:15:18 -0700725 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -0700726
727 triggers:
Andy Bavierb99c3d32020-02-18 11:14:17 -0700728 - gerrit:
729 server-name: '{gerrit-server-name}'
Kailashaad71012019-08-27 10:36:53 -0700730 dependency-jobs: '{dependency-jobs}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700731 silent-start: true
732 trigger-on:
733 - patchset-created-event:
734 exclude-drafts: true
735 exclude-trivial-rebase: false
736 exclude-no-code-change: true
737 - draft-published-event
738 - comment-added-contains-event:
739 comment-contains-value: '(?i)^.*recheck$'
740 projects:
741 - project-compare-type: REG_EXP
742 project-pattern: '^{project}$'
743 branches:
744 - branch-compare-type: REG_EXP
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800745 branch-pattern: '{branch-regexp}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700746 file-paths:
747 - compare-type: REG_EXP
748 pattern: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700749
750# POD Per Patchset Pipeline Jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700751# to use these parameters in a job: `<<: *voltha-physical-patchset-parameters`
752- voltha-physical-patchset-parameters: &voltha-physical-patchset-parameters
753 name: voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -0700754 parameters:
755 - string:
756 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -0700757 default: '{build-node}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700758 description: 'Pod management node'
759
760 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700761 name: branch
762 default: '$GERRIT_BRANCH'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700763 description: 'Name of the repo branch to use'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700764
765 - string:
766 name: gerritProject
767 default: '$GERRIT_PROJECT'
768 description: 'Name of the Gerrit project'
769
770 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -0700771 name: gerritRefspec
772 default: '$GERRIT_REFSPEC'
773 description: 'RefSpec number in Gerrit'
774
775 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700776 name: gerritComment
777 default: '$GERRIT_EVENT_COMMENT_TEXT'
778 description: 'RefSpec number in Gerrit'
779
780 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700781 name: cordRepoUrl
782 default: '{gerrit-server-url}'
783 description: 'The URL of the CORD Project repository'
784
785 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700786 name: configBaseDir
787 default: 'pod-configs'
788 description: 'The directory inside the POD configs repository'
789
790 - string:
791 name: configDeploymentDir
792 default: 'deployment-configs'
793 description: 'The deployment configs folder'
794
795 - string:
796 name: configKubernetesDir
797 default: 'kubernetes-configs'
798 description: 'The kubernetes config folder'
799
800 - string:
801 name: configFileName
802 default: '{config-pod}'
803 description: 'The config file'
804
805 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700806 name: podName
807 default: '{config-pod}'
808
809 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700810 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -0700811 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700812 description: 'Path of SADIS config to load'
813
814 - string:
Andy Bavier893d2442020-05-21 12:41:17 -0700815 name: oltDebVersionMaster
816 default: '{oltDebVersionMaster}'
817 description: 'OLT Software version to install for master branch builds'
818
819 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700820 name: oltDebVersionVoltha23
Andy Bavier893d2442020-05-21 12:41:17 -0700821 default: '{oltDebVersionVoltha23}'
822 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700823
824 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700825 name: profile
826 default: '{profile}'
827 description: 'Technology Profile pushed to the ETCD'
828
829 - string:
830 name: notificationEmail
831 default: 'andy@opennetworking.org'
832 description: ''
833
834 - bool:
835 name: reinstallOlt
836 default: true
837 description: "Re-install OLT software"
838
Zack Williams03ebb272020-03-27 09:42:33 -0700839 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700840 name: extraRobotArgs
841 default: '{default-test-args}'
842 description: 'Arguments to pass to robot'
843
844 - string:
845 name: volthaSystemTestsChange
846 default: '{volthaSystemTestsChange}'
847 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
848
849 - string:
850 name: volthaHelmChartsChange
851 default: '{volthaHelmChartsChange}'
852 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
853
854 - string:
855 name: workflow
856 default: '{workflow}'
857 description: 'Installs and uses the specified work flow on the POD'
858
859 # deprecated parameters, remove after VOLTHA-2.8 is released
860 - string:
861 name: deploymentConfigFile
862 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
863 description: 'Path of deployment config file'
864
865 - string:
866 name: kindVolthaValuesFile
867 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
868 description: 'Path of kind-voltha values override file'
869
870 - string:
871 name: manifestUrl
872 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
873 description: 'URL to the repo manifest'
874
875 - string:
876 name: gerritChangeNumber
877 default: '$GERRIT_CHANGE_NUMBER'
878 description: 'Changeset number in Gerrit'
879
880 - string:
881 name: gerritPatchsetNumber
882 default: '$GERRIT_PATCHSET_NUMBER'
883 description: 'PatchSet number in Gerrit'
884
885 - string:
886 name: localConfigDir
887 default: null
888 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
889
890 - string:
891 name: configRepo
892 default: 'pod-configs'
893 description: 'A repository containing the config files, will be checked out if specified'
894
895 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700896 name: manualBranch
897 default: '{manualBranch}'
898 description: "If a non-empty string, build manually as a specific branch, not with a specific patchset"
Andy Bavier51ba7e82019-12-17 11:01:01 -0700899
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700900- job-template:
901 name: '{name}'
902 id: verify_physical_voltha_patchset_auto
903 description: |
904 <!-- Managed by Jenkins Job Builder -->
905 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
906 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
907 Created by Andy Bavier, andy@opennetworking.org <br />
908 Copyright (c) 2019 Open Networking Foundation (ONF)
909 sandbox: true
910 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
911 default-test-args: '-i sanityORDeleteOLT -X'
912 branch-pattern: '{all-branches-regexp}'
913 build-node: 'tucson-pod'
914 config-pod: 'tucson-pod'
915 workflow: 'att'
916 profile: 'Default'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700917 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700918 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
919 volthaSystemTestsChange: ''
920 volthaHelmChartsChange: ''
921
922 properties:
923 - cord-infra-properties:
924 build-days-to-keep: '{build-days-to-keep}'
925 artifact-num-to-keep: '{artifact-num-to-keep}'
926
927 <<: *voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -0700928
929 project-type: pipeline
930 concurrent: true
931
932 dsl: !include-raw-escape: pipeline/{pipeline-script}
933
934 triggers:
935 - gerrit:
936 server-name: '{gerrit-server-name}'
937 dependency-jobs: '{dependency-jobs}'
938 silent-start: false
939 successful-message: "PASSED hardware test"
940 failure-message: "FAILED hardware test"
941 unstable-message: "UNSTABLE hardware test"
942 trigger-on:
943 - comment-added-event:
944 approval-category: 'Code-Review'
945 approval-value: '+2'
946 projects:
947 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -0800948 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-go)$'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700949 branches:
Andy Bavier37f6ea92020-04-03 11:13:35 -0700950 - branch-compare-type: REG_EXP
Matteo Scandolo5b998a22021-04-22 09:42:40 -0700951 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700952
953
954- job-template:
955 name: '{name}'
956 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700957 description: |
958 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700959 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -0700960 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700961 Created by Andy Bavier, andy@opennetworking.org <br />
962 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700963 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700964 build-node: 'tucson-pod'
965 config-pod: 'tucson-pod'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700966 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700967 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
968 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700969 trigger-string: 'hardware test'
970 default-test-args: '-i sanityORDeleteOLT -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700971 branch-pattern: '{all-branches-regexp}'
972 volthaSystemTestsChange: ''
973 volthaHelmChartsChange: ''
974 workflow: 'att'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700975
976 properties:
977 - cord-infra-properties:
978 build-days-to-keep: '{build-days-to-keep}'
979 artifact-num-to-keep: '{artifact-num-to-keep}'
980
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700981 <<: *voltha-physical-patchset-parameters
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700982
Andy Bavier8c11d462019-12-17 08:19:34 -0700983
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700984 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700985 concurrent: true
986
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700987 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700988
Andy Bavier1f465592019-11-06 10:03:56 -0700989 triggers:
990 - gerrit:
991 server-name: '{gerrit-server-name}'
992 dependency-jobs: '{dependency-jobs}'
993 silent-start: false
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700994 successful-message: "PASSED {trigger-string}"
995 failure-message: "FAILED {trigger-string}"
996 unstable-message: "UNSTABLE {trigger-string}"
Andy Bavier1f465592019-11-06 10:03:56 -0700997 trigger-on:
998 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700999 comment-contains-value: '^{trigger-string}$'
Scott Bakerda31d7b2020-01-08 16:35:52 -08001000 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001001 comment-contains-value: '^{trigger-string} with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -07001002 projects:
1003 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001004 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 -07001005 branches:
Andy Bavierfc3ca142020-03-27 13:44:25 -07001006 - branch-compare-type: REG_EXP
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001007 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001008
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001009
1010- job-template:
1011 name: '{name}'
1012 id: build_physical_voltha_manual
1013 description: |
1014 <!-- Managed by Jenkins Job Builder -->
1015 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
1016 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
1017 Created by Andy Bavier, andy@opennetworking.org <br />
1018 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001019 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001020 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001021
1022 properties:
1023 - cord-infra-properties:
1024 build-days-to-keep: '{build-days-to-keep}'
1025 artifact-num-to-keep: '{artifact-num-to-keep}'
1026
1027 parameters:
1028 - string:
1029 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -07001030 default: '{build-node}'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001031 description: 'Pod management node'
1032
1033 - string:
1034 name: manifestUrl
1035 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
1036 description: 'URL to the repo manifest'
1037
1038 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001039 name: branch
1040 default: "$GERRIT_BRANCH"
1041 description: 'Name of the repo manifest branch to use'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001042
1043 - string:
1044 name: gerritProject
1045 default: '$GERRIT_PROJECT'
1046 description: 'Name of the Gerrit project'
1047
1048 - string:
1049 name: gerritChangeNumber
1050 default: '$GERRIT_CHANGE_NUMBER'
1051 description: 'Changeset number in Gerrit'
1052
1053 - string:
1054 name: gerritPatchsetNumber
1055 default: '$GERRIT_PATCHSET_NUMBER'
1056 description: 'PatchSet number in Gerrit'
1057
1058 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -07001059 name: gerritRefspec
1060 default: '$GERRIT_REFSPEC'
1061 description: 'RefSpec number in Gerrit'
1062
1063 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001064 name: cordRepoUrl
1065 default: '{gerrit-server-url}'
1066 description: 'The URL of the CORD Project repository'
1067
1068 - string:
1069 name: podName
1070 default: '{config-pod}'
1071
1072 - string:
1073 name: deploymentConfigFile
1074 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
1075 description: 'Path of deployment config file'
1076
1077 - string:
1078 name: kindVolthaValuesFile
1079 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
1080 description: 'Path of kind-voltha values override file'
1081
1082 - string:
1083 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -07001084 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001085 description: 'Path of SADIS config to load'
1086
1087 - string:
1088 name: localConfigDir
1089 default: null
1090 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
1091
1092 - string:
1093 name: configRepo
1094 default: 'pod-configs'
1095 description: 'A repository containing the config files, will be checked out if specified'
1096
1097 - string:
Andy Bavier893d2442020-05-21 12:41:17 -07001098 name: oltDebVersionMaster
1099 default: '{oltDebVersionMaster}'
1100 description: 'OLT Software version to install for master branch builds'
1101
1102 - string:
1103 name: oltDebVersionVoltha23
1104 default: '{oltDebVersionVoltha23}'
1105 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001106
1107 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001108 name: profile
1109 default: '{profile}'
1110 description: 'Technology Profile pushed to the ETCD'
1111
1112 - string:
1113 name: notificationEmail
1114 default: 'andy@opennetworking.org'
1115 description: ''
1116
1117 - bool:
1118 name: reinstallOlt
1119 default: false
1120 description: "Re-install OLT software"
1121
Zack Williams03ebb272020-03-27 09:42:33 -07001122 - string:
1123 name: manualBranch
1124 default: '{manualBranch}'
1125 description: "If a non-empty string, build manually on a specific branch, not with a specific patchset"
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001126
Andy Bavier8c11d462019-12-17 08:19:34 -07001127 - string:
1128 name: extraRobotArgs
Andy Bavierd2b25fe2020-06-09 07:22:00 -07001129 default: '-e bbsim -X'
Andy Bavier8c11d462019-12-17 08:19:34 -07001130 description: 'Arguments to pass to robot'
1131
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001132 project-type: pipeline
1133 concurrent: true
1134
1135 dsl: !include-raw-escape: pipeline/{pipeline-script}