blob: 01c465ee93732d40fab55e9c65f6b2cf68d48441 [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.
Ghanshyam Mann9d89d4e2022-05-25 12:21:18 -0500137 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train|ussuri|victoria)).*$
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
Brian Rosmaita6b7ddd32022-11-02 18:12:43 -0400155 with cinderlib tests to run on stable/victoria
Ghanshyam Mann965cd722022-05-27 15:20:13 -0500156 testing. To run on those stable branches that are using tempest
157 26.1.0 (which is set in the devstack stackrc file), we must
158 use cinder-tempest-plugin compatible version 1.3.0.
Ghanshyam Mann9d89d4e2022-05-25 12:21:18 -0500159 branches:
Ghanshyam Mann9d89d4e2022-05-25 12:21:18 -0500160 - stable/victoria
Ghanshyam Mannfc98b282022-01-20 21:10:59 -0600161 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.3.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 for stable/train and stable/ussuri testing.
181 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.
184 We no longer test cinderlib because it's EOL on these branches.
185 branches:
186 - stable/train
187 - stable/ussuri
188 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
189 required-projects:
190 - opendev.org/openstack/cinderlib
191 - name: opendev.org/openstack/cinder-tempest-plugin
192 override-checkout: 1.3.0
193 vars:
194 tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-exclude-list.txt'
195
196- job:
197 name: cinder-tempest-plugin-lvm-barbican-base
198 description: |
199 This is a base job for lvm with lio & tgt targets
Luigi Toscano1370db42021-03-03 21:31:11 +0100200 branches: ^(?=stable/(ocata|pike|queens|rocky|stein)).*$
201 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
Luigi Toscanoeba85542021-06-28 17:31:59 +0200202 required-projects:
203 - name: opendev.org/openstack/cinder-tempest-plugin
204 override-checkout: stein-last
Luigi Toscano7e297882021-04-20 17:04:12 +0200205 vars:
206 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 +0100207
208- job:
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000209 name: cinder-tempest-plugin-cbak-ceph
210 parent: devstack-plugin-ceph-tempest-py3
211 description: |
212 Integration tests that runs with the ceph devstack plugin, py3
213 and enable the backup service.
214 vars:
Brian Rosmaita6e4b53a2022-05-14 12:15:50 -0400215 configure_swap_size: 4096
Luigi Toscanoa571b392020-04-17 19:30:23 +0200216 devstack_local_conf:
217 test-config:
218 $TEMPEST_CONFIG:
219 volume-feature-enabled:
220 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000221 devstack_services:
222 c-bak: true
Eric Harney310228c2023-03-09 14:11:34 -0500223 devstack_localrc:
224 CINDER_QUOTA_VOLUMES: 25
Eric Harneyd0e5b912023-05-24 10:06:07 -0400225 timeout: 10800
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500226
Luigi Toscano3d907472021-03-08 10:26:12 +0100227- job:
Ghanshyam Mann35f531d2022-10-15 22:38:23 -0500228 name: cinder-tempest-plugin-cbak-ceph-zed
229 parent: cinder-tempest-plugin-cbak-ceph
230 nodeset: openstack-single-node-focal
231 override-checkout: stable/zed
232
233- job:
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -0500234 name: cinder-tempest-plugin-cbak-ceph-yoga
235 parent: cinder-tempest-plugin-cbak-ceph
236 nodeset: openstack-single-node-focal
237 override-checkout: stable/yoga
238
239- job:
Ghanshyam Mannffd05a72022-01-18 18:48:33 -0600240 name: cinder-tempest-plugin-cbak-ceph-xena
241 parent: cinder-tempest-plugin-cbak-ceph
242 nodeset: openstack-single-node-focal
243 override-checkout: stable/xena
244
245- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500246 name: cinder-tempest-plugin-cbak-ceph-wallaby
247 parent: cinder-tempest-plugin-cbak-ceph
248 nodeset: openstack-single-node-focal
249 override-checkout: stable/wallaby
250
Luigi Toscanoa571b392020-04-17 19:30:23 +0200251# variant for pre-Ussuri branches (no volume revert for Ceph),
252# should this job be used on those branches
253- job:
254 name: cinder-tempest-plugin-cbak-ceph
255 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
256 vars:
257 devstack_local_conf:
258 test-config:
259 $TEMPEST_CONFIG:
260 volume-feature-enabled:
261 volume_revert: False
262
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500263- job:
264 name: cinder-tempest-plugin-lvm-lio-barbican
265 description: |
266 This jobs configures Cinder with LVM, LIO, barbican and
267 runs tempest tests and cinderlib tests.
268 parent: cinder-tempest-plugin-lvm-barbican-base
269 vars:
270 devstack_localrc:
271 CINDER_ISCSI_HELPER: lioadm
272
273- job:
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000274 name: cinder-tempest-plugin-lvm-lio-barbican-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200275 parent: cinder-tempest-plugin-lvm-lio-barbican
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000276 nodeset: devstack-single-node-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200277 description: |
278 This jobs configures Cinder with LVM, LIO, barbican and
Luigi Toscano8515b582022-04-27 16:11:13 +0200279 runs tempest tests and cinderlib tests on CentOS Stream 8.
280
281- job:
282 name: cinder-tempest-plugin-lvm-lio-barbican-centos-9-stream
283 parent: cinder-tempest-plugin-lvm-lio-barbican
284 nodeset: devstack-single-node-centos-9-stream
285 description: |
286 This jobs configures Cinder with LVM, LIO, barbican and
287 runs tempest tests and cinderlib tests on CentOS Stream 9.
Luigi Toscanof1441832020-05-01 19:33:21 +0200288
289- job:
Ade Lee723c3b92022-06-21 15:05:25 -0400290 name: cinder-tempest-plugin-lvm-lio-barbican-fips
291 parent: cinder-tempest-plugin-lvm-lio-barbican-centos-9-stream
292 description: |
293 This job configures Cinder with LVM, LIO, barbican and
294 runs tempest tests and cinderlib tests on CentOS Stream 9
295 under FIPS mode
296 pre-run: playbooks/enable-fips.yaml
297 vars:
298 configure_swap_size: 4096
299 nslookup_target: 'opendev.org'
300 tempest_exclude_regex: 'test_encrypted_cinder_volumes_cryptsetup'
301
302- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500303 name: cinder-tempest-plugin-lvm-tgt-barbican
304 description: |
305 This jobs configures Cinder with LVM, tgt, barbican and
306 runs tempest tests and cinderlib tests.
307 parent: cinder-tempest-plugin-lvm-barbican-base
Lee Yarwood1ee1efc2021-03-10 09:34:31 +0000308 vars:
309 devstack_localrc:
310 CINDER_ISCSI_HELPER: tgtadm
Ghanshyam Mann93621532020-05-05 18:47:12 -0500311
312- job:
Hironori Shiina207d6672021-01-22 13:25:03 -0500313 name: cinder-tempest-plugin-cbak-s3
314 parent: cinder-tempest-plugin-basic
315 description: |
316 Integration tests that runs with the s3 backup driver with
317 Swift S3 API.
318 vars:
319 devstack_localrc:
320 CINDER_BACKUP_DRIVER: 's3_swift'
321 devstack_services:
322 c-bak: true
323 s3api: true
324 # Workaround: TLS proxy seems to cause S3 signature mismatch.
325 tls-proxy: false
326 tempest_test_regex: '(test_volume_backup|test_volumes_backup|test_snapshot_backup)'
327- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500328 name: cinder-tempest-plugin-basic
329 parent: devstack-tempest
330 description: |
331 Cinder tempest plugin tests job which run only cinder-tempest-plugin
332 tests.
333 required-projects:
334 - opendev.org/openstack/cinder-tempest-plugin
335 vars:
336 devstack_localrc:
337 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
338 tox_envlist: all
339 tempest_test_regex: cinder_tempest_plugin
340 tempest_plugins:
341 - cinder-tempest-plugin
342 irrelevant-files:
343 - ^.*\.rst$
344 - ^doc/.*$
345 - ^releasenotes/.*$
346
347- job:
Ghanshyam Mann35f531d2022-10-15 22:38:23 -0500348 name: cinder-tempest-plugin-basic-zed
349 parent: cinder-tempest-plugin-basic
350 nodeset: openstack-single-node-focal
351 override-checkout: stable/zed
352
353- job:
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -0500354 name: cinder-tempest-plugin-basic-yoga
355 parent: cinder-tempest-plugin-basic
356 nodeset: openstack-single-node-focal
357 override-checkout: stable/yoga
358
359- job:
Ghanshyam Mannffd05a72022-01-18 18:48:33 -0600360 name: cinder-tempest-plugin-basic-xena
361 parent: cinder-tempest-plugin-basic
362 nodeset: openstack-single-node-focal
363 override-checkout: stable/xena