blob: 61aaf0ae7667c29f69895e4201ade1d9b08118e9 [file] [log] [blame]
Hardik Windlass0f9621d2021-02-24 21:23:19 +05301---
2# voltha 2.X tests
Joey Armstrong2f8a5fa2023-01-29 14:06:30 -05003# oar image URLs that redirect away from oss to maven-central (?)
4# olt, dhcpl2relay, igmpproxy, kafka
Hardik Windlass0f9621d2021-02-24 21:23:19 +05305
6- project:
7 name: software-upgrades
8 project-name: '{name}'
9
10 jobs:
Hardik Windlass317ad022022-02-21 11:18:18 +000011 - 'software-upgrades-test-new':
Hardik Windlass0f9621d2021-02-24 21:23:19 +053012 name: 'periodic-software-upgrade-test-bbsim'
13 pipeline-script: 'voltha/master/software-upgrades.groovy'
Hardik Windlass9f5bee12021-05-07 06:47:21 +000014 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass0f9621d2021-02-24 21:23:19 +053015 code-branch: 'master'
Joey Armstrong2f8a5fa2023-01-29 14:06:30 -050016 aaa-version: '2.9.0.SNAPSHOT'
17 aaa-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/aaa-app/2.9.0-SNAPSHOT/aaa-app-2.9.0-20230111.164338-1.oar'
Andrea Campanella0839ef22021-12-30 15:44:16 +010018 olt-version: '5.1.0.SNAPSHOT'
Hardik Windlass1a8ccdd2022-06-29 15:33:57 +053019 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 +010020 dhcpl2relay-version: '2.7.0.SNAPSHOT'
Hardik Windlassc0e8dbe2022-06-24 10:38:42 +053021 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 +010022 igmpproxy-version: '2.5.0.SNAPSHOT'
Hardik Windlassfb9ab7f2022-03-28 04:44:32 +000023 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'
Joey Armstrong2f8a5fa2023-01-29 14:06:30 -050024 sadis-version: '5.11.0.SNAPSHOT'
25 sadis-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/sadis-app/5.11.0-SNAPSHOT/sadis-app-5.11.0-20230110.082138-1.oar'
26 mcast-version: '2.9.0.SNAPSHOT'
27 mcast-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/mcast-app/2.9.0-SNAPSHOT/mcast-app-2.9.0-20230110.175410-1.oar'
Andrea Campanella0839ef22021-12-30 15:44:16 +010028 kafka-version: '2.9.0.SNAPSHOT'
Hardik Windlassc0e8dbe2022-06-24 10:38:42 +053029 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 +053030 openolt-adapter-deploy-base-tag: '4.2.6'
31 openonu-adapter-deploy-base-tag: '2.2.8'
Joey Armstrong2f8a5fa2023-01-29 14:06:30 -050032 rw-core-deploy-base-tag: '3.1.8'
Andrea Campanellae36f50c2022-05-03 14:57:03 +020033 ofagent-deploy-base-tag: '2.1.2'
Hardik Windlass88814542021-06-22 09:43:46 +000034 onu-image-version: 'BBSM_IMG_00002'
35 onu-image-url: 'http://bbsim0:50074/images/software-image.img'
36 onu-image-vendor: 'BBSM'
37 onu-image-activate-on-success: 'false'
38 onu-image-commit-on-success: 'false'
Hardik Windlassae82ab72021-03-31 14:49:47 +053039 onu-image-crc: '0'
Hardik Windlassae82ab72021-03-31 14:49:47 +053040 time-trigger: "H H/23 * * *"
41
Joey Armstrong2f8a5fa2023-01-29 14:06:30 -050042 - 'software-upgrades-test-voltha-2.11':
43 name: 'periodic-software-upgrade-test-bbsim-2.11'
44 pipeline-script: 'voltha/voltha-2.11/software-upgrades.groovy'
45 build-node: 'ubuntu18.04-basebuild-8c-15g'
46 code-branch: 'voltha-2.11'
47 aaa-version: '2.9.0'
48 aaa-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/aaa-app/2.9.0/aaa-app-2.9.0.oar'
49 olt-version: '5.2.3'
50 olt-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/olt-app/5.2.3/olt-app-5.2.3.oar'
51 dhcpl2relay-version: '2.9.0'
52 dhcpl2relay-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/dhcpl2relay-app/2.9.0/dhcpl2relay-app-2.9.0.oar'
53 igmpproxy-version: '2.7.0'
54 igmpproxy-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/onos-app-igmpproxy-app/2.7.0/onos-app-igmpproxy-app-2.7.0.oar'
55 sadis-version: '5.10.0'
56 sadis-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/sadis-app/5.10.0/sadis-app-5.10.0.oar'
57 mcast-version: '2.8.0'
58 mcast-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/mcast-app/2.4.0/mcast-app-2.8.0.oar'
59 kafka-version: '2.11.1'
60 kafka-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/kafka/2.11.1/kafka-2.11.1.oar'
61 adapter-open-olt-image: 'voltha/voltha-openolt-adapter:4.2.12'
62 adapter-open-onu-image: 'voltha/voltha-openonu-adapter-go:2.7.3'
63 rw-core-image: 'voltha/voltha-rw-core:3.1.8'
64 ofagent-image: 'voltha/voltha-ofagent-go:2.1.3'
65 onu-image-version: 'BBSM_IMG_00002'
66 onu-image-url: 'http://bbsim0:50074/images/software-image.img'
67 onu-image-vendor: 'BBSM'
68 onu-image-activate-on-success: 'false'
69 onu-image-commit-on-success: 'false'
70 onu-image-crc: '0'
71 time-trigger: "H H/23 * * *"
72
Hardik Windlass317ad022022-02-21 11:18:18 +000073 - 'software-upgrades-test-old':
Hardik Windlass6d9a82e2021-07-08 16:23:21 +000074 name: 'periodic-software-upgrade-test-bbsim-2.8'
75 pipeline-script: 'voltha/voltha-2.8/software-upgrades.groovy'
Hardik Windlass9f5bee12021-05-07 06:47:21 +000076 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass6d9a82e2021-07-08 16:23:21 +000077 code-branch: 'voltha-2.8'
78 aaa-version: '2.4.0'
79 aaa-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/aaa-app/2.4.0/aaa-app-2.4.0.oar'
80 olt-version: '4.5.0'
81 olt-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/olt-app/4.5.0/olt-app-4.5.0.oar'
82 dhcpl2relay-version: '2.5.0'
83 dhcpl2relay-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/dhcpl2relay-app/2.5.0/dhcpl2relay-app-2.5.0.oar'
84 igmpproxy-version: '2.3.0'
85 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'
86 sadis-version: '5.4.0'
87 sadis-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/sadis-app/5.4.0/sadis-app-5.4.0.oar'
88 mcast-version: '2.4.0'
89 mcast-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/mcast-app/2.4.0/mcast-app-2.4.0.oar'
90 kafka-version: '2.7.0'
91 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 +000092 adapter-open-olt-image: 'voltha/voltha-openolt-adapter:3.5.12'
Hardik Windlassc0e8dbe2022-06-24 10:38:42 +053093 adapter-open-onu-image: 'voltha/voltha-openonu-adapter-go:1.3.28'
Hardik Windlass45e456d2021-11-18 07:38:41 +000094 rw-core-image: 'voltha/voltha-rw-core:2.9.6'
Hardik Windlass6d9a82e2021-07-08 16:23:21 +000095 ofagent-image: 'voltha/voltha-ofagent-go:1.6.5'
96 onu-image-version: 'BBSM_IMG_00002'
97 onu-image-url: 'http://bbsim0:50074/images/software-image.img'
98 onu-image-vendor: 'BBSM'
99 onu-image-activate-on-success: 'false'
100 onu-image-commit-on-success: 'false'
Hardik Windlass834afbb2021-03-23 11:48:15 +0530101 onu-image-crc: '0'
Hardik Windlass0f9621d2021-02-24 21:23:19 +0530102 time-trigger: "H H/23 * * *"
103
Hardik Windlass317ad022022-02-21 11:18:18 +0000104# to be used for voltha releases 2.9 onwards
Hardik Windlass0f9621d2021-02-24 21:23:19 +0530105- job-template:
Hardik Windlass317ad022022-02-21 11:18:18 +0000106 id: 'software-upgrades-test-new'
107 name: '{name}'
108 sandbox: true
109 volthaSystemTestsChange: ''
110 volthaHelmChartsChange: ''
111 kindVolthaChange: ''
112 logLevel: 'DEBUG'
113 logging: true
114
115 description: |
116 <!-- Managed by Jenkins Job Builder -->
117 Created by {id} job-template from ci-management/jjb/software-upgrades.yaml <br /><br />
118 E2E Validation for Voltha 2.X
119 properties:
Joey Armstrong8e1de652022-09-02 12:09:52 -0400120 - onf-infra-volthadevs-permissions
Hardik Windlass317ad022022-02-21 11:18:18 +0000121 - cord-infra-properties:
122 build-days-to-keep: '{build-days-to-keep}'
123 artifact-num-to-keep: '{artifact-num-to-keep}'
124
125 wrappers:
126 - lf-infra-wrappers:
127 build-timeout: '{build-timeout}'
128 jenkins-ssh-credential: '{jenkins-ssh-credential}'
129
130 parameters:
131 - string:
132 name: buildNode
133 default: '{build-node}'
134 description: 'Name of the Jenkins node to run the job on'
135
136 - string:
137 name: extraHelmFlags
138 default: ''
139 description: 'Helm flags to pass to every helm install command'
140
141 - string:
142 name: volthaSystemTestsChange
143 default: ''
144 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
145
146 - string:
147 name: volthaHelmChartsChange
148 default: ''
149 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
150
151 - string:
152 name: branch
153 default: '{code-branch}'
154 description: 'Name of the branch to use'
155
156 - string:
157 name: onosImg
158 default: ''
159 description: 'ONOS Image to use'
160
161 - string:
162 name: aaaVer
163 default: '{aaa-version}'
164 description: 'ONOS AAA App Version to Test Upgrade'
165
166 - string:
167 name: aaaOarUrl
168 default: '{aaa-oar-url}'
169 description: 'ONOS AAA App OAR File Url'
170
171 - string:
172 name: oltVer
173 default: '{olt-version}'
174 description: 'ONOS OLT App Version to Test Upgrade'
175
176 - string:
177 name: oltOarUrl
178 default: '{olt-oar-url}'
179 description: 'ONOS OLT App OAR File Url'
180
181 - string:
182 name: dhcpl2relayVer
183 default: '{dhcpl2relay-version}'
184 description: 'ONOS DHCP L2 Relay App Version to Test Upgrade'
185
186 - string:
187 name: dhcpl2relayOarUrl
188 default: '{dhcpl2relay-oar-url}'
189 description: 'ONOS DHCP L2 Relay App OAR File Url'
190
191 - string:
192 name: igmpproxyVer
193 default: '{igmpproxy-version}'
194 description: 'ONOS Igmp Proxy App Version to Test Upgrade'
195
196 - string:
197 name: igmpproxyOarUrl
198 default: '{igmpproxy-oar-url}'
199 description: 'ONOS Igmp Proxy App OAR File Url'
200
201 - string:
202 name: sadisVer
203 default: '{sadis-version}'
204 description: 'ONOS Sadis App Version to Test Upgrade'
205
206 - string:
207 name: sadisOarUrl
208 default: '{sadis-oar-url}'
209 description: 'ONOS Sadis App OAR File Url'
210
211 - string:
212 name: mcastVer
213 default: '{mcast-version}'
214 description: 'ONOS MCast App Version to Test Upgrade'
215
216 - string:
217 name: mcastOarUrl
218 default: '{mcast-oar-url}'
219 description: 'ONOS MCast App OAR File Url'
220
221 - string:
222 name: kafkaVer
223 default: '{kafka-version}'
224 description: 'ONOS Kafka App Version to Test Upgrade'
225
226 - string:
227 name: kafkaOarUrl
228 default: '{kafka-oar-url}'
229 description: 'ONOS Kafka App OAR File Url'
230
231 - string:
Hardik Windlass8e264492022-03-25 16:15:45 +0000232 name: openoltAdapterDeployBaseTag
233 default: '{openolt-adapter-deploy-base-tag}'
234 description: 'Minimum Version of OpenOLT Adapter to be used for Deployment'
235
236 - string:
237 name: openonuAdapterDeployBaseTag
238 default: '{openonu-adapter-deploy-base-tag}'
239 description: 'Minimum Version of OpenONU Adapter to be used for Deployment'
240
241 - string:
242 name: rwCoreDeployBaseTag
243 default: '{rw-core-deploy-base-tag}'
244 description: 'Minimum Version of RW Core to be used for Deployment'
245
246 - string:
247 name: ofagentDeployBaseTag
248 default: '{ofagent-deploy-base-tag}'
249 description: 'Minimum Version of Ofagent to be used for Deployment'
250
251 - string:
Hardik Windlass317ad022022-02-21 11:18:18 +0000252 name: onuImageVersion
253 default: '{onu-image-version}'
254 description: 'Version of ONU Image to Upgrade'
255
256 - string:
257 name: onuImageUrl
258 default: '{onu-image-url}'
259 description: 'Url of ONU Image to Upgrade'
260
261 - string:
262 name: onuImageVendor
263 default: '{onu-image-vendor}'
264 description: 'Vendor of ONU Image to Upgrade'
265
266 - string:
267 name: onuImageActivateOnSuccess
268 default: '{onu-image-activate-on-success}'
269 description: 'Activate ONU Image'
270
271 - string:
272 name: onuImageCommitOnSuccess
273 default: '{onu-image-commit-on-success}'
274 description: 'Commit ONU Image'
275
276 - string:
277 name: onuImageCrc
278 default: '{onu-image-crc}'
279 description: 'CRC of ONU Image to Upgrade'
280
281 - string:
282 name: logLevel
283 default: '{logLevel}'
284 description: 'Log level for all the components'
285
286 - bool:
287 name: logging
288 default: '{logging}'
289 description: 'Option to collect voltha components logs per test case'
290
291 project-type: pipeline
292 concurrent: true
293
294 dsl: !include-raw-escape: pipeline/{pipeline-script}
295
296 triggers:
297 - timed: |
298 TZ=America/Los_Angeles
299 {time-trigger}
300
301# to be used for voltha release 2.8
302- job-template:
303 id: 'software-upgrades-test-old'
Hardik Windlass88814542021-06-22 09:43:46 +0000304 name: '{name}'
305 sandbox: true
306 volthaSystemTestsChange: ''
307 volthaHelmChartsChange: ''
308 kindVolthaChange: ''
Hardik Windlasscb955822021-10-21 14:59:11 +0000309 logLevel: 'DEBUG'
310 logging: true
Hardik Windlass88814542021-06-22 09:43:46 +0000311
312 description: |
313 <!-- Managed by Jenkins Job Builder -->
314 Created by {id} job-template from ci-management/jjb/software-upgrades.yaml <br /><br />
315 E2E Validation for Voltha 2.X
316 properties:
Joey Armstrong8e1de652022-09-02 12:09:52 -0400317 - onf-infra-volthadevs-permissions
Hardik Windlass88814542021-06-22 09:43:46 +0000318 - cord-infra-properties:
319 build-days-to-keep: '{build-days-to-keep}'
320 artifact-num-to-keep: '{artifact-num-to-keep}'
321
322 wrappers:
323 - lf-infra-wrappers:
324 build-timeout: '{build-timeout}'
325 jenkins-ssh-credential: '{jenkins-ssh-credential}'
326
327 parameters:
328 - string:
329 name: buildNode
330 default: '{build-node}'
331 description: 'Name of the Jenkins node to run the job on'
332
333 - string:
334 name: extraHelmFlags
335 default: ''
336 description: 'Helm flags to pass to every helm install command'
337
338 - string:
339 name: volthaSystemTestsChange
340 default: ''
341 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
342
343 - string:
344 name: volthaHelmChartsChange
345 default: ''
346 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
347
348 - string:
349 name: branch
350 default: '{code-branch}'
351 description: 'Name of the branch to use'
352
353 # deprecated params (not used in master, remove after 2.6 support is dropped)
354 - string:
355 name: kindVolthaChange
356 default: ''
357 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
358
359 - string:
360 name: onosImg
361 default: ''
362 description: 'ONOS Image to use'
363
364 - string:
365 name: aaaVer
366 default: '{aaa-version}'
367 description: 'ONOS AAA App Version to Test Upgrade'
368
369 - string:
370 name: aaaOarUrl
371 default: '{aaa-oar-url}'
372 description: 'ONOS AAA App OAR File Url'
373
374 - string:
375 name: oltVer
376 default: '{olt-version}'
377 description: 'ONOS OLT App Version to Test Upgrade'
378
379 - string:
380 name: oltOarUrl
381 default: '{olt-oar-url}'
382 description: 'ONOS OLT App OAR File Url'
383
384 - string:
385 name: dhcpl2relayVer
386 default: '{dhcpl2relay-version}'
387 description: 'ONOS DHCP L2 Relay App Version to Test Upgrade'
388
389 - string:
390 name: dhcpl2relayOarUrl
391 default: '{dhcpl2relay-oar-url}'
392 description: 'ONOS DHCP L2 Relay App OAR File Url'
393
394 - string:
395 name: igmpproxyVer
396 default: '{igmpproxy-version}'
397 description: 'ONOS Igmp Proxy App Version to Test Upgrade'
398
399 - string:
400 name: igmpproxyOarUrl
401 default: '{igmpproxy-oar-url}'
402 description: 'ONOS Igmp Proxy App OAR File Url'
403
404 - string:
405 name: sadisVer
406 default: '{sadis-version}'
407 description: 'ONOS Sadis App Version to Test Upgrade'
408
409 - string:
410 name: sadisOarUrl
411 default: '{sadis-oar-url}'
412 description: 'ONOS Sadis App OAR File Url'
413
414 - string:
415 name: mcastVer
416 default: '{mcast-version}'
417 description: 'ONOS MCast App Version to Test Upgrade'
418
419 - string:
420 name: mcastOarUrl
421 default: '{mcast-oar-url}'
422 description: 'ONOS MCast App OAR File Url'
423
424 - string:
425 name: kafkaVer
426 default: '{kafka-version}'
427 description: 'ONOS Kafka App Version to Test Upgrade'
428
429 - string:
430 name: kafkaOarUrl
431 default: '{kafka-oar-url}'
432 description: 'ONOS Kafka App OAR File Url'
433
434 - string:
435 name: adapterOpenOltImage
436 default: '{adapter-open-olt-image}'
437 description: 'Voltha Adapter Open OLT Component Image'
438
439 - string:
440 name: adapterOpenOnuImage
441 default: '{adapter-open-onu-image}'
442 description: 'Voltha Adapter Open ONU Component Image'
443
444 - string:
445 name: rwCoreImage
446 default: '{rw-core-image}'
447 description: 'Voltha RW Core Component Image'
448
449 - string:
450 name: ofAgentImage
451 default: '{ofagent-image}'
452 description: 'Voltha Ofagent Component Image'
453
454 - string:
455 name: onuImageVersion
456 default: '{onu-image-version}'
457 description: 'Version of ONU Image to Upgrade'
458
459 - string:
460 name: onuImageUrl
461 default: '{onu-image-url}'
462 description: 'Url of ONU Image to Upgrade'
463
464 - string:
465 name: onuImageVendor
466 default: '{onu-image-vendor}'
467 description: 'Vendor of ONU Image to Upgrade'
468
469 - string:
470 name: onuImageActivateOnSuccess
471 default: '{onu-image-activate-on-success}'
472 description: 'Activate ONU Image'
473
474 - string:
475 name: onuImageCommitOnSuccess
476 default: '{onu-image-commit-on-success}'
477 description: 'Commit ONU Image'
478
479 - string:
480 name: onuImageCrc
481 default: '{onu-image-crc}'
482 description: 'CRC of ONU Image to Upgrade'
483
Hardik Windlasscb955822021-10-21 14:59:11 +0000484 - string:
485 name: logLevel
486 default: '{logLevel}'
487 description: 'Log level for all the components'
488
489 - bool:
490 name: logging
491 default: '{logging}'
492 description: 'Option to collect voltha components logs per test case'
493
Hardik Windlass88814542021-06-22 09:43:46 +0000494 project-type: pipeline
495 concurrent: true
496
497 dsl: !include-raw-escape: pipeline/{pipeline-script}
498
499 triggers:
500 - timed: |
501 TZ=America/Los_Angeles
502 {time-trigger}