blob: 40c4de5321888074c8d2c593bea7ccfcfa1ca54c [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'
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700308 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700309
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700310 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
311 - 'verify_physical_voltha_patchset_auto':
312 name: 'verify_physical_voltha_patchset_auto_voltha-2.7'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700313 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700314 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700315 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
316 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
317 branch-pattern: voltha-2.7
318
319 # Per-patchset Pod builds on Tucson pod (master)
320 - 'verify_physical_voltha_patchset_manual':
321 name: 'verify_physical_voltha_patchset_manual'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700322 profile: 'Default'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700323 trigger-string: 'hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800324 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700325 branch-pattern: master
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700326 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700327
328
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700329 # Per-patchset Pod builds on Tucson pod (master)
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700330 - 'verify_physical_voltha_patchset_manual':
331 name: 'verify_physical_voltha_patchset_manual_DT'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700332 workflow: 'dt'
333 profile: 'Default'
334 pipeline-script: 'voltha/voltha-2.7/voltha-dt-physical-build-and-tests.groovy'
335 trigger-string: 'DT hardware test'
336 default-test-args: '-i sanityDt -i PowerSwitch -X'
337 branch-pattern: master
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700338 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700339
340 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
341 - 'verify_physical_voltha_patchset_manual':
342 name: 'verify_physical_voltha_patchset_manual_voltha-2.7'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700343 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700344 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700345 profile: 'Default'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700346 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
347 trigger-string: 'hardware test'
348 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
349 branch-pattern: voltha-2.7
350
351
352 # Per-patchset Pod builds on Tucson pod (voltha-2.7)
353 - 'verify_physical_voltha_patchset_manual':
354 name: 'verify_physical_voltha_patchset_manual_DT_voltha-2.7'
355 workflow: 'dt'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700356 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700357 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
358 profile: 'Default'
359 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700360 trigger-string: 'DT hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800361 default-test-args: '-i sanityDt -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700362 branch-pattern: voltha-2.7
Andy Bavier19c98a22019-11-11 13:57:11 -0700363
364 # Manual build job for Tucson pod
365 # Allow local testing without disrupting above job
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700366 - 'build_physical_voltha_manual':
Andy Bavier19c98a22019-11-11 13:57:11 -0700367 name: 'build_tucson-pod_manual'
Andy Bavier19c98a22019-11-11 13:57:11 -0700368 config-pod: 'tucson-pod'
Zack Williams03ebb272020-03-27 09:42:33 -0700369 manualBranch: 'master'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700370 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Girish Gowdrab6015cf2021-03-18 12:55:20 -0700371 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
Andy Bavier19c98a22019-11-11 13:57:11 -0700372 profile: 'Default'
Girish Gowdraaabad2b2021-01-21 12:24:34 -0800373 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700374 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700375
Kailash8b8de742019-07-30 08:54:51 -0700376- job-template:
Kailashaad71012019-08-27 10:36:53 -0700377 id: 'voltha-periodic-test'
378 name: '{name}'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700379 pipeline-script: 'voltha/master/periodic-bbsim-tests.groovy'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700380 build-node: 'ubuntu18.04-basebuild-8c-15g'
381 test-runs: 1
382 robot-args: ''
383 gerrit-project: ''
384 gerritRefspec: ''
385 work-flow: ''
386 volthaSystemTestsChange: ''
387 volthaHelmChartsChange: ''
388 extraHelmFlags: ''
389 sandbox: true
390 olts: 1
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700391
Matteo Scandolo075740f2021-04-22 14:52:29 -0700392 trigger-comment: vv7CBoQQYYonvaN8xcru
393 time-trigger: 0 0 29 2 *
394
395 description: |
396 <!-- Managed by Jenkins Job Builder -->
397 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
398 E2E Validation for Voltha 2.X
399
400 properties:
401 - cord-infra-properties:
402 build-days-to-keep: '{big-build-days-to-keep}'
403 artifact-num-to-keep: '{big-artifact-num-to-keep}'
404
405 wrappers:
406 - lf-infra-wrappers:
407 build-timeout: '{build-timeout}'
408 jenkins-ssh-credential: '{jenkins-ssh-credential}'
409
410 parameters:
411 - string:
412 name: buildNode
413 default: '{build-node}'
414 description: 'Name of the Jenkins node to run the job on'
415
416 - string:
417 name: extraHelmFlags
418 default: '--set onu={onus},pon={pons},{extraHelmFlags}'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700419 description: 'Helm flags (passed to each deployment)'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700420
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700421 # test configuration
422 # this is a parameter to drive the test execution, VOLTHA is redeployed each time with
423 # the provided configuration and then the make target is invoked,
424 # example value (has to be valid YAML):
425 # testTargets: |
426 # - target: openonu-go-adapter-test
427 # workflow: att
428 # flags: ""
429 - text:
430 name: testTargets
431 default: '{testTargets}'
432 description: 'Test configuration, see the ci-management job definition for more info'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700433
434 - string:
435 name: branch
436 default: '{code-branch}'
437 description: 'Repo manifest branch for code checkout'
438
439 - string:
440 name: gerritProject
441 default: '{gerrit-project}'
442 description: 'Name of the Gerrit project'
443
444 - string:
445 name: gerritRefspec
446 default: ''
447 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
448
449 - string:
450 name: extraRobotArgs
451 default: '{robot-args}'
452 description: 'Arguments to pass to robot'
453
454 - string:
455 name: volthaSystemTestsChange
456 default: '{volthaSystemTestsChange}'
457 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
458
459 - string:
460 name: volthaHelmChartsChange
461 default: '{volthaHelmChartsChange}'
462 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
463
464 - string:
465 name: olts
466 default: '{olts}'
467 description: 'How many BBSim instances to run'
468
469 project-type: pipeline
470 concurrent: true
471
472 dsl: !include-raw-escape: pipeline/{pipeline-script}
473
474 triggers:
475 # patchset jobs will set this to "0 0 29 2 *" (feb 29th, it's once every 4 years)
476 - timed: |
477 TZ=America/Los_Angeles
478 {time-trigger}
479 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
480 - gerrit:
481 server-name: '{gerrit-server-name}'
482 silent-start: false
483 successful-message: "PASSED openonu-go test"
484 failure-message: "FAILED openonu-go test"
485 unstable-message: "UNSTABLE openonu-go test"
486 trigger-on:
487 - comment-added-contains-event:
488 comment-contains-value: '.*{trigger-comment}.*'
489 projects:
490 - project-compare-type: REG_EXP
491 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter-go|ofagent-go|voltha-onos|bbsim)$'
492 branches:
493 - branch-compare-type: REG_EXP
494 branch-pattern: '{all-branches-regexp}'
495
496- job-template:
497 id: 'voltha-periodic-test-kind-voltha-based'
498 name: '{name}'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700499 pipeline-script: 'voltha-go-tests.groovy'
Andy Bavier3708d072019-12-10 15:22:18 -0700500 test-runs: 1
501 robot-args: ''
Andy Bavierb35171c2020-03-06 15:47:29 -0700502 gerrit-project: ''
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700503 work-flow: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700504 volthaSystemTestsChange: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -0700505 volthaHelmChartsChange: ''
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700506 kindVolthaChange: ''
Andrea Campanella6d562182020-10-06 18:39:30 +0200507 extraHelmFlags: ''
Andy Bavier02b00dc2020-04-28 13:01:12 -0700508 sandbox: true
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800509 olts: 1
Matteo Scandolob36f0892020-11-23 12:19:48 -0800510 withAlarms: false
Andy Bavierb35171c2020-03-06 15:47:29 -0700511
Kailash8b8de742019-07-30 08:54:51 -0700512 description: |
513 <!-- Managed by Jenkins Job Builder -->
514 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
515 E2E Validation for Voltha 2.X
516
517 properties:
518 - cord-infra-properties:
Matteo Scandoloa0e6f3f2020-11-12 17:13:20 -0800519 build-days-to-keep: '{big-build-days-to-keep}'
520 artifact-num-to-keep: '{big-artifact-num-to-keep}'
Kailash8b8de742019-07-30 08:54:51 -0700521
522 wrappers:
523 - lf-infra-wrappers:
524 build-timeout: '{build-timeout}'
525 jenkins-ssh-credential: '{jenkins-ssh-credential}'
526
527 parameters:
528 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700529 name: buildNode
Andy Bavier833b78e2019-11-22 17:01:31 -0700530 default: '{build-node}'
Kailash8b8de742019-07-30 08:54:51 -0700531 description: 'Name of the Jenkins node to run the job on'
532
533 - string:
Andy Bavierea26c5c2019-09-18 08:09:17 -0700534 name: extraHelmFlags
Andrea Campanella6d562182020-10-06 18:39:30 +0200535 default: '--set onu={onus},pon={pons},{extraHelmFlags}'
Andy Bavierea26c5c2019-09-18 08:09:17 -0700536 description: 'Helm flags to pass to ./voltha up'
537
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800538 - bool:
539 name: withAlarms
Matteo Scandolob36f0892020-11-23 12:19:48 -0800540 default: '{withAlarms}'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800541 description: "Run alarm based tests when true"
542
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700543 - string:
Andy Bavier218385e2019-11-13 09:51:38 -0700544 name: makeTarget
545 default: '{make-target}'
546 description: 'Makefile target to invoke during test'
Andy Bavierdabe9fc2019-10-24 17:10:48 -0700547
Andy Bavier4c8b3232019-11-22 16:17:47 -0700548 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800549 name: makeFailtestTarget
550 default: '{make-target-failtest}'
551 description: 'Makefile target to invoke during failure/based test'
552
553 - string:
Suchitra Vemuri0a9c8c62020-12-07 18:24:31 -0800554 name: makeMultiOltTarget
555 default: '{make-target-multipleolt}'
556 description: 'Makefile target to invoke during multiple olt test'
557
558 - string:
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800559 name: makeErrortestTarget
560 default: '{make-target-errortest}'
561 description: 'Makefile target to invoke during error test'
562
563 - string:
564 name: makeAlarmtestTarget
565 default: '{make-target-alarmtest}'
566 description: 'Makefile target to invoke during alarm test'
567
568 - string:
TorstenThieme669258d2021-01-29 09:03:10 +0000569 name: make1t4gemTestTarget
570 default: '{make-target-1t4gemtest}'
571 description: 'Makefile target to invoke during 1t4gem test'
572
573 - string:
574 name: make1t8gemTestTarget
575 default: '{make-target-1t8gemtest}'
576 description: 'Makefile target to invoke during 1t8gem test'
577
578 - string:
TorstenThieme45422612021-03-23 10:38:59 +0000579 name: makeReconcileTestTarget
580 default: '{make-target-reconciletest}'
581 description: 'Makefile target to invoke during reconcile test'
582
583 - string:
584 name: makeReconcileDtTestTarget
585 default: '{make-target-reconciledttest}'
586 description: 'Makefile target to invoke during reconcile dt test'
587
588 - string:
589 name: makeReconcileTtTestTarget
590 default: '{make-target-reconciletttest}'
591 description: 'Makefile target to invoke during reconcile tt test'
592
593 - string:
Andy Bavier4c8b3232019-11-22 16:17:47 -0700594 name: manifestUrl
595 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700596 description: 'Repo manifest URL for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700597
598 - string:
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700599 name: branch
Andy Bavier4c8b3232019-11-22 16:17:47 -0700600 default: '{code-branch}'
Andy Bavier6dfaf7e2020-03-30 14:52:59 -0700601 description: 'Repo manifest branch for code checkout'
Andy Bavier4c8b3232019-11-22 16:17:47 -0700602
Andy Bavier3708d072019-12-10 15:22:18 -0700603 - string:
Andy Bavierb35171c2020-03-06 15:47:29 -0700604 name: gerritProject
605 default: '{gerrit-project}'
606 description: 'Name of the Gerrit project'
607
608 - string:
609 name: gerritChangeNumber
610 default: ''
611 description: 'Changeset number in Gerrit'
612
613 - string:
614 name: gerritPatchsetNumber
615 default: ''
616 description: 'PatchSet number in Gerrit'
617
618 - string:
Andy Bavier3708d072019-12-10 15:22:18 -0700619 name: testRuns
620 default: '{test-runs}'
621 description: 'How many times to repeat the tests'
622
623 - string:
624 name: extraRobotArgs
625 default: '{robot-args}'
626 description: 'Arguments to pass to robot'
627
Hung-Wei Chiuf284d3f2020-04-08 11:38:13 -0700628 - string:
629 name: workFlow
630 default: '{work-flow}'
631 description: 'Workflow for testcase'
Andy Bavier3708d072019-12-10 15:22:18 -0700632
pierventref48ebc12020-07-17 16:01:32 +0200633 - string:
634 name: karafHome
635 default: '{karaf-home}'
636 description: 'Karaf home'
637
Matteo Scandolo861a53a2020-09-16 11:39:42 -0700638 - string:
639 name: volthaSystemTestsChange
640 default: '{volthaSystemTestsChange}'
641 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
642
643 - string:
644 name: kindVolthaChange
645 default: '{kindVolthaChange}'
646 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
647
Suchitra Vemuri456b6b42020-11-10 19:06:22 -0800648 - string:
649 name: olts
650 default: '{olts}'
651 description: 'How many BBSim instances to run'
652
Kailash8b8de742019-07-30 08:54:51 -0700653 project-type: pipeline
Andy Bavier358aa0b2019-11-22 11:55:39 -0700654 concurrent: true
Kailash8b8de742019-07-30 08:54:51 -0700655
Zack Williamsb3292082019-10-11 17:15:18 -0700656 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailash6be1aa92019-08-05 18:11:11 -0700657
658 triggers:
hwchiu14f97852019-10-08 10:51:11 -0700659 - timed: |
Kailash6be1aa92019-08-05 18:11:11 -0700660 TZ=America/Los_Angeles
Andy Bavier218385e2019-11-13 09:51:38 -0700661 {time-trigger}
Kailashaad71012019-08-27 10:36:53 -0700662
663- job-template:
664 id: 'voltha-patch-test'
Matteo Scandolo84e5f002020-02-10 11:50:05 -0800665 name: 'verify_{project}_sanity-test{name-extension}'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700666 build-node: 'ubuntu18.04-basebuild-4c-8g'
Andy Bavier4318f8d2020-04-09 13:50:53 -0700667 override-branch: '$GERRIT_BRANCH'
Andy Bavier02b00dc2020-04-28 13:01:12 -0700668 sandbox: true
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800669 build-timeout: 20
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700670 volthaSystemTestsChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800671 volthaHelmChartsChange: ''
Matteo Scandolocecb0842021-05-04 13:16:47 -0700672 extraHelmFlags: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800673 branch-regexp: '{all-branches-regexp}'
Kailashaad71012019-08-27 10:36:53 -0700674
675 description: |
676 <!-- Managed by Jenkins Job Builder -->
677 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
678 E2E Validation for Voltha 2.X
679
680 properties:
681 - cord-infra-properties:
682 build-days-to-keep: '{build-days-to-keep}'
683 artifact-num-to-keep: '{artifact-num-to-keep}'
684
685 wrappers:
686 - lf-infra-wrappers:
687 build-timeout: '{build-timeout}'
688 jenkins-ssh-credential: '{jenkins-ssh-credential}'
689
690 parameters:
691 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700692 name: buildNode
Andrea Campanella4792b7f2021-04-23 15:06:42 +0200693 default: '{build-node}'
Kailashaad71012019-08-27 10:36:53 -0700694 description: 'Name of the Jenkins node to run the job on'
695
696 - string:
hwchiu14f97852019-10-08 10:51:11 -0700697 name: gerritProject
698 default: '$GERRIT_PROJECT'
699 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700700
701 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700702 name: gerritRefspec
703 default: '$GERRIT_REFSPEC'
704 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
Kailashaad71012019-08-27 10:36:53 -0700705
706 - string:
Andy Bavierbedd0392019-10-16 13:58:18 -0700707 name: extraHelmFlags
Matteo Scandolocecb0842021-05-04 13:16:47 -0700708 default: '{extraHelmFlags}'
Andy Bavierbedd0392019-10-16 13:58:18 -0700709 description: 'Helm flags to pass to ./voltha up'
710
Matteo Scandolo9aae4952020-09-14 13:05:53 -0700711 - string:
712 name: volthaSystemTestsChange
713 default: '{volthaSystemTestsChange}'
714 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
715
716 - string:
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800717 name: volthaHelmChartsChange
718 default: '{volthaHelmChartsChange}'
719 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
720
721 - string:
722 name: branch
723 default: '{override-branch}'
724 description: 'Name of the branch to use'
725
Kailashaad71012019-08-27 10:36:53 -0700726 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -0700727 concurrent: true
Kailashaad71012019-08-27 10:36:53 -0700728
Zack Williamsb3292082019-10-11 17:15:18 -0700729 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -0700730
731 triggers:
Andy Bavierb99c3d32020-02-18 11:14:17 -0700732 - gerrit:
733 server-name: '{gerrit-server-name}'
Kailashaad71012019-08-27 10:36:53 -0700734 dependency-jobs: '{dependency-jobs}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700735 silent-start: true
736 trigger-on:
737 - patchset-created-event:
738 exclude-drafts: true
739 exclude-trivial-rebase: false
740 exclude-no-code-change: true
741 - draft-published-event
742 - comment-added-contains-event:
743 comment-contains-value: '(?i)^.*recheck$'
744 projects:
745 - project-compare-type: REG_EXP
746 project-pattern: '^{project}$'
747 branches:
748 - branch-compare-type: REG_EXP
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800749 branch-pattern: '{branch-regexp}'
Andy Bavierb99c3d32020-02-18 11:14:17 -0700750 file-paths:
751 - compare-type: REG_EXP
752 pattern: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700753
754# POD Per Patchset Pipeline Jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700755# to use these parameters in a job: `<<: *voltha-physical-patchset-parameters`
756- voltha-physical-patchset-parameters: &voltha-physical-patchset-parameters
757 name: voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -0700758 parameters:
759 - string:
760 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -0700761 default: '{build-node}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700762 description: 'Pod management node'
763
764 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700765 name: branch
766 default: '$GERRIT_BRANCH'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700767 description: 'Name of the repo branch to use'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700768
769 - string:
770 name: gerritProject
771 default: '$GERRIT_PROJECT'
772 description: 'Name of the Gerrit project'
773
774 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -0700775 name: gerritRefspec
776 default: '$GERRIT_REFSPEC'
777 description: 'RefSpec number in Gerrit'
778
779 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700780 name: gerritComment
781 default: '$GERRIT_EVENT_COMMENT_TEXT'
782 description: 'RefSpec number in Gerrit'
783
784 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700785 name: cordRepoUrl
786 default: '{gerrit-server-url}'
787 description: 'The URL of the CORD Project repository'
788
789 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700790 name: configBaseDir
791 default: 'pod-configs'
792 description: 'The directory inside the POD configs repository'
793
794 - string:
795 name: configDeploymentDir
796 default: 'deployment-configs'
797 description: 'The deployment configs folder'
798
799 - string:
800 name: configKubernetesDir
801 default: 'kubernetes-configs'
802 description: 'The kubernetes config folder'
803
804 - string:
805 name: configFileName
806 default: '{config-pod}'
807 description: 'The config file'
808
809 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700810 name: podName
811 default: '{config-pod}'
812
813 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700814 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -0700815 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700816 description: 'Path of SADIS config to load'
817
818 - string:
Andy Bavier893d2442020-05-21 12:41:17 -0700819 name: oltDebVersionMaster
820 default: '{oltDebVersionMaster}'
821 description: 'OLT Software version to install for master branch builds'
822
823 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700824 name: oltDebVersionVoltha23
Andy Bavier893d2442020-05-21 12:41:17 -0700825 default: '{oltDebVersionVoltha23}'
826 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700827
828 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -0700829 name: profile
830 default: '{profile}'
831 description: 'Technology Profile pushed to the ETCD'
832
833 - string:
834 name: notificationEmail
835 default: 'andy@opennetworking.org'
836 description: ''
837
838 - bool:
839 name: reinstallOlt
840 default: true
841 description: "Re-install OLT software"
842
Zack Williams03ebb272020-03-27 09:42:33 -0700843 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700844 name: extraRobotArgs
845 default: '{default-test-args}'
846 description: 'Arguments to pass to robot'
847
848 - string:
849 name: volthaSystemTestsChange
850 default: '{volthaSystemTestsChange}'
851 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
852
853 - string:
854 name: volthaHelmChartsChange
855 default: '{volthaHelmChartsChange}'
856 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
857
858 - string:
859 name: workflow
860 default: '{workflow}'
861 description: 'Installs and uses the specified work flow on the POD'
862
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700863 - string:
864 name: extraHelmFlags
865 default: '{extraHelmFlags}'
866 description: 'Helm flags (passed to each helm command)'
867
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700868 # deprecated parameters, remove after VOLTHA-2.8 is released
869 - string:
870 name: deploymentConfigFile
871 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
872 description: 'Path of deployment config file'
873
874 - string:
875 name: kindVolthaValuesFile
876 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
877 description: 'Path of kind-voltha values override file'
878
879 - string:
880 name: manifestUrl
881 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
882 description: 'URL to the repo manifest'
883
884 - string:
885 name: gerritChangeNumber
886 default: '$GERRIT_CHANGE_NUMBER'
887 description: 'Changeset number in Gerrit'
888
889 - string:
890 name: gerritPatchsetNumber
891 default: '$GERRIT_PATCHSET_NUMBER'
892 description: 'PatchSet number in Gerrit'
893
894 - string:
895 name: localConfigDir
896 default: null
897 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
898
899 - string:
900 name: configRepo
901 default: 'pod-configs'
902 description: 'A repository containing the config files, will be checked out if specified'
903
904 - string:
Zack Williams03ebb272020-03-27 09:42:33 -0700905 name: manualBranch
906 default: '{manualBranch}'
907 description: "If a non-empty string, build manually as a specific branch, not with a specific patchset"
Andy Bavier51ba7e82019-12-17 11:01:01 -0700908
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700909- job-template:
910 name: '{name}'
911 id: verify_physical_voltha_patchset_auto
912 description: |
913 <!-- Managed by Jenkins Job Builder -->
914 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
915 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
916 Created by Andy Bavier, andy@opennetworking.org <br />
917 Copyright (c) 2019 Open Networking Foundation (ONF)
918 sandbox: true
919 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
920 default-test-args: '-i sanityORDeleteOLT -X'
921 branch-pattern: '{all-branches-regexp}'
922 build-node: 'tucson-pod'
923 config-pod: 'tucson-pod'
924 workflow: 'att'
925 profile: 'Default'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700926 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700927 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
928 volthaSystemTestsChange: ''
929 volthaHelmChartsChange: ''
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700930 extraHelmFlags: ''
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700931
932 properties:
933 - cord-infra-properties:
934 build-days-to-keep: '{build-days-to-keep}'
935 artifact-num-to-keep: '{artifact-num-to-keep}'
936
937 <<: *voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -0700938
939 project-type: pipeline
940 concurrent: true
941
942 dsl: !include-raw-escape: pipeline/{pipeline-script}
943
944 triggers:
945 - gerrit:
946 server-name: '{gerrit-server-name}'
947 dependency-jobs: '{dependency-jobs}'
948 silent-start: false
949 successful-message: "PASSED hardware test"
950 failure-message: "FAILED hardware test"
951 unstable-message: "UNSTABLE hardware test"
952 trigger-on:
953 - comment-added-event:
954 approval-category: 'Code-Review'
955 approval-value: '+2'
956 projects:
957 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -0800958 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-go)$'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700959 branches:
Andy Bavier37f6ea92020-04-03 11:13:35 -0700960 - branch-compare-type: REG_EXP
Matteo Scandolo5b998a22021-04-22 09:42:40 -0700961 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -0700962
963
964- job-template:
965 name: '{name}'
966 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700967 description: |
968 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700969 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -0700970 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700971 Created by Andy Bavier, andy@opennetworking.org <br />
972 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700973 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700974 build-node: 'tucson-pod'
975 config-pod: 'tucson-pod'
Girish Gowdra1a1f5cc2021-05-04 14:14:37 -0700976 oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700977 oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb'
978 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -0700979 trigger-string: 'hardware test'
980 default-test-args: '-i sanityORDeleteOLT -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700981 branch-pattern: '{all-branches-regexp}'
982 volthaSystemTestsChange: ''
983 volthaHelmChartsChange: ''
984 workflow: 'att'
Matteo Scandolobb7382d2021-05-05 08:32:35 -0700985 extraHelmFlags: ''
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700986
987 properties:
988 - cord-infra-properties:
989 build-days-to-keep: '{build-days-to-keep}'
990 artifact-num-to-keep: '{artifact-num-to-keep}'
991
Matteo Scandolo9b644ba2021-04-19 11:21:07 -0700992 <<: *voltha-physical-patchset-parameters
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700993
Andy Bavier8c11d462019-12-17 08:19:34 -0700994
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700995 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700996 concurrent: true
997
Andy Bavier61c5b2a2019-11-12 12:08:19 -0700998 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -0700999
Andy Bavier1f465592019-11-06 10:03:56 -07001000 triggers:
1001 - gerrit:
1002 server-name: '{gerrit-server-name}'
1003 dependency-jobs: '{dependency-jobs}'
1004 silent-start: false
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001005 successful-message: "PASSED {trigger-string}"
1006 failure-message: "FAILED {trigger-string}"
1007 unstable-message: "UNSTABLE {trigger-string}"
Andy Bavier1f465592019-11-06 10:03:56 -07001008 trigger-on:
1009 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001010 comment-contains-value: '^{trigger-string}$'
Scott Bakerda31d7b2020-01-08 16:35:52 -08001011 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001012 comment-contains-value: '^{trigger-string} with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -07001013 projects:
1014 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001015 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 -07001016 branches:
Andy Bavierfc3ca142020-03-27 13:44:25 -07001017 - branch-compare-type: REG_EXP
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001018 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001019
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001020
1021- job-template:
1022 name: '{name}'
1023 id: build_physical_voltha_manual
1024 description: |
1025 <!-- Managed by Jenkins Job Builder -->
1026 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
1027 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
1028 Created by Andy Bavier, andy@opennetworking.org <br />
1029 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001030 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001031 pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001032
1033 properties:
1034 - cord-infra-properties:
1035 build-days-to-keep: '{build-days-to-keep}'
1036 artifact-num-to-keep: '{artifact-num-to-keep}'
1037
1038 parameters:
1039 - string:
1040 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -07001041 default: '{build-node}'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001042 description: 'Pod management node'
1043
1044 - string:
1045 name: manifestUrl
1046 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
1047 description: 'URL to the repo manifest'
1048
1049 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001050 name: branch
1051 default: "$GERRIT_BRANCH"
1052 description: 'Name of the repo manifest branch to use'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001053
1054 - string:
1055 name: gerritProject
1056 default: '$GERRIT_PROJECT'
1057 description: 'Name of the Gerrit project'
1058
1059 - string:
1060 name: gerritChangeNumber
1061 default: '$GERRIT_CHANGE_NUMBER'
1062 description: 'Changeset number in Gerrit'
1063
1064 - string:
1065 name: gerritPatchsetNumber
1066 default: '$GERRIT_PATCHSET_NUMBER'
1067 description: 'PatchSet number in Gerrit'
1068
1069 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -07001070 name: gerritRefspec
1071 default: '$GERRIT_REFSPEC'
1072 description: 'RefSpec number in Gerrit'
1073
1074 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001075 name: cordRepoUrl
1076 default: '{gerrit-server-url}'
1077 description: 'The URL of the CORD Project repository'
1078
1079 - string:
1080 name: podName
1081 default: '{config-pod}'
1082
1083 - string:
1084 name: deploymentConfigFile
1085 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
1086 description: 'Path of deployment config file'
1087
1088 - string:
1089 name: kindVolthaValuesFile
1090 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
1091 description: 'Path of kind-voltha values override file'
1092
1093 - string:
1094 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -07001095 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001096 description: 'Path of SADIS config to load'
1097
1098 - string:
1099 name: localConfigDir
1100 default: null
1101 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
1102
1103 - string:
1104 name: configRepo
1105 default: 'pod-configs'
1106 description: 'A repository containing the config files, will be checked out if specified'
1107
1108 - string:
Andy Bavier893d2442020-05-21 12:41:17 -07001109 name: oltDebVersionMaster
1110 default: '{oltDebVersionMaster}'
1111 description: 'OLT Software version to install for master branch builds'
1112
1113 - string:
1114 name: oltDebVersionVoltha23
1115 default: '{oltDebVersionVoltha23}'
1116 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001117
1118 - string:
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001119 name: profile
1120 default: '{profile}'
1121 description: 'Technology Profile pushed to the ETCD'
1122
1123 - string:
1124 name: notificationEmail
1125 default: 'andy@opennetworking.org'
1126 description: ''
1127
1128 - bool:
1129 name: reinstallOlt
1130 default: false
1131 description: "Re-install OLT software"
1132
Zack Williams03ebb272020-03-27 09:42:33 -07001133 - string:
1134 name: manualBranch
1135 default: '{manualBranch}'
1136 description: "If a non-empty string, build manually on a specific branch, not with a specific patchset"
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001137
Andy Bavier8c11d462019-12-17 08:19:34 -07001138 - string:
1139 name: extraRobotArgs
Andy Bavierd2b25fe2020-06-09 07:22:00 -07001140 default: '-e bbsim -X'
Andy Bavier8c11d462019-12-17 08:19:34 -07001141 description: 'Arguments to pass to robot'
1142
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001143 project-type: pipeline
1144 concurrent: true
1145
1146 dsl: !include-raw-escape: pipeline/{pipeline-script}