blob: 5e90ce8e5b3338c92aed0000c5c2277fefba8643 [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
Lee Yarwood103c2f72021-01-21 15:38:44 +000016 - nova-ceph-multistore:
17 voting: false
Sofia Enriquezf44ff142020-04-03 20:04:22 +000018 - cinder-tempest-plugin-cbak-ceph
Hironori Shiina207d6672021-01-22 13:25:03 -050019 - cinder-tempest-plugin-cbak-s3
Ghanshyam Mann965cd722022-05-27 15:20:13 -050020 # As per the Tempest "Stable Branch Support Policy", Tempest will only
21 # support the "Maintained" stable branches and not the "Extended Maintained"
22 # branches. That is what we need to do for all tempest plugins. Only jobs
23 # for the current releasable ("Maintained") stable branches should be listed
24 # here.
Ghanshyam Mann35f531d2022-10-15 22:38:23 -050025 - cinder-tempest-plugin-basic-zed
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -050026 - cinder-tempest-plugin-basic-yoga
Ghanshyam Mannffd05a72022-01-18 18:48:33 -060027 - cinder-tempest-plugin-basic-xena
Luigi Toscano2cbd0422023-03-13 14:50:26 +010028 - cinder-tempest-plugin-protection-functional
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010029 gate:
30 jobs:
31 - cinder-tempest-plugin-lvm-lio-barbican
Brian Rosmaitae5ae1ed2022-12-21 08:53:24 -050032 # FIXME: no sense running a non-voting gate job. See comment above.
33 # - cinder-tempest-plugin-lvm-tgt-barbican
Sofia Enriquezf44ff142020-04-03 20:04:22 +000034 - cinder-tempest-plugin-cbak-ceph
Luigi Toscano3d907472021-03-08 10:26:12 +010035 experimental:
36 jobs:
Ghanshyam Mann35f531d2022-10-15 22:38:23 -050037 - cinder-tempest-plugin-cbak-ceph-zed
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -050038 - cinder-tempest-plugin-cbak-ceph-yoga
Ghanshyam Mannffd05a72022-01-18 18:48:33 -060039 - cinder-tempest-plugin-cbak-ceph-xena
Chandan Kumar23e5b632018-01-04 23:36:43 +053040
41- job:
Lance Bragstadd3fddec2021-02-16 16:27:13 +000042 name: cinder-tempest-plugin-protection-functional
43 parent: devstack-tempest
44 required-projects:
45 - opendev.org/openstack/cinder-tempest-plugin
46 - opendev.org/openstack/cinder
47 vars:
48 tox_envlist: all
49 tempest_test_regex: 'cinder_tempest_plugin.rbac'
50 devstack_local_conf:
51 test-config:
52 $CINDER_CONF:
53 oslo_policy:
54 enforce_new_defaults: True
55 $TEMPEST_CONFIG:
56 enforce_scope:
57 cinder: True
58 tempest_plugins:
59 - cinder-tempest-plugin
60
61- job:
whoami-rajat6dc9a2f2021-05-18 07:01:33 -040062 name: cinder-tempest-plugin-lvm-multiattach
63 description: |
64 This enables multiattach tests along with standard tempest tests
65 parent: devstack-tempest
66 required-projects:
67 - opendev.org/openstack/tempest
68 - opendev.org/openstack/cinder-tempest-plugin
69 - opendev.org/openstack/cinder
70 vars:
71 tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))'
72 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 -070073 # Temporarily exclude TestMultiAttachVolumeSwap until LP bug #1980816 is resolved.
74 tempest_exclude_regex: 'TestMultiAttachVolumeSwap'
whoami-rajat6dc9a2f2021-05-18 07:01:33 -040075 tox_envlist: all
76 devstack_localrc:
77 ENABLE_VOLUME_MULTIATTACH: true
78 tempest_plugins:
79 - cinder-tempest-plugin
80 irrelevant-files:
81 - ^.*\.rst$
82 - ^doc/.*$
83 - ^releasenotes/.*$
84
85- job:
Luigi Toscano1370db42021-03-03 21:31:11 +010086 name: cinder-tempest-plugin-lvm-barbican-base-abstract
Chandan Kumar23e5b632018-01-04 23:36:43 +053087 description: |
Eric Harneyfb18e1a2018-01-24 16:14:13 -050088 This is a base job for lvm with lio & tgt targets
Chandan Kumar23e5b632018-01-04 23:36:43 +053089 parent: devstack-tempest
Luigi Toscano1370db42021-03-03 21:31:11 +010090 abstract: true
Luigi Toscanoa571b392020-04-17 19:30:23 +020091 timeout: 10800
Chandan Kumar23e5b632018-01-04 23:36:43 +053092 required-projects:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010093 - opendev.org/openstack/barbican
94 - opendev.org/openstack/tempest
95 - opendev.org/openstack/cinder-tempest-plugin
96 - opendev.org/openstack/cinder
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010097 host-vars:
98 controller:
99 devstack_plugins:
100 barbican: https://opendev.org/openstack/barbican
Chandan Kumar23e5b632018-01-04 23:36:43 +0530101 vars:
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000102 tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))'
Doug Hellmann4a63cd52018-09-09 05:49:23 -0400103 tox_envlist: all
Chandan Kumar23e5b632018-01-04 23:36:43 +0530104 devstack_localrc:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +0100105 CINDER_LVM_TYPE: thin
106 CINDER_COORDINATION_URL: 'file://\$state_path'
Luigi Toscanoa571b392020-04-17 19:30:23 +0200107 devstack_local_conf:
108 test-config:
109 $TEMPEST_CONFIG:
Luigi Toscano5d7847c2021-02-25 22:16:32 +0100110 auth:
111 # FIXME: 'creator' should be re-added by the barbican devstack plugin
112 # but the value below override everything.
113 tempest_roles: member,creator
Brian Rosmaita0587ca62022-05-13 22:02:40 -0400114 volume:
115 build_timeout: 300
Luigi Toscanoa571b392020-04-17 19:30:23 +0200116 volume-feature-enabled:
117 volume_revert: True
Chandan Kumar23e5b632018-01-04 23:36:43 +0530118 devstack_services:
119 barbican: true
Luigi Toscanoc6215bd2020-02-21 12:42:58 +0100120 tempest_plugins:
121 - cinder-tempest-plugin
Chandan Kumar23e5b632018-01-04 23:36:43 +0530122 irrelevant-files:
123 - ^.*\.rst$
124 - ^doc/.*$
125 - ^releasenotes/.*$
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000126
127- job:
Luigi Toscano1370db42021-03-03 21:31:11 +0100128 name: cinder-tempest-plugin-lvm-barbican-base
129 description: |
130 This is a base job for lvm with lio & tgt targets
131 with cinderlib tests.
Ghanshyam Mann9d89d4e2022-05-25 12:21:18 -0500132 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train|ussuri|victoria)).*$
Luigi Toscano1370db42021-03-03 21:31:11 +0100133 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
134 roles:
135 - zuul: opendev.org/openstack/cinderlib
136 required-projects:
137 - opendev.org/openstack/cinderlib
138 run: playbooks/tempest-and-cinderlib-run.yaml
139 # Required to collect the tox-based logs of the cinderlib functional tests
140 post-run: playbooks/post-cinderlib.yaml
141 vars:
142 fetch_subunit_output_additional_dirs:
143 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
Luigi Toscano7e297882021-04-20 17:04:12 +0200144 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 +0100145
146- job:
147 name: cinder-tempest-plugin-lvm-barbican-base
148 description: |
149 This is a base job for lvm with lio & tgt targets
Brian Rosmaita6b7ddd32022-11-02 18:12:43 -0400150 with cinderlib tests to run on stable/victoria
Ghanshyam Mann965cd722022-05-27 15:20:13 -0500151 testing. To run on those stable branches that are using tempest
152 26.1.0 (which is set in the devstack stackrc file), we must
153 use cinder-tempest-plugin compatible version 1.3.0.
Ghanshyam Mann9d89d4e2022-05-25 12:21:18 -0500154 branches:
Ghanshyam Mann9d89d4e2022-05-25 12:21:18 -0500155 - stable/victoria
Ghanshyam Mannfc98b282022-01-20 21:10:59 -0600156 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
157 roles:
158 - zuul: opendev.org/openstack/cinderlib
159 required-projects:
160 - opendev.org/openstack/cinderlib
161 - name: opendev.org/openstack/cinder-tempest-plugin
162 override-checkout: 1.3.0
163 run: playbooks/tempest-and-cinderlib-run.yaml
164 # Required to collect the tox-based logs of the cinderlib functional tests
165 post-run: playbooks/post-cinderlib.yaml
166 vars:
167 fetch_subunit_output_additional_dirs:
168 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
169 tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-exclude-list.txt'
170
171- job:
172 name: cinder-tempest-plugin-lvm-barbican-base
173 description: |
174 This is a base job for lvm with lio & tgt targets
Brian Rosmaita6b7ddd32022-11-02 18:12:43 -0400175 for stable/train and stable/ussuri testing.
176 To run on those stable branches that are using tempest
177 26.1.0 (which is set in the devstack stackrc file), we must
178 use cinder-tempest-plugin compatible version 1.3.0.
179 We no longer test cinderlib because it's EOL on these branches.
180 branches:
181 - stable/train
182 - stable/ussuri
183 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
184 required-projects:
185 - opendev.org/openstack/cinderlib
186 - name: opendev.org/openstack/cinder-tempest-plugin
187 override-checkout: 1.3.0
188 vars:
189 tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-exclude-list.txt'
190
191- job:
192 name: cinder-tempest-plugin-lvm-barbican-base
193 description: |
194 This is a base job for lvm with lio & tgt targets
Luigi Toscano1370db42021-03-03 21:31:11 +0100195 branches: ^(?=stable/(ocata|pike|queens|rocky|stein)).*$
196 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
Luigi Toscanoeba85542021-06-28 17:31:59 +0200197 required-projects:
198 - name: opendev.org/openstack/cinder-tempest-plugin
199 override-checkout: stein-last
Luigi Toscano7e297882021-04-20 17:04:12 +0200200 vars:
201 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 +0100202
203- job:
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000204 name: cinder-tempest-plugin-cbak-ceph
205 parent: devstack-plugin-ceph-tempest-py3
206 description: |
207 Integration tests that runs with the ceph devstack plugin, py3
208 and enable the backup service.
209 vars:
Brian Rosmaita6e4b53a2022-05-14 12:15:50 -0400210 configure_swap_size: 4096
Luigi Toscanoa571b392020-04-17 19:30:23 +0200211 devstack_local_conf:
212 test-config:
213 $TEMPEST_CONFIG:
214 volume-feature-enabled:
215 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000216 devstack_services:
217 c-bak: true
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500218
Luigi Toscano3d907472021-03-08 10:26:12 +0100219- job:
Ghanshyam Mann35f531d2022-10-15 22:38:23 -0500220 name: cinder-tempest-plugin-cbak-ceph-zed
221 parent: cinder-tempest-plugin-cbak-ceph
222 nodeset: openstack-single-node-focal
223 override-checkout: stable/zed
224
225- job:
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -0500226 name: cinder-tempest-plugin-cbak-ceph-yoga
227 parent: cinder-tempest-plugin-cbak-ceph
228 nodeset: openstack-single-node-focal
229 override-checkout: stable/yoga
230
231- job:
Ghanshyam Mannffd05a72022-01-18 18:48:33 -0600232 name: cinder-tempest-plugin-cbak-ceph-xena
233 parent: cinder-tempest-plugin-cbak-ceph
234 nodeset: openstack-single-node-focal
235 override-checkout: stable/xena
236
237- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500238 name: cinder-tempest-plugin-cbak-ceph-wallaby
239 parent: cinder-tempest-plugin-cbak-ceph
240 nodeset: openstack-single-node-focal
241 override-checkout: stable/wallaby
242
Luigi Toscanoa571b392020-04-17 19:30:23 +0200243# variant for pre-Ussuri branches (no volume revert for Ceph),
244# should this job be used on those branches
245- job:
246 name: cinder-tempest-plugin-cbak-ceph
247 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
248 vars:
249 devstack_local_conf:
250 test-config:
251 $TEMPEST_CONFIG:
252 volume-feature-enabled:
253 volume_revert: False
254
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500255- job:
256 name: cinder-tempest-plugin-lvm-lio-barbican
257 description: |
258 This jobs configures Cinder with LVM, LIO, barbican and
259 runs tempest tests and cinderlib tests.
260 parent: cinder-tempest-plugin-lvm-barbican-base
261 vars:
262 devstack_localrc:
263 CINDER_ISCSI_HELPER: lioadm
264
265- job:
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000266 name: cinder-tempest-plugin-lvm-lio-barbican-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200267 parent: cinder-tempest-plugin-lvm-lio-barbican
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000268 nodeset: devstack-single-node-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200269 description: |
270 This jobs configures Cinder with LVM, LIO, barbican and
Luigi Toscano8515b582022-04-27 16:11:13 +0200271 runs tempest tests and cinderlib tests on CentOS Stream 8.
272
273- job:
274 name: cinder-tempest-plugin-lvm-lio-barbican-centos-9-stream
275 parent: cinder-tempest-plugin-lvm-lio-barbican
276 nodeset: devstack-single-node-centos-9-stream
277 description: |
278 This jobs configures Cinder with LVM, LIO, barbican and
279 runs tempest tests and cinderlib tests on CentOS Stream 9.
Luigi Toscanof1441832020-05-01 19:33:21 +0200280
281- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500282 name: cinder-tempest-plugin-lvm-tgt-barbican
283 description: |
284 This jobs configures Cinder with LVM, tgt, barbican and
285 runs tempest tests and cinderlib tests.
286 parent: cinder-tempest-plugin-lvm-barbican-base
Lee Yarwood1ee1efc2021-03-10 09:34:31 +0000287 vars:
288 devstack_localrc:
289 CINDER_ISCSI_HELPER: tgtadm
Ghanshyam Mann93621532020-05-05 18:47:12 -0500290
291- job:
Hironori Shiina207d6672021-01-22 13:25:03 -0500292 name: cinder-tempest-plugin-cbak-s3
293 parent: cinder-tempest-plugin-basic
294 description: |
295 Integration tests that runs with the s3 backup driver with
296 Swift S3 API.
297 vars:
298 devstack_localrc:
299 CINDER_BACKUP_DRIVER: 's3_swift'
300 devstack_services:
301 c-bak: true
302 s3api: true
303 # Workaround: TLS proxy seems to cause S3 signature mismatch.
304 tls-proxy: false
305 tempest_test_regex: '(test_volume_backup|test_volumes_backup|test_snapshot_backup)'
306- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500307 name: cinder-tempest-plugin-basic
308 parent: devstack-tempest
309 description: |
310 Cinder tempest plugin tests job which run only cinder-tempest-plugin
311 tests.
312 required-projects:
313 - opendev.org/openstack/cinder-tempest-plugin
314 vars:
315 devstack_localrc:
316 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
317 tox_envlist: all
318 tempest_test_regex: cinder_tempest_plugin
319 tempest_plugins:
320 - cinder-tempest-plugin
321 irrelevant-files:
322 - ^.*\.rst$
323 - ^doc/.*$
324 - ^releasenotes/.*$
325
326- job:
Ghanshyam Mann35f531d2022-10-15 22:38:23 -0500327 name: cinder-tempest-plugin-basic-zed
328 parent: cinder-tempest-plugin-basic
329 nodeset: openstack-single-node-focal
330 override-checkout: stable/zed
331
332- job:
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -0500333 name: cinder-tempest-plugin-basic-yoga
334 parent: cinder-tempest-plugin-basic
335 nodeset: openstack-single-node-focal
336 override-checkout: stable/yoga
337
338- job:
Ghanshyam Mannffd05a72022-01-18 18:48:33 -0600339 name: cinder-tempest-plugin-basic-xena
340 parent: cinder-tempest-plugin-basic
341 nodeset: openstack-single-node-focal
342 override-checkout: stable/xena