blob: 19df6818b39cb6f043ea8bcba48639fa689b15af [file] [log] [blame]
Hardik Windlass0f9621d2021-02-24 21:23:19 +05301---
2# voltha 2.X tests
3
4- project:
5 name: software-upgrades
6 project-name: '{name}'
7
8 jobs:
Hardik Windlass317ad022022-02-21 11:18:18 +00009 - 'software-upgrades-test-new':
Hardik Windlass0f9621d2021-02-24 21:23:19 +053010 name: 'periodic-software-upgrade-test-bbsim'
11 pipeline-script: 'voltha/master/software-upgrades.groovy'
Hardik Windlass9f5bee12021-05-07 06:47:21 +000012 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass0f9621d2021-02-24 21:23:19 +053013 code-branch: 'master'
Andrea Campanella0839ef22021-12-30 15:44:16 +010014 aaa-version: '2.6.0.SNAPSHOT'
Hardik Windlassc0e8dbe2022-06-24 10:38:42 +053015 aaa-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/aaa-app/2.6.0-SNAPSHOT/aaa-app-2.6.0-20220527.132039-4.oar'
Andrea Campanella0839ef22021-12-30 15:44:16 +010016 olt-version: '5.1.0.SNAPSHOT'
Hardik Windlass1a8ccdd2022-06-29 15:33:57 +053017 olt-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/olt-app/5.1.0-SNAPSHOT/olt-app-5.1.0-20220629.020323-21.oar'
Andrea Campanella0839ef22021-12-30 15:44:16 +010018 dhcpl2relay-version: '2.7.0.SNAPSHOT'
Hardik Windlassc0e8dbe2022-06-24 10:38:42 +053019 dhcpl2relay-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/dhcpl2relay-app/2.7.0-SNAPSHOT/dhcpl2relay-app-2.7.0-20220527.132023-5.oar'
Andrea Campanella0839ef22021-12-30 15:44:16 +010020 igmpproxy-version: '2.5.0.SNAPSHOT'
Hardik Windlassfb9ab7f2022-03-28 04:44:32 +000021 igmpproxy-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/onos-app-igmpproxy-app/2.5.0-SNAPSHOT/onos-app-igmpproxy-app-2.5.0-20220318.145612-3.oar'
Andrea Campanella0839ef22021-12-30 15:44:16 +010022 sadis-version: '5.6.0.SNAPSHOT'
Hardik Windlassc0e8dbe2022-06-24 10:38:42 +053023 sadis-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/sadis-app/5.6.0-SNAPSHOT/sadis-app-5.6.0-20220614.170917-8.oar'
Andrea Campanella0839ef22021-12-30 15:44:16 +010024 mcast-version: '2.6.0.SNAPSHOT'
Hardik Windlassfb9ab7f2022-03-28 04:44:32 +000025 mcast-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/mcast-app/2.6.0-SNAPSHOT/mcast-app-2.6.0-20220318.145711-3.oar'
Andrea Campanella0839ef22021-12-30 15:44:16 +010026 kafka-version: '2.9.0.SNAPSHOT'
Hardik Windlassc0e8dbe2022-06-24 10:38:42 +053027 kafka-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/kafka/2.9.0-SNAPSHOT/kafka-2.9.0-20220609.001209-5.oar'
Hardik Windlass19605da2022-06-30 22:05:57 +053028 openolt-adapter-deploy-base-tag: '4.2.6'
29 openonu-adapter-deploy-base-tag: '2.2.8'
30 rw-core-deploy-base-tag: '3.1.6'
Andrea Campanellae36f50c2022-05-03 14:57:03 +020031 ofagent-deploy-base-tag: '2.1.2'
Hardik Windlass88814542021-06-22 09:43:46 +000032 onu-image-version: 'BBSM_IMG_00002'
33 onu-image-url: 'http://bbsim0:50074/images/software-image.img'
34 onu-image-vendor: 'BBSM'
35 onu-image-activate-on-success: 'false'
36 onu-image-commit-on-success: 'false'
Hardik Windlassae82ab72021-03-31 14:49:47 +053037 onu-image-crc: '0'
Hardik Windlassae82ab72021-03-31 14:49:47 +053038 time-trigger: "H H/23 * * *"
39
Hardik Windlass317ad022022-02-21 11:18:18 +000040 - 'software-upgrades-test-old':
Hardik Windlass6d9a82e2021-07-08 16:23:21 +000041 name: 'periodic-software-upgrade-test-bbsim-2.8'
42 pipeline-script: 'voltha/voltha-2.8/software-upgrades.groovy'
Hardik Windlass9f5bee12021-05-07 06:47:21 +000043 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass6d9a82e2021-07-08 16:23:21 +000044 code-branch: 'voltha-2.8'
45 aaa-version: '2.4.0'
46 aaa-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/aaa-app/2.4.0/aaa-app-2.4.0.oar'
47 olt-version: '4.5.0'
48 olt-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/olt-app/4.5.0/olt-app-4.5.0.oar'
49 dhcpl2relay-version: '2.5.0'
50 dhcpl2relay-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/dhcpl2relay-app/2.5.0/dhcpl2relay-app-2.5.0.oar'
51 igmpproxy-version: '2.3.0'
52 igmpproxy-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/onos-app-igmpproxy-app/2.3.0/onos-app-igmpproxy-app-2.3.0.oar'
53 sadis-version: '5.4.0'
54 sadis-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/sadis-app/5.4.0/sadis-app-5.4.0.oar'
55 mcast-version: '2.4.0'
56 mcast-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/mcast-app/2.4.0/mcast-app-2.4.0.oar'
57 kafka-version: '2.7.0'
58 kafka-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/kafka/2.7.0/kafka-2.7.0.oar'
Hardik Windlass2b164342022-02-28 03:50:48 +000059 adapter-open-olt-image: 'voltha/voltha-openolt-adapter:3.5.12'
Hardik Windlassc0e8dbe2022-06-24 10:38:42 +053060 adapter-open-onu-image: 'voltha/voltha-openonu-adapter-go:1.3.28'
Hardik Windlass45e456d2021-11-18 07:38:41 +000061 rw-core-image: 'voltha/voltha-rw-core:2.9.6'
Hardik Windlass6d9a82e2021-07-08 16:23:21 +000062 ofagent-image: 'voltha/voltha-ofagent-go:1.6.5'
63 onu-image-version: 'BBSM_IMG_00002'
64 onu-image-url: 'http://bbsim0:50074/images/software-image.img'
65 onu-image-vendor: 'BBSM'
66 onu-image-activate-on-success: 'false'
67 onu-image-commit-on-success: 'false'
Hardik Windlass834afbb2021-03-23 11:48:15 +053068 onu-image-crc: '0'
Hardik Windlass0f9621d2021-02-24 21:23:19 +053069 time-trigger: "H H/23 * * *"
70
Hardik Windlass317ad022022-02-21 11:18:18 +000071# to be used for voltha releases 2.9 onwards
Hardik Windlass0f9621d2021-02-24 21:23:19 +053072- job-template:
Hardik Windlass317ad022022-02-21 11:18:18 +000073 id: 'software-upgrades-test-new'
74 name: '{name}'
75 sandbox: true
76 volthaSystemTestsChange: ''
77 volthaHelmChartsChange: ''
78 kindVolthaChange: ''
79 logLevel: 'DEBUG'
80 logging: true
81
82 description: |
83 <!-- Managed by Jenkins Job Builder -->
84 Created by {id} job-template from ci-management/jjb/software-upgrades.yaml <br /><br />
85 E2E Validation for Voltha 2.X
86 properties:
Joey Armstrong8e1de652022-09-02 12:09:52 -040087 - onf-infra-volthadevs-permissions
Hardik Windlass317ad022022-02-21 11:18:18 +000088 - cord-infra-properties:
89 build-days-to-keep: '{build-days-to-keep}'
90 artifact-num-to-keep: '{artifact-num-to-keep}'
91
92 wrappers:
93 - lf-infra-wrappers:
94 build-timeout: '{build-timeout}'
95 jenkins-ssh-credential: '{jenkins-ssh-credential}'
96
97 parameters:
98 - string:
99 name: buildNode
100 default: '{build-node}'
101 description: 'Name of the Jenkins node to run the job on'
102
103 - string:
104 name: extraHelmFlags
105 default: ''
106 description: 'Helm flags to pass to every helm install command'
107
108 - string:
109 name: volthaSystemTestsChange
110 default: ''
111 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
112
113 - string:
114 name: volthaHelmChartsChange
115 default: ''
116 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
117
118 - string:
119 name: branch
120 default: '{code-branch}'
121 description: 'Name of the branch to use'
122
123 - string:
124 name: onosImg
125 default: ''
126 description: 'ONOS Image to use'
127
128 - string:
129 name: aaaVer
130 default: '{aaa-version}'
131 description: 'ONOS AAA App Version to Test Upgrade'
132
133 - string:
134 name: aaaOarUrl
135 default: '{aaa-oar-url}'
136 description: 'ONOS AAA App OAR File Url'
137
138 - string:
139 name: oltVer
140 default: '{olt-version}'
141 description: 'ONOS OLT App Version to Test Upgrade'
142
143 - string:
144 name: oltOarUrl
145 default: '{olt-oar-url}'
146 description: 'ONOS OLT App OAR File Url'
147
148 - string:
149 name: dhcpl2relayVer
150 default: '{dhcpl2relay-version}'
151 description: 'ONOS DHCP L2 Relay App Version to Test Upgrade'
152
153 - string:
154 name: dhcpl2relayOarUrl
155 default: '{dhcpl2relay-oar-url}'
156 description: 'ONOS DHCP L2 Relay App OAR File Url'
157
158 - string:
159 name: igmpproxyVer
160 default: '{igmpproxy-version}'
161 description: 'ONOS Igmp Proxy App Version to Test Upgrade'
162
163 - string:
164 name: igmpproxyOarUrl
165 default: '{igmpproxy-oar-url}'
166 description: 'ONOS Igmp Proxy App OAR File Url'
167
168 - string:
169 name: sadisVer
170 default: '{sadis-version}'
171 description: 'ONOS Sadis App Version to Test Upgrade'
172
173 - string:
174 name: sadisOarUrl
175 default: '{sadis-oar-url}'
176 description: 'ONOS Sadis App OAR File Url'
177
178 - string:
179 name: mcastVer
180 default: '{mcast-version}'
181 description: 'ONOS MCast App Version to Test Upgrade'
182
183 - string:
184 name: mcastOarUrl
185 default: '{mcast-oar-url}'
186 description: 'ONOS MCast App OAR File Url'
187
188 - string:
189 name: kafkaVer
190 default: '{kafka-version}'
191 description: 'ONOS Kafka App Version to Test Upgrade'
192
193 - string:
194 name: kafkaOarUrl
195 default: '{kafka-oar-url}'
196 description: 'ONOS Kafka App OAR File Url'
197
198 - string:
Hardik Windlass8e264492022-03-25 16:15:45 +0000199 name: openoltAdapterDeployBaseTag
200 default: '{openolt-adapter-deploy-base-tag}'
201 description: 'Minimum Version of OpenOLT Adapter to be used for Deployment'
202
203 - string:
204 name: openonuAdapterDeployBaseTag
205 default: '{openonu-adapter-deploy-base-tag}'
206 description: 'Minimum Version of OpenONU Adapter to be used for Deployment'
207
208 - string:
209 name: rwCoreDeployBaseTag
210 default: '{rw-core-deploy-base-tag}'
211 description: 'Minimum Version of RW Core to be used for Deployment'
212
213 - string:
214 name: ofagentDeployBaseTag
215 default: '{ofagent-deploy-base-tag}'
216 description: 'Minimum Version of Ofagent to be used for Deployment'
217
218 - string:
Hardik Windlass317ad022022-02-21 11:18:18 +0000219 name: onuImageVersion
220 default: '{onu-image-version}'
221 description: 'Version of ONU Image to Upgrade'
222
223 - string:
224 name: onuImageUrl
225 default: '{onu-image-url}'
226 description: 'Url of ONU Image to Upgrade'
227
228 - string:
229 name: onuImageVendor
230 default: '{onu-image-vendor}'
231 description: 'Vendor of ONU Image to Upgrade'
232
233 - string:
234 name: onuImageActivateOnSuccess
235 default: '{onu-image-activate-on-success}'
236 description: 'Activate ONU Image'
237
238 - string:
239 name: onuImageCommitOnSuccess
240 default: '{onu-image-commit-on-success}'
241 description: 'Commit ONU Image'
242
243 - string:
244 name: onuImageCrc
245 default: '{onu-image-crc}'
246 description: 'CRC of ONU Image to Upgrade'
247
248 - string:
249 name: logLevel
250 default: '{logLevel}'
251 description: 'Log level for all the components'
252
253 - bool:
254 name: logging
255 default: '{logging}'
256 description: 'Option to collect voltha components logs per test case'
257
258 project-type: pipeline
259 concurrent: true
260
261 dsl: !include-raw-escape: pipeline/{pipeline-script}
262
263 triggers:
264 - timed: |
265 TZ=America/Los_Angeles
266 {time-trigger}
267
268# to be used for voltha release 2.8
269- job-template:
270 id: 'software-upgrades-test-old'
Hardik Windlass88814542021-06-22 09:43:46 +0000271 name: '{name}'
272 sandbox: true
273 volthaSystemTestsChange: ''
274 volthaHelmChartsChange: ''
275 kindVolthaChange: ''
Hardik Windlasscb955822021-10-21 14:59:11 +0000276 logLevel: 'DEBUG'
277 logging: true
Hardik Windlass88814542021-06-22 09:43:46 +0000278
279 description: |
280 <!-- Managed by Jenkins Job Builder -->
281 Created by {id} job-template from ci-management/jjb/software-upgrades.yaml <br /><br />
282 E2E Validation for Voltha 2.X
283 properties:
Joey Armstrong8e1de652022-09-02 12:09:52 -0400284 - onf-infra-volthadevs-permissions
Hardik Windlass88814542021-06-22 09:43:46 +0000285 - cord-infra-properties:
286 build-days-to-keep: '{build-days-to-keep}'
287 artifact-num-to-keep: '{artifact-num-to-keep}'
288
289 wrappers:
290 - lf-infra-wrappers:
291 build-timeout: '{build-timeout}'
292 jenkins-ssh-credential: '{jenkins-ssh-credential}'
293
294 parameters:
295 - string:
296 name: buildNode
297 default: '{build-node}'
298 description: 'Name of the Jenkins node to run the job on'
299
300 - string:
301 name: extraHelmFlags
302 default: ''
303 description: 'Helm flags to pass to every helm install command'
304
305 - string:
306 name: volthaSystemTestsChange
307 default: ''
308 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
309
310 - string:
311 name: volthaHelmChartsChange
312 default: ''
313 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
314
315 - string:
316 name: branch
317 default: '{code-branch}'
318 description: 'Name of the branch to use'
319
320 # deprecated params (not used in master, remove after 2.6 support is dropped)
321 - string:
322 name: kindVolthaChange
323 default: ''
324 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
325
326 - string:
327 name: onosImg
328 default: ''
329 description: 'ONOS Image to use'
330
331 - string:
332 name: aaaVer
333 default: '{aaa-version}'
334 description: 'ONOS AAA App Version to Test Upgrade'
335
336 - string:
337 name: aaaOarUrl
338 default: '{aaa-oar-url}'
339 description: 'ONOS AAA App OAR File Url'
340
341 - string:
342 name: oltVer
343 default: '{olt-version}'
344 description: 'ONOS OLT App Version to Test Upgrade'
345
346 - string:
347 name: oltOarUrl
348 default: '{olt-oar-url}'
349 description: 'ONOS OLT App OAR File Url'
350
351 - string:
352 name: dhcpl2relayVer
353 default: '{dhcpl2relay-version}'
354 description: 'ONOS DHCP L2 Relay App Version to Test Upgrade'
355
356 - string:
357 name: dhcpl2relayOarUrl
358 default: '{dhcpl2relay-oar-url}'
359 description: 'ONOS DHCP L2 Relay App OAR File Url'
360
361 - string:
362 name: igmpproxyVer
363 default: '{igmpproxy-version}'
364 description: 'ONOS Igmp Proxy App Version to Test Upgrade'
365
366 - string:
367 name: igmpproxyOarUrl
368 default: '{igmpproxy-oar-url}'
369 description: 'ONOS Igmp Proxy App OAR File Url'
370
371 - string:
372 name: sadisVer
373 default: '{sadis-version}'
374 description: 'ONOS Sadis App Version to Test Upgrade'
375
376 - string:
377 name: sadisOarUrl
378 default: '{sadis-oar-url}'
379 description: 'ONOS Sadis App OAR File Url'
380
381 - string:
382 name: mcastVer
383 default: '{mcast-version}'
384 description: 'ONOS MCast App Version to Test Upgrade'
385
386 - string:
387 name: mcastOarUrl
388 default: '{mcast-oar-url}'
389 description: 'ONOS MCast App OAR File Url'
390
391 - string:
392 name: kafkaVer
393 default: '{kafka-version}'
394 description: 'ONOS Kafka App Version to Test Upgrade'
395
396 - string:
397 name: kafkaOarUrl
398 default: '{kafka-oar-url}'
399 description: 'ONOS Kafka App OAR File Url'
400
401 - string:
402 name: adapterOpenOltImage
403 default: '{adapter-open-olt-image}'
404 description: 'Voltha Adapter Open OLT Component Image'
405
406 - string:
407 name: adapterOpenOnuImage
408 default: '{adapter-open-onu-image}'
409 description: 'Voltha Adapter Open ONU Component Image'
410
411 - string:
412 name: rwCoreImage
413 default: '{rw-core-image}'
414 description: 'Voltha RW Core Component Image'
415
416 - string:
417 name: ofAgentImage
418 default: '{ofagent-image}'
419 description: 'Voltha Ofagent Component Image'
420
421 - string:
422 name: onuImageVersion
423 default: '{onu-image-version}'
424 description: 'Version of ONU Image to Upgrade'
425
426 - string:
427 name: onuImageUrl
428 default: '{onu-image-url}'
429 description: 'Url of ONU Image to Upgrade'
430
431 - string:
432 name: onuImageVendor
433 default: '{onu-image-vendor}'
434 description: 'Vendor of ONU Image to Upgrade'
435
436 - string:
437 name: onuImageActivateOnSuccess
438 default: '{onu-image-activate-on-success}'
439 description: 'Activate ONU Image'
440
441 - string:
442 name: onuImageCommitOnSuccess
443 default: '{onu-image-commit-on-success}'
444 description: 'Commit ONU Image'
445
446 - string:
447 name: onuImageCrc
448 default: '{onu-image-crc}'
449 description: 'CRC of ONU Image to Upgrade'
450
Hardik Windlasscb955822021-10-21 14:59:11 +0000451 - string:
452 name: logLevel
453 default: '{logLevel}'
454 description: 'Log level for all the components'
455
456 - bool:
457 name: logging
458 default: '{logging}'
459 description: 'Option to collect voltha components logs per test case'
460
Hardik Windlass88814542021-06-22 09:43:46 +0000461 project-type: pipeline
462 concurrent: true
463
464 dsl: !include-raw-escape: pipeline/{pipeline-script}
465
466 triggers:
467 - timed: |
468 TZ=America/Los_Angeles
469 {time-trigger}