blob: 6bdce9eab7c44285a645b4e1929298f7497cfc0d [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.
Eric Harneyedd61112023-05-24 10:50:13 -040076 # Other excluded tests are tests that are somewhat time consuming but unrelated
77 # to multi-attach testing.
78 tempest_exclude_regex: 'TestMultiAttachVolumeSwap|^tempest.api.image|^tempest.api.object_storage|^tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_boot_server_from_encrypted|^tempest.scenario.test_server_advanced_ops|^tempest.scenario.test_unified_limits'
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/.*$
Eric Harneyd0e5b912023-05-24 10:06:07 -040088 timeout: 10800
whoami-rajat6dc9a2f2021-05-18 07:01:33 -040089
90- job:
Luigi Toscano1370db42021-03-03 21:31:11 +010091 name: cinder-tempest-plugin-lvm-barbican-base-abstract
Chandan Kumar23e5b632018-01-04 23:36:43 +053092 description: |
Eric Harneyfb18e1a2018-01-24 16:14:13 -050093 This is a base job for lvm with lio & tgt targets
Chandan Kumar23e5b632018-01-04 23:36:43 +053094 parent: devstack-tempest
Luigi Toscano1370db42021-03-03 21:31:11 +010095 abstract: true
Luigi Toscanoa571b392020-04-17 19:30:23 +020096 timeout: 10800
Chandan Kumar23e5b632018-01-04 23:36:43 +053097 required-projects:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010098 - opendev.org/openstack/barbican
99 - opendev.org/openstack/tempest
100 - opendev.org/openstack/cinder-tempest-plugin
101 - opendev.org/openstack/cinder
Luigi Toscanoc6215bd2020-02-21 12:42:58 +0100102 host-vars:
103 controller:
104 devstack_plugins:
105 barbican: https://opendev.org/openstack/barbican
Chandan Kumar23e5b632018-01-04 23:36:43 +0530106 vars:
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000107 tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))'
Doug Hellmann4a63cd52018-09-09 05:49:23 -0400108 tox_envlist: all
Chandan Kumar23e5b632018-01-04 23:36:43 +0530109 devstack_localrc:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +0100110 CINDER_LVM_TYPE: thin
111 CINDER_COORDINATION_URL: 'file://\$state_path'
Luigi Toscanoa571b392020-04-17 19:30:23 +0200112 devstack_local_conf:
113 test-config:
114 $TEMPEST_CONFIG:
Luigi Toscano5d7847c2021-02-25 22:16:32 +0100115 auth:
116 # FIXME: 'creator' should be re-added by the barbican devstack plugin
117 # but the value below override everything.
118 tempest_roles: member,creator
Brian Rosmaita0587ca62022-05-13 22:02:40 -0400119 volume:
120 build_timeout: 300
Luigi Toscanoa571b392020-04-17 19:30:23 +0200121 volume-feature-enabled:
122 volume_revert: True
Chandan Kumar23e5b632018-01-04 23:36:43 +0530123 devstack_services:
124 barbican: true
Luigi Toscanoc6215bd2020-02-21 12:42:58 +0100125 tempest_plugins:
126 - cinder-tempest-plugin
Chandan Kumar23e5b632018-01-04 23:36:43 +0530127 irrelevant-files:
128 - ^.*\.rst$
129 - ^doc/.*$
130 - ^releasenotes/.*$
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000131
132- job:
Luigi Toscano1370db42021-03-03 21:31:11 +0100133 name: cinder-tempest-plugin-lvm-barbican-base
134 description: |
135 This is a base job for lvm with lio & tgt targets
136 with cinderlib tests.
Alexander Deiter9fd78d52023-06-09 14:26:37 +0000137 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train|ussuri|victoria|wallaby)).*$
Luigi Toscano1370db42021-03-03 21:31:11 +0100138 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
139 roles:
140 - zuul: opendev.org/openstack/cinderlib
141 required-projects:
142 - opendev.org/openstack/cinderlib
143 run: playbooks/tempest-and-cinderlib-run.yaml
144 # Required to collect the tox-based logs of the cinderlib functional tests
145 post-run: playbooks/post-cinderlib.yaml
146 vars:
147 fetch_subunit_output_additional_dirs:
148 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
Luigi Toscano7e297882021-04-20 17:04:12 +0200149 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 +0100150
151- job:
152 name: cinder-tempest-plugin-lvm-barbican-base
153 description: |
154 This is a base job for lvm with lio & tgt targets
Alexander Deiter9fd78d52023-06-09 14:26:37 +0000155 with cinderlib tests to run on stable/wallaby
156 testing. To run on those stable branches that are using tempest
157 29.0.0 (which is set in the devstack stackrc file), we must
158 use cinder-tempest-plugin compatible version 1.8.0.
159 branches:
160 - stable/wallaby
161 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
162 roles:
163 - zuul: opendev.org/openstack/cinderlib
164 required-projects:
165 - opendev.org/openstack/cinderlib
166 - name: opendev.org/openstack/cinder-tempest-plugin
167 override-checkout: 1.8.0
168 run: playbooks/tempest-and-cinderlib-run.yaml
169 # Required to collect the tox-based logs of the cinderlib functional tests
170 post-run: playbooks/post-cinderlib.yaml
171 vars:
172 fetch_subunit_output_additional_dirs:
173 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
174 tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-exclude-list.txt'
175
176- job:
177 name: cinder-tempest-plugin-lvm-barbican-base
178 description: |
179 This is a base job for lvm with lio & tgt targets
Brian Rosmaita6b7ddd32022-11-02 18:12:43 -0400180 with cinderlib tests to run on stable/victoria
Ghanshyam Mann965cd722022-05-27 15:20:13 -0500181 testing. To run on those stable branches that are using tempest
182 26.1.0 (which is set in the devstack stackrc file), we must
183 use cinder-tempest-plugin compatible version 1.3.0.
Ghanshyam Mann9d89d4e2022-05-25 12:21:18 -0500184 branches:
Ghanshyam Mann9d89d4e2022-05-25 12:21:18 -0500185 - stable/victoria
Ghanshyam Mannfc98b282022-01-20 21:10:59 -0600186 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
187 roles:
188 - zuul: opendev.org/openstack/cinderlib
189 required-projects:
190 - opendev.org/openstack/cinderlib
191 - name: opendev.org/openstack/cinder-tempest-plugin
192 override-checkout: 1.3.0
193 run: playbooks/tempest-and-cinderlib-run.yaml
194 # Required to collect the tox-based logs of the cinderlib functional tests
195 post-run: playbooks/post-cinderlib.yaml
196 vars:
197 fetch_subunit_output_additional_dirs:
198 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
199 tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-exclude-list.txt'
200
201- job:
202 name: cinder-tempest-plugin-lvm-barbican-base
203 description: |
204 This is a base job for lvm with lio & tgt targets
Brian Rosmaita6b7ddd32022-11-02 18:12:43 -0400205 for stable/train and stable/ussuri testing.
206 To run on those stable branches that are using tempest
207 26.1.0 (which is set in the devstack stackrc file), we must
208 use cinder-tempest-plugin compatible version 1.3.0.
209 We no longer test cinderlib because it's EOL on these branches.
210 branches:
211 - stable/train
212 - stable/ussuri
213 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
214 required-projects:
215 - opendev.org/openstack/cinderlib
216 - name: opendev.org/openstack/cinder-tempest-plugin
217 override-checkout: 1.3.0
218 vars:
219 tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-exclude-list.txt'
220
221- job:
222 name: cinder-tempest-plugin-lvm-barbican-base
223 description: |
224 This is a base job for lvm with lio & tgt targets
Luigi Toscano1370db42021-03-03 21:31:11 +0100225 branches: ^(?=stable/(ocata|pike|queens|rocky|stein)).*$
226 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
Luigi Toscanoeba85542021-06-28 17:31:59 +0200227 required-projects:
228 - name: opendev.org/openstack/cinder-tempest-plugin
229 override-checkout: stein-last
Luigi Toscano7e297882021-04-20 17:04:12 +0200230 vars:
231 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 +0100232
233- job:
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000234 name: cinder-tempest-plugin-cbak-ceph
235 parent: devstack-plugin-ceph-tempest-py3
236 description: |
237 Integration tests that runs with the ceph devstack plugin, py3
238 and enable the backup service.
239 vars:
Brian Rosmaita6e4b53a2022-05-14 12:15:50 -0400240 configure_swap_size: 4096
Luigi Toscanoa571b392020-04-17 19:30:23 +0200241 devstack_local_conf:
242 test-config:
243 $TEMPEST_CONFIG:
244 volume-feature-enabled:
245 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000246 devstack_services:
247 c-bak: true
Eric Harney310228c2023-03-09 14:11:34 -0500248 devstack_localrc:
249 CINDER_QUOTA_VOLUMES: 25
Eric Harneyd0e5b912023-05-24 10:06:07 -0400250 timeout: 10800
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500251
Luigi Toscano3d907472021-03-08 10:26:12 +0100252- job:
Ghanshyam Mann35f531d2022-10-15 22:38:23 -0500253 name: cinder-tempest-plugin-cbak-ceph-zed
254 parent: cinder-tempest-plugin-cbak-ceph
255 nodeset: openstack-single-node-focal
256 override-checkout: stable/zed
257
258- job:
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -0500259 name: cinder-tempest-plugin-cbak-ceph-yoga
260 parent: cinder-tempest-plugin-cbak-ceph
261 nodeset: openstack-single-node-focal
262 override-checkout: stable/yoga
263
264- job:
Ghanshyam Mannffd05a72022-01-18 18:48:33 -0600265 name: cinder-tempest-plugin-cbak-ceph-xena
266 parent: cinder-tempest-plugin-cbak-ceph
267 nodeset: openstack-single-node-focal
268 override-checkout: stable/xena
269
270- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500271 name: cinder-tempest-plugin-cbak-ceph-wallaby
272 parent: cinder-tempest-plugin-cbak-ceph
273 nodeset: openstack-single-node-focal
274 override-checkout: stable/wallaby
275
Luigi Toscanoa571b392020-04-17 19:30:23 +0200276# variant for pre-Ussuri branches (no volume revert for Ceph),
277# should this job be used on those branches
278- job:
279 name: cinder-tempest-plugin-cbak-ceph
280 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
281 vars:
282 devstack_local_conf:
283 test-config:
284 $TEMPEST_CONFIG:
285 volume-feature-enabled:
286 volume_revert: False
287
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500288- job:
289 name: cinder-tempest-plugin-lvm-lio-barbican
290 description: |
291 This jobs configures Cinder with LVM, LIO, barbican and
292 runs tempest tests and cinderlib tests.
293 parent: cinder-tempest-plugin-lvm-barbican-base
294 vars:
295 devstack_localrc:
296 CINDER_ISCSI_HELPER: lioadm
297
298- job:
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000299 name: cinder-tempest-plugin-lvm-lio-barbican-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200300 parent: cinder-tempest-plugin-lvm-lio-barbican
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000301 nodeset: devstack-single-node-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200302 description: |
303 This jobs configures Cinder with LVM, LIO, barbican and
Luigi Toscano8515b582022-04-27 16:11:13 +0200304 runs tempest tests and cinderlib tests on CentOS Stream 8.
305
306- job:
307 name: cinder-tempest-plugin-lvm-lio-barbican-centos-9-stream
308 parent: cinder-tempest-plugin-lvm-lio-barbican
309 nodeset: devstack-single-node-centos-9-stream
310 description: |
311 This jobs configures Cinder with LVM, LIO, barbican and
312 runs tempest tests and cinderlib tests on CentOS Stream 9.
Luigi Toscanof1441832020-05-01 19:33:21 +0200313
314- job:
Ade Lee723c3b92022-06-21 15:05:25 -0400315 name: cinder-tempest-plugin-lvm-lio-barbican-fips
316 parent: cinder-tempest-plugin-lvm-lio-barbican-centos-9-stream
317 description: |
318 This job configures Cinder with LVM, LIO, barbican and
319 runs tempest tests and cinderlib tests on CentOS Stream 9
320 under FIPS mode
321 pre-run: playbooks/enable-fips.yaml
322 vars:
323 configure_swap_size: 4096
324 nslookup_target: 'opendev.org'
325 tempest_exclude_regex: 'test_encrypted_cinder_volumes_cryptsetup'
326
327- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500328 name: cinder-tempest-plugin-lvm-tgt-barbican
329 description: |
330 This jobs configures Cinder with LVM, tgt, barbican and
331 runs tempest tests and cinderlib tests.
332 parent: cinder-tempest-plugin-lvm-barbican-base
Lee Yarwood1ee1efc2021-03-10 09:34:31 +0000333 vars:
334 devstack_localrc:
335 CINDER_ISCSI_HELPER: tgtadm
Ghanshyam Mann93621532020-05-05 18:47:12 -0500336
337- job:
Hironori Shiina207d6672021-01-22 13:25:03 -0500338 name: cinder-tempest-plugin-cbak-s3
339 parent: cinder-tempest-plugin-basic
340 description: |
341 Integration tests that runs with the s3 backup driver with
342 Swift S3 API.
343 vars:
344 devstack_localrc:
345 CINDER_BACKUP_DRIVER: 's3_swift'
346 devstack_services:
347 c-bak: true
348 s3api: true
349 # Workaround: TLS proxy seems to cause S3 signature mismatch.
350 tls-proxy: false
351 tempest_test_regex: '(test_volume_backup|test_volumes_backup|test_snapshot_backup)'
352- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500353 name: cinder-tempest-plugin-basic
354 parent: devstack-tempest
355 description: |
356 Cinder tempest plugin tests job which run only cinder-tempest-plugin
357 tests.
358 required-projects:
359 - opendev.org/openstack/cinder-tempest-plugin
360 vars:
361 devstack_localrc:
362 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
363 tox_envlist: all
364 tempest_test_regex: cinder_tempest_plugin
365 tempest_plugins:
366 - cinder-tempest-plugin
367 irrelevant-files:
368 - ^.*\.rst$
369 - ^doc/.*$
370 - ^releasenotes/.*$
371
372- job:
Ghanshyam Mann35f531d2022-10-15 22:38:23 -0500373 name: cinder-tempest-plugin-basic-zed
374 parent: cinder-tempest-plugin-basic
375 nodeset: openstack-single-node-focal
376 override-checkout: stable/zed
377
378- job:
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -0500379 name: cinder-tempest-plugin-basic-yoga
380 parent: cinder-tempest-plugin-basic
381 nodeset: openstack-single-node-focal
382 override-checkout: stable/yoga
383
384- job:
Ghanshyam Mannffd05a72022-01-18 18:48:33 -0600385 name: cinder-tempest-plugin-basic-xena
386 parent: cinder-tempest-plugin-basic
387 nodeset: openstack-single-node-focal
388 override-checkout: stable/xena