blob: 89a29b7b372cc027eddb2cfc6fb90919e374404e [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:
87 - cord-infra-properties:
88 build-days-to-keep: '{build-days-to-keep}'
89 artifact-num-to-keep: '{artifact-num-to-keep}'
90
91 wrappers:
92 - lf-infra-wrappers:
93 build-timeout: '{build-timeout}'
94 jenkins-ssh-credential: '{jenkins-ssh-credential}'
95
96 parameters:
97 - string:
98 name: buildNode
99 default: '{build-node}'
100 description: 'Name of the Jenkins node to run the job on'
101
102 - string:
103 name: extraHelmFlags
104 default: ''
105 description: 'Helm flags to pass to every helm install command'
106
107 - string:
108 name: volthaSystemTestsChange
109 default: ''
110 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
111
112 - string:
113 name: volthaHelmChartsChange
114 default: ''
115 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
116
117 - string:
118 name: branch
119 default: '{code-branch}'
120 description: 'Name of the branch to use'
121
122 - string:
123 name: onosImg
124 default: ''
125 description: 'ONOS Image to use'
126
127 - string:
128 name: aaaVer
129 default: '{aaa-version}'
130 description: 'ONOS AAA App Version to Test Upgrade'
131
132 - string:
133 name: aaaOarUrl
134 default: '{aaa-oar-url}'
135 description: 'ONOS AAA App OAR File Url'
136
137 - string:
138 name: oltVer
139 default: '{olt-version}'
140 description: 'ONOS OLT App Version to Test Upgrade'
141
142 - string:
143 name: oltOarUrl
144 default: '{olt-oar-url}'
145 description: 'ONOS OLT App OAR File Url'
146
147 - string:
148 name: dhcpl2relayVer
149 default: '{dhcpl2relay-version}'
150 description: 'ONOS DHCP L2 Relay App Version to Test Upgrade'
151
152 - string:
153 name: dhcpl2relayOarUrl
154 default: '{dhcpl2relay-oar-url}'
155 description: 'ONOS DHCP L2 Relay App OAR File Url'
156
157 - string:
158 name: igmpproxyVer
159 default: '{igmpproxy-version}'
160 description: 'ONOS Igmp Proxy App Version to Test Upgrade'
161
162 - string:
163 name: igmpproxyOarUrl
164 default: '{igmpproxy-oar-url}'
165 description: 'ONOS Igmp Proxy App OAR File Url'
166
167 - string:
168 name: sadisVer
169 default: '{sadis-version}'
170 description: 'ONOS Sadis App Version to Test Upgrade'
171
172 - string:
173 name: sadisOarUrl
174 default: '{sadis-oar-url}'
175 description: 'ONOS Sadis App OAR File Url'
176
177 - string:
178 name: mcastVer
179 default: '{mcast-version}'
180 description: 'ONOS MCast App Version to Test Upgrade'
181
182 - string:
183 name: mcastOarUrl
184 default: '{mcast-oar-url}'
185 description: 'ONOS MCast App OAR File Url'
186
187 - string:
188 name: kafkaVer
189 default: '{kafka-version}'
190 description: 'ONOS Kafka App Version to Test Upgrade'
191
192 - string:
193 name: kafkaOarUrl
194 default: '{kafka-oar-url}'
195 description: 'ONOS Kafka App OAR File Url'
196
197 - string:
Hardik Windlass8e264492022-03-25 16:15:45 +0000198 name: openoltAdapterDeployBaseTag
199 default: '{openolt-adapter-deploy-base-tag}'
200 description: 'Minimum Version of OpenOLT Adapter to be used for Deployment'
201
202 - string:
203 name: openonuAdapterDeployBaseTag
204 default: '{openonu-adapter-deploy-base-tag}'
205 description: 'Minimum Version of OpenONU Adapter to be used for Deployment'
206
207 - string:
208 name: rwCoreDeployBaseTag
209 default: '{rw-core-deploy-base-tag}'
210 description: 'Minimum Version of RW Core to be used for Deployment'
211
212 - string:
213 name: ofagentDeployBaseTag
214 default: '{ofagent-deploy-base-tag}'
215 description: 'Minimum Version of Ofagent to be used for Deployment'
216
217 - string:
Hardik Windlass317ad022022-02-21 11:18:18 +0000218 name: onuImageVersion
219 default: '{onu-image-version}'
220 description: 'Version of ONU Image to Upgrade'
221
222 - string:
223 name: onuImageUrl
224 default: '{onu-image-url}'
225 description: 'Url of ONU Image to Upgrade'
226
227 - string:
228 name: onuImageVendor
229 default: '{onu-image-vendor}'
230 description: 'Vendor of ONU Image to Upgrade'
231
232 - string:
233 name: onuImageActivateOnSuccess
234 default: '{onu-image-activate-on-success}'
235 description: 'Activate ONU Image'
236
237 - string:
238 name: onuImageCommitOnSuccess
239 default: '{onu-image-commit-on-success}'
240 description: 'Commit ONU Image'
241
242 - string:
243 name: onuImageCrc
244 default: '{onu-image-crc}'
245 description: 'CRC of ONU Image to Upgrade'
246
247 - string:
248 name: logLevel
249 default: '{logLevel}'
250 description: 'Log level for all the components'
251
252 - bool:
253 name: logging
254 default: '{logging}'
255 description: 'Option to collect voltha components logs per test case'
256
257 project-type: pipeline
258 concurrent: true
259
260 dsl: !include-raw-escape: pipeline/{pipeline-script}
261
262 triggers:
263 - timed: |
264 TZ=America/Los_Angeles
265 {time-trigger}
266
267# to be used for voltha release 2.8
268- job-template:
269 id: 'software-upgrades-test-old'
Hardik Windlass88814542021-06-22 09:43:46 +0000270 name: '{name}'
271 sandbox: true
272 volthaSystemTestsChange: ''
273 volthaHelmChartsChange: ''
274 kindVolthaChange: ''
Hardik Windlasscb955822021-10-21 14:59:11 +0000275 logLevel: 'DEBUG'
276 logging: true
Hardik Windlass88814542021-06-22 09:43:46 +0000277
278 description: |
279 <!-- Managed by Jenkins Job Builder -->
280 Created by {id} job-template from ci-management/jjb/software-upgrades.yaml <br /><br />
281 E2E Validation for Voltha 2.X
282 properties:
283 - cord-infra-properties:
284 build-days-to-keep: '{build-days-to-keep}'
285 artifact-num-to-keep: '{artifact-num-to-keep}'
286
287 wrappers:
288 - lf-infra-wrappers:
289 build-timeout: '{build-timeout}'
290 jenkins-ssh-credential: '{jenkins-ssh-credential}'
291
292 parameters:
293 - string:
294 name: buildNode
295 default: '{build-node}'
296 description: 'Name of the Jenkins node to run the job on'
297
298 - string:
299 name: extraHelmFlags
300 default: ''
301 description: 'Helm flags to pass to every helm install command'
302
303 - string:
304 name: volthaSystemTestsChange
305 default: ''
306 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
307
308 - string:
309 name: volthaHelmChartsChange
310 default: ''
311 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
312
313 - string:
314 name: branch
315 default: '{code-branch}'
316 description: 'Name of the branch to use'
317
318 # deprecated params (not used in master, remove after 2.6 support is dropped)
319 - string:
320 name: kindVolthaChange
321 default: ''
322 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
323
324 - string:
325 name: onosImg
326 default: ''
327 description: 'ONOS Image to use'
328
329 - string:
330 name: aaaVer
331 default: '{aaa-version}'
332 description: 'ONOS AAA App Version to Test Upgrade'
333
334 - string:
335 name: aaaOarUrl
336 default: '{aaa-oar-url}'
337 description: 'ONOS AAA App OAR File Url'
338
339 - string:
340 name: oltVer
341 default: '{olt-version}'
342 description: 'ONOS OLT App Version to Test Upgrade'
343
344 - string:
345 name: oltOarUrl
346 default: '{olt-oar-url}'
347 description: 'ONOS OLT App OAR File Url'
348
349 - string:
350 name: dhcpl2relayVer
351 default: '{dhcpl2relay-version}'
352 description: 'ONOS DHCP L2 Relay App Version to Test Upgrade'
353
354 - string:
355 name: dhcpl2relayOarUrl
356 default: '{dhcpl2relay-oar-url}'
357 description: 'ONOS DHCP L2 Relay App OAR File Url'
358
359 - string:
360 name: igmpproxyVer
361 default: '{igmpproxy-version}'
362 description: 'ONOS Igmp Proxy App Version to Test Upgrade'
363
364 - string:
365 name: igmpproxyOarUrl
366 default: '{igmpproxy-oar-url}'
367 description: 'ONOS Igmp Proxy App OAR File Url'
368
369 - string:
370 name: sadisVer
371 default: '{sadis-version}'
372 description: 'ONOS Sadis App Version to Test Upgrade'
373
374 - string:
375 name: sadisOarUrl
376 default: '{sadis-oar-url}'
377 description: 'ONOS Sadis App OAR File Url'
378
379 - string:
380 name: mcastVer
381 default: '{mcast-version}'
382 description: 'ONOS MCast App Version to Test Upgrade'
383
384 - string:
385 name: mcastOarUrl
386 default: '{mcast-oar-url}'
387 description: 'ONOS MCast App OAR File Url'
388
389 - string:
390 name: kafkaVer
391 default: '{kafka-version}'
392 description: 'ONOS Kafka App Version to Test Upgrade'
393
394 - string:
395 name: kafkaOarUrl
396 default: '{kafka-oar-url}'
397 description: 'ONOS Kafka App OAR File Url'
398
399 - string:
400 name: adapterOpenOltImage
401 default: '{adapter-open-olt-image}'
402 description: 'Voltha Adapter Open OLT Component Image'
403
404 - string:
405 name: adapterOpenOnuImage
406 default: '{adapter-open-onu-image}'
407 description: 'Voltha Adapter Open ONU Component Image'
408
409 - string:
410 name: rwCoreImage
411 default: '{rw-core-image}'
412 description: 'Voltha RW Core Component Image'
413
414 - string:
415 name: ofAgentImage
416 default: '{ofagent-image}'
417 description: 'Voltha Ofagent Component Image'
418
419 - string:
420 name: onuImageVersion
421 default: '{onu-image-version}'
422 description: 'Version of ONU Image to Upgrade'
423
424 - string:
425 name: onuImageUrl
426 default: '{onu-image-url}'
427 description: 'Url of ONU Image to Upgrade'
428
429 - string:
430 name: onuImageVendor
431 default: '{onu-image-vendor}'
432 description: 'Vendor of ONU Image to Upgrade'
433
434 - string:
435 name: onuImageActivateOnSuccess
436 default: '{onu-image-activate-on-success}'
437 description: 'Activate ONU Image'
438
439 - string:
440 name: onuImageCommitOnSuccess
441 default: '{onu-image-commit-on-success}'
442 description: 'Commit ONU Image'
443
444 - string:
445 name: onuImageCrc
446 default: '{onu-image-crc}'
447 description: 'CRC of ONU Image to Upgrade'
448
Hardik Windlasscb955822021-10-21 14:59:11 +0000449 - string:
450 name: logLevel
451 default: '{logLevel}'
452 description: 'Log level for all the components'
453
454 - bool:
455 name: logging
456 default: '{logging}'
457 description: 'Option to collect voltha components logs per test case'
458
Hardik Windlass88814542021-06-22 09:43:46 +0000459 project-type: pipeline
460 concurrent: true
461
462 dsl: !include-raw-escape: pipeline/{pipeline-script}
463
464 triggers:
465 - timed: |
466 TZ=America/Los_Angeles
467 {time-trigger}