blob: 5fa684e4a09d18ba095ae2f7e7c1c28cc33866f9 [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'
15 aaa-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/aaa-app/2.6.0-SNAPSHOT/aaa-app-2.6.0-20211227.162925-1.oar'
16 olt-version: '5.1.0.SNAPSHOT'
Hardik Windlass2e366822022-02-14 03:34:58 +000017 olt-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/olt-app/5.1.0-SNAPSHOT/olt-app-5.1.0-20220209.100550-7.oar'
Andrea Campanella0839ef22021-12-30 15:44:16 +010018 dhcpl2relay-version: '2.7.0.SNAPSHOT'
19 dhcpl2relay-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/dhcpl2relay-app/2.7.0-SNAPSHOT/dhcpl2relay-app-2.7.0-20211227.173623-1.oar'
20 igmpproxy-version: '2.5.0.SNAPSHOT'
21 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-20211227.182108-1.oar'
22 sadis-version: '5.6.0.SNAPSHOT'
Hardik Windlass2e366822022-02-14 03:34:58 +000023 sadis-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/sadis-app/5.6.0-SNAPSHOT/sadis-app-5.6.0-20220208.143514-4.oar'
Andrea Campanella0839ef22021-12-30 15:44:16 +010024 mcast-version: '2.6.0.SNAPSHOT'
25 mcast-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/mcast-app/2.6.0-SNAPSHOT/mcast-app-2.6.0-20211227.170629-1.oar'
26 kafka-version: '2.9.0.SNAPSHOT'
27 kafka-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/kafka/2.9.0-SNAPSHOT/kafka-2.9.0-20211228.090937-1.oar'
Hardik Windlass88814542021-06-22 09:43:46 +000028 onu-image-version: 'BBSM_IMG_00002'
29 onu-image-url: 'http://bbsim0:50074/images/software-image.img'
30 onu-image-vendor: 'BBSM'
31 onu-image-activate-on-success: 'false'
32 onu-image-commit-on-success: 'false'
Hardik Windlassae82ab72021-03-31 14:49:47 +053033 onu-image-crc: '0'
Hardik Windlassae82ab72021-03-31 14:49:47 +053034 time-trigger: "H H/23 * * *"
35
Hardik Windlass317ad022022-02-21 11:18:18 +000036 - 'software-upgrades-test-old':
Hardik Windlass6d9a82e2021-07-08 16:23:21 +000037 name: 'periodic-software-upgrade-test-bbsim-2.8'
38 pipeline-script: 'voltha/voltha-2.8/software-upgrades.groovy'
Hardik Windlass9f5bee12021-05-07 06:47:21 +000039 build-node: 'ubuntu18.04-basebuild-8c-15g'
Hardik Windlass6d9a82e2021-07-08 16:23:21 +000040 code-branch: 'voltha-2.8'
41 aaa-version: '2.4.0'
42 aaa-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/aaa-app/2.4.0/aaa-app-2.4.0.oar'
43 olt-version: '4.5.0'
44 olt-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/olt-app/4.5.0/olt-app-4.5.0.oar'
45 dhcpl2relay-version: '2.5.0'
46 dhcpl2relay-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/dhcpl2relay-app/2.5.0/dhcpl2relay-app-2.5.0.oar'
47 igmpproxy-version: '2.3.0'
48 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'
49 sadis-version: '5.4.0'
50 sadis-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/sadis-app/5.4.0/sadis-app-5.4.0.oar'
51 mcast-version: '2.4.0'
52 mcast-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/mcast-app/2.4.0/mcast-app-2.4.0.oar'
53 kafka-version: '2.7.0'
54 kafka-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/kafka/2.7.0/kafka-2.7.0.oar'
Hardik Windlass7187d1c2021-11-25 09:00:05 +000055 adapter-open-olt-image: 'voltha/voltha-openolt-adapter:3.5.11'
Hardik Windlass2e366822022-02-14 03:34:58 +000056 adapter-open-onu-image: 'voltha/voltha-openonu-adapter-go:1.3.26'
Hardik Windlass45e456d2021-11-18 07:38:41 +000057 rw-core-image: 'voltha/voltha-rw-core:2.9.6'
Hardik Windlass6d9a82e2021-07-08 16:23:21 +000058 ofagent-image: 'voltha/voltha-ofagent-go:1.6.5'
59 onu-image-version: 'BBSM_IMG_00002'
60 onu-image-url: 'http://bbsim0:50074/images/software-image.img'
61 onu-image-vendor: 'BBSM'
62 onu-image-activate-on-success: 'false'
63 onu-image-commit-on-success: 'false'
Hardik Windlass834afbb2021-03-23 11:48:15 +053064 onu-image-crc: '0'
Hardik Windlass0f9621d2021-02-24 21:23:19 +053065 time-trigger: "H H/23 * * *"
66
Hardik Windlass317ad022022-02-21 11:18:18 +000067# to be used for voltha releases 2.9 onwards
Hardik Windlass0f9621d2021-02-24 21:23:19 +053068- job-template:
Hardik Windlass317ad022022-02-21 11:18:18 +000069 id: 'software-upgrades-test-new'
70 name: '{name}'
71 sandbox: true
72 volthaSystemTestsChange: ''
73 volthaHelmChartsChange: ''
74 kindVolthaChange: ''
75 logLevel: 'DEBUG'
76 logging: true
77
78 description: |
79 <!-- Managed by Jenkins Job Builder -->
80 Created by {id} job-template from ci-management/jjb/software-upgrades.yaml <br /><br />
81 E2E Validation for Voltha 2.X
82 properties:
83 - cord-infra-properties:
84 build-days-to-keep: '{build-days-to-keep}'
85 artifact-num-to-keep: '{artifact-num-to-keep}'
86
87 wrappers:
88 - lf-infra-wrappers:
89 build-timeout: '{build-timeout}'
90 jenkins-ssh-credential: '{jenkins-ssh-credential}'
91
92 parameters:
93 - string:
94 name: buildNode
95 default: '{build-node}'
96 description: 'Name of the Jenkins node to run the job on'
97
98 - string:
99 name: extraHelmFlags
100 default: ''
101 description: 'Helm flags to pass to every helm install command'
102
103 - string:
104 name: volthaSystemTestsChange
105 default: ''
106 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
107
108 - string:
109 name: volthaHelmChartsChange
110 default: ''
111 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
112
113 - string:
114 name: branch
115 default: '{code-branch}'
116 description: 'Name of the branch to use'
117
118 - string:
119 name: onosImg
120 default: ''
121 description: 'ONOS Image to use'
122
123 - string:
124 name: aaaVer
125 default: '{aaa-version}'
126 description: 'ONOS AAA App Version to Test Upgrade'
127
128 - string:
129 name: aaaOarUrl
130 default: '{aaa-oar-url}'
131 description: 'ONOS AAA App OAR File Url'
132
133 - string:
134 name: oltVer
135 default: '{olt-version}'
136 description: 'ONOS OLT App Version to Test Upgrade'
137
138 - string:
139 name: oltOarUrl
140 default: '{olt-oar-url}'
141 description: 'ONOS OLT App OAR File Url'
142
143 - string:
144 name: dhcpl2relayVer
145 default: '{dhcpl2relay-version}'
146 description: 'ONOS DHCP L2 Relay App Version to Test Upgrade'
147
148 - string:
149 name: dhcpl2relayOarUrl
150 default: '{dhcpl2relay-oar-url}'
151 description: 'ONOS DHCP L2 Relay App OAR File Url'
152
153 - string:
154 name: igmpproxyVer
155 default: '{igmpproxy-version}'
156 description: 'ONOS Igmp Proxy App Version to Test Upgrade'
157
158 - string:
159 name: igmpproxyOarUrl
160 default: '{igmpproxy-oar-url}'
161 description: 'ONOS Igmp Proxy App OAR File Url'
162
163 - string:
164 name: sadisVer
165 default: '{sadis-version}'
166 description: 'ONOS Sadis App Version to Test Upgrade'
167
168 - string:
169 name: sadisOarUrl
170 default: '{sadis-oar-url}'
171 description: 'ONOS Sadis App OAR File Url'
172
173 - string:
174 name: mcastVer
175 default: '{mcast-version}'
176 description: 'ONOS MCast App Version to Test Upgrade'
177
178 - string:
179 name: mcastOarUrl
180 default: '{mcast-oar-url}'
181 description: 'ONOS MCast App OAR File Url'
182
183 - string:
184 name: kafkaVer
185 default: '{kafka-version}'
186 description: 'ONOS Kafka App Version to Test Upgrade'
187
188 - string:
189 name: kafkaOarUrl
190 default: '{kafka-oar-url}'
191 description: 'ONOS Kafka App OAR File Url'
192
193 - string:
194 name: onuImageVersion
195 default: '{onu-image-version}'
196 description: 'Version of ONU Image to Upgrade'
197
198 - string:
199 name: onuImageUrl
200 default: '{onu-image-url}'
201 description: 'Url of ONU Image to Upgrade'
202
203 - string:
204 name: onuImageVendor
205 default: '{onu-image-vendor}'
206 description: 'Vendor of ONU Image to Upgrade'
207
208 - string:
209 name: onuImageActivateOnSuccess
210 default: '{onu-image-activate-on-success}'
211 description: 'Activate ONU Image'
212
213 - string:
214 name: onuImageCommitOnSuccess
215 default: '{onu-image-commit-on-success}'
216 description: 'Commit ONU Image'
217
218 - string:
219 name: onuImageCrc
220 default: '{onu-image-crc}'
221 description: 'CRC of ONU Image to Upgrade'
222
223 - string:
224 name: logLevel
225 default: '{logLevel}'
226 description: 'Log level for all the components'
227
228 - bool:
229 name: logging
230 default: '{logging}'
231 description: 'Option to collect voltha components logs per test case'
232
233 project-type: pipeline
234 concurrent: true
235
236 dsl: !include-raw-escape: pipeline/{pipeline-script}
237
238 triggers:
239 - timed: |
240 TZ=America/Los_Angeles
241 {time-trigger}
242
243# to be used for voltha release 2.8
244- job-template:
245 id: 'software-upgrades-test-old'
Hardik Windlass88814542021-06-22 09:43:46 +0000246 name: '{name}'
247 sandbox: true
248 volthaSystemTestsChange: ''
249 volthaHelmChartsChange: ''
250 kindVolthaChange: ''
Hardik Windlasscb955822021-10-21 14:59:11 +0000251 logLevel: 'DEBUG'
252 logging: true
Hardik Windlass88814542021-06-22 09:43:46 +0000253
254 description: |
255 <!-- Managed by Jenkins Job Builder -->
256 Created by {id} job-template from ci-management/jjb/software-upgrades.yaml <br /><br />
257 E2E Validation for Voltha 2.X
258 properties:
259 - cord-infra-properties:
260 build-days-to-keep: '{build-days-to-keep}'
261 artifact-num-to-keep: '{artifact-num-to-keep}'
262
263 wrappers:
264 - lf-infra-wrappers:
265 build-timeout: '{build-timeout}'
266 jenkins-ssh-credential: '{jenkins-ssh-credential}'
267
268 parameters:
269 - string:
270 name: buildNode
271 default: '{build-node}'
272 description: 'Name of the Jenkins node to run the job on'
273
274 - string:
275 name: extraHelmFlags
276 default: ''
277 description: 'Helm flags to pass to every helm install command'
278
279 - string:
280 name: volthaSystemTestsChange
281 default: ''
282 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
283
284 - string:
285 name: volthaHelmChartsChange
286 default: ''
287 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
288
289 - string:
290 name: branch
291 default: '{code-branch}'
292 description: 'Name of the branch to use'
293
294 # deprecated params (not used in master, remove after 2.6 support is dropped)
295 - string:
296 name: kindVolthaChange
297 default: ''
298 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
299
300 - string:
301 name: onosImg
302 default: ''
303 description: 'ONOS Image to use'
304
305 - string:
306 name: aaaVer
307 default: '{aaa-version}'
308 description: 'ONOS AAA App Version to Test Upgrade'
309
310 - string:
311 name: aaaOarUrl
312 default: '{aaa-oar-url}'
313 description: 'ONOS AAA App OAR File Url'
314
315 - string:
316 name: oltVer
317 default: '{olt-version}'
318 description: 'ONOS OLT App Version to Test Upgrade'
319
320 - string:
321 name: oltOarUrl
322 default: '{olt-oar-url}'
323 description: 'ONOS OLT App OAR File Url'
324
325 - string:
326 name: dhcpl2relayVer
327 default: '{dhcpl2relay-version}'
328 description: 'ONOS DHCP L2 Relay App Version to Test Upgrade'
329
330 - string:
331 name: dhcpl2relayOarUrl
332 default: '{dhcpl2relay-oar-url}'
333 description: 'ONOS DHCP L2 Relay App OAR File Url'
334
335 - string:
336 name: igmpproxyVer
337 default: '{igmpproxy-version}'
338 description: 'ONOS Igmp Proxy App Version to Test Upgrade'
339
340 - string:
341 name: igmpproxyOarUrl
342 default: '{igmpproxy-oar-url}'
343 description: 'ONOS Igmp Proxy App OAR File Url'
344
345 - string:
346 name: sadisVer
347 default: '{sadis-version}'
348 description: 'ONOS Sadis App Version to Test Upgrade'
349
350 - string:
351 name: sadisOarUrl
352 default: '{sadis-oar-url}'
353 description: 'ONOS Sadis App OAR File Url'
354
355 - string:
356 name: mcastVer
357 default: '{mcast-version}'
358 description: 'ONOS MCast App Version to Test Upgrade'
359
360 - string:
361 name: mcastOarUrl
362 default: '{mcast-oar-url}'
363 description: 'ONOS MCast App OAR File Url'
364
365 - string:
366 name: kafkaVer
367 default: '{kafka-version}'
368 description: 'ONOS Kafka App Version to Test Upgrade'
369
370 - string:
371 name: kafkaOarUrl
372 default: '{kafka-oar-url}'
373 description: 'ONOS Kafka App OAR File Url'
374
375 - string:
376 name: adapterOpenOltImage
377 default: '{adapter-open-olt-image}'
378 description: 'Voltha Adapter Open OLT Component Image'
379
380 - string:
381 name: adapterOpenOnuImage
382 default: '{adapter-open-onu-image}'
383 description: 'Voltha Adapter Open ONU Component Image'
384
385 - string:
386 name: rwCoreImage
387 default: '{rw-core-image}'
388 description: 'Voltha RW Core Component Image'
389
390 - string:
391 name: ofAgentImage
392 default: '{ofagent-image}'
393 description: 'Voltha Ofagent Component Image'
394
395 - string:
396 name: onuImageVersion
397 default: '{onu-image-version}'
398 description: 'Version of ONU Image to Upgrade'
399
400 - string:
401 name: onuImageUrl
402 default: '{onu-image-url}'
403 description: 'Url of ONU Image to Upgrade'
404
405 - string:
406 name: onuImageVendor
407 default: '{onu-image-vendor}'
408 description: 'Vendor of ONU Image to Upgrade'
409
410 - string:
411 name: onuImageActivateOnSuccess
412 default: '{onu-image-activate-on-success}'
413 description: 'Activate ONU Image'
414
415 - string:
416 name: onuImageCommitOnSuccess
417 default: '{onu-image-commit-on-success}'
418 description: 'Commit ONU Image'
419
420 - string:
421 name: onuImageCrc
422 default: '{onu-image-crc}'
423 description: 'CRC of ONU Image to Upgrade'
424
Hardik Windlasscb955822021-10-21 14:59:11 +0000425 - string:
426 name: logLevel
427 default: '{logLevel}'
428 description: 'Log level for all the components'
429
430 - bool:
431 name: logging
432 default: '{logging}'
433 description: 'Option to collect voltha components logs per test case'
434
Hardik Windlass88814542021-06-22 09:43:46 +0000435 project-type: pipeline
436 concurrent: true
437
438 dsl: !include-raw-escape: pipeline/{pipeline-script}
439
440 triggers:
441 - timed: |
442 TZ=America/Los_Angeles
443 {time-trigger}