blob: 6e60b7dba60ed0fef4f18b598fe9df08fcc92f8e [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
TorstenThiemea6c21342021-05-05 09:21:59 +000019 make-target-reconciletest: reconcile-openonu-go-adapter-test-att
TorstenThieme45422612021-03-23 10:38:59 +000020 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 Scandoloa57b0972021-05-03 14:04:58 -070024 - 'voltha-periodic-test':
Hung-Wei Chiu5ec2edf2020-04-30 14:53:13 -070025 name: 'periodic-voltha-test-bbsim'
Hung-Wei Chiu5ec2edf2020-04-30 14:53:13 -070026 code-branch: 'master'
Matteo Scandolo38a0dc72021-09-27 10:36:14 -070027 volthaHelmChartsChange: refs/changes/69/26569/11
Matteo Scandolod9af8022021-09-28 16:21:01 -070028 gerritProject: voltctl
29 gerritRefspec: refs/changes/83/26983/4
Matteo Scandolo08900f72021-09-07 15:01:10 -070030 extraHelmFlags: >
Andrea Campanella6b002832021-09-30 17:28:22 +020031 --set global.image_tag=master
32 --set onos-classic.image.tag=master
33 --set voltha.images.rw_core.repository=volthacore/voltha-rw-core
34 --set voltha.images.rw_core.tag=grpc_v1
35 --set voltha-adapter-openonu.images.adapter_open_onu_go.repository=volthacore/voltha-openonu-adapter-go
36 --set voltha-adapter-openonu.images.adapter_open_onu_go.tag=grpc_v1
37 --set voltha-adapter-openolt.images.adapter_open_olt.repository=volthacore/voltha-openolt-adapter
38 --set voltha-adapter-openolt.images.adapter_open_olt.tag=grpc_v1
39 --set voltha.images.ofagent.repository=volthacore/voltha-ofagent-go
40 --set voltha.images.ofagent.tag=grpc_v1
41 --set voltha-adapter-openolt.adapter_open_olt.endpoints.core_endpoint=voltha-voltha-core.voltha.svc:55558
42 --set voltha-adapter-openolt.adapter_open_olt.endpoints.adapter_endpoint=voltha-voltha-adapter-openolt-api.voltha.svc:50060
43 --set voltha-adapter-openonu.adapter_open_onu.endpoints.core_endpoint=voltha-voltha-core.voltha.svc:55558
44 --set voltha-adapter-openonu.adapter_open_onu.endpoints.adapter_endpoint=voltha-voltha-adapter-openonu-api.voltha.svc:50060
45 --set services.kafka.cluster.address=voltha-infra-kafka.default.svc:9092
46 --set services.etcd.address=voltha-infra-etcd.default.svc:2379
Matteo Scandolo08900f72021-09-07 15:01:10 -070047 time-trigger: "H H/23 * * *"
48 testTargets: |
49 - target: functional-single-kind
50 workflow: att
51 flags: ""
52 teardown: true
53 - target: bbsim-alarms-kind
54 workflow: att
55 flags: ""
56 teardown: false
57 - target: bbsim-failurescenarios
58 workflow: att
59 flags: ""
60 teardown: false
61 - target: bbsim-errorscenarios
62 workflow: att
63 flags: ""
64 teardown: false
65
66 - 'voltha-periodic-test':
Matteo Scandoloa57b0972021-05-03 14:04:58 -070067 name: 'periodic-voltha-multiple-olts-test-bbsim'
Suchitra Vemuri456b6b42020-11-10 19:06:22 -080068 code-branch: 'master'
69 olts: 2
Andrea Campanella6b002832021-09-30 17:28:22 +020070 volthaHelmChartsChange: refs/changes/69/26569/11
71 gerritProject: voltctl
72 gerritRefspec: refs/changes/83/26983/4
73 extraHelmFlags: >
74 --set global.image_tag=master
75 --set onos-classic.image.tag=master
76 --set voltha.images.rw_core.repository=volthacore/voltha-rw-core
77 --set voltha.images.rw_core.tag=grpc_v1
78 --set voltha-adapter-openonu.images.adapter_open_onu_go.repository=volthacore/voltha-openonu-adapter-go
79 --set voltha-adapter-openonu.images.adapter_open_onu_go.tag=grpc_v1
80 --set voltha-adapter-openolt.images.adapter_open_olt.repository=volthacore/voltha-openolt-adapter
81 --set voltha-adapter-openolt.images.adapter_open_olt.tag=grpc_v1
82 --set voltha.images.ofagent.repository=volthacore/voltha-ofagent-go
83 --set voltha.images.ofagent.tag=grpc_v1
84 --set voltha-adapter-openolt.adapter_open_olt.endpoints.core_endpoint=voltha-voltha-core.voltha.svc:55558
85 --set voltha-adapter-openolt.adapter_open_olt.endpoints.adapter_endpoint=voltha-voltha-adapter-openolt-api.voltha.svc:50060
86 --set voltha-adapter-openonu.adapter_open_onu.endpoints.core_endpoint=voltha-voltha-core.voltha.svc:55558
87 --set voltha-adapter-openonu.adapter_open_onu.endpoints.adapter_endpoint=voltha-voltha-adapter-openonu-api.voltha.svc:50060
88 --set services.kafka.cluster.address=voltha-infra-kafka.default.svc:9092
89 --set services.etcd.address=voltha-infra-etcd.default.svc:2379
90 --set onu=2,pon=2
Suchitra Vemuricbb9d842021-02-24 20:29:19 -080091 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -070092 testTargets: |
93 - target: functional-multi-olt
94 workflow: att
95 flags: ""
96 teardown: true
97 - target: bbsim-multiolt-failurescenarios
98 workflow: att
99 flags: ""
100 teardown: false
101 - target: bbsim-multiolt-errorscenarios
102 workflow: att
103 flags: ""
104 teardown: false
105 - target: bbsim-multiolt-kind
106 workflow: att
107 flags: ""
108 teardown: false
Andy Bavierf93f3142020-01-09 16:08:51 -0700109
Hardik Windlass6598b032021-07-02 10:12:01 +0000110 - 'voltha-periodic-test':
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000111 name: 'periodic-voltha-test-bbsim-2.8'
112 pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
113 code-branch: 'voltha-2.8'
114 time-trigger: "H H/23 * * *"
115 testTargets: |
116 - target: functional-single-kind
117 workflow: att
118 flags: ""
119 teardown: true
120 - target: bbsim-alarms-kind
121 workflow: att
122 flags: ""
123 teardown: false
124 - target: bbsim-failurescenarios
125 workflow: att
126 flags: ""
127 teardown: false
128 - target: bbsim-errorscenarios
129 workflow: att
130 flags: ""
131 teardown: false
132
133 - 'voltha-periodic-test':
134 name: 'periodic-voltha-multiple-olts-test-bbsim-2.8'
135 pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
136 code-branch: 'voltha-2.8'
137 olts: 2
138 extraHelmFlags: '--set onu=2,pon=2'
139 time-trigger: "H H/23 * * *"
140 testTargets: |
141 - target: functional-multi-olt
142 workflow: att
143 flags: ""
144 teardown: true
145 - target: bbsim-multiolt-failurescenarios
146 workflow: att
147 flags: ""
148 teardown: false
149 - target: bbsim-multiolt-errorscenarios
150 workflow: att
151 flags: ""
152 teardown: false
153 - target: bbsim-multiolt-kind
154 workflow: att
155 flags: ""
156 teardown: false
157
158 - 'voltha-periodic-test':
Hardik Windlass6598b032021-07-02 10:12:01 +0000159 name: 'periodic-voltha-multi-uni-test-bbsim'
160 code-branch: 'master'
Andrea Campanella6b002832021-09-30 17:28:22 +0200161 volthaHelmChartsChange: refs/changes/69/26569/11
162 gerritProject: voltctl
163 gerritRefspec: refs/changes/83/26983/4
164 extraHelmFlags: >
165 --set global.image_tag=master
166 --set onos-classic.image.tag=master
167 --set voltha.images.rw_core.repository=volthacore/voltha-rw-core
168 --set voltha.images.rw_core.tag=grpc_v1
169 --set voltha-adapter-openonu.images.adapter_open_onu_go.repository=volthacore/voltha-openonu-adapter-go
170 --set voltha-adapter-openonu.images.adapter_open_onu_go.tag=grpc_v1
171 --set voltha-adapter-openolt.images.adapter_open_olt.repository=volthacore/voltha-openolt-adapter
172 --set voltha-adapter-openolt.images.adapter_open_olt.tag=grpc_v1
173 --set voltha.images.ofagent.repository=volthacore/voltha-ofagent-go
174 --set voltha.images.ofagent.tag=grpc_v1
175 --set voltha-adapter-openolt.adapter_open_olt.endpoints.core_endpoint=voltha-voltha-core.voltha.svc:55558
176 --set voltha-adapter-openolt.adapter_open_olt.endpoints.adapter_endpoint=voltha-voltha-adapter-openolt-api.voltha.svc:50060
177 --set voltha-adapter-openonu.adapter_open_onu.endpoints.core_endpoint=voltha-voltha-core.voltha.svc:55558
178 --set voltha-adapter-openonu.adapter_open_onu.endpoints.adapter_endpoint=voltha-voltha-adapter-openonu-api.voltha.svc:50060
179 --set services.kafka.cluster.address=voltha-infra-kafka.default.svc:9092
180 --set services.etcd.address=voltha-infra-etcd.default.svc:2379
181 --set voltha-adapter-openonu.adapter_open_onu.uni_port_mask=0x00FF
Hardik Windlass6598b032021-07-02 10:12:01 +0000182 time-trigger: "H H/23 * * *"
183 testTargets: |
184 - target: functional-single-kind-multiuni-att
185 workflow: att
186 flags: ""
187 teardown: true
188 - target: bbsim-multiuni-failurescenarios-att
189 workflow: att
190 flags: ""
191 teardown: false
192 - target: bbsim-multiuni-errorscenarios-att
193 workflow: att
194 flags: ""
195 teardown: false
196
197 - 'voltha-periodic-test':
198 name: 'periodic-voltha-multi-uni-multiple-olts-test-bbsim'
199 code-branch: 'master'
200 olts: 2
Andrea Campanella6b002832021-09-30 17:28:22 +0200201 volthaHelmChartsChange: refs/changes/69/26569/11
202 gerritProject: voltctl
203 gerritRefspec: refs/changes/83/26983/4
204 extraHelmFlags: >
205 --set global.image_tag=master
206 --set onos-classic.image.tag=master
207 --set voltha.images.rw_core.repository=volthacore/voltha-rw-core
208 --set voltha.images.rw_core.tag=grpc_v1
209 --set voltha-adapter-openonu.images.adapter_open_onu_go.repository=volthacore/voltha-openonu-adapter-go
210 --set voltha-adapter-openonu.images.adapter_open_onu_go.tag=grpc_v1
211 --set voltha-adapter-openolt.images.adapter_open_olt.repository=volthacore/voltha-openolt-adapter
212 --set voltha-adapter-openolt.images.adapter_open_olt.tag=grpc_v1
213 --set voltha.images.ofagent.repository=volthacore/voltha-ofagent-go
214 --set voltha.images.ofagent.tag=grpc_v1
215 --set voltha-adapter-openolt.adapter_open_olt.endpoints.core_endpoint=voltha-voltha-core.voltha.svc:55558
216 --set voltha-adapter-openolt.adapter_open_olt.endpoints.adapter_endpoint=voltha-voltha-adapter-openolt-api.voltha.svc:50060
217 --set voltha-adapter-openonu.adapter_open_onu.endpoints.core_endpoint=voltha-voltha-core.voltha.svc:55558
218 --set voltha-adapter-openonu.adapter_open_onu.endpoints.adapter_endpoint=voltha-voltha-adapter-openonu-api.voltha.svc:50060
219 --set services.kafka.cluster.address=voltha-infra-kafka.default.svc:9092
220 --set services.etcd.address=voltha-infra-etcd.default.svc:2379
221 --set onu=2,pon=2 --set voltha-adapter-openonu.adapter_open_onu.uni_port_mask=0x00FF
Hardik Windlass6598b032021-07-02 10:12:01 +0000222 time-trigger: "H H/23 * * *"
223 testTargets: |
224 - target: functional-multiuni-multiolt-att
225 workflow: att
226 flags: ""
227 teardown: true
228 - target: bbsim-multiuni-multiolt-failurescenarios-att
229 workflow: att
230 flags: ""
231 teardown: false
232 - target: bbsim-multiuni-multiolt-errorscenarios-att
233 workflow: att
234 flags: ""
235 teardown: false
Hardik Windlass5de3d4b2021-07-19 07:35:43 +0000236 timeout: 180
Hardik Windlass6598b032021-07-02 10:12:01 +0000237
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000238 - 'voltha-periodic-test':
239 name: 'periodic-voltha-multi-uni-test-bbsim-2.8'
240 pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
241 code-branch: 'voltha-2.8'
Andrea Campanella6b002832021-09-30 17:28:22 +0200242 volthaHelmChartsChange: refs/changes/69/26569/11
243 gerritProject: voltctl
244 gerritRefspec: refs/changes/83/26983/4
245 extraHelmFlags: >
246 --set global.image_tag=master
247 --set onos-classic.image.tag=master
248 --set voltha.images.rw_core.repository=volthacore/voltha-rw-core
249 --set voltha.images.rw_core.tag=grpc_v1
250 --set voltha-adapter-openonu.images.adapter_open_onu_go.repository=volthacore/voltha-openonu-adapter-go
251 --set voltha-adapter-openonu.images.adapter_open_onu_go.tag=grpc_v1
252 --set voltha-adapter-openolt.images.adapter_open_olt.repository=volthacore/voltha-openolt-adapter
253 --set voltha-adapter-openolt.images.adapter_open_olt.tag=grpc_v1
254 --set voltha.images.ofagent.repository=volthacore/voltha-ofagent-go
255 --set voltha.images.ofagent.tag=grpc_v1
256 --set voltha-adapter-openolt.adapter_open_olt.endpoints.core_endpoint=voltha-voltha-core.voltha.svc:55558
257 --set voltha-adapter-openolt.adapter_open_olt.endpoints.adapter_endpoint=voltha-voltha-adapter-openolt-api.voltha.svc:50060
258 --set voltha-adapter-openonu.adapter_open_onu.endpoints.core_endpoint=voltha-voltha-core.voltha.svc:55558
259 --set voltha-adapter-openonu.adapter_open_onu.endpoints.adapter_endpoint=voltha-voltha-adapter-openonu-api.voltha.svc:50060
260 --set services.kafka.cluster.address=voltha-infra-kafka.default.svc:9092
261 --set services.etcd.address=voltha-infra-etcd.default.svc:2379
262 --set voltha-adapter-openonu.adapter_open_onu.uni_port_mask=0x00FF
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000263 time-trigger: "H H/23 * * *"
264 testTargets: |
265 - target: functional-single-kind-multiuni-att
266 workflow: att
267 flags: ""
268 teardown: true
269 - target: bbsim-multiuni-failurescenarios-att
270 workflow: att
271 flags: ""
272 teardown: false
273 - target: bbsim-multiuni-errorscenarios-att
274 workflow: att
275 flags: ""
276 teardown: false
277
278 - 'voltha-periodic-test':
279 name: 'periodic-voltha-multi-uni-multiple-olts-test-bbsim-2.8'
280 pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
281 code-branch: 'voltha-2.8'
Suchitra Vemuri95a73432020-12-16 13:17:48 -0800282 olts: 2
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000283 extraHelmFlags: '--set onu=2,pon=2 --set voltha-adapter-openonu.adapter_open_onu.uni_port_mask=0x00FF'
284 time-trigger: "H H/23 * * *"
285 testTargets: |
286 - target: functional-multiuni-multiolt-att
287 workflow: att
288 flags: ""
289 teardown: true
290 - target: bbsim-multiuni-multiolt-failurescenarios-att
291 workflow: att
292 flags: ""
293 teardown: false
294 - target: bbsim-multiuni-multiolt-errorscenarios-att
295 workflow: att
296 flags: ""
297 teardown: false
Hardik Windlass5de3d4b2021-07-19 07:35:43 +0000298 timeout: 180
Suchitra Vemuri95a73432020-12-16 13:17:48 -0800299
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700300 # openonu Go periodic tests
Matteo Scandolo08900f72021-09-07 15:01:10 -0700301
302 - 'voltha-periodic-test':
Andrea Campanella6b002832021-09-30 17:28:22 +0200303 name: 'periodic-voltha-openonu-go-test-bbsim'
Matteo Scandolo08900f72021-09-07 15:01:10 -0700304 code-branch: 'master'
Matteo Scandolo38a0dc72021-09-27 10:36:14 -0700305 volthaHelmChartsChange: refs/changes/69/26569/11
Matteo Scandolod9af8022021-09-28 16:21:01 -0700306 gerritProject: voltctl
307 gerritRefspec: refs/changes/83/26983/4
Matteo Scandolo08900f72021-09-07 15:01:10 -0700308 extraHelmFlags: >
Andrea Campanella6b002832021-09-30 17:28:22 +0200309 --set global.image_tag=master
310 --set onos-classic.image.tag=master
311 --set voltha.images.rw_core.repository=volthacore/voltha-rw-core
312 --set voltha.images.rw_core.tag=grpc_v1
313 --set voltha-adapter-openonu.images.adapter_open_onu_go.repository=volthacore/voltha-openonu-adapter-go
314 --set voltha-adapter-openonu.images.adapter_open_onu_go.tag=grpc_v1
315 --set voltha-adapter-openolt.images.adapter_open_olt.repository=volthacore/voltha-openolt-adapter
316 --set voltha-adapter-openolt.images.adapter_open_olt.tag=grpc_v1
317 --set voltha.images.ofagent.repository=volthacore/voltha-ofagent-go
318 --set voltha.images.ofagent.tag=grpc_v1
319 --set voltha-adapter-openolt.adapter_open_olt.endpoints.core_endpoint=voltha-voltha-core.voltha.svc:55558
320 --set voltha-adapter-openolt.adapter_open_olt.endpoints.adapter_endpoint=voltha-voltha-adapter-openolt-api.voltha.svc:50060
321 --set voltha-adapter-openonu.adapter_open_onu.endpoints.core_endpoint=voltha-voltha-core.voltha.svc:55558
322 --set voltha-adapter-openonu.adapter_open_onu.endpoints.adapter_endpoint=voltha-voltha-adapter-openonu-api.voltha.svc:50060
323 --set services.kafka.cluster.address=voltha-infra-kafka.default.svc:9092
324 --set services.etcd.address=voltha-infra-etcd.default.svc:2379
TorstenThieme326e7972021-01-19 14:27:59 +0000325 time-trigger: "H H/12 * * *"
Hardik Windlass696002d2021-05-07 11:38:28 +0000326 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700327 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000328 - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700329 workflow: att
330 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700331 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700332 - target: 1t4gem-openonu-go-adapter-test
333 workflow: att
334 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700335 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700336 - target: 1t8gem-openonu-go-adapter-test
337 workflow: att
338 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700339 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700340 - target: mib-upload-templating-openonu-go-adapter-test
341 workflow: att
342 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700343 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000344 - target: reconcile-openonu-go-adapter-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700345 workflow: att
346 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700347 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700348 - target: reconcile-openonu-go-adapter-test-dt
349 workflow: dt
350 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700351 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700352 - target: reconcile-openonu-go-adapter-test-tt
353 workflow: tt
354 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700355 teardown: true
TorstenThieme39209882021-05-12 11:22:39 +0000356 - target: openonu-go-adapter-omci-hardening-passed-test
357 workflow: att
TorstenThieme49aec2b2021-07-16 11:32:04 +0000358 flags: "--set omci_response_rate=9 --set voltha-adapter-openonu.adapter_open_onu.omci_timeout=1s"
TorstenThieme39209882021-05-12 11:22:39 +0000359 teardown: true
360 - target: openonu-go-adapter-omci-hardening-failed-test
361 workflow: att
362 flags: "--set omci_response_rate=7"
363 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000364 - target: voltha-onu-omci-get-single-kind-att
365 workflow: att
366 flags: ""
367 teardown: true
368 - target: voltha-onu-omci-get-single-kind-dt
369 workflow: dt
370 flags: ""
371 teardown: true
372 - target: voltha-onu-omci-get-single-kind-tt
373 workflow: tt
374 flags: ""
375 teardown: true
TorstenThieme674013d2021-07-28 08:15:14 +0000376 - target: voltha-onu-flows-check-single-kind-att
377 workflow: att
378 flags: ""
379 teardown: true
380 - target: voltha-onu-flows-check-single-kind-dt
381 workflow: dt
382 flags: ""
383 teardown: true
384 - target: voltha-onu-flows-check-single-kind-tt
385 workflow: tt
386 flags: ""
387 teardown: true
TorstenThieme326e7972021-01-19 14:27:59 +0000388
389 - 'voltha-periodic-test':
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000390 name: 'periodic-voltha-openonu-go-test-bbsim-2.8'
391 pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
392 code-branch: 'voltha-2.8'
Hardik Windlass5de3d4b2021-07-19 07:35:43 +0000393 time-trigger: "H H/23 * * *"
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000394 logLevel: 'DEBUG'
395 testTargets: |
396 - target: 1t1gem-openonu-go-adapter-test
397 workflow: att
398 flags: ""
399 teardown: true
400 - target: 1t4gem-openonu-go-adapter-test
401 workflow: att
402 flags: ""
403 teardown: true
404 - target: 1t8gem-openonu-go-adapter-test
405 workflow: att
406 flags: ""
407 teardown: true
408 - target: mib-upload-templating-openonu-go-adapter-test
409 workflow: att
410 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
411 teardown: true
412 - target: reconcile-openonu-go-adapter-test-att
413 workflow: att
414 flags: ""
415 teardown: true
416 - target: reconcile-openonu-go-adapter-test-dt
417 workflow: dt
418 flags: ""
419 teardown: true
420 - target: reconcile-openonu-go-adapter-test-tt
421 workflow: tt
422 flags: ""
423 teardown: true
424 - target: openonu-go-adapter-omci-hardening-passed-test
425 workflow: att
TorstenThieme49aec2b2021-07-16 11:32:04 +0000426 flags: "--set omci_response_rate=9 --set voltha-adapter-openonu.adapter_open_onu.omci_timeout=1s"
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000427 teardown: true
428 - target: openonu-go-adapter-omci-hardening-failed-test
429 workflow: att
430 flags: "--set omci_response_rate=7"
431 teardown: true
432 - target: voltha-onu-omci-get-single-kind-att
433 workflow: att
434 flags: ""
435 teardown: true
436 - target: voltha-onu-omci-get-single-kind-dt
437 workflow: dt
438 flags: ""
439 teardown: true
440 - target: voltha-onu-omci-get-single-kind-tt
441 workflow: tt
442 flags: ""
443 teardown: true
444
445 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700446 name: 'patchset-voltha-openonu-go-test-bbsim'
Hardik Windlass8c3813b2021-05-07 08:13:37 +0000447 trigger-comment: "voltha test openonu singleolt"
Matteo Scandolo075740f2021-04-22 14:52:29 -0700448 code-branch: '$GERRIT_BRANCH'
Andrea Campanella67850712021-06-04 08:13:08 +0000449 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Matteo Scandolobc28eab2021-09-28 18:10:58 -0700450 gerritProject: '$GERRIT_PROJECT'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700451 gerritRefspec: '$GERRIT_REFSPEC'
Hardik Windlass696002d2021-05-07 11:38:28 +0000452 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700453 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000454 - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700455 workflow: att
456 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700457 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700458 - target: 1t4gem-openonu-go-adapter-test
459 workflow: att
460 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700461 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700462 - target: 1t8gem-openonu-go-adapter-test
463 workflow: att
464 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700465 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700466 - target: mib-upload-templating-openonu-go-adapter-test
467 workflow: att
468 flags: "--set pon=2,onu=2,controlledActivation=only-onu"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700469 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000470 - target: reconcile-openonu-go-adapter-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700471 workflow: att
472 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700473 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700474 - target: reconcile-openonu-go-adapter-test-dt
475 workflow: dt
476 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700477 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700478 - target: reconcile-openonu-go-adapter-test-tt
479 workflow: tt
480 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700481 teardown: true
TorstenThieme39209882021-05-12 11:22:39 +0000482 - target: openonu-go-adapter-omci-hardening-passed-test
483 workflow: att
TorstenThieme49aec2b2021-07-16 11:32:04 +0000484 flags: "--set omci_response_rate=9 --set voltha-adapter-openonu.adapter_open_onu.omci_timeout=1s"
TorstenThieme39209882021-05-12 11:22:39 +0000485 teardown: true
486 - target: openonu-go-adapter-omci-hardening-failed-test
487 workflow: att
488 flags: "--set omci_response_rate=7"
489 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000490 - target: voltha-onu-omci-get-single-kind-att
491 workflow: att
492 flags: ""
493 teardown: true
494 - target: voltha-onu-omci-get-single-kind-dt
495 workflow: dt
496 flags: ""
497 teardown: true
498 - target: voltha-onu-omci-get-single-kind-tt
499 workflow: tt
500 flags: ""
501 teardown: true
TorstenThieme674013d2021-07-28 08:15:14 +0000502 - target: voltha-onu-flows-check-single-kind-att
503 workflow: att
504 flags: ""
505 teardown: true
506 - target: voltha-onu-flows-check-single-kind-dt
507 workflow: dt
508 flags: ""
509 teardown: true
510 - target: voltha-onu-flows-check-single-kind-tt
511 workflow: tt
512 flags: ""
513 teardown: true
Matteo Scandolo075740f2021-04-22 14:52:29 -0700514
Hardik Windlass46d61132021-03-30 16:42:07 +0530515 - 'voltha-periodic-test':
TorstenThieme669258d2021-01-29 09:03:10 +0000516 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700517 code-branch: 'master'
Andrea Campanella6b002832021-09-30 17:28:22 +0200518 volthaHelmChartsChange: refs/changes/69/26569/11
519 gerritProject: voltctl
520 gerritRefspec: refs/changes/83/26983/4
521 extraHelmFlags: >
522 --set global.image_tag=master
523 --set onos-classic.image.tag=master
524 --set voltha.images.rw_core.repository=volthacore/voltha-rw-core
525 --set voltha.images.rw_core.tag=grpc_v1
526 --set voltha-adapter-openonu.images.adapter_open_onu_go.repository=volthacore/voltha-openonu-adapter-go
527 --set voltha-adapter-openonu.images.adapter_open_onu_go.tag=grpc_v1
528 --set voltha-adapter-openolt.images.adapter_open_olt.repository=volthacore/voltha-openolt-adapter
529 --set voltha-adapter-openolt.images.adapter_open_olt.tag=grpc_v1
530 --set voltha.images.ofagent.repository=volthacore/voltha-ofagent-go
531 --set voltha.images.ofagent.tag=grpc_v1
532 --set voltha-adapter-openolt.adapter_open_olt.endpoints.core_endpoint=voltha-voltha-core.voltha.svc:55558
533 --set voltha-adapter-openolt.adapter_open_olt.endpoints.adapter_endpoint=voltha-voltha-adapter-openolt-api.voltha.svc:50060
534 --set voltha-adapter-openonu.adapter_open_onu.endpoints.core_endpoint=voltha-voltha-core.voltha.svc:55558
535 --set voltha-adapter-openonu.adapter_open_onu.endpoints.adapter_endpoint=voltha-voltha-adapter-openonu-api.voltha.svc:50060
536 --set services.kafka.cluster.address=voltha-infra-kafka.default.svc:9092
537 --set services.etcd.address=voltha-infra-etcd.default.svc:2379
538 --set onu=2,pon=2
Matteo Scandolo075740f2021-04-22 14:52:29 -0700539 olts: 2
Hardik Windlass696002d2021-05-07 11:38:28 +0000540 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700541 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000542 - target: 1t1gem-openonu-go-adapter-multi-olt-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700543 workflow: att
544 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700545 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700546 - target: 1t4gem-openonu-go-adapter-multi-olt-test
547 workflow: att
548 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700549 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700550 - target: 1t8gem-openonu-go-adapter-multi-olt-test
551 workflow: att
552 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700553 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000554 - target: reconcile-openonu-go-adapter-multi-olt-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700555 workflow: att
556 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700557 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700558 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
559 workflow: dt
560 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700561 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700562 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
563 workflow: tt
564 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700565 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000566 - target: voltha-onu-omci-get-multiolt-kind-att
567 workflow: att
568 flags: ""
569 teardown: true
570 - target: voltha-onu-omci-get-multiolt-kind-dt
571 workflow: dt
572 flags: ""
573 teardown: true
574 - target: voltha-onu-omci-get-multiolt-kind-tt
575 workflow: tt
576 flags: ""
577 teardown: true
TorstenThieme674013d2021-07-28 08:15:14 +0000578 - target: voltha-onu-flows-check-multiolt-kind-att
579 workflow: att
580 flags: ""
581 teardown: true
582 - target: voltha-onu-flows-check-multiolt-kind-dt
583 workflow: dt
584 flags: ""
585 teardown: true
586 - target: voltha-onu-flows-check-multiolt-kind-tt
587 workflow: tt
588 flags: ""
589 teardown: true
TorstenThieme669258d2021-01-29 09:03:10 +0000590 time-trigger: "H H/12 * * *"
591
592 - 'voltha-periodic-test':
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000593 name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim-2.8'
594 pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
595 code-branch: 'voltha-2.8'
596 extraHelmFlags: '--set onu=2,pon=2'
597 olts: 2
598 logLevel: 'DEBUG'
599 testTargets: |
600 - target: 1t1gem-openonu-go-adapter-multi-olt-test
601 workflow: att
602 flags: ""
603 teardown: true
604 - target: 1t4gem-openonu-go-adapter-multi-olt-test
605 workflow: att
606 flags: ""
607 teardown: true
608 - target: 1t8gem-openonu-go-adapter-multi-olt-test
609 workflow: att
610 flags: ""
611 teardown: true
612 - target: reconcile-openonu-go-adapter-multi-olt-test-att
613 workflow: att
614 flags: ""
615 teardown: true
616 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
617 workflow: dt
618 flags: ""
619 teardown: true
620 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
621 workflow: tt
622 flags: ""
623 teardown: true
624 - target: voltha-onu-omci-get-multiolt-kind-att
625 workflow: att
626 flags: ""
627 teardown: true
628 - target: voltha-onu-omci-get-multiolt-kind-dt
629 workflow: dt
630 flags: ""
631 teardown: true
632 - target: voltha-onu-omci-get-multiolt-kind-tt
633 workflow: tt
634 flags: ""
635 teardown: true
Hardik Windlass5de3d4b2021-07-19 07:35:43 +0000636 time-trigger: "H H/23 * * *"
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000637
638 - 'voltha-periodic-test':
Matteo Scandolo075740f2021-04-22 14:52:29 -0700639 name: 'patchset-voltha-multiple-olts-openonu-go-test-bbsim'
640 trigger-comment: "voltha test openonu multiolt"
641 code-branch: '$GERRIT_BRANCH'
Hardik Windlass696002d2021-05-07 11:38:28 +0000642 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
Matteo Scandolobc28eab2021-09-28 18:10:58 -0700643 gerritProject: '$GERRIT_PROJECT'
Matteo Scandolo075740f2021-04-22 14:52:29 -0700644 gerritRefspec: '$GERRIT_REFSPEC'
Hardik Windlass696002d2021-05-07 11:38:28 +0000645 logLevel: 'DEBUG'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700646 testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +0000647 - target: 1t1gem-openonu-go-adapter-multi-olt-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700648 workflow: att
649 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700650 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700651 - target: 1t4gem-openonu-go-adapter-multi-olt-test
652 workflow: att
653 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700654 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700655 - target: 1t8gem-openonu-go-adapter-multi-olt-test
656 workflow: att
657 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700658 teardown: true
TorstenThiemea6c21342021-05-05 09:21:59 +0000659 - target: reconcile-openonu-go-adapter-multi-olt-test-att
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700660 workflow: att
661 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700662 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700663 - target: reconcile-openonu-go-adapter-multi-olt-test-dt
664 workflow: dt
665 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700666 teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -0700667 - target: reconcile-openonu-go-adapter-multi-olt-test-tt
668 workflow: tt
669 flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700670 teardown: true
TorstenThiemefb4e48d2021-06-21 10:54:31 +0000671 - target: voltha-onu-omci-get-multiolt-kind-att
672 workflow: att
673 flags: ""
674 teardown: true
675 - target: voltha-onu-omci-get-multiolt-kind-dt
676 workflow: dt
677 flags: ""
678 teardown: true
679 - target: voltha-onu-omci-get-multiolt-kind-tt
680 workflow: tt
681 flags: ""
682 teardown: true
TorstenThieme674013d2021-07-28 08:15:14 +0000683 - target: voltha-onu-flows-check-multiolt-kind-att
684 workflow: att
685 flags: ""
686 teardown: true
687 - target: voltha-onu-flows-check-multiolt-kind-dt
688 workflow: dt
689 flags: ""
690 teardown: true
691 - target: voltha-onu-flows-check-multiolt-kind-tt
692 workflow: tt
693 flags: ""
694 teardown: true
Matteo Scandolo075740f2021-04-22 14:52:29 -0700695 olts: 2
Matteo Scandolo075740f2021-04-22 14:52:29 -0700696
TorstenThieme869ba322021-05-05 12:11:42 +0000697 - 'voltha-periodic-test':
698 name: 'periodic-voltha-pm-data-test-bbsim'
699 code-branch: 'master'
Andrea Campanella6b002832021-09-30 17:28:22 +0200700 volthaHelmChartsChange: refs/changes/69/26569/11
701 gerritProject: voltctl
702 gerritRefspec: refs/changes/83/26983/4
703 extraHelmFlags: >
704 --set global.image_tag=master
705 --set onos-classic.image.tag=master
706 --set voltha.images.rw_core.repository=volthacore/voltha-rw-core
707 --set voltha.images.rw_core.tag=grpc_v1
708 --set voltha-adapter-openonu.images.adapter_open_onu_go.repository=volthacore/voltha-openonu-adapter-go
709 --set voltha-adapter-openonu.images.adapter_open_onu_go.tag=grpc_v1
710 --set voltha-adapter-openolt.images.adapter_open_olt.repository=volthacore/voltha-openolt-adapter
711 --set voltha-adapter-openolt.images.adapter_open_olt.tag=grpc_v1
712 --set voltha.images.ofagent.repository=volthacore/voltha-ofagent-go
713 --set voltha.images.ofagent.tag=grpc_v1
714 --set voltha-adapter-openolt.adapter_open_olt.endpoints.core_endpoint=voltha-voltha-core.voltha.svc:55558
715 --set voltha-adapter-openolt.adapter_open_olt.endpoints.adapter_endpoint=voltha-voltha-adapter-openolt-api.voltha.svc:50060
716 --set voltha-adapter-openonu.adapter_open_onu.endpoints.core_endpoint=voltha-voltha-core.voltha.svc:55558
717 --set voltha-adapter-openonu.adapter_open_onu.endpoints.adapter_endpoint=voltha-voltha-adapter-openonu-api.voltha.svc:50060
718 --set services.kafka.cluster.address=voltha-infra-kafka.default.svc:9092
719 --set services.etcd.address=voltha-infra-etcd.default.svc:2379
720 --set kafka.externalAccess.enabled=true,kafka.externalAccess.service.type=NodePort,kafka.externalAccess.service.nodePorts[0]=30201,kafka.externalAccess.service.domain=127.0.0.1
TorstenThieme869ba322021-05-05 12:11:42 +0000721 time-trigger: "H H/23 * * *"
722 logLevel: 'DEBUG'
723 testTargets: |
724 - target: voltha-pm-data-single-kind-att
725 workflow: att
726 flags: ""
727 teardown: true
728 - target: voltha-pm-data-single-kind-dt
729 workflow: dt
730 flags: ""
731 teardown: true
732 - target: voltha-pm-data-single-kind-tt
733 workflow: tt
734 flags: ""
735 teardown: true
736 timeout: 140
737
738 - 'voltha-periodic-test':
739 name: 'patchset-voltha-pm-data-test-bbsim'
740 trigger-comment: "voltha test pm data singleolt"
TorstenThieme6877ab12021-05-26 13:28:54 +0000741 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set kafka.externalAccess.enabled=true,kafka.externalAccess.service.type=NodePort,kafka.externalAccess.service.nodePorts[0]=30201,kafka.externalAccess.service.domain=127.0.0.1'
TorstenThieme869ba322021-05-05 12:11:42 +0000742 code-branch: '$GERRIT_BRANCH'
Matteo Scandolobc28eab2021-09-28 18:10:58 -0700743 gerritProject: '$GERRIT_PROJECT'
TorstenThieme869ba322021-05-05 12:11:42 +0000744 gerritRefspec: '$GERRIT_REFSPEC'
745 logLevel: 'DEBUG'
746 testTargets: |
747 - target: voltha-pm-data-single-kind-att
748 workflow: att
749 flags: ""
750 teardown: true
751 - target: voltha-pm-data-single-kind-dt
752 workflow: dt
753 flags: ""
754 teardown: true
755 - target: voltha-pm-data-single-kind-tt
756 workflow: tt
757 flags: ""
758 teardown: true
759 timeout: 140
760
761 - 'voltha-periodic-test':
TorstenThieme22880da2021-09-17 11:41:02 +0000762 name: 'periodic-voltha-pm-data-test-bbsim-2.8'
TorstenThieme81cdeda2021-09-22 10:10:07 +0000763 pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
TorstenThieme22880da2021-09-17 11:41:02 +0000764 code-branch: 'voltha-2.8'
765 extraHelmFlags: '--set kafka.externalAccess.enabled=true,kafka.externalAccess.service.type=NodePort,kafka.externalAccess.service.nodePorts[0]=30201,kafka.externalAccess.service.domain=127.0.0.1'
766 time-trigger: "H H/23 * * *"
767 logLevel: 'DEBUG'
768 testTargets: |
769 - target: voltha-pm-data-single-kind-att
770 workflow: att
771 flags: ""
772 teardown: true
773 - target: voltha-pm-data-single-kind-dt
774 workflow: dt
775 flags: ""
776 teardown: true
777 - target: voltha-pm-data-single-kind-tt
778 workflow: tt
779 flags: ""
780 teardown: true
781 timeout: 140
782
783 - 'voltha-periodic-test':
TorstenThieme869ba322021-05-05 12:11:42 +0000784 name: 'periodic-voltha-multiple-olts-pm-data-test-bbsim'
785 code-branch: 'master'
Andrea Campanella6b002832021-09-30 17:28:22 +0200786 volthaHelmChartsChange: refs/changes/69/26569/11
787 gerritProject: voltctl
788 gerritRefspec: refs/changes/83/26983/4
789 extraHelmFlags: >
790 --set global.image_tag=master
791 --set onos-classic.image.tag=master
792 --set voltha.images.rw_core.repository=volthacore/voltha-rw-core
793 --set voltha.images.rw_core.tag=grpc_v1
794 --set voltha-adapter-openonu.images.adapter_open_onu_go.repository=volthacore/voltha-openonu-adapter-go
795 --set voltha-adapter-openonu.images.adapter_open_onu_go.tag=grpc_v1
796 --set voltha-adapter-openolt.images.adapter_open_olt.repository=volthacore/voltha-openolt-adapter
797 --set voltha-adapter-openolt.images.adapter_open_olt.tag=grpc_v1
798 --set voltha.images.ofagent.repository=volthacore/voltha-ofagent-go
799 --set voltha.images.ofagent.tag=grpc_v1
800 --set voltha-adapter-openolt.adapter_open_olt.endpoints.core_endpoint=voltha-voltha-core.voltha.svc:55558
801 --set voltha-adapter-openolt.adapter_open_olt.endpoints.adapter_endpoint=voltha-voltha-adapter-openolt-api.voltha.svc:50060
802 --set voltha-adapter-openonu.adapter_open_onu.endpoints.core_endpoint=voltha-voltha-core.voltha.svc:55558
803 --set voltha-adapter-openonu.adapter_open_onu.endpoints.adapter_endpoint=voltha-voltha-adapter-openonu-api.voltha.svc:50060
804 --set services.kafka.cluster.address=voltha-infra-kafka.default.svc:9092
805 --set services.etcd.address=voltha-infra-etcd.default.svc:2379
806 --set onu=2,pon=2
807 --set kafka.externalAccess.enabled=true,kafka.externalAccess.service.type=NodePort,kafka.externalAccess.service.nodePorts[0]=30201,kafka.externalAccess.service.domain=127.0.0.1
TorstenThieme869ba322021-05-05 12:11:42 +0000808 olts: 2
809 timeout: 180
810 logLevel: 'DEBUG'
811 testTargets: |
812 - target: voltha-pm-data-multiolt-kind-att
813 workflow: att
814 flags: ""
815 teardown: true
816 - target: voltha-pm-data-multiolt-kind-dt
817 workflow: dt
818 flags: ""
819 teardown: true
820 - target: voltha-pm-data-multiolt-kind-tt
821 workflow: tt
822 flags: ""
823 teardown: true
824 time-trigger: "H H/23 * * *"
825
826 - 'voltha-periodic-test':
827 name: 'patchset-voltha-multiple-olts-pm-data-test-bbsim'
828 trigger-comment: "voltha test pm data multiolt"
829 code-branch: '$GERRIT_BRANCH'
TorstenThieme6877ab12021-05-26 13:28:54 +0000830 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2 --set kafka.externalAccess.enabled=true,kafka.externalAccess.service.type=NodePort,kafka.externalAccess.service.nodePorts[0]=30201,kafka.externalAccess.service.domain=127.0.0.1'
Matteo Scandolobc28eab2021-09-28 18:10:58 -0700831 gerritProject: '$GERRIT_PROJECT'
TorstenThieme869ba322021-05-05 12:11:42 +0000832 gerritRefspec: '$GERRIT_REFSPEC'
833 logLevel: 'DEBUG'
834 testTargets: |
835 - target: voltha-pm-data-multiolt-kind-att
836 workflow: att
837 flags: ""
838 teardown: true
839 - target: voltha-pm-data-multiolt-kind-dt
840 workflow: dt
841 flags: ""
842 teardown: true
843 - target: voltha-pm-data-multiolt-kind-tt
844 workflow: tt
845 flags: ""
846 teardown: true
847 olts: 2
848 timeout: 180
849
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700850 - 'voltha-periodic-test':
TorstenThieme22880da2021-09-17 11:41:02 +0000851 name: 'periodic-voltha-multiple-olts-pm-data-test-bbsim-2.8'
TorstenThieme81cdeda2021-09-22 10:10:07 +0000852 pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
TorstenThieme22880da2021-09-17 11:41:02 +0000853 code-branch: 'voltha-2.8'
854 extraHelmFlags: '--set onu=2,pon=2 --set kafka.externalAccess.enabled=true,kafka.externalAccess.service.type=NodePort,kafka.externalAccess.service.nodePorts[0]=30201,kafka.externalAccess.service.domain=127.0.0.1'
855 olts: 2
856 timeout: 180
857 logLevel: 'DEBUG'
858 testTargets: |
859 - target: voltha-pm-data-multiolt-kind-att
860 workflow: att
861 flags: ""
862 teardown: true
863 - target: voltha-pm-data-multiolt-kind-dt
864 workflow: dt
865 flags: ""
866 teardown: true
867 - target: voltha-pm-data-multiolt-kind-tt
868 workflow: tt
869 flags: ""
870 teardown: true
871 time-trigger: "H H/23 * * *"
872
873 - 'voltha-periodic-test':
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100874 name: 'periodic-voltha-test-DMI'
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700875 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100876 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800877 time-trigger: "H H/23 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700878 testTargets: |
879 - target: bbsim-dmi-hw-management-test
880 workflow: att
881 flags: ""
882 teardown: true
Andrea Campanellaf3c32af2020-12-10 12:21:57 +0100883
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000884 - 'voltha-periodic-test':
885 name: 'periodic-voltha-test-DMI-2.8'
886 pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
887 code-branch: 'voltha-2.8'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800888 time-trigger: "H H/23 * * *"
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000889 testTargets: |
890 - target: bbsim-dmi-hw-management-test
891 workflow: att
892 flags: ""
893 teardown: true
Andy Bavier10926f12020-03-27 16:53:43 -0700894
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700895 - 'voltha-periodic-test':
Andy Bavier4be37062020-06-29 15:17:26 -0700896 name: 'periodic-voltha-etcd-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700897 build-node: 'ubuntu18.04-basebuild-4c-8g'
hwchiuc9189b72019-12-02 15:12:29 -0800898 code-branch: 'master'
Andrea Campanella6b002832021-09-30 17:28:22 +0200899 volthaHelmChartsChange: refs/changes/69/26569/11
900
901 gerritProject: voltctl
902 gerritRefspec: refs/changes/83/26983/4
903 extraHelmFlags: >
904 --set global.image_tag=master
905 --set onos-classic.image.tag=master
906 --set voltha.images.rw_core.repository=volthacore/voltha-rw-core
907 --set voltha.images.rw_core.tag=grpc_v1
908 --set voltha-adapter-openonu.images.adapter_open_onu_go.repository=volthacore/voltha-openonu-adapter-go
909 --set voltha-adapter-openonu.images.adapter_open_onu_go.tag=grpc_v1
910 --set voltha-adapter-openolt.images.adapter_open_olt.repository=volthacore/voltha-openolt-adapter
911 --set voltha-adapter-openolt.images.adapter_open_olt.tag=grpc_v1
912 --set voltha.images.ofagent.repository=volthacore/voltha-ofagent-go
913 --set voltha.images.ofagent.tag=grpc_v1
914 --set voltha-adapter-openolt.adapter_open_olt.endpoints.core_endpoint=voltha-voltha-core.voltha.svc:55558
915 --set voltha-adapter-openolt.adapter_open_olt.endpoints.adapter_endpoint=voltha-voltha-adapter-openolt-api.voltha.svc:50060
916 --set voltha-adapter-openonu.adapter_open_onu.endpoints.core_endpoint=voltha-voltha-core.voltha.svc:55558
917 --set voltha-adapter-openonu.adapter_open_onu.endpoints.adapter_endpoint=voltha-voltha-adapter-openonu-api.voltha.svc:50060
918 --set services.kafka.cluster.address=voltha-infra-kafka.default.svc:9092
919 --set services.etcd.address=voltha-infra-etcd.default.svc:2379
920 --set onu=2,pon=2
hwchiufdc49242019-11-18 16:37:22 -0800921 time-trigger: "H H/12 * * *"
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700922 testTargets: |
923 - target: sanity-multi-kind
924 workflow: att
925 flags: ""
926 teardown: true
hwchiufdc49242019-11-18 16:37:22 -0800927
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000928 - 'voltha-periodic-test':
929 name: 'periodic-voltha-etcd-test-2.8'
930 pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700931 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000932 code-branch: 'voltha-2.8'
933 extraHelmFlags: '--set onu=2,pon=2'
Hardik Windlass5de3d4b2021-07-19 07:35:43 +0000934 time-trigger: "H H/23 * * *"
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000935 testTargets: |
936 - target: sanity-multi-kind
937 workflow: att
938 flags: ""
939 teardown: true
Andy Bavier10926f12020-03-27 16:53:43 -0700940
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700941 - 'voltha-periodic-test':
Andy Bavier3708d072019-12-10 15:22:18 -0700942 name: 'periodic-voltha-sanity-test-multi-runs'
Andy Bavier3708d072019-12-10 15:22:18 -0700943 code-branch: 'master'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800944 time-trigger: "H H/23 * * *"
Andrea Campanella6b002832021-09-30 17:28:22 +0200945 volthaHelmChartsChange: refs/changes/69/26569/11
946
947 gerritProject: voltctl
948 gerritRefspec: refs/changes/83/26983/4
949 extraHelmFlags: >
950 --set global.image_tag=master
951 --set onos-classic.image.tag=master
952 --set voltha.images.rw_core.repository=volthacore/voltha-rw-core
953 --set voltha.images.rw_core.tag=grpc_v1
954 --set voltha-adapter-openonu.images.adapter_open_onu_go.repository=volthacore/voltha-openonu-adapter-go
955 --set voltha-adapter-openonu.images.adapter_open_onu_go.tag=grpc_v1
956 --set voltha-adapter-openolt.images.adapter_open_olt.repository=volthacore/voltha-openolt-adapter
957 --set voltha-adapter-openolt.images.adapter_open_olt.tag=grpc_v1
958 --set voltha.images.ofagent.repository=volthacore/voltha-ofagent-go
959 --set voltha.images.ofagent.tag=grpc_v1
960 --set voltha-adapter-openolt.adapter_open_olt.endpoints.core_endpoint=voltha-voltha-core.voltha.svc:55558
961 --set voltha-adapter-openolt.adapter_open_olt.endpoints.adapter_endpoint=voltha-voltha-adapter-openolt-api.voltha.svc:50060
962 --set voltha-adapter-openonu.adapter_open_onu.endpoints.core_endpoint=voltha-voltha-core.voltha.svc:55558
963 --set voltha-adapter-openonu.adapter_open_onu.endpoints.adapter_endpoint=voltha-voltha-adapter-openonu-api.voltha.svc:50060
964 --set services.kafka.cluster.address=voltha-infra-kafka.default.svc:9092
965 --set services.etcd.address=voltha-infra-etcd.default.svc:2379
966 --set onu=2,pon=2
Matteo Scandoloa57b0972021-05-03 14:04:58 -0700967 testTargets: |
968 - target: sanity-kind
969 workflow: att
970 flags: ""
971 teardown: true
972 - target: sanity-kind
973 workflow: att
974 flags: ""
975 teardown: false
976 - target: sanity-kind
977 workflow: att
978 flags: ""
979 teardown: false
980 - target: sanity-kind
981 workflow: att
982 flags: ""
983 teardown: false
984 - target: sanity-kind
985 workflow: att
986 flags: ""
987 teardown: false
Andy Bavier10926f12020-03-27 16:53:43 -0700988
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000989 - 'voltha-periodic-test':
990 name: 'periodic-voltha-sanity-test-multi-runs-2.8'
991 pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
992 code-branch: 'voltha-2.8'
Suchitra Vemuricbb9d842021-02-24 20:29:19 -0800993 time-trigger: "H H/23 * * *"
Hardik Windlass6d9a82e2021-07-08 16:23:21 +0000994 testTargets: |
995 - target: sanity-kind
996 workflow: att
997 flags: ""
998 teardown: true
999 - target: sanity-kind
1000 workflow: att
1001 flags: ""
1002 teardown: false
1003 - target: sanity-kind
1004 workflow: att
1005 flags: ""
1006 teardown: false
1007 - target: sanity-kind
1008 workflow: att
1009 flags: ""
1010 teardown: false
1011 - target: sanity-kind
1012 workflow: att
1013 flags: ""
1014 teardown: false
Andy Bavier10926f12020-03-27 16:53:43 -07001015
Matteo Scandoloa57b0972021-05-03 14:04:58 -07001016 - 'voltha-periodic-test':
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -07001017 name: 'nightly-voltha-DTflow-sanity-test'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -07001018 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -07001019 code-branch: 'master'
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -07001020 time-trigger: "@daily"
Matteo Scandoloa57b0972021-05-03 14:04:58 -07001021 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
1022 testTargets: |
1023 - target: sanity-kind-dt
1024 workflow: dt
1025 flags: ""
1026 teardown: true
Hung-Wei Chiuf3f00052020-03-31 11:12:06 -07001027
Matteo Scandolob6d80732021-05-05 14:06:42 -07001028 # ATT Per-patchset Pod builds on Tucson pod (master)
Andy Bavier51ba7e82019-12-17 11:01:01 -07001029 - 'verify_physical_voltha_patchset_auto':
1030 name: 'verify_physical_voltha_patchset_auto'
Andrea Campanella1198cd52021-06-14 16:17:25 +02001031 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set global.log_level=debug'
Matteo Scandolob6d80732021-05-05 14:06:42 -07001032 workflow: 'att'
Matteo Scandoloec3ec8e2021-05-27 13:03:00 -07001033 branch-pattern: master
Andy Bavier51ba7e82019-12-17 11:01:01 -07001034
Hardik Windlass6d9a82e2021-07-08 16:23:21 +00001035
1036 # ATT Per-patchset Pod builds on Tucson pod (voltha-2.8)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001037 - 'verify_physical_voltha_patchset_auto':
Hardik Windlass6d9a82e2021-07-08 16:23:21 +00001038 name: 'verify_physical_voltha_patchset_auto-2.8'
1039 pipeline-script: 'voltha/voltha-2.8/tucson-build-and-test.groovy'
1040 extraHelmFlags: '--set global.log_level=debug'
Matteo Scandolob6d80732021-05-05 14:06:42 -07001041 workflow: 'att'
Hardik Windlass6d9a82e2021-07-08 16:23:21 +00001042 branch-pattern: voltha-2.8
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001043
Matteo Scandolob6d80732021-05-05 14:06:42 -07001044 # ATT Manual Pod builds on Tucson pod (master)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001045 - 'verify_physical_voltha_patchset_manual':
1046 name: 'verify_physical_voltha_patchset_manual'
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001047 trigger-string: 'hardware test'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001048 branch-pattern: master
Andrea Campanella1198cd52021-06-14 16:17:25 +02001049 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set global.log_level=debug'
Matteo Scandolob6d80732021-05-05 14:06:42 -07001050 workflow: 'att'
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001051
Hardik Windlass6d9a82e2021-07-08 16:23:21 +00001052 # ATT Manual Pod builds on Tucson pod (voltha-2.8)
Matteo Scandolob6d80732021-05-05 14:06:42 -07001053 - 'verify_physical_voltha_patchset_manual':
Hardik Windlass6d9a82e2021-07-08 16:23:21 +00001054 name: 'verify_physical_voltha_patchset_manual-2.8'
1055 pipeline-script: 'voltha/voltha-2.8/tucson-build-and-test.groovy'
Matteo Scandolob6d80732021-05-05 14:06:42 -07001056 trigger-string: 'hardware test'
Hardik Windlass6d9a82e2021-07-08 16:23:21 +00001057 branch-pattern: voltha-2.8
1058 extraHelmFlags: '--set global.log_level=debug'
Matteo Scandolob6d80732021-05-05 14:06:42 -07001059 workflow: 'att'
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001060
Matteo Scandolob6d80732021-05-05 14:06:42 -07001061 # DT Manual Pod builds on Tucson pod (master)
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001062 - 'verify_physical_voltha_patchset_manual':
1063 name: 'verify_physical_voltha_patchset_manual_DT'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001064 workflow: 'dt'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001065 trigger-string: 'DT hardware test'
1066 default-test-args: '-i sanityDt -i PowerSwitch -X'
1067 branch-pattern: master
Andrea Campanella1198cd52021-06-14 16:17:25 +02001068 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set global.log_level=debug'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001069
Hardik Windlass6d9a82e2021-07-08 16:23:21 +00001070 # DT Manual Pod builds on Tucson pod (voltha-2.8)
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001071 - 'verify_physical_voltha_patchset_manual':
Hardik Windlass6d9a82e2021-07-08 16:23:21 +00001072 name: 'verify_physical_voltha_patchset_manual_DT-2.8'
1073 pipeline-script: 'voltha/voltha-2.8/tucson-build-and-test.groovy'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001074 workflow: 'dt'
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001075 trigger-string: 'DT hardware test'
Girish Gowdraaabad2b2021-01-21 12:24:34 -08001076 default-test-args: '-i sanityDt -i PowerSwitch -X'
Hardik Windlass6d9a82e2021-07-08 16:23:21 +00001077 branch-pattern: voltha-2.8
1078 extraHelmFlags: '--set global.log_level=debug'
Andy Bavier19c98a22019-11-11 13:57:11 -07001079
Kailash8b8de742019-07-30 08:54:51 -07001080- job-template:
Kailashaad71012019-08-27 10:36:53 -07001081 id: 'voltha-periodic-test'
1082 name: '{name}'
Hardik Windlassec9341b2021-06-07 11:58:29 +00001083 pipeline-script: 'voltha/master/bbsim-tests.groovy'
Matteo Scandolo075740f2021-04-22 14:52:29 -07001084 build-node: 'ubuntu18.04-basebuild-8c-15g'
Matteo Scandolo075740f2021-04-22 14:52:29 -07001085 robot-args: ''
Matteo Scandolobc28eab2021-09-28 18:10:58 -07001086 gerritProject: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -07001087 gerritRefspec: ''
Matteo Scandolo075740f2021-04-22 14:52:29 -07001088 volthaSystemTestsChange: ''
1089 volthaHelmChartsChange: ''
1090 extraHelmFlags: ''
Matteo Scandoloa57b0972021-05-03 14:04:58 -07001091 registry: mirror.registry.opennetworking.org
Matteo Scandolo075740f2021-04-22 14:52:29 -07001092 sandbox: true
1093 olts: 1
TorstenThieme869ba322021-05-05 12:11:42 +00001094 timeout: 130
Hardik Windlass696002d2021-05-07 11:38:28 +00001095 logLevel: 'INFO'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -07001096
Matteo Scandolo075740f2021-04-22 14:52:29 -07001097 trigger-comment: vv7CBoQQYYonvaN8xcru
1098 time-trigger: 0 0 29 2 *
1099
1100 description: |
1101 <!-- Managed by Jenkins Job Builder -->
1102 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
1103 E2E Validation for Voltha 2.X
1104
1105 properties:
1106 - cord-infra-properties:
1107 build-days-to-keep: '{big-build-days-to-keep}'
1108 artifact-num-to-keep: '{big-artifact-num-to-keep}'
1109
1110 wrappers:
1111 - lf-infra-wrappers:
1112 build-timeout: '{build-timeout}'
1113 jenkins-ssh-credential: '{jenkins-ssh-credential}'
1114
1115 parameters:
1116 - string:
1117 name: buildNode
1118 default: '{build-node}'
1119 description: 'Name of the Jenkins node to run the job on'
1120
1121 - string:
1122 name: extraHelmFlags
Matteo Scandoloa57b0972021-05-03 14:04:58 -07001123 default: '{extraHelmFlags}'
Matteo Scandolo886cb8e2021-05-03 13:37:41 -07001124 description: 'Helm flags (passed to each deployment)'
Matteo Scandolo075740f2021-04-22 14:52:29 -07001125
Matteo Scandolo886cb8e2021-05-03 13:37:41 -07001126 # test configuration
1127 # this is a parameter to drive the test execution, VOLTHA is redeployed each time with
1128 # the provided configuration and then the make target is invoked,
1129 # example value (has to be valid YAML):
1130 # testTargets: |
TorstenThiemea6c21342021-05-05 09:21:59 +00001131 # - target: 1t1gem-openonu-go-adapter-test
Matteo Scandolo886cb8e2021-05-03 13:37:41 -07001132 # workflow: att
1133 # flags: ""
Matteo Scandoloa57b0972021-05-03 14:04:58 -07001134 # teardown: true
Matteo Scandolo886cb8e2021-05-03 13:37:41 -07001135 - text:
1136 name: testTargets
1137 default: '{testTargets}'
1138 description: 'Test configuration, see the ci-management job definition for more info'
Matteo Scandolo075740f2021-04-22 14:52:29 -07001139
1140 - string:
1141 name: branch
1142 default: '{code-branch}'
1143 description: 'Repo manifest branch for code checkout'
1144
1145 - string:
1146 name: gerritProject
Matteo Scandolobc28eab2021-09-28 18:10:58 -07001147 default: '{gerritProject}'
Matteo Scandolo075740f2021-04-22 14:52:29 -07001148 description: 'Name of the Gerrit project'
1149
1150 - string:
1151 name: gerritRefspec
Matteo Scandolobc28eab2021-09-28 18:10:58 -07001152 default: '{gerritRefspec}'
Matteo Scandolo075740f2021-04-22 14:52:29 -07001153 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
1154
1155 - string:
1156 name: extraRobotArgs
1157 default: '{robot-args}'
1158 description: 'Arguments to pass to robot'
1159
1160 - string:
1161 name: volthaSystemTestsChange
1162 default: '{volthaSystemTestsChange}'
1163 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
1164
1165 - string:
1166 name: volthaHelmChartsChange
1167 default: '{volthaHelmChartsChange}'
1168 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
1169
1170 - string:
1171 name: olts
1172 default: '{olts}'
1173 description: 'How many BBSim instances to run'
1174
Matteo Scandoloa57b0972021-05-03 14:04:58 -07001175 - string:
1176 name: registry
1177 default: '{registry}'
1178 description: 'Which registry to use (amazon vs menlo)'
1179
Hardik Windlass696002d2021-05-07 11:38:28 +00001180 - string:
1181 name: logLevel
1182 default: '{logLevel}'
1183 description: 'Log level for all the components'
1184
TorstenThieme869ba322021-05-05 12:11:42 +00001185 - string:
1186 name: timeout
1187 default: '{timeout}'
1188 description: 'Timeout of pipeline job [minutes]'
1189
Matteo Scandolo075740f2021-04-22 14:52:29 -07001190 project-type: pipeline
1191 concurrent: true
1192
1193 dsl: !include-raw-escape: pipeline/{pipeline-script}
1194
1195 triggers:
1196 # patchset jobs will set this to "0 0 29 2 *" (feb 29th, it's once every 4 years)
1197 - timed: |
1198 TZ=America/Los_Angeles
1199 {time-trigger}
1200 # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that)
1201 - gerrit:
1202 server-name: '{gerrit-server-name}'
1203 silent-start: false
1204 successful-message: "PASSED openonu-go test"
1205 failure-message: "FAILED openonu-go test"
1206 unstable-message: "UNSTABLE openonu-go test"
1207 trigger-on:
1208 - comment-added-contains-event:
1209 comment-contains-value: '.*{trigger-comment}.*'
1210 projects:
1211 - project-compare-type: REG_EXP
1212 project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter-go|ofagent-go|voltha-onos|bbsim)$'
1213 branches:
1214 - branch-compare-type: REG_EXP
1215 branch-pattern: '{all-branches-regexp}'
1216
1217- job-template:
Kailashaad71012019-08-27 10:36:53 -07001218 id: 'voltha-patch-test'
Matteo Scandolo84e5f002020-02-10 11:50:05 -08001219 name: 'verify_{project}_sanity-test{name-extension}'
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -07001220 build-node: 'ubuntu18.04-basebuild-4c-8g'
Hardik Windlassec9341b2021-06-07 11:58:29 +00001221 pipeline-script: 'voltha/master/bbsim-tests.groovy'
Andy Bavier4318f8d2020-04-09 13:50:53 -07001222 override-branch: '$GERRIT_BRANCH'
Andy Bavier02b00dc2020-04-28 13:01:12 -07001223 sandbox: true
Matteo Scandolo42f6e572021-01-25 15:11:34 -08001224 build-timeout: 20
Hardik Windlassfbf296b2021-06-08 07:36:51 +00001225 timeout: 50
1226 olts: 1
1227 registry: mirror.registry.opennetworking.org
1228 logLevel: 'INFO'
Matteo Scandolo9aae4952020-09-14 13:05:53 -07001229 volthaSystemTestsChange: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -08001230 volthaHelmChartsChange: ''
Matteo Scandolocecb0842021-05-04 13:16:47 -07001231 extraHelmFlags: ''
Matteo Scandolo42f6e572021-01-25 15:11:34 -08001232 branch-regexp: '{all-branches-regexp}'
Hardik Windlassec9341b2021-06-07 11:58:29 +00001233 testTargets: |
1234 - target: sanity-kind-att
1235 workflow: att
1236 flags: ""
1237 teardown: true
1238 - target: sanity-kind-dt
1239 workflow: dt
1240 flags: ""
1241 teardown: true
1242 - target: sanity-kind-tt
1243 workflow: tt
1244 flags: ""
1245 teardown: true
Kailashaad71012019-08-27 10:36:53 -07001246
1247 description: |
1248 <!-- Managed by Jenkins Job Builder -->
1249 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
1250 E2E Validation for Voltha 2.X
1251
1252 properties:
1253 - cord-infra-properties:
1254 build-days-to-keep: '{build-days-to-keep}'
1255 artifact-num-to-keep: '{artifact-num-to-keep}'
1256
1257 wrappers:
1258 - lf-infra-wrappers:
1259 build-timeout: '{build-timeout}'
1260 jenkins-ssh-credential: '{jenkins-ssh-credential}'
1261
1262 parameters:
1263 - string:
Zack Williamsb3292082019-10-11 17:15:18 -07001264 name: buildNode
Andrea Campanella4792b7f2021-04-23 15:06:42 +02001265 default: '{build-node}'
Kailashaad71012019-08-27 10:36:53 -07001266 description: 'Name of the Jenkins node to run the job on'
1267
1268 - string:
hwchiu14f97852019-10-08 10:51:11 -07001269 name: gerritProject
1270 default: '$GERRIT_PROJECT'
1271 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -07001272
1273 - string:
Matteo Scandolo9aae4952020-09-14 13:05:53 -07001274 name: gerritRefspec
1275 default: '$GERRIT_REFSPEC'
1276 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
Kailashaad71012019-08-27 10:36:53 -07001277
1278 - string:
Andy Bavierbedd0392019-10-16 13:58:18 -07001279 name: extraHelmFlags
Matteo Scandolocecb0842021-05-04 13:16:47 -07001280 default: '{extraHelmFlags}'
Matteo Scandoloa57b0972021-05-03 14:04:58 -07001281 description: 'Helm flags to pass to every helm command'
Andy Bavierbedd0392019-10-16 13:58:18 -07001282
Matteo Scandolo9aae4952020-09-14 13:05:53 -07001283 - string:
1284 name: volthaSystemTestsChange
1285 default: '{volthaSystemTestsChange}'
1286 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
1287
1288 - string:
Matteo Scandolo42f6e572021-01-25 15:11:34 -08001289 name: volthaHelmChartsChange
1290 default: '{volthaHelmChartsChange}'
1291 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
1292
1293 - string:
1294 name: branch
1295 default: '{override-branch}'
1296 description: 'Name of the branch to use'
1297
Hardik Windlassec9341b2021-06-07 11:58:29 +00001298 # test configuration
1299 # this is a parameter to drive the test execution, VOLTHA is redeployed each time with
1300 # the provided configuration and then the make target is invoked,
1301 # example value (has to be valid YAML):
1302 # testTargets: |
1303 # - target: 1t1gem-openonu-go-adapter-test
1304 # workflow: att
1305 # flags: ""
1306 # teardown: true
1307 - text:
1308 name: testTargets
1309 default: '{testTargets}'
1310 description: 'Test configuration, see the ci-management job definition for more info'
1311
Hardik Windlassfbf296b2021-06-08 07:36:51 +00001312 - string:
1313 name: timeout
1314 default: '{timeout}'
1315 description: 'Timeout of pipeline job [minutes]'
1316
1317 - string:
1318 name: olts
1319 default: '{olts}'
1320 description: 'How many BBSim instances to run'
1321
1322 - string:
1323 name: registry
1324 default: '{registry}'
1325 description: 'Which registry to use (amazon vs menlo)'
1326
1327 - string:
1328 name: logLevel
1329 default: '{logLevel}'
1330 description: 'Log level for all the components'
1331
Kailashaad71012019-08-27 10:36:53 -07001332 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -07001333 concurrent: true
Kailashaad71012019-08-27 10:36:53 -07001334
Zack Williamsb3292082019-10-11 17:15:18 -07001335 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -07001336
1337 triggers:
Andy Bavierb99c3d32020-02-18 11:14:17 -07001338 - gerrit:
1339 server-name: '{gerrit-server-name}'
Kailashaad71012019-08-27 10:36:53 -07001340 dependency-jobs: '{dependency-jobs}'
Andy Bavierb99c3d32020-02-18 11:14:17 -07001341 silent-start: true
1342 trigger-on:
1343 - patchset-created-event:
1344 exclude-drafts: true
1345 exclude-trivial-rebase: false
1346 exclude-no-code-change: true
1347 - draft-published-event
1348 - comment-added-contains-event:
1349 comment-contains-value: '(?i)^.*recheck$'
1350 projects:
1351 - project-compare-type: REG_EXP
1352 project-pattern: '^{project}$'
1353 branches:
1354 - branch-compare-type: REG_EXP
Matteo Scandolo42f6e572021-01-25 15:11:34 -08001355 branch-pattern: '{branch-regexp}'
Andy Bavierb99c3d32020-02-18 11:14:17 -07001356 file-paths:
1357 - compare-type: REG_EXP
1358 pattern: '{all-files-regexp}'
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001359
1360# POD Per Patchset Pipeline Jobs
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001361# to use these parameters in a job: `<<: *voltha-physical-patchset-parameters`
1362- voltha-physical-patchset-parameters: &voltha-physical-patchset-parameters
1363 name: voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -07001364 parameters:
1365 - string:
1366 name: buildNode
Zack Williams8ef79812019-10-29 11:09:18 -07001367 default: '{build-node}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001368 description: 'Pod management node'
1369
1370 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001371 name: branch
1372 default: '$GERRIT_BRANCH'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001373 description: 'Name of the repo branch to use'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001374
1375 - string:
1376 name: gerritProject
1377 default: '$GERRIT_PROJECT'
1378 description: 'Name of the Gerrit project'
1379
1380 - string:
Matteo Scandolo7a330022021-03-29 14:03:48 -07001381 name: gerritRefspec
1382 default: '$GERRIT_REFSPEC'
1383 description: 'RefSpec number in Gerrit'
1384
1385 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001386 name: gerritComment
1387 default: '$GERRIT_EVENT_COMMENT_TEXT'
1388 description: 'RefSpec number in Gerrit'
1389
1390 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001391 name: cordRepoUrl
1392 default: '{gerrit-server-url}'
1393 description: 'The URL of the CORD Project repository'
1394
1395 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001396 name: configBaseDir
1397 default: 'pod-configs'
1398 description: 'The directory inside the POD configs repository'
1399
1400 - string:
1401 name: configDeploymentDir
1402 default: 'deployment-configs'
1403 description: 'The deployment configs folder'
1404
1405 - string:
1406 name: configKubernetesDir
1407 default: 'kubernetes-configs'
1408 description: 'The kubernetes config folder'
1409
1410 - string:
1411 name: configFileName
1412 default: '{config-pod}'
1413 description: 'The config file'
1414
1415 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001416 name: podName
1417 default: '{config-pod}'
1418
1419 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001420 name: sadisConfigFile
Matteo Scandolo7a330022021-03-29 14:03:48 -07001421 default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001422 description: 'Path of SADIS config to load'
1423
1424 - string:
Andy Bavier893d2442020-05-21 12:41:17 -07001425 name: oltDebVersionMaster
1426 default: '{oltDebVersionMaster}'
1427 description: 'OLT Software version to install for master branch builds'
1428
1429 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001430 name: oltDebVersionVoltha23
Andy Bavier893d2442020-05-21 12:41:17 -07001431 default: '{oltDebVersionVoltha23}'
1432 description: 'OLT Software version to install for voltha-2.3 branch builds'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001433
1434 - string:
Andy Bavier51ba7e82019-12-17 11:01:01 -07001435 name: profile
1436 default: '{profile}'
1437 description: 'Technology Profile pushed to the ETCD'
1438
Andy Bavier51ba7e82019-12-17 11:01:01 -07001439 - bool:
1440 name: reinstallOlt
1441 default: true
1442 description: "Re-install OLT software"
1443
Zack Williams03ebb272020-03-27 09:42:33 -07001444 - string:
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001445 name: extraRobotArgs
1446 default: '{default-test-args}'
1447 description: 'Arguments to pass to robot'
1448
1449 - string:
1450 name: volthaSystemTestsChange
1451 default: '{volthaSystemTestsChange}'
1452 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
1453
1454 - string:
1455 name: volthaHelmChartsChange
1456 default: '{volthaHelmChartsChange}'
1457 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
1458
1459 - string:
1460 name: workflow
1461 default: '{workflow}'
1462 description: 'Installs and uses the specified work flow on the POD'
1463
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001464 - string:
1465 name: extraHelmFlags
1466 default: '{extraHelmFlags}'
1467 description: 'Helm flags (passed to each helm command)'
1468
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001469 # deprecated parameters, remove after VOLTHA-2.8 is released
1470 - string:
1471 name: deploymentConfigFile
1472 default: 'pod-configs/deployment-configs/{config-pod}.yaml'
1473 description: 'Path of deployment config file'
1474
1475 - string:
1476 name: kindVolthaValuesFile
1477 default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml'
1478 description: 'Path of kind-voltha values override file'
1479
1480 - string:
1481 name: manifestUrl
1482 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
1483 description: 'URL to the repo manifest'
1484
1485 - string:
1486 name: gerritChangeNumber
1487 default: '$GERRIT_CHANGE_NUMBER'
1488 description: 'Changeset number in Gerrit'
1489
1490 - string:
1491 name: gerritPatchsetNumber
1492 default: '$GERRIT_PATCHSET_NUMBER'
1493 description: 'PatchSet number in Gerrit'
1494
1495 - string:
1496 name: localConfigDir
1497 default: null
1498 description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE'
1499
1500 - string:
1501 name: configRepo
1502 default: 'pod-configs'
1503 description: 'A repository containing the config files, will be checked out if specified'
1504
1505 - string:
Zack Williams03ebb272020-03-27 09:42:33 -07001506 name: manualBranch
1507 default: '{manualBranch}'
1508 description: "If a non-empty string, build manually as a specific branch, not with a specific patchset"
Andy Bavier51ba7e82019-12-17 11:01:01 -07001509
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001510- job-template:
1511 name: '{name}'
1512 id: verify_physical_voltha_patchset_auto
1513 description: |
1514 <!-- Managed by Jenkins Job Builder -->
1515 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
1516 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
1517 Created by Andy Bavier, andy@opennetworking.org <br />
1518 Copyright (c) 2019 Open Networking Foundation (ONF)
1519 sandbox: true
1520 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Matteo Scandolob6d80732021-05-05 14:06:42 -07001521 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001522 build-node: 'tucson-pod'
1523 config-pod: 'tucson-pod'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001524 profile: 'Default'
Girish Gowdra69e3b7f2021-08-05 15:08:01 -07001525 oltDebVersionMaster: 'openolt_asfvolt16-3.5.1-b8c09facd3da5d93b7c2815e176c6682de737437-40G-NNI.deb'
1526 oltDebVersionVoltha23: 'openolt_asfvolt16-3.4.9-e2a9597f3d690fe3a0ea0df244571dfc9e8c2833-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001527 volthaSystemTestsChange: ''
1528 volthaHelmChartsChange: ''
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001529 extraHelmFlags: ''
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001530
1531 properties:
1532 - cord-infra-properties:
1533 build-days-to-keep: '{build-days-to-keep}'
1534 artifact-num-to-keep: '{artifact-num-to-keep}'
1535
1536 <<: *voltha-physical-patchset-parameters
Andy Bavier51ba7e82019-12-17 11:01:01 -07001537
1538 project-type: pipeline
1539 concurrent: true
1540
1541 dsl: !include-raw-escape: pipeline/{pipeline-script}
1542
1543 triggers:
1544 - gerrit:
1545 server-name: '{gerrit-server-name}'
1546 dependency-jobs: '{dependency-jobs}'
1547 silent-start: false
1548 successful-message: "PASSED hardware test"
1549 failure-message: "FAILED hardware test"
1550 unstable-message: "UNSTABLE hardware test"
1551 trigger-on:
1552 - comment-added-event:
1553 approval-category: 'Code-Review'
1554 approval-value: '+2'
1555 projects:
1556 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001557 project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-go)$'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001558 branches:
Andy Bavier37f6ea92020-04-03 11:13:35 -07001559 - branch-compare-type: REG_EXP
Matteo Scandoloec3ec8e2021-05-27 13:03:00 -07001560 branch-pattern: '{branch-pattern}'
Andy Bavier51ba7e82019-12-17 11:01:01 -07001561
Andy Bavier51ba7e82019-12-17 11:01:01 -07001562- job-template:
1563 name: '{name}'
1564 id: verify_physical_voltha_patchset_manual
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001565 description: |
1566 <!-- Managed by Jenkins Job Builder -->
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001567 Automated build on POD {config-pod} using {pipeline-script} <br /><br />
Andy Baviere9916452019-11-06 12:32:47 -07001568 Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br />
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001569 Created by Andy Bavier, andy@opennetworking.org <br />
1570 Copyright (c) 2019 Open Networking Foundation (ONF)
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001571 sandbox: true
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001572 build-node: 'tucson-pod'
1573 config-pod: 'tucson-pod'
Girish Gowdra69e3b7f2021-08-05 15:08:01 -07001574 oltDebVersionMaster: 'openolt_asfvolt16-3.5.1-b8c09facd3da5d93b7c2815e176c6682de737437-40G-NNI.deb'
1575 oltDebVersionVoltha23: 'openolt_asfvolt16-3.4.9-e2a9597f3d690fe3a0ea0df244571dfc9e8c2833-40G-NNI.deb'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001576 pipeline-script: 'voltha/master/tucson-build-and-test.groovy'
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001577 trigger-string: 'hardware test'
Matteo Scandolob6d80732021-05-05 14:06:42 -07001578 default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X'
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001579 volthaSystemTestsChange: ''
1580 volthaHelmChartsChange: ''
Matteo Scandolob6d80732021-05-05 14:06:42 -07001581 profile: 'Default'
Matteo Scandolobb7382d2021-05-05 08:32:35 -07001582 extraHelmFlags: ''
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001583
1584 properties:
1585 - cord-infra-properties:
1586 build-days-to-keep: '{build-days-to-keep}'
1587 artifact-num-to-keep: '{artifact-num-to-keep}'
1588
Matteo Scandolo9b644ba2021-04-19 11:21:07 -07001589 <<: *voltha-physical-patchset-parameters
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001590
Andy Bavier8c11d462019-12-17 08:19:34 -07001591
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001592 project-type: pipeline
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001593 concurrent: true
1594
Andy Bavier61c5b2a2019-11-12 12:08:19 -07001595 dsl: !include-raw-escape: pipeline/{pipeline-script}
Andy Bavierbf68c5e2019-10-25 15:05:28 -07001596
Andy Bavier1f465592019-11-06 10:03:56 -07001597 triggers:
1598 - gerrit:
1599 server-name: '{gerrit-server-name}'
1600 dependency-jobs: '{dependency-jobs}'
1601 silent-start: false
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001602 successful-message: "PASSED {trigger-string}"
1603 failure-message: "FAILED {trigger-string}"
1604 unstable-message: "UNSTABLE {trigger-string}"
Andy Bavier1f465592019-11-06 10:03:56 -07001605 trigger-on:
1606 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001607 comment-contains-value: '^{trigger-string}$'
Scott Bakerda31d7b2020-01-08 16:35:52 -08001608 - comment-added-contains-event:
Andy Bavierd83bf3a2020-08-13 14:55:07 -07001609 comment-contains-value: '^{trigger-string} with delay$'
Andy Bavier8c11d462019-12-17 08:19:34 -07001610 projects:
1611 - project-compare-type: REG_EXP
Girish Gowdra7beebea2021-01-31 18:56:45 -08001612 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 -07001613 branches:
Andy Bavierfc3ca142020-03-27 13:44:25 -07001614 - branch-compare-type: REG_EXP
Matteo Scandoloec3ec8e2021-05-27 13:03:00 -07001615 branch-pattern: '{branch-pattern}'