blob: 6bbcd1b4683382b46189cfa0828f257b5cc8b9a5 [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
Lee Yarwood103c2f72021-01-21 15:38:44 +000018 - nova-ceph-multistore:
19 voting: false
Sofia Enriquezf44ff142020-04-03 20:04:22 +000020 - cinder-tempest-plugin-cbak-ceph
Hironori Shiina207d6672021-01-22 13:25:03 -050021 - cinder-tempest-plugin-cbak-s3
Ghanshyam Mann965cd722022-05-27 15:20:13 -050022 # As per the Tempest "Stable Branch Support Policy", Tempest will only
23 # support the "Maintained" stable branches and not the "Extended Maintained"
24 # branches. That is what we need to do for all tempest plugins. Only jobs
25 # for the current releasable ("Maintained") stable branches should be listed
26 # here.
Ghanshyam Mann35f531d2022-10-15 22:38:23 -050027 - cinder-tempest-plugin-basic-zed
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -050028 - cinder-tempest-plugin-basic-yoga
Ghanshyam Mannffd05a72022-01-18 18:48:33 -060029 - cinder-tempest-plugin-basic-xena
Luigi Toscano2cbd0422023-03-13 14:50:26 +010030 - cinder-tempest-plugin-protection-functional
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010031 gate:
32 jobs:
33 - cinder-tempest-plugin-lvm-lio-barbican
Brian Rosmaitae5ae1ed2022-12-21 08:53:24 -050034 # FIXME: no sense running a non-voting gate job. See comment above.
35 # - cinder-tempest-plugin-lvm-tgt-barbican
Sofia Enriquezf44ff142020-04-03 20:04:22 +000036 - cinder-tempest-plugin-cbak-ceph
Luigi Toscano3d907472021-03-08 10:26:12 +010037 experimental:
38 jobs:
Ghanshyam Mann35f531d2022-10-15 22:38:23 -050039 - cinder-tempest-plugin-cbak-ceph-zed
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -050040 - cinder-tempest-plugin-cbak-ceph-yoga
Ghanshyam Mannffd05a72022-01-18 18:48:33 -060041 - cinder-tempest-plugin-cbak-ceph-xena
Chandan Kumar23e5b632018-01-04 23:36:43 +053042
43- job:
Lance Bragstadd3fddec2021-02-16 16:27:13 +000044 name: cinder-tempest-plugin-protection-functional
45 parent: devstack-tempest
46 required-projects:
47 - opendev.org/openstack/cinder-tempest-plugin
48 - opendev.org/openstack/cinder
49 vars:
50 tox_envlist: all
51 tempest_test_regex: 'cinder_tempest_plugin.rbac'
52 devstack_local_conf:
53 test-config:
54 $CINDER_CONF:
55 oslo_policy:
56 enforce_new_defaults: True
57 $TEMPEST_CONFIG:
58 enforce_scope:
59 cinder: True
60 tempest_plugins:
61 - cinder-tempest-plugin
62
63- job:
whoami-rajat6dc9a2f2021-05-18 07:01:33 -040064 name: cinder-tempest-plugin-lvm-multiattach
65 description: |
66 This enables multiattach tests along with standard tempest tests
67 parent: devstack-tempest
68 required-projects:
69 - opendev.org/openstack/tempest
70 - opendev.org/openstack/cinder-tempest-plugin
71 - opendev.org/openstack/cinder
72 vars:
73 tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))'
74 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 -070075 # Temporarily exclude TestMultiAttachVolumeSwap until LP bug #1980816 is resolved.
76 tempest_exclude_regex: 'TestMultiAttachVolumeSwap'
whoami-rajat6dc9a2f2021-05-18 07:01:33 -040077 tox_envlist: all
78 devstack_localrc:
79 ENABLE_VOLUME_MULTIATTACH: true
80 tempest_plugins:
81 - cinder-tempest-plugin
82 irrelevant-files:
83 - ^.*\.rst$
84 - ^doc/.*$
85 - ^releasenotes/.*$
Eric Harneyd0e5b912023-05-24 10:06:07 -040086 timeout: 10800
whoami-rajat6dc9a2f2021-05-18 07:01:33 -040087
88- job:
Luigi Toscano1370db42021-03-03 21:31:11 +010089 name: cinder-tempest-plugin-lvm-barbican-base-abstract
Chandan Kumar23e5b632018-01-04 23:36:43 +053090 description: |
Eric Harneyfb18e1a2018-01-24 16:14:13 -050091 This is a base job for lvm with lio & tgt targets
Chandan Kumar23e5b632018-01-04 23:36:43 +053092 parent: devstack-tempest
Luigi Toscano1370db42021-03-03 21:31:11 +010093 abstract: true
Luigi Toscanoa571b392020-04-17 19:30:23 +020094 timeout: 10800
Chandan Kumar23e5b632018-01-04 23:36:43 +053095 required-projects:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010096 - opendev.org/openstack/barbican
97 - opendev.org/openstack/tempest
98 - opendev.org/openstack/cinder-tempest-plugin
99 - opendev.org/openstack/cinder
Luigi Toscanoc6215bd2020-02-21 12:42:58 +0100100 host-vars:
101 controller:
102 devstack_plugins:
103 barbican: https://opendev.org/openstack/barbican
Chandan Kumar23e5b632018-01-04 23:36:43 +0530104 vars:
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000105 tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))'
Doug Hellmann4a63cd52018-09-09 05:49:23 -0400106 tox_envlist: all
Chandan Kumar23e5b632018-01-04 23:36:43 +0530107 devstack_localrc:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +0100108 CINDER_LVM_TYPE: thin
109 CINDER_COORDINATION_URL: 'file://\$state_path'
Luigi Toscanoa571b392020-04-17 19:30:23 +0200110 devstack_local_conf:
111 test-config:
112 $TEMPEST_CONFIG:
Luigi Toscano5d7847c2021-02-25 22:16:32 +0100113 auth:
114 # FIXME: 'creator' should be re-added by the barbican devstack plugin
115 # but the value below override everything.
116 tempest_roles: member,creator
Brian Rosmaita0587ca62022-05-13 22:02:40 -0400117 volume:
118 build_timeout: 300
Luigi Toscanoa571b392020-04-17 19:30:23 +0200119 volume-feature-enabled:
120 volume_revert: True
Chandan Kumar23e5b632018-01-04 23:36:43 +0530121 devstack_services:
122 barbican: true
Luigi Toscanoc6215bd2020-02-21 12:42:58 +0100123 tempest_plugins:
124 - cinder-tempest-plugin
Chandan Kumar23e5b632018-01-04 23:36:43 +0530125 irrelevant-files:
126 - ^.*\.rst$
127 - ^doc/.*$
128 - ^releasenotes/.*$
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000129
130- job:
Luigi Toscano1370db42021-03-03 21:31:11 +0100131 name: cinder-tempest-plugin-lvm-barbican-base
132 description: |
133 This is a base job for lvm with lio & tgt targets
134 with cinderlib tests.
Ghanshyam Mann9d89d4e2022-05-25 12:21:18 -0500135 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train|ussuri|victoria)).*$
Luigi Toscano1370db42021-03-03 21:31:11 +0100136 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
137 roles:
138 - zuul: opendev.org/openstack/cinderlib
139 required-projects:
140 - opendev.org/openstack/cinderlib
141 run: playbooks/tempest-and-cinderlib-run.yaml
142 # Required to collect the tox-based logs of the cinderlib functional tests
143 post-run: playbooks/post-cinderlib.yaml
144 vars:
145 fetch_subunit_output_additional_dirs:
146 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
Luigi Toscano7e297882021-04-20 17:04:12 +0200147 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 +0100148
149- job:
150 name: cinder-tempest-plugin-lvm-barbican-base
151 description: |
152 This is a base job for lvm with lio & tgt targets
Brian Rosmaita6b7ddd32022-11-02 18:12:43 -0400153 with cinderlib tests to run on stable/victoria
Ghanshyam Mann965cd722022-05-27 15:20:13 -0500154 testing. To run on those stable branches that are using tempest
155 26.1.0 (which is set in the devstack stackrc file), we must
156 use cinder-tempest-plugin compatible version 1.3.0.
Ghanshyam Mann9d89d4e2022-05-25 12:21:18 -0500157 branches:
Ghanshyam Mann9d89d4e2022-05-25 12:21:18 -0500158 - stable/victoria
Ghanshyam Mannfc98b282022-01-20 21:10:59 -0600159 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
160 roles:
161 - zuul: opendev.org/openstack/cinderlib
162 required-projects:
163 - opendev.org/openstack/cinderlib
164 - name: opendev.org/openstack/cinder-tempest-plugin
165 override-checkout: 1.3.0
166 run: playbooks/tempest-and-cinderlib-run.yaml
167 # Required to collect the tox-based logs of the cinderlib functional tests
168 post-run: playbooks/post-cinderlib.yaml
169 vars:
170 fetch_subunit_output_additional_dirs:
171 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
172 tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-exclude-list.txt'
173
174- job:
175 name: cinder-tempest-plugin-lvm-barbican-base
176 description: |
177 This is a base job for lvm with lio & tgt targets
Brian Rosmaita6b7ddd32022-11-02 18:12:43 -0400178 for stable/train and stable/ussuri testing.
179 To run on those stable branches that are using tempest
180 26.1.0 (which is set in the devstack stackrc file), we must
181 use cinder-tempest-plugin compatible version 1.3.0.
182 We no longer test cinderlib because it's EOL on these branches.
183 branches:
184 - stable/train
185 - stable/ussuri
186 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
187 required-projects:
188 - opendev.org/openstack/cinderlib
189 - name: opendev.org/openstack/cinder-tempest-plugin
190 override-checkout: 1.3.0
191 vars:
192 tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-exclude-list.txt'
193
194- job:
195 name: cinder-tempest-plugin-lvm-barbican-base
196 description: |
197 This is a base job for lvm with lio & tgt targets
Luigi Toscano1370db42021-03-03 21:31:11 +0100198 branches: ^(?=stable/(ocata|pike|queens|rocky|stein)).*$
199 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
Luigi Toscanoeba85542021-06-28 17:31:59 +0200200 required-projects:
201 - name: opendev.org/openstack/cinder-tempest-plugin
202 override-checkout: stein-last
Luigi Toscano7e297882021-04-20 17:04:12 +0200203 vars:
204 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 +0100205
206- job:
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000207 name: cinder-tempest-plugin-cbak-ceph
208 parent: devstack-plugin-ceph-tempest-py3
209 description: |
210 Integration tests that runs with the ceph devstack plugin, py3
211 and enable the backup service.
212 vars:
Brian Rosmaita6e4b53a2022-05-14 12:15:50 -0400213 configure_swap_size: 4096
Luigi Toscanoa571b392020-04-17 19:30:23 +0200214 devstack_local_conf:
215 test-config:
216 $TEMPEST_CONFIG:
217 volume-feature-enabled:
218 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000219 devstack_services:
220 c-bak: true
Eric Harney310228c2023-03-09 14:11:34 -0500221 devstack_localrc:
222 CINDER_QUOTA_VOLUMES: 25
Eric Harneyd0e5b912023-05-24 10:06:07 -0400223 timeout: 10800
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500224
Luigi Toscano3d907472021-03-08 10:26:12 +0100225- job:
Ghanshyam Mann35f531d2022-10-15 22:38:23 -0500226 name: cinder-tempest-plugin-cbak-ceph-zed
227 parent: cinder-tempest-plugin-cbak-ceph
228 nodeset: openstack-single-node-focal
229 override-checkout: stable/zed
230
231- job:
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -0500232 name: cinder-tempest-plugin-cbak-ceph-yoga
233 parent: cinder-tempest-plugin-cbak-ceph
234 nodeset: openstack-single-node-focal
235 override-checkout: stable/yoga
236
237- job:
Ghanshyam Mannffd05a72022-01-18 18:48:33 -0600238 name: cinder-tempest-plugin-cbak-ceph-xena
239 parent: cinder-tempest-plugin-cbak-ceph
240 nodeset: openstack-single-node-focal
241 override-checkout: stable/xena
242
243- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500244 name: cinder-tempest-plugin-cbak-ceph-wallaby
245 parent: cinder-tempest-plugin-cbak-ceph
246 nodeset: openstack-single-node-focal
247 override-checkout: stable/wallaby
248
Luigi Toscanoa571b392020-04-17 19:30:23 +0200249# variant for pre-Ussuri branches (no volume revert for Ceph),
250# should this job be used on those branches
251- job:
252 name: cinder-tempest-plugin-cbak-ceph
253 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
254 vars:
255 devstack_local_conf:
256 test-config:
257 $TEMPEST_CONFIG:
258 volume-feature-enabled:
259 volume_revert: False
260
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500261- job:
262 name: cinder-tempest-plugin-lvm-lio-barbican
263 description: |
264 This jobs configures Cinder with LVM, LIO, barbican and
265 runs tempest tests and cinderlib tests.
266 parent: cinder-tempest-plugin-lvm-barbican-base
267 vars:
268 devstack_localrc:
269 CINDER_ISCSI_HELPER: lioadm
270
271- job:
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000272 name: cinder-tempest-plugin-lvm-lio-barbican-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200273 parent: cinder-tempest-plugin-lvm-lio-barbican
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000274 nodeset: devstack-single-node-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200275 description: |
276 This jobs configures Cinder with LVM, LIO, barbican and
Luigi Toscano8515b582022-04-27 16:11:13 +0200277 runs tempest tests and cinderlib tests on CentOS Stream 8.
278
279- job:
280 name: cinder-tempest-plugin-lvm-lio-barbican-centos-9-stream
281 parent: cinder-tempest-plugin-lvm-lio-barbican
282 nodeset: devstack-single-node-centos-9-stream
283 description: |
284 This jobs configures Cinder with LVM, LIO, barbican and
285 runs tempest tests and cinderlib tests on CentOS Stream 9.
Luigi Toscanof1441832020-05-01 19:33:21 +0200286
287- job:
Ade Lee723c3b92022-06-21 15:05:25 -0400288 name: cinder-tempest-plugin-lvm-lio-barbican-fips
289 parent: cinder-tempest-plugin-lvm-lio-barbican-centos-9-stream
290 description: |
291 This job configures Cinder with LVM, LIO, barbican and
292 runs tempest tests and cinderlib tests on CentOS Stream 9
293 under FIPS mode
294 pre-run: playbooks/enable-fips.yaml
295 vars:
296 configure_swap_size: 4096
297 nslookup_target: 'opendev.org'
298 tempest_exclude_regex: 'test_encrypted_cinder_volumes_cryptsetup'
299
300- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500301 name: cinder-tempest-plugin-lvm-tgt-barbican
302 description: |
303 This jobs configures Cinder with LVM, tgt, barbican and
304 runs tempest tests and cinderlib tests.
305 parent: cinder-tempest-plugin-lvm-barbican-base
Lee Yarwood1ee1efc2021-03-10 09:34:31 +0000306 vars:
307 devstack_localrc:
308 CINDER_ISCSI_HELPER: tgtadm
Ghanshyam Mann93621532020-05-05 18:47:12 -0500309
310- job:
Hironori Shiina207d6672021-01-22 13:25:03 -0500311 name: cinder-tempest-plugin-cbak-s3
312 parent: cinder-tempest-plugin-basic
313 description: |
314 Integration tests that runs with the s3 backup driver with
315 Swift S3 API.
316 vars:
317 devstack_localrc:
318 CINDER_BACKUP_DRIVER: 's3_swift'
319 devstack_services:
320 c-bak: true
321 s3api: true
322 # Workaround: TLS proxy seems to cause S3 signature mismatch.
323 tls-proxy: false
324 tempest_test_regex: '(test_volume_backup|test_volumes_backup|test_snapshot_backup)'
325- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500326 name: cinder-tempest-plugin-basic
327 parent: devstack-tempest
328 description: |
329 Cinder tempest plugin tests job which run only cinder-tempest-plugin
330 tests.
331 required-projects:
332 - opendev.org/openstack/cinder-tempest-plugin
333 vars:
334 devstack_localrc:
335 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
336 tox_envlist: all
337 tempest_test_regex: cinder_tempest_plugin
338 tempest_plugins:
339 - cinder-tempest-plugin
340 irrelevant-files:
341 - ^.*\.rst$
342 - ^doc/.*$
343 - ^releasenotes/.*$
344
345- job:
Ghanshyam Mann35f531d2022-10-15 22:38:23 -0500346 name: cinder-tempest-plugin-basic-zed
347 parent: cinder-tempest-plugin-basic
348 nodeset: openstack-single-node-focal
349 override-checkout: stable/zed
350
351- job:
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -0500352 name: cinder-tempest-plugin-basic-yoga
353 parent: cinder-tempest-plugin-basic
354 nodeset: openstack-single-node-focal
355 override-checkout: stable/yoga
356
357- job:
Ghanshyam Mannffd05a72022-01-18 18:48:33 -0600358 name: cinder-tempest-plugin-basic-xena
359 parent: cinder-tempest-plugin-basic
360 nodeset: openstack-single-node-focal
361 override-checkout: stable/xena