blob: 51004ce73202c09d48c9163dadb75c815f6e1cb8 [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/.*$
86
87- job:
Luigi Toscano1370db42021-03-03 21:31:11 +010088 name: cinder-tempest-plugin-lvm-barbican-base-abstract
Chandan Kumar23e5b632018-01-04 23:36:43 +053089 description: |
Eric Harneyfb18e1a2018-01-24 16:14:13 -050090 This is a base job for lvm with lio & tgt targets
Chandan Kumar23e5b632018-01-04 23:36:43 +053091 parent: devstack-tempest
Luigi Toscano1370db42021-03-03 21:31:11 +010092 abstract: true
Luigi Toscanoa571b392020-04-17 19:30:23 +020093 timeout: 10800
Chandan Kumar23e5b632018-01-04 23:36:43 +053094 required-projects:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010095 - opendev.org/openstack/barbican
96 - opendev.org/openstack/tempest
97 - opendev.org/openstack/cinder-tempest-plugin
98 - opendev.org/openstack/cinder
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010099 host-vars:
100 controller:
101 devstack_plugins:
102 barbican: https://opendev.org/openstack/barbican
Chandan Kumar23e5b632018-01-04 23:36:43 +0530103 vars:
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000104 tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))'
Doug Hellmann4a63cd52018-09-09 05:49:23 -0400105 tox_envlist: all
Chandan Kumar23e5b632018-01-04 23:36:43 +0530106 devstack_localrc:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +0100107 CINDER_LVM_TYPE: thin
108 CINDER_COORDINATION_URL: 'file://\$state_path'
Luigi Toscanoa571b392020-04-17 19:30:23 +0200109 devstack_local_conf:
110 test-config:
111 $TEMPEST_CONFIG:
Luigi Toscano5d7847c2021-02-25 22:16:32 +0100112 auth:
113 # FIXME: 'creator' should be re-added by the barbican devstack plugin
114 # but the value below override everything.
115 tempest_roles: member,creator
Brian Rosmaita0587ca62022-05-13 22:02:40 -0400116 volume:
117 build_timeout: 300
Luigi Toscanoa571b392020-04-17 19:30:23 +0200118 volume-feature-enabled:
119 volume_revert: True
Chandan Kumar23e5b632018-01-04 23:36:43 +0530120 devstack_services:
121 barbican: true
Luigi Toscanoc6215bd2020-02-21 12:42:58 +0100122 tempest_plugins:
123 - cinder-tempest-plugin
Chandan Kumar23e5b632018-01-04 23:36:43 +0530124 irrelevant-files:
125 - ^.*\.rst$
126 - ^doc/.*$
127 - ^releasenotes/.*$
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000128
129- job:
Luigi Toscano1370db42021-03-03 21:31:11 +0100130 name: cinder-tempest-plugin-lvm-barbican-base
131 description: |
132 This is a base job for lvm with lio & tgt targets
133 with cinderlib tests.
Ghanshyam Mann9d89d4e2022-05-25 12:21:18 -0500134 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train|ussuri|victoria)).*$
Luigi Toscano1370db42021-03-03 21:31:11 +0100135 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
136 roles:
137 - zuul: opendev.org/openstack/cinderlib
138 required-projects:
139 - opendev.org/openstack/cinderlib
140 run: playbooks/tempest-and-cinderlib-run.yaml
141 # Required to collect the tox-based logs of the cinderlib functional tests
142 post-run: playbooks/post-cinderlib.yaml
143 vars:
144 fetch_subunit_output_additional_dirs:
145 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
Luigi Toscano7e297882021-04-20 17:04:12 +0200146 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 +0100147
148- job:
149 name: cinder-tempest-plugin-lvm-barbican-base
150 description: |
151 This is a base job for lvm with lio & tgt targets
Brian Rosmaita6b7ddd32022-11-02 18:12:43 -0400152 with cinderlib tests to run on stable/victoria
Ghanshyam Mann965cd722022-05-27 15:20:13 -0500153 testing. To run on those stable branches that are using tempest
154 26.1.0 (which is set in the devstack stackrc file), we must
155 use cinder-tempest-plugin compatible version 1.3.0.
Ghanshyam Mann9d89d4e2022-05-25 12:21:18 -0500156 branches:
Ghanshyam Mann9d89d4e2022-05-25 12:21:18 -0500157 - stable/victoria
Ghanshyam Mannfc98b282022-01-20 21:10:59 -0600158 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
159 roles:
160 - zuul: opendev.org/openstack/cinderlib
161 required-projects:
162 - opendev.org/openstack/cinderlib
163 - name: opendev.org/openstack/cinder-tempest-plugin
164 override-checkout: 1.3.0
165 run: playbooks/tempest-and-cinderlib-run.yaml
166 # Required to collect the tox-based logs of the cinderlib functional tests
167 post-run: playbooks/post-cinderlib.yaml
168 vars:
169 fetch_subunit_output_additional_dirs:
170 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
171 tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-exclude-list.txt'
172
173- job:
174 name: cinder-tempest-plugin-lvm-barbican-base
175 description: |
176 This is a base job for lvm with lio & tgt targets
Brian Rosmaita6b7ddd32022-11-02 18:12:43 -0400177 for stable/train and stable/ussuri testing.
178 To run on those stable branches that are using tempest
179 26.1.0 (which is set in the devstack stackrc file), we must
180 use cinder-tempest-plugin compatible version 1.3.0.
181 We no longer test cinderlib because it's EOL on these branches.
182 branches:
183 - stable/train
184 - stable/ussuri
185 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
186 required-projects:
187 - opendev.org/openstack/cinderlib
188 - name: opendev.org/openstack/cinder-tempest-plugin
189 override-checkout: 1.3.0
190 vars:
191 tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-exclude-list.txt'
192
193- job:
194 name: cinder-tempest-plugin-lvm-barbican-base
195 description: |
196 This is a base job for lvm with lio & tgt targets
Luigi Toscano1370db42021-03-03 21:31:11 +0100197 branches: ^(?=stable/(ocata|pike|queens|rocky|stein)).*$
198 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
Luigi Toscanoeba85542021-06-28 17:31:59 +0200199 required-projects:
200 - name: opendev.org/openstack/cinder-tempest-plugin
201 override-checkout: stein-last
Luigi Toscano7e297882021-04-20 17:04:12 +0200202 vars:
203 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 +0100204
205- job:
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000206 name: cinder-tempest-plugin-cbak-ceph
207 parent: devstack-plugin-ceph-tempest-py3
208 description: |
209 Integration tests that runs with the ceph devstack plugin, py3
210 and enable the backup service.
211 vars:
Brian Rosmaita6e4b53a2022-05-14 12:15:50 -0400212 configure_swap_size: 4096
Luigi Toscanoa571b392020-04-17 19:30:23 +0200213 devstack_local_conf:
214 test-config:
215 $TEMPEST_CONFIG:
216 volume-feature-enabled:
217 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000218 devstack_services:
219 c-bak: true
Eric Harney310228c2023-03-09 14:11:34 -0500220 devstack_localrc:
221 CINDER_QUOTA_VOLUMES: 25
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:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500299 name: cinder-tempest-plugin-lvm-tgt-barbican
300 description: |
301 This jobs configures Cinder with LVM, tgt, barbican and
302 runs tempest tests and cinderlib tests.
303 parent: cinder-tempest-plugin-lvm-barbican-base
Lee Yarwood1ee1efc2021-03-10 09:34:31 +0000304 vars:
305 devstack_localrc:
306 CINDER_ISCSI_HELPER: tgtadm
Ghanshyam Mann93621532020-05-05 18:47:12 -0500307
308- job:
Hironori Shiina207d6672021-01-22 13:25:03 -0500309 name: cinder-tempest-plugin-cbak-s3
310 parent: cinder-tempest-plugin-basic
311 description: |
312 Integration tests that runs with the s3 backup driver with
313 Swift S3 API.
314 vars:
315 devstack_localrc:
316 CINDER_BACKUP_DRIVER: 's3_swift'
317 devstack_services:
318 c-bak: true
319 s3api: true
320 # Workaround: TLS proxy seems to cause S3 signature mismatch.
321 tls-proxy: false
322 tempest_test_regex: '(test_volume_backup|test_volumes_backup|test_snapshot_backup)'
323- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500324 name: cinder-tempest-plugin-basic
325 parent: devstack-tempest
326 description: |
327 Cinder tempest plugin tests job which run only cinder-tempest-plugin
328 tests.
329 required-projects:
330 - opendev.org/openstack/cinder-tempest-plugin
331 vars:
332 devstack_localrc:
333 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
334 tox_envlist: all
335 tempest_test_regex: cinder_tempest_plugin
336 tempest_plugins:
337 - cinder-tempest-plugin
338 irrelevant-files:
339 - ^.*\.rst$
340 - ^doc/.*$
341 - ^releasenotes/.*$
342
343- job:
Ghanshyam Mann35f531d2022-10-15 22:38:23 -0500344 name: cinder-tempest-plugin-basic-zed
345 parent: cinder-tempest-plugin-basic
346 nodeset: openstack-single-node-focal
347 override-checkout: stable/zed
348
349- job:
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -0500350 name: cinder-tempest-plugin-basic-yoga
351 parent: cinder-tempest-plugin-basic
352 nodeset: openstack-single-node-focal
353 override-checkout: stable/yoga
354
355- job:
Ghanshyam Mannffd05a72022-01-18 18:48:33 -0600356 name: cinder-tempest-plugin-basic-xena
357 parent: cinder-tempest-plugin-basic
358 nodeset: openstack-single-node-focal
359 override-checkout: stable/xena