blob: 49cbc175d16cb5d001d06bc20134cfdb8b6eee6a [file] [log] [blame]
Biser Milanovfbfe3a02023-11-16 13:25:47 +02001- nodeset:
2 name: ubuntu2004-openstack-multi-node-mixed
3 nodes:
4 - name: controller
5 label: os-ubuntu2004-large
6 - name: undercloud-client
7 label: os-ubuntu2004-small
8 - name: lab-sp-a1
9 label: os-ubuntu2004-large
10 groups:
11 - name: tempest
12 nodes:
13 - controller
14
15- nodeset:
16 name: ubuntu2204-openstack-multi-node-mixed
17 nodes:
18 - name: controller
Biser Milanov563f5e92023-11-17 21:36:03 +020019 label: os-ubuntu2204-2xlarge
Biser Milanovfbfe3a02023-11-16 13:25:47 +020020 - name: undercloud-client
21 label: os-ubuntu2204-small
22 - name: lab-sp-a1
Biser Milanov3707c512023-11-20 15:28:40 +020023 label: os-ubuntu2204-2xlarge
Biser Milanovfbfe3a02023-11-16 13:25:47 +020024 groups:
25 - name: tempest
26 nodes:
27 - controller
28
Biser Milanovf77adb62024-08-02 14:16:53 +030029###
30# Copied from upstream, remove unsupported `failure-output` option
31
32- job:
33 name: devstack-tempest
34 parent: devstack
35 description: |
36 Base Tempest job.
37
38 This Tempest job provides the base for both the single and multi-node
39 test setup. To run a multi-node test inherit from devstack-tempest and
40 set the nodeset to a multi-node one.
41 required-projects: &base_required-projects
42 - opendev.org/openstack/tempest
43 timeout: 7200
44 roles: &base_roles
45 - zuul: opendev.org/openstack/devstack
46 vars: &base_vars
47 devstack_localrc:
48 IMAGE_URLS: http://download.cirros-cloud.net/0.6.2/cirros-0.6.2-x86_64-disk.img, http://download.cirros-cloud.net/0.6.1/cirros-0.6.1-x86_64-disk.img
49 devstack_services:
50 tempest: true
51 devstack_local_conf:
52 test-config:
53 $TEMPEST_CONFIG:
54 compute:
55 min_compute_nodes: "{{ groups['compute'] | default(['controller']) | length }}"
56 service-clients:
57 http_timeout: 90
58 test_results_stage_name: test_results
59 zuul_copy_output:
60 '/var/log/openvswitch': logs
61 '/var/log/ovn': logs
62 '{{ devstack_base_dir }}/tempest/etc/tempest.conf': logs
63 '{{ devstack_base_dir }}/tempest/etc/accounts.yaml': logs
64 '{{ devstack_base_dir }}/tempest/tempest.log': logs
65 '{{ stage_dir }}/{{ test_results_stage_name }}.subunit': logs
66 '{{ stage_dir }}/{{ test_results_stage_name }}.html': logs
67 '{{ stage_dir }}/stackviz': logs
68 extensions_to_txt:
69 conf: true
70 log: true
71 yaml: true
72 yml: true
73 run: playbooks/devstack-tempest.yaml
74 post-run: playbooks/post-tempest.yaml
75
76###
77
SF initial configuratorb5dc2082024-05-29 11:04:07 +030078- job:
79 name: cinder-storpool-tempest
Biser Milanov1ebc1a72024-08-01 13:52:06 +030080 parent: tempest-full-py3
SF initial configuratorb5dc2082024-05-29 11:04:07 +030081 pre-run:
82 - playbooks/workarounds/01-disable-unattended-upgrades.yaml
83 - playbooks/workarounds/02-install-linux-modules-extra-for-z3fold.yaml
84 - playbooks/sp-init.yaml
85 - playbooks/setup-openstack-client/pre.yaml
86 - playbooks/setup-openstack-storpool/pre.yaml
87 run: playbooks/tempest-and-cinderlib-run.yaml
88 cleanup-run:
89 - playbooks/setup-openstack-storpool/post.yaml
90 - playbooks/setup-openstack-client/post.yaml
91 - playbooks/sp-cleanup.yaml
92 required-projects:
93 - opendev.org/openstack/cinderlib
94 - opendev.org/openstack/os-brick
95 - opendev.org/openstack/tempest
96 - opendev.org/openstack/cinder-tempest-plugin
97 # - config
98 - sp-osci
99 timeout: 10800
100 nodeset: ubuntu2204-openstack-multi-node-mixed
101 secrets:
102 # openstack-client
103 - name: OPENSTACK_DATA
104 secret: OPENSTACK_DATA
105 - name: RESOLVED_DATA
106 secret: RESOLVED_DATA
107
108 # openstack-iscsi-multipath-storpool
109 - name: STORPOOL_DEPLOY_KEY
110 secret: STORPOOL_DEPLOY_KEY
111 - name: STORPOOL_DEPLOY_KEY_PUB
112 secret: STORPOOL_DEPLOY_KEY_PUB
113 - name: STORPOOL_BLOCK_INVENTORY
114 secret: STORPOOL_BLOCK_INVENTORY
115 - name: STORPOOL_ISCSI_NETPLAN
116 secret: STORPOOL_ISCSI_NETPLAN
117 - name: STORPOOL_STORPOOL_NETPLAN
118 secret: STORPOOL_STORPOOL_NETPLAN
119 - name: STORPOOL_NETPLAN_SERVICE
120 secret: STORPOOL_NETPLAN_SERVICE
121 - name: STORPOOL_CONF_BLOCK
122 secret: STORPOOL_CONF_BLOCK
123 - name: STORPOOL_DEPLOY
124 secret: STORPOOL_DEPLOY
125 - name: STORPOOL_DEPLOY_INFO_CONF
126 secret: STORPOOL_DEPLOY_INFO_CONF
127 - name: STORPOOL_CONF_ISCSI_NODE
128 secret: STORPOOL_CONF_ISCSI_NODE
129 - name: ISCSI_NODE_SYSTEMD_NETWORKD
130 secret: ISCSI_NODE_SYSTEMD_NETWORKD
131 vars:
132 os_venv: "~/sp-venv-openstack"
133 storpool_connection: "block"
134 sp_target_release: "release"
135
136 do_storprep: true
137 devstack_localrc:
138 CINDER_ENABLED_BACKENDS: storpool:storpool
139 # CINDER_ISCSI_HELPER: tgtadm
140 ENABLE_FILE_INJECTION: false
141 TEMPEST_CONCURRENCY: 2
142 TEMPEST_EXTEND_ATTACHED_VOLUME: true
143 TEMPEST_PLUGINS: cinder-tempest-plugin
144 TEMPEST_RUN_VALIDATION: false
145 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: true
146 TEMPEST_VOLUME_VENDOR: StorPool
147 USE_PYTHON3: True
148 # cfg: block
149 TEMPEST_STORAGE_PROTOCOL: storpool
150 ENABLE_VOLUME_MULTIATTACH: true
151 devstack_local_conf:
152 test-config:
153 $TEMPEST_CONFIG:
154 validation:
155 run_validation: true
156 post-config:
157 $CINDER_CONF:
158 storpool:
159 volume_backend_name: storpool
160 volume_driver: cinder.volume.drivers.storpool.StorPoolDriver
161 storpool_template: virtual
162 # enable_unsupported_driver: true
163 tox_envlist: all
164 tempest_test_regex: |
165 volume
166# (^(tempest\.((api\..*volume)|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance))|(cinder_tempest_plugin))
167
168- job:
169 name: cinder-storpool-tempest-testing
170 parent: cinder-storpool-tempest
171 vars:
172 sp_target_release: "testing"
173
174
175- job:
176 name: cinder-storpool-tempest-experimental
177 parent: cinder-storpool-tempest
178 vars:
179 sp_experimental: true
180
181- job:
182 name: cinder-storpool-tempest-iscsi
183 parent: cinder-storpool-tempest
184 vars:
185 sp_experimental: true
186 do_storprep: true
187 devstack_localrc:
188 # cfg: iscsi
189 TEMPEST_STORAGE_PROTOCOL: iscsi
190 ENABLE_VOLUME_MULTIATTACH: false
191 devstack_local_conf:
192 post-config:
193 $CINDER_CONF:
194 storpool:
195 # cfg: iscsi
196 iscsi_export_to: "\\\\*"
197 iscsi_portal_group: pg
198 use_multipath_for_image_xfer: True
199 $NOVA_CONF:
200 libvirt:
201 # cfg: iscsi
202 volume_use_multipath: True
203 tempest_test_regex: |
204 volume|^cinder_tempest_plugin
205# ^cinder_tempest_plugin
206# (^(tempest\.((api\..*volume)|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance))|(cinder_tempest_plugin))
207
208- job:
209 name: cinder-storpool-tempest-iscsi-multipath-parent
Biser Milanov1ebc1a72024-08-01 13:52:06 +0300210 parent: tempest-full-py3
SF initial configuratorb5dc2082024-05-29 11:04:07 +0300211 pre-run:
212 - playbooks/workarounds/01-disable-unattended-upgrades.yaml
213 - playbooks/workarounds/02-install-linux-modules-extra-for-z3fold.yaml
214 - playbooks/sp-init.yaml
215 - playbooks/setup-openstack-client/pre.yaml
216 - playbooks/setup-openstack-iscsi-multipath/pre.yaml
217 - playbooks/setup-openstack-storpool/pre.yaml
218 run: playbooks/tempest-and-cinderlib-run.yaml
219 cleanup-run:
220 - playbooks/setup-openstack-storpool/post.yaml
221 - playbooks/setup-openstack-iscsi-multipath/post.yaml
222 - playbooks/setup-openstack-client/post.yaml
223 - playbooks/sp-cleanup.yaml
224 required-projects:
225 - opendev.org/openstack/cinderlib
226 - opendev.org/openstack/os-brick
227 - opendev.org/openstack/tempest
228 - opendev.org/openstack/cinder-tempest-plugin
229 # - config
230 - sp-osci
231 timeout: 10800
232 nodeset: ubuntu2204-openstack-multi-node-mixed
233 attempts: 1
234 secrets:
235 # openstack-client
236 - name: OPENSTACK_DATA
237 secret: OPENSTACK_DATA
238 - name: RESOLVED_DATA
239 secret: RESOLVED_DATA
240
241 # openstack-iscsi-multipath-storpool
242 - name: STORPOOL_DEPLOY_KEY
243 secret: STORPOOL_DEPLOY_KEY
244 - name: STORPOOL_DEPLOY_KEY_PUB
245 secret: STORPOOL_DEPLOY_KEY_PUB
246 - name: STORPOOL_BLOCK_INVENTORY
247 secret: STORPOOL_BLOCK_INVENTORY
248 - name: STORPOOL_ISCSI_INVENTORY
249 secret: STORPOOL_ISCSI_INVENTORY
250 - name: STORPOOL_ISCSI_NETPLAN
251 secret: STORPOOL_ISCSI_NETPLAN
252 - name: STORPOOL_STORPOOL_NETPLAN
253 secret: STORPOOL_STORPOOL_NETPLAN
254 - name: STORPOOL_NETPLAN_SERVICE
255 secret: STORPOOL_NETPLAN_SERVICE
256 - name: STORPOOL_CONF_ISCSI
257 secret: STORPOOL_CONF_ISCSI
258 - name: STORPOOL_DEPLOY
259 secret: STORPOOL_DEPLOY
260 - name: STORPOOL_DEPLOY_INFO_CONF
261 secret: STORPOOL_DEPLOY_INFO_CONF
262 - name: STORPOOL_CONF_ISCSI_NODE
263 secret: STORPOOL_CONF_ISCSI_NODE
264 - name: ISCSI_NODE_SYSTEMD_NETWORKD
265 secret: ISCSI_NODE_SYSTEMD_NETWORKD
266
267 vars:
268 os_venv: "~/sp-venv-openstack"
269 storpool_connection: "iscsi"
270 sp_target_release: "release"
271
272 zuul_copy_output:
273 /etc/multipath.conf: logs_txt
274 /etc/iscsi/iscsid.conf: logs_txt
275 devstack_localrc:
276 CINDER_ENABLED_BACKENDS: storpool:storpool
277 # CINDER_ISCSI_HELPER: tgtadm
278 ENABLE_FILE_INJECTION: false
279 TEMPEST_CONCURRENCY: 2
280 TEMPEST_EXTEND_ATTACHED_VOLUME: true
281 TEMPEST_PLUGINS: cinder-tempest-plugin
282 TEMPEST_RUN_VALIDATION: false
283 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: true
284 TEMPEST_VOLUME_VENDOR: StorPool
285 USE_PYTHON3: True
286 # cfg: block
287 TEMPEST_STORAGE_PROTOCOL: storpool
288 ENABLE_VOLUME_MULTIATTACH: true
289 devstack_local_conf:
290 test-config:
291 $TEMPEST_CONFIG:
292 validation:
293 run_validation: true
294 post-config:
295 $CINDER_CONF:
296 storpool:
297 volume_backend_name: storpool
298 volume_driver: cinder.volume.drivers.storpool.StorPoolDriver
299 storpool_template: virtual
300 # enable_unsupported_driver: true
301 tox_envlist: all
302 tempest_test_regex: |
303 volume
304# (^(tempest\.((api\..*volume)|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance))|(cinder_tempest_plugin))
305
306- job:
307 name: cinder-storpool-tempest-iscsi-multipath
308 parent: cinder-storpool-tempest-iscsi-multipath-parent
309 vars:
310 sp_experimental: true
311 devstack_localrc:
312 # cfg: iscsi
313 TEMPEST_STORAGE_PROTOCOL: iscsi
314 ENABLE_VOLUME_MULTIATTACH: false
315 devstack_local_conf:
316 post-config:
317 $CINDER_CONF:
318 storpool:
319 # cfg: iscsi
320 iscsi_export_to: "\\\\*"
321 iscsi_portal_group: pg
322 use_multipath_for_image_xfer: True
323 $NOVA_CONF:
324 libvirt:
325 # cfg: iscsi
326 volume_use_multipath: True
327 tempest_test_regex: |
328 volume|^cinder_tempest_plugin
329# ^cinder_tempest_plugin
330# (^(tempest\.((api\..*volume)|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance))|(cinder_tempest_plugin))
331
332
333- job:
334 name: cinder-storpool-tempest-iscsi-multipath-testing
335 parent: cinder-storpool-tempest-iscsi-multipath
336 vars:
337 sp_target_release: "testing"
338
339
340- job:
341 name: kolla-cinder-storpool-tempest-iscsi-multipath
342 pre-run:
343 - playbooks/workarounds/01-disable-unattended-upgrades.yaml
344 - playbooks/setup-openstack-client/pre.yaml
345 - playbooks/setup-openstack-iscsi-multipath/pre.yaml
346 - playbooks/setup-openstack-storpool/pre.yaml
347 - playbooks/kolla-setup-openstack-iscsi-multipath-storpool/pre.yaml
348 run: playbooks/kolla-setup-openstack-iscsi-multipath-storpool/run.yaml
349 cleanup-run:
350 - playbooks/kolla-setup-openstack-iscsi-multipath-storpool/post.yaml
351 - playbooks/setup-openstack-storpool/post.yaml
352 - playbooks/setup-openstack-iscsi-multipath/post.yaml
353 - playbooks/setup-openstack-client/post.yaml
354 required-projects:
355 - opendev.org/openstack/tempest
356 timeout: 10800
357 nodeset: ubuntu2204-openstack-multi-node-mixed
358 attempts: 1
359 secrets:
360 # openstack-client
361 - name: OPENSTACK_DATA
362 secret: OPENSTACK_DATA
363 - name: RESOLVED_DATA
364 secret: RESOLVED_DATA
365
366 # openstack-iscsi-multipath-storpool
367 - name: STORPOOL_DEPLOY_KEY
368 secret: STORPOOL_DEPLOY_KEY
369 - name: STORPOOL_DEPLOY_KEY_PUB
370 secret: STORPOOL_DEPLOY_KEY_PUB
371 - name: STORPOOL_DEPLOY
372 secret: STORPOOL_DEPLOY
373 - name: STORPOOL_DEPLOY_INFO_CONF
374 secret: STORPOOL_DEPLOY_INFO_CONF
375 - name: STORPOOL_ISCSI_INVENTORY
376 secret: STORPOOL_ISCSI_INVENTORY
377 - name: STORPOOL_ISCSI_NETPLAN
378 secret: STORPOOL_ISCSI_NETPLAN
379 - name: STORPOOL_STORPOOL_NETPLAN
380 secret: STORPOOL_STORPOOL_NETPLAN
381 - name: STORPOOL_NETPLAN_SERVICE
382 secret: STORPOOL_NETPLAN_SERVICE
383 - name: STORPOOL_CONF_ISCSI
384 secret: STORPOOL_CONF_ISCSI
385 - name: STORPOOL_CONF_ISCSI_NODE
386 secret: STORPOOL_CONF_ISCSI_NODE
387 - name: ISCSI_NODE_SYSTEMD_NETWORKD
388 secret: ISCSI_NODE_SYSTEMD_NETWORKD
389 vars:
390 os_venv: "~/sp-venv-openstack"
391 storpool_connection: "iscsi"
392 sp_target_release: "release"
393
394 zuul_copy_output:
395 /etc/multipath.conf: logs_txt
396 /etc/iscsi/iscsid.conf: logs_txt
397
398 tempest_test_regex: volume
399
400- job:
401 name: kolla-cinder-storpool-tempest-iscsi-multipath-zed-ubuntu-jammy-pre-release
402 parent: kolla-cinder-storpool-tempest-iscsi-multipath
403 vars:
404 sp_target_release: "release"
405
406 kolla_ansible_version: "16.2.0"
407 kolla_openstack_release: "zed"
408 enable_cinder_backend_storpool: "yes"
409 kolla_nova_compute_image_full: "cts.storpool.com/kolla/ubuntu-binary-nova-compute:zed-ubuntu-jammy-pre-release"
410 kolla_cinder_volume_image_full: "cts.storpool.com/kolla/ubuntu-binary-cinder-volume:zed-ubuntu-jammy-pre-release"
411 kolla_glance_api_image_full: "quay.io/openstack.kolla/glance-api:zed-ubuntu-jammy"
412
413- job:
414 name: kolla-cinder-tempest-iscsi-multipath-2023.2-ubuntu-jammy-lvm-reference
415 parent: kolla-cinder-storpool-tempest-iscsi-multipath
416 vars:
417 sp_target_release: "release"
418
419 kolla_ansible_version: "stable/2023.2"
420 kolla_openstack_release: "2023.2"
421 enable_cinder_backend_storpool: "no"
422 kolla_nova_compute_image_full: "quay.io/openstack.kolla/nova-compute:2023.2-ubuntu-jammy"
423 kolla_cinder_volume_image_full: "quay.io/openstack.kolla/cinder-volume:2023.2-ubuntu-jammy"
424 kolla_glance_api_image_full: "quay.io/openstack.kolla/glance-api:2023.2-ubuntu-jammy"
425
426- job:
427 name: kolla-cinder-storpool-tempest-iscsi-multipath-2023.2-ubuntu-jammy-pre-release
428 parent: kolla-cinder-storpool-tempest-iscsi-multipath
429 vars:
430 sp_target_release: "release"
431
432 kolla_ansible_version: "stable/2023.2"
433 kolla_openstack_release: "2023.2"
434 enable_cinder_backend_storpool: "yes"
435 kolla_nova_compute_image_full: "cts.storpool.com/kolla/ubuntu-binary-nova-compute:2023.2-ubuntu-jammy-pre-release"
436 kolla_cinder_volume_image_full: "cts.storpool.com/kolla/ubuntu-binary-cinder-volume:2023.2-ubuntu-jammy-pre-release"
437 kolla_glance_api_image_full: "cts.storpool.com/kolla/ubuntu-binary-glance-api:2023.2-ubuntu-jammy-pre-release"
438
439- job:
440 name: kolla-cinder-storpool-tempest-iscsi-multipath-testing
441 parent: kolla-cinder-storpool-tempest-iscsi-multipath
442 vars:
443 sp_target_release: "testing"
444
445 kolla_ansible_version: "16.2.0"
446 kolla_openstack_release: "zed"
447 enable_cinder_backend_storpool: "yes"
448 kolla_nova_compute_image_full: "cts.storpool.com/kolla/ubuntu-binary-nova-compute:zed-ubuntu-jammy"
449 kolla_cinder_volume_image_full: "cts.storpool.com/kolla/ubuntu-binary-cinder-volume:zed-ubuntu-jammy"
450 kolla_glance_api_image_full: "quay.io/openstack.kolla/glance-api:2023.2-ubuntu-jammy"
451
452- project:
453 name: openstack/cinder
454 check:
455 jobs:
456 - cinder-storpool-tempest:
457 branches: master
458 - cinder-storpool-tempest-iscsi-multipath:
459 branches: master
460 experimental:
461 jobs:
462 - cinder-storpool-tempest-experimental:
463 branches: master
464 #- cinder-storpool-tempest-iscsi:
465 # branches: master
466
467- project:
468 name: openstack/os-brick
469 check:
470 jobs:
471 - cinder-storpool-tempest:
472 branches: master
473
474- project:
475 name: kolla-experiments
476 check:
477 jobs:
478 - kolla-cinder-tempest-iscsi-multipath-2023.2-ubuntu-jammy-lvm-reference:
479 branches: master
480 - kolla-cinder-storpool-tempest-iscsi-multipath-2023.2-ubuntu-jammy-pre-release:
481 branches: master
482
483- project:
484 name: storpool-experiments
485 check:
486 jobs:
487 - cinder-storpool-tempest-testing:
488 branches: master
489 - cinder-storpool-tempest-iscsi-multipath-testing:
490 branches: master
491 - kolla-cinder-storpool-tempest-iscsi-multipath-testing:
492 branches: master