blob: dec486b024219bad7caadc628ccd3efe3941fae7 [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
Eric Harneyfb18e1a2018-01-24 16:14:13 -050011 - cinder-tempest-plugin-lvm-tgt-barbican
Lee Yarwood103c2f72021-01-21 15:38:44 +000012 - nova-ceph-multistore:
13 voting: false
Sofia Enriquezf44ff142020-04-03 20:04:22 +000014 - cinder-tempest-plugin-cbak-ceph
Hironori Shiina207d6672021-01-22 13:25:03 -050015 - cinder-tempest-plugin-cbak-s3
Ghanshyam Mann965cd722022-05-27 15:20:13 -050016 # As per the Tempest "Stable Branch Support Policy", Tempest will only
17 # support the "Maintained" stable branches and not the "Extended Maintained"
18 # branches. That is what we need to do for all tempest plugins. Only jobs
19 # for the current releasable ("Maintained") stable branches should be listed
20 # here.
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -050021 - cinder-tempest-plugin-basic-yoga
Ghanshyam Mannffd05a72022-01-18 18:48:33 -060022 - cinder-tempest-plugin-basic-xena
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -050023 - cinder-tempest-plugin-basic-wallaby
Lance Bragstadd3fddec2021-02-16 16:27:13 +000024 # Set this job to voting once we have some actual tests to run
25 - cinder-tempest-plugin-protection-functional:
26 voting: false
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010027 gate:
28 jobs:
29 - cinder-tempest-plugin-lvm-lio-barbican
Eric Harneyfb18e1a2018-01-24 16:14:13 -050030 - cinder-tempest-plugin-lvm-tgt-barbican
Sofia Enriquezf44ff142020-04-03 20:04:22 +000031 - cinder-tempest-plugin-cbak-ceph
Luigi Toscano3d907472021-03-08 10:26:12 +010032 experimental:
33 jobs:
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -050034 - cinder-tempest-plugin-cbak-ceph-yoga
Ghanshyam Mannffd05a72022-01-18 18:48:33 -060035 - cinder-tempest-plugin-cbak-ceph-xena
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -050036 - cinder-tempest-plugin-cbak-ceph-wallaby
Chandan Kumar23e5b632018-01-04 23:36:43 +053037
38- job:
Lance Bragstadd3fddec2021-02-16 16:27:13 +000039 name: cinder-tempest-plugin-protection-functional
40 parent: devstack-tempest
41 required-projects:
42 - opendev.org/openstack/cinder-tempest-plugin
43 - opendev.org/openstack/cinder
44 vars:
45 tox_envlist: all
46 tempest_test_regex: 'cinder_tempest_plugin.rbac'
47 devstack_local_conf:
48 test-config:
49 $CINDER_CONF:
50 oslo_policy:
51 enforce_new_defaults: True
52 $TEMPEST_CONFIG:
53 enforce_scope:
54 cinder: True
55 tempest_plugins:
56 - cinder-tempest-plugin
57
58- job:
whoami-rajat6dc9a2f2021-05-18 07:01:33 -040059 name: cinder-tempest-plugin-lvm-multiattach
60 description: |
61 This enables multiattach tests along with standard tempest tests
62 parent: devstack-tempest
63 required-projects:
64 - opendev.org/openstack/tempest
65 - opendev.org/openstack/cinder-tempest-plugin
66 - opendev.org/openstack/cinder
67 vars:
68 tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))'
69 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 -070070 # Temporarily exclude TestMultiAttachVolumeSwap until LP bug #1980816 is resolved.
71 tempest_exclude_regex: 'TestMultiAttachVolumeSwap'
whoami-rajat6dc9a2f2021-05-18 07:01:33 -040072 tox_envlist: all
73 devstack_localrc:
74 ENABLE_VOLUME_MULTIATTACH: true
75 tempest_plugins:
76 - cinder-tempest-plugin
77 irrelevant-files:
78 - ^.*\.rst$
79 - ^doc/.*$
80 - ^releasenotes/.*$
81
82- job:
Luigi Toscano1370db42021-03-03 21:31:11 +010083 name: cinder-tempest-plugin-lvm-barbican-base-abstract
Chandan Kumar23e5b632018-01-04 23:36:43 +053084 description: |
Eric Harneyfb18e1a2018-01-24 16:14:13 -050085 This is a base job for lvm with lio & tgt targets
Chandan Kumar23e5b632018-01-04 23:36:43 +053086 parent: devstack-tempest
Luigi Toscano1370db42021-03-03 21:31:11 +010087 abstract: true
Luigi Toscanoa571b392020-04-17 19:30:23 +020088 timeout: 10800
Chandan Kumar23e5b632018-01-04 23:36:43 +053089 required-projects:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010090 - opendev.org/openstack/barbican
91 - opendev.org/openstack/tempest
92 - opendev.org/openstack/cinder-tempest-plugin
93 - opendev.org/openstack/cinder
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010094 host-vars:
95 controller:
96 devstack_plugins:
97 barbican: https://opendev.org/openstack/barbican
Chandan Kumar23e5b632018-01-04 23:36:43 +053098 vars:
Sofia Enriquezf44ff142020-04-03 20:04:22 +000099 tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))'
Doug Hellmann4a63cd52018-09-09 05:49:23 -0400100 tox_envlist: all
Chandan Kumar23e5b632018-01-04 23:36:43 +0530101 devstack_localrc:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +0100102 CINDER_LVM_TYPE: thin
103 CINDER_COORDINATION_URL: 'file://\$state_path'
Luigi Toscanoa571b392020-04-17 19:30:23 +0200104 devstack_local_conf:
105 test-config:
106 $TEMPEST_CONFIG:
Luigi Toscano5d7847c2021-02-25 22:16:32 +0100107 auth:
108 # FIXME: 'creator' should be re-added by the barbican devstack plugin
109 # but the value below override everything.
110 tempest_roles: member,creator
Brian Rosmaita0587ca62022-05-13 22:02:40 -0400111 volume:
112 build_timeout: 300
Luigi Toscanoa571b392020-04-17 19:30:23 +0200113 volume-feature-enabled:
114 volume_revert: True
Chandan Kumar23e5b632018-01-04 23:36:43 +0530115 devstack_services:
116 barbican: true
Luigi Toscanoc6215bd2020-02-21 12:42:58 +0100117 tempest_plugins:
118 - cinder-tempest-plugin
Chandan Kumar23e5b632018-01-04 23:36:43 +0530119 irrelevant-files:
120 - ^.*\.rst$
121 - ^doc/.*$
122 - ^releasenotes/.*$
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000123
124- job:
Luigi Toscano1370db42021-03-03 21:31:11 +0100125 name: cinder-tempest-plugin-lvm-barbican-base
126 description: |
127 This is a base job for lvm with lio & tgt targets
128 with cinderlib tests.
Ghanshyam Mann9d89d4e2022-05-25 12:21:18 -0500129 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train|ussuri|victoria)).*$
Luigi Toscano1370db42021-03-03 21:31:11 +0100130 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
131 roles:
132 - zuul: opendev.org/openstack/cinderlib
133 required-projects:
134 - opendev.org/openstack/cinderlib
135 run: playbooks/tempest-and-cinderlib-run.yaml
136 # Required to collect the tox-based logs of the cinderlib functional tests
137 post-run: playbooks/post-cinderlib.yaml
138 vars:
139 fetch_subunit_output_additional_dirs:
140 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
Luigi Toscano7e297882021-04-20 17:04:12 +0200141 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 +0100142
143- job:
144 name: cinder-tempest-plugin-lvm-barbican-base
145 description: |
146 This is a base job for lvm with lio & tgt targets
Brian Rosmaita6b7ddd32022-11-02 18:12:43 -0400147 with cinderlib tests to run on stable/victoria
Ghanshyam Mann965cd722022-05-27 15:20:13 -0500148 testing. To run on those stable branches that are using tempest
149 26.1.0 (which is set in the devstack stackrc file), we must
150 use cinder-tempest-plugin compatible version 1.3.0.
Ghanshyam Mann9d89d4e2022-05-25 12:21:18 -0500151 branches:
Ghanshyam Mann9d89d4e2022-05-25 12:21:18 -0500152 - stable/victoria
Ghanshyam Mannfc98b282022-01-20 21:10:59 -0600153 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
154 roles:
155 - zuul: opendev.org/openstack/cinderlib
156 required-projects:
157 - opendev.org/openstack/cinderlib
158 - name: opendev.org/openstack/cinder-tempest-plugin
159 override-checkout: 1.3.0
160 run: playbooks/tempest-and-cinderlib-run.yaml
161 # Required to collect the tox-based logs of the cinderlib functional tests
162 post-run: playbooks/post-cinderlib.yaml
163 vars:
164 fetch_subunit_output_additional_dirs:
165 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
166 tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-exclude-list.txt'
167
168- job:
169 name: cinder-tempest-plugin-lvm-barbican-base
170 description: |
171 This is a base job for lvm with lio & tgt targets
Brian Rosmaita6b7ddd32022-11-02 18:12:43 -0400172 for stable/train and stable/ussuri testing.
173 To run on those stable branches that are using tempest
174 26.1.0 (which is set in the devstack stackrc file), we must
175 use cinder-tempest-plugin compatible version 1.3.0.
176 We no longer test cinderlib because it's EOL on these branches.
177 branches:
178 - stable/train
179 - stable/ussuri
180 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
181 required-projects:
182 - opendev.org/openstack/cinderlib
183 - name: opendev.org/openstack/cinder-tempest-plugin
184 override-checkout: 1.3.0
185 vars:
186 tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-exclude-list.txt'
187
188- job:
189 name: cinder-tempest-plugin-lvm-barbican-base
190 description: |
191 This is a base job for lvm with lio & tgt targets
Luigi Toscano1370db42021-03-03 21:31:11 +0100192 branches: ^(?=stable/(ocata|pike|queens|rocky|stein)).*$
193 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
Luigi Toscanoeba85542021-06-28 17:31:59 +0200194 required-projects:
195 - name: opendev.org/openstack/cinder-tempest-plugin
196 override-checkout: stein-last
Luigi Toscano7e297882021-04-20 17:04:12 +0200197 vars:
198 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 +0100199
200- job:
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000201 name: cinder-tempest-plugin-cbak-ceph
202 parent: devstack-plugin-ceph-tempest-py3
203 description: |
204 Integration tests that runs with the ceph devstack plugin, py3
205 and enable the backup service.
206 vars:
Brian Rosmaita6e4b53a2022-05-14 12:15:50 -0400207 configure_swap_size: 4096
Luigi Toscanoa571b392020-04-17 19:30:23 +0200208 devstack_local_conf:
209 test-config:
210 $TEMPEST_CONFIG:
211 volume-feature-enabled:
212 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000213 devstack_services:
214 c-bak: true
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500215
Luigi Toscano3d907472021-03-08 10:26:12 +0100216- job:
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -0500217 name: cinder-tempest-plugin-cbak-ceph-yoga
218 parent: cinder-tempest-plugin-cbak-ceph
219 nodeset: openstack-single-node-focal
220 override-checkout: stable/yoga
221
222- job:
Ghanshyam Mannffd05a72022-01-18 18:48:33 -0600223 name: cinder-tempest-plugin-cbak-ceph-xena
224 parent: cinder-tempest-plugin-cbak-ceph
225 nodeset: openstack-single-node-focal
226 override-checkout: stable/xena
227
228- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500229 name: cinder-tempest-plugin-cbak-ceph-wallaby
230 parent: cinder-tempest-plugin-cbak-ceph
231 nodeset: openstack-single-node-focal
232 override-checkout: stable/wallaby
233
Luigi Toscanoa571b392020-04-17 19:30:23 +0200234# variant for pre-Ussuri branches (no volume revert for Ceph),
235# should this job be used on those branches
236- job:
237 name: cinder-tempest-plugin-cbak-ceph
238 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
239 vars:
240 devstack_local_conf:
241 test-config:
242 $TEMPEST_CONFIG:
243 volume-feature-enabled:
244 volume_revert: False
245
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500246- job:
247 name: cinder-tempest-plugin-lvm-lio-barbican
248 description: |
249 This jobs configures Cinder with LVM, LIO, barbican and
250 runs tempest tests and cinderlib tests.
251 parent: cinder-tempest-plugin-lvm-barbican-base
252 vars:
253 devstack_localrc:
254 CINDER_ISCSI_HELPER: lioadm
255
256- job:
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000257 name: cinder-tempest-plugin-lvm-lio-barbican-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200258 parent: cinder-tempest-plugin-lvm-lio-barbican
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000259 nodeset: devstack-single-node-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200260 description: |
261 This jobs configures Cinder with LVM, LIO, barbican and
Luigi Toscano8515b582022-04-27 16:11:13 +0200262 runs tempest tests and cinderlib tests on CentOS Stream 8.
263
264- job:
265 name: cinder-tempest-plugin-lvm-lio-barbican-centos-9-stream
266 parent: cinder-tempest-plugin-lvm-lio-barbican
267 nodeset: devstack-single-node-centos-9-stream
268 description: |
269 This jobs configures Cinder with LVM, LIO, barbican and
270 runs tempest tests and cinderlib tests on CentOS Stream 9.
Luigi Toscanof1441832020-05-01 19:33:21 +0200271
272- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500273 name: cinder-tempest-plugin-lvm-tgt-barbican
274 description: |
275 This jobs configures Cinder with LVM, tgt, barbican and
276 runs tempest tests and cinderlib tests.
277 parent: cinder-tempest-plugin-lvm-barbican-base
Lee Yarwood1ee1efc2021-03-10 09:34:31 +0000278 vars:
279 devstack_localrc:
280 CINDER_ISCSI_HELPER: tgtadm
Ghanshyam Mann93621532020-05-05 18:47:12 -0500281
282- job:
Hironori Shiina207d6672021-01-22 13:25:03 -0500283 name: cinder-tempest-plugin-cbak-s3
284 parent: cinder-tempest-plugin-basic
285 description: |
286 Integration tests that runs with the s3 backup driver with
287 Swift S3 API.
288 vars:
289 devstack_localrc:
290 CINDER_BACKUP_DRIVER: 's3_swift'
291 devstack_services:
292 c-bak: true
293 s3api: true
294 # Workaround: TLS proxy seems to cause S3 signature mismatch.
295 tls-proxy: false
296 tempest_test_regex: '(test_volume_backup|test_volumes_backup|test_snapshot_backup)'
297- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500298 name: cinder-tempest-plugin-basic
299 parent: devstack-tempest
300 description: |
301 Cinder tempest plugin tests job which run only cinder-tempest-plugin
302 tests.
303 required-projects:
304 - opendev.org/openstack/cinder-tempest-plugin
305 vars:
306 devstack_localrc:
307 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
308 tox_envlist: all
309 tempest_test_regex: cinder_tempest_plugin
310 tempest_plugins:
311 - cinder-tempest-plugin
312 irrelevant-files:
313 - ^.*\.rst$
314 - ^doc/.*$
315 - ^releasenotes/.*$
316
317- job:
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -0500318 name: cinder-tempest-plugin-basic-yoga
319 parent: cinder-tempest-plugin-basic
320 nodeset: openstack-single-node-focal
321 override-checkout: stable/yoga
322
323- job:
Ghanshyam Mannffd05a72022-01-18 18:48:33 -0600324 name: cinder-tempest-plugin-basic-xena
325 parent: cinder-tempest-plugin-basic
326 nodeset: openstack-single-node-focal
327 override-checkout: stable/xena
328
329- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500330 name: cinder-tempest-plugin-basic-wallaby
331 parent: cinder-tempest-plugin-basic
332 nodeset: openstack-single-node-focal
333 override-checkout: stable/wallaby