blob: 28fbdfe42ab0efbf5bc1dd77f4e3674d52d014ef [file] [log] [blame]
Chandan Kumar23e5b632018-01-04 23:36:43 +05301- project:
Doug Hellmann4a63cd52018-09-09 05:49:23 -04002 templates:
3 - check-requirements
4 - tempest-plugin-jobs
Chandan Kumar23e5b632018-01-04 23:36:43 +05305 check:
6 jobs:
whoami-rajat6dc9a2f2021-05-18 07:01:33 -04007 - cinder-tempest-plugin-lvm-multiattach
Luigi Toscanoc6215bd2020-02-21 12:42:58 +01008 - cinder-tempest-plugin-lvm-lio-barbican
Luigi Toscano8515b582022-04-27 16:11:13 +02009 - cinder-tempest-plugin-lvm-lio-barbican-centos-9-stream:
Luigi Toscanof1441832020-05-01 19:33:21 +020010 voting: false
Brian Rosmaitae5ae1ed2022-12-21 08:53:24 -050011 # FIXME: the tgt job is broken on jammy, and we may be removing tgt
12 # support anyway. So make it non-voting until we figure out what to
13 # do about this, which should be at the March 2023 virtual PTG.
14 - cinder-tempest-plugin-lvm-tgt-barbican:
15 voting: false
Ade Lee723c3b92022-06-21 15:05:25 -040016 - cinder-tempest-plugin-lvm-lio-barbican-fips:
17 voting: false
Gorka Eguileor87d48022023-01-18 10:23:34 +010018 - cinder-tempest-plugin-lvm-nvmet-barbican
Lee Yarwood103c2f72021-01-21 15:38:44 +000019 - nova-ceph-multistore:
20 voting: false
Sofia Enriquezf44ff142020-04-03 20:04:22 +000021 - cinder-tempest-plugin-cbak-ceph
Hironori Shiina207d6672021-01-22 13:25:03 -050022 - cinder-tempest-plugin-cbak-s3
Ghanshyam Mann965cd722022-05-27 15:20:13 -050023 # As per the Tempest "Stable Branch Support Policy", Tempest will only
24 # support the "Maintained" stable branches and not the "Extended Maintained"
25 # branches. That is what we need to do for all tempest plugins. Only jobs
26 # for the current releasable ("Maintained") stable branches should be listed
27 # here.
Ghanshyam Mann35f531d2022-10-15 22:38:23 -050028 - cinder-tempest-plugin-basic-zed
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -050029 - cinder-tempest-plugin-basic-yoga
Ghanshyam Mannffd05a72022-01-18 18:48:33 -060030 - cinder-tempest-plugin-basic-xena
Luigi Toscano2cbd0422023-03-13 14:50:26 +010031 - cinder-tempest-plugin-protection-functional
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010032 gate:
33 jobs:
34 - cinder-tempest-plugin-lvm-lio-barbican
Gorka Eguileor87d48022023-01-18 10:23:34 +010035 - cinder-tempest-plugin-lvm-nvmet-barbican
Brian Rosmaitae5ae1ed2022-12-21 08:53:24 -050036 # FIXME: no sense running a non-voting gate job. See comment above.
37 # - cinder-tempest-plugin-lvm-tgt-barbican
Sofia Enriquezf44ff142020-04-03 20:04:22 +000038 - cinder-tempest-plugin-cbak-ceph
Luigi Toscano3d907472021-03-08 10:26:12 +010039 experimental:
40 jobs:
Ghanshyam Mann35f531d2022-10-15 22:38:23 -050041 - cinder-tempest-plugin-cbak-ceph-zed
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -050042 - cinder-tempest-plugin-cbak-ceph-yoga
Ghanshyam Mannffd05a72022-01-18 18:48:33 -060043 - cinder-tempest-plugin-cbak-ceph-xena
Chandan Kumar23e5b632018-01-04 23:36:43 +053044
45- job:
Lance Bragstadd3fddec2021-02-16 16:27:13 +000046 name: cinder-tempest-plugin-protection-functional
47 parent: devstack-tempest
48 required-projects:
49 - opendev.org/openstack/cinder-tempest-plugin
50 - opendev.org/openstack/cinder
51 vars:
52 tox_envlist: all
53 tempest_test_regex: 'cinder_tempest_plugin.rbac'
54 devstack_local_conf:
55 test-config:
56 $CINDER_CONF:
57 oslo_policy:
58 enforce_new_defaults: True
59 $TEMPEST_CONFIG:
60 enforce_scope:
61 cinder: True
62 tempest_plugins:
63 - cinder-tempest-plugin
64
65- job:
whoami-rajat6dc9a2f2021-05-18 07:01:33 -040066 name: cinder-tempest-plugin-lvm-multiattach
67 description: |
68 This enables multiattach tests along with standard tempest tests
69 parent: devstack-tempest
70 required-projects:
71 - opendev.org/openstack/tempest
72 - opendev.org/openstack/cinder-tempest-plugin
73 - opendev.org/openstack/cinder
74 vars:
75 tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))'
76 tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-exclude-list.txt'
Alan Bishop8f39caf2022-08-17 08:33:44 -070077 # Temporarily exclude TestMultiAttachVolumeSwap until LP bug #1980816 is resolved.
78 tempest_exclude_regex: 'TestMultiAttachVolumeSwap'
whoami-rajat6dc9a2f2021-05-18 07:01:33 -040079 tox_envlist: all
80 devstack_localrc:
81 ENABLE_VOLUME_MULTIATTACH: true
82 tempest_plugins:
83 - cinder-tempest-plugin
84 irrelevant-files:
85 - ^.*\.rst$
86 - ^doc/.*$
87 - ^releasenotes/.*$
88
89- job:
Luigi Toscano1370db42021-03-03 21:31:11 +010090 name: cinder-tempest-plugin-lvm-barbican-base-abstract
Chandan Kumar23e5b632018-01-04 23:36:43 +053091 description: |
Eric Harneyfb18e1a2018-01-24 16:14:13 -050092 This is a base job for lvm with lio & tgt targets
Chandan Kumar23e5b632018-01-04 23:36:43 +053093 parent: devstack-tempest
Luigi Toscano1370db42021-03-03 21:31:11 +010094 abstract: true
Luigi Toscanoa571b392020-04-17 19:30:23 +020095 timeout: 10800
Chandan Kumar23e5b632018-01-04 23:36:43 +053096 required-projects:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010097 - opendev.org/openstack/barbican
98 - opendev.org/openstack/tempest
99 - opendev.org/openstack/cinder-tempest-plugin
100 - opendev.org/openstack/cinder
Luigi Toscanoc6215bd2020-02-21 12:42:58 +0100101 host-vars:
102 controller:
103 devstack_plugins:
104 barbican: https://opendev.org/openstack/barbican
Chandan Kumar23e5b632018-01-04 23:36:43 +0530105 vars:
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000106 tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))'
Doug Hellmann4a63cd52018-09-09 05:49:23 -0400107 tox_envlist: all
Chandan Kumar23e5b632018-01-04 23:36:43 +0530108 devstack_localrc:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +0100109 CINDER_LVM_TYPE: thin
110 CINDER_COORDINATION_URL: 'file://\$state_path'
Luigi Toscanoa571b392020-04-17 19:30:23 +0200111 devstack_local_conf:
112 test-config:
113 $TEMPEST_CONFIG:
Luigi Toscano5d7847c2021-02-25 22:16:32 +0100114 auth:
115 # FIXME: 'creator' should be re-added by the barbican devstack plugin
116 # but the value below override everything.
117 tempest_roles: member,creator
Brian Rosmaita0587ca62022-05-13 22:02:40 -0400118 volume:
119 build_timeout: 300
Luigi Toscanoa571b392020-04-17 19:30:23 +0200120 volume-feature-enabled:
121 volume_revert: True
Chandan Kumar23e5b632018-01-04 23:36:43 +0530122 devstack_services:
123 barbican: true
Luigi Toscanoc6215bd2020-02-21 12:42:58 +0100124 tempest_plugins:
125 - cinder-tempest-plugin
Chandan Kumar23e5b632018-01-04 23:36:43 +0530126 irrelevant-files:
127 - ^.*\.rst$
128 - ^doc/.*$
129 - ^releasenotes/.*$
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000130
131- job:
Luigi Toscano1370db42021-03-03 21:31:11 +0100132 name: cinder-tempest-plugin-lvm-barbican-base
133 description: |
134 This is a base job for lvm with lio & tgt targets
135 with cinderlib tests.
Ghanshyam Mann9d89d4e2022-05-25 12:21:18 -0500136 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train|ussuri|victoria)).*$
Luigi Toscano1370db42021-03-03 21:31:11 +0100137 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
138 roles:
139 - zuul: opendev.org/openstack/cinderlib
140 required-projects:
141 - opendev.org/openstack/cinderlib
142 run: playbooks/tempest-and-cinderlib-run.yaml
143 # Required to collect the tox-based logs of the cinderlib functional tests
144 post-run: playbooks/post-cinderlib.yaml
145 vars:
146 fetch_subunit_output_additional_dirs:
147 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
Luigi Toscano7e297882021-04-20 17:04:12 +0200148 tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-exclude-list.txt'
Luigi Toscano1370db42021-03-03 21:31:11 +0100149
150- job:
151 name: cinder-tempest-plugin-lvm-barbican-base
152 description: |
153 This is a base job for lvm with lio & tgt targets
Brian Rosmaita6b7ddd32022-11-02 18:12:43 -0400154 with cinderlib tests to run on stable/victoria
Ghanshyam Mann965cd722022-05-27 15:20:13 -0500155 testing. To run on those stable branches that are using tempest
156 26.1.0 (which is set in the devstack stackrc file), we must
157 use cinder-tempest-plugin compatible version 1.3.0.
Ghanshyam Mann9d89d4e2022-05-25 12:21:18 -0500158 branches:
Ghanshyam Mann9d89d4e2022-05-25 12:21:18 -0500159 - stable/victoria
Ghanshyam Mannfc98b282022-01-20 21:10:59 -0600160 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
161 roles:
162 - zuul: opendev.org/openstack/cinderlib
163 required-projects:
164 - opendev.org/openstack/cinderlib
165 - name: opendev.org/openstack/cinder-tempest-plugin
166 override-checkout: 1.3.0
167 run: playbooks/tempest-and-cinderlib-run.yaml
168 # Required to collect the tox-based logs of the cinderlib functional tests
169 post-run: playbooks/post-cinderlib.yaml
170 vars:
171 fetch_subunit_output_additional_dirs:
172 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
173 tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-exclude-list.txt'
174
175- job:
176 name: cinder-tempest-plugin-lvm-barbican-base
177 description: |
178 This is a base job for lvm with lio & tgt targets
Brian Rosmaita6b7ddd32022-11-02 18:12:43 -0400179 for stable/train and stable/ussuri testing.
180 To run on those stable branches that are using tempest
181 26.1.0 (which is set in the devstack stackrc file), we must
182 use cinder-tempest-plugin compatible version 1.3.0.
183 We no longer test cinderlib because it's EOL on these branches.
184 branches:
185 - stable/train
186 - stable/ussuri
187 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
188 required-projects:
189 - opendev.org/openstack/cinderlib
190 - name: opendev.org/openstack/cinder-tempest-plugin
191 override-checkout: 1.3.0
192 vars:
193 tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-exclude-list.txt'
194
195- job:
196 name: cinder-tempest-plugin-lvm-barbican-base
197 description: |
198 This is a base job for lvm with lio & tgt targets
Luigi Toscano1370db42021-03-03 21:31:11 +0100199 branches: ^(?=stable/(ocata|pike|queens|rocky|stein)).*$
200 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
Luigi Toscanoeba85542021-06-28 17:31:59 +0200201 required-projects:
202 - name: opendev.org/openstack/cinder-tempest-plugin
203 override-checkout: stein-last
Luigi Toscano7e297882021-04-20 17:04:12 +0200204 vars:
205 tempest_test_blacklist: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-blacklist.txt'
Luigi Toscano1370db42021-03-03 21:31:11 +0100206
207- job:
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000208 name: cinder-tempest-plugin-cbak-ceph
209 parent: devstack-plugin-ceph-tempest-py3
210 description: |
211 Integration tests that runs with the ceph devstack plugin, py3
212 and enable the backup service.
213 vars:
Brian Rosmaita6e4b53a2022-05-14 12:15:50 -0400214 configure_swap_size: 4096
Luigi Toscanoa571b392020-04-17 19:30:23 +0200215 devstack_local_conf:
216 test-config:
217 $TEMPEST_CONFIG:
218 volume-feature-enabled:
219 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000220 devstack_services:
221 c-bak: true
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500222
Luigi Toscano3d907472021-03-08 10:26:12 +0100223- job:
Ghanshyam Mann35f531d2022-10-15 22:38:23 -0500224 name: cinder-tempest-plugin-cbak-ceph-zed
225 parent: cinder-tempest-plugin-cbak-ceph
226 nodeset: openstack-single-node-focal
227 override-checkout: stable/zed
228
229- job:
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -0500230 name: cinder-tempest-plugin-cbak-ceph-yoga
231 parent: cinder-tempest-plugin-cbak-ceph
232 nodeset: openstack-single-node-focal
233 override-checkout: stable/yoga
234
235- job:
Ghanshyam Mannffd05a72022-01-18 18:48:33 -0600236 name: cinder-tempest-plugin-cbak-ceph-xena
237 parent: cinder-tempest-plugin-cbak-ceph
238 nodeset: openstack-single-node-focal
239 override-checkout: stable/xena
240
241- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500242 name: cinder-tempest-plugin-cbak-ceph-wallaby
243 parent: cinder-tempest-plugin-cbak-ceph
244 nodeset: openstack-single-node-focal
245 override-checkout: stable/wallaby
246
Luigi Toscanoa571b392020-04-17 19:30:23 +0200247# variant for pre-Ussuri branches (no volume revert for Ceph),
248# should this job be used on those branches
249- job:
250 name: cinder-tempest-plugin-cbak-ceph
251 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
252 vars:
253 devstack_local_conf:
254 test-config:
255 $TEMPEST_CONFIG:
256 volume-feature-enabled:
257 volume_revert: False
258
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500259- job:
260 name: cinder-tempest-plugin-lvm-lio-barbican
261 description: |
262 This jobs configures Cinder with LVM, LIO, barbican and
263 runs tempest tests and cinderlib tests.
264 parent: cinder-tempest-plugin-lvm-barbican-base
265 vars:
266 devstack_localrc:
267 CINDER_ISCSI_HELPER: lioadm
268
269- job:
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000270 name: cinder-tempest-plugin-lvm-lio-barbican-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200271 parent: cinder-tempest-plugin-lvm-lio-barbican
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000272 nodeset: devstack-single-node-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200273 description: |
274 This jobs configures Cinder with LVM, LIO, barbican and
Luigi Toscano8515b582022-04-27 16:11:13 +0200275 runs tempest tests and cinderlib tests on CentOS Stream 8.
276
277- job:
278 name: cinder-tempest-plugin-lvm-lio-barbican-centos-9-stream
279 parent: cinder-tempest-plugin-lvm-lio-barbican
280 nodeset: devstack-single-node-centos-9-stream
281 description: |
282 This jobs configures Cinder with LVM, LIO, barbican and
283 runs tempest tests and cinderlib tests on CentOS Stream 9.
Luigi Toscanof1441832020-05-01 19:33:21 +0200284
285- job:
Ade Lee723c3b92022-06-21 15:05:25 -0400286 name: cinder-tempest-plugin-lvm-lio-barbican-fips
287 parent: cinder-tempest-plugin-lvm-lio-barbican-centos-9-stream
288 description: |
289 This job configures Cinder with LVM, LIO, barbican and
290 runs tempest tests and cinderlib tests on CentOS Stream 9
291 under FIPS mode
292 pre-run: playbooks/enable-fips.yaml
293 vars:
294 configure_swap_size: 4096
295 nslookup_target: 'opendev.org'
296 tempest_exclude_regex: 'test_encrypted_cinder_volumes_cryptsetup'
297
298- job:
Gorka Eguileor87d48022023-01-18 10:23:34 +0100299 name: cinder-tempest-plugin-lvm-nvmet-barbican
300 description: |
301 This jobs configures Cinder with LVM, nvmet, barbican and
302 runs tempest tests and cinderlib tests. nvmet is
303 configured to use the new connection information format,
304 NVMe-oF native multipathing, and sharing the NVMe-oF
305 namespace for all the connections to the same node.
306 # TODO: switch to cinder-tempest-plugin-lvm-barbican-base
307 # when cinderlib support for NVMe is fixed
308 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
309 pre-run: playbooks/install-multipath.yaml
310 vars:
311 devstack_localrc:
312 CINDER_TARGET_HELPER: nvmet
313 CINDER_TARGET_PROTOCOL: nvmet_tcp
314 TEMPEST_STORAGE_PROTOCOL: nvmeof
315 devstack_local_conf:
316 test-config:
317 $TEMPEST_CONFIG:
318 volume-feature-enabled:
319 # NotImplementedError: Revert volume to snapshot not implemented for thin LVM.
320 volume_revert: False
321 post-config:
322 $NOVA_CONF:
323 libvirt:
324 volume_use_multipath: true
325 $CINDER_CONF:
326 lvmdriver-1:
327 nvmeof_conn_info_version: 2
328 lvm_share_target: true
329 target_secondary_ip_addresses: 127.0.0.1
330 use_multipath_for_image_xfer: true
331
332- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500333 name: cinder-tempest-plugin-lvm-tgt-barbican
334 description: |
335 This jobs configures Cinder with LVM, tgt, barbican and
336 runs tempest tests and cinderlib tests.
337 parent: cinder-tempest-plugin-lvm-barbican-base
Lee Yarwood1ee1efc2021-03-10 09:34:31 +0000338 vars:
339 devstack_localrc:
340 CINDER_ISCSI_HELPER: tgtadm
Ghanshyam Mann93621532020-05-05 18:47:12 -0500341
342- job:
Hironori Shiina207d6672021-01-22 13:25:03 -0500343 name: cinder-tempest-plugin-cbak-s3
344 parent: cinder-tempest-plugin-basic
345 description: |
346 Integration tests that runs with the s3 backup driver with
347 Swift S3 API.
348 vars:
349 devstack_localrc:
350 CINDER_BACKUP_DRIVER: 's3_swift'
351 devstack_services:
352 c-bak: true
353 s3api: true
354 # Workaround: TLS proxy seems to cause S3 signature mismatch.
355 tls-proxy: false
356 tempest_test_regex: '(test_volume_backup|test_volumes_backup|test_snapshot_backup)'
357- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500358 name: cinder-tempest-plugin-basic
359 parent: devstack-tempest
360 description: |
361 Cinder tempest plugin tests job which run only cinder-tempest-plugin
362 tests.
363 required-projects:
364 - opendev.org/openstack/cinder-tempest-plugin
365 vars:
366 devstack_localrc:
367 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
368 tox_envlist: all
369 tempest_test_regex: cinder_tempest_plugin
370 tempest_plugins:
371 - cinder-tempest-plugin
372 irrelevant-files:
373 - ^.*\.rst$
374 - ^doc/.*$
375 - ^releasenotes/.*$
376
377- job:
Ghanshyam Mann35f531d2022-10-15 22:38:23 -0500378 name: cinder-tempest-plugin-basic-zed
379 parent: cinder-tempest-plugin-basic
380 nodeset: openstack-single-node-focal
381 override-checkout: stable/zed
382
383- job:
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -0500384 name: cinder-tempest-plugin-basic-yoga
385 parent: cinder-tempest-plugin-basic
386 nodeset: openstack-single-node-focal
387 override-checkout: stable/yoga
388
389- job:
Ghanshyam Mannffd05a72022-01-18 18:48:33 -0600390 name: cinder-tempest-plugin-basic-xena
391 parent: cinder-tempest-plugin-basic
392 nodeset: openstack-single-node-focal
393 override-checkout: stable/xena