blob: 8738ae27802d41baa59638a8e209f0a07231df33 [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'
70 tox_envlist: all
71 devstack_localrc:
72 ENABLE_VOLUME_MULTIATTACH: true
73 tempest_plugins:
74 - cinder-tempest-plugin
75 irrelevant-files:
76 - ^.*\.rst$
77 - ^doc/.*$
78 - ^releasenotes/.*$
79
80- job:
Luigi Toscano1370db42021-03-03 21:31:11 +010081 name: cinder-tempest-plugin-lvm-barbican-base-abstract
Chandan Kumar23e5b632018-01-04 23:36:43 +053082 description: |
Eric Harneyfb18e1a2018-01-24 16:14:13 -050083 This is a base job for lvm with lio & tgt targets
Chandan Kumar23e5b632018-01-04 23:36:43 +053084 parent: devstack-tempest
Luigi Toscano1370db42021-03-03 21:31:11 +010085 abstract: true
Luigi Toscanoa571b392020-04-17 19:30:23 +020086 timeout: 10800
Chandan Kumar23e5b632018-01-04 23:36:43 +053087 required-projects:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010088 - opendev.org/openstack/barbican
89 - opendev.org/openstack/tempest
90 - opendev.org/openstack/cinder-tempest-plugin
91 - opendev.org/openstack/cinder
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010092 host-vars:
93 controller:
94 devstack_plugins:
95 barbican: https://opendev.org/openstack/barbican
Chandan Kumar23e5b632018-01-04 23:36:43 +053096 vars:
Sofia Enriquezf44ff142020-04-03 20:04:22 +000097 tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))'
Doug Hellmann4a63cd52018-09-09 05:49:23 -040098 tox_envlist: all
Chandan Kumar23e5b632018-01-04 23:36:43 +053099 devstack_localrc:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +0100100 CINDER_LVM_TYPE: thin
101 CINDER_COORDINATION_URL: 'file://\$state_path'
Luigi Toscanoa571b392020-04-17 19:30:23 +0200102 devstack_local_conf:
103 test-config:
104 $TEMPEST_CONFIG:
Luigi Toscano5d7847c2021-02-25 22:16:32 +0100105 auth:
106 # FIXME: 'creator' should be re-added by the barbican devstack plugin
107 # but the value below override everything.
108 tempest_roles: member,creator
Brian Rosmaita0587ca62022-05-13 22:02:40 -0400109 volume:
110 build_timeout: 300
Luigi Toscanoa571b392020-04-17 19:30:23 +0200111 volume-feature-enabled:
112 volume_revert: True
Chandan Kumar23e5b632018-01-04 23:36:43 +0530113 devstack_services:
114 barbican: true
Luigi Toscanoc6215bd2020-02-21 12:42:58 +0100115 tempest_plugins:
116 - cinder-tempest-plugin
Chandan Kumar23e5b632018-01-04 23:36:43 +0530117 irrelevant-files:
118 - ^.*\.rst$
119 - ^doc/.*$
120 - ^releasenotes/.*$
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000121
122- job:
Luigi Toscano1370db42021-03-03 21:31:11 +0100123 name: cinder-tempest-plugin-lvm-barbican-base
124 description: |
125 This is a base job for lvm with lio & tgt targets
126 with cinderlib tests.
Ghanshyam Mann9d89d4e2022-05-25 12:21:18 -0500127 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train|ussuri|victoria)).*$
Luigi Toscano1370db42021-03-03 21:31:11 +0100128 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
129 roles:
130 - zuul: opendev.org/openstack/cinderlib
131 required-projects:
132 - opendev.org/openstack/cinderlib
133 run: playbooks/tempest-and-cinderlib-run.yaml
134 # Required to collect the tox-based logs of the cinderlib functional tests
135 post-run: playbooks/post-cinderlib.yaml
136 vars:
137 fetch_subunit_output_additional_dirs:
138 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
Luigi Toscano7e297882021-04-20 17:04:12 +0200139 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 +0100140
141- job:
142 name: cinder-tempest-plugin-lvm-barbican-base
143 description: |
144 This is a base job for lvm with lio & tgt targets
Ghanshyam Mann965cd722022-05-27 15:20:13 -0500145 with cinderlib tests to run on stable/train to stable/victoria
146 testing. To run on those stable branches that are using tempest
147 26.1.0 (which is set in the devstack stackrc file), we must
148 use cinder-tempest-plugin compatible version 1.3.0.
Ghanshyam Mann9d89d4e2022-05-25 12:21:18 -0500149 branches:
150 - stable/train
151 - stable/ussuri
152 - 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
Luigi Toscano1370db42021-03-03 21:31:11 +0100172 branches: ^(?=stable/(ocata|pike|queens|rocky|stein)).*$
173 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
Luigi Toscanoeba85542021-06-28 17:31:59 +0200174 required-projects:
175 - name: opendev.org/openstack/cinder-tempest-plugin
176 override-checkout: stein-last
Luigi Toscano7e297882021-04-20 17:04:12 +0200177 vars:
178 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 +0100179
180- job:
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000181 name: cinder-tempest-plugin-cbak-ceph
182 parent: devstack-plugin-ceph-tempest-py3
183 description: |
184 Integration tests that runs with the ceph devstack plugin, py3
185 and enable the backup service.
186 vars:
Brian Rosmaita6e4b53a2022-05-14 12:15:50 -0400187 configure_swap_size: 4096
Luigi Toscanoa571b392020-04-17 19:30:23 +0200188 devstack_local_conf:
189 test-config:
190 $TEMPEST_CONFIG:
191 volume-feature-enabled:
192 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000193 devstack_services:
194 c-bak: true
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500195
Luigi Toscano3d907472021-03-08 10:26:12 +0100196- job:
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -0500197 name: cinder-tempest-plugin-cbak-ceph-yoga
198 parent: cinder-tempest-plugin-cbak-ceph
199 nodeset: openstack-single-node-focal
200 override-checkout: stable/yoga
201
202- job:
Ghanshyam Mannffd05a72022-01-18 18:48:33 -0600203 name: cinder-tempest-plugin-cbak-ceph-xena
204 parent: cinder-tempest-plugin-cbak-ceph
205 nodeset: openstack-single-node-focal
206 override-checkout: stable/xena
207
208- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500209 name: cinder-tempest-plugin-cbak-ceph-wallaby
210 parent: cinder-tempest-plugin-cbak-ceph
211 nodeset: openstack-single-node-focal
212 override-checkout: stable/wallaby
213
Luigi Toscanoa571b392020-04-17 19:30:23 +0200214# variant for pre-Ussuri branches (no volume revert for Ceph),
215# should this job be used on those branches
216- job:
217 name: cinder-tempest-plugin-cbak-ceph
218 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
219 vars:
220 devstack_local_conf:
221 test-config:
222 $TEMPEST_CONFIG:
223 volume-feature-enabled:
224 volume_revert: False
225
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500226- job:
227 name: cinder-tempest-plugin-lvm-lio-barbican
228 description: |
229 This jobs configures Cinder with LVM, LIO, barbican and
230 runs tempest tests and cinderlib tests.
231 parent: cinder-tempest-plugin-lvm-barbican-base
232 vars:
233 devstack_localrc:
234 CINDER_ISCSI_HELPER: lioadm
235
236- job:
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000237 name: cinder-tempest-plugin-lvm-lio-barbican-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200238 parent: cinder-tempest-plugin-lvm-lio-barbican
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000239 nodeset: devstack-single-node-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200240 description: |
241 This jobs configures Cinder with LVM, LIO, barbican and
Luigi Toscano8515b582022-04-27 16:11:13 +0200242 runs tempest tests and cinderlib tests on CentOS Stream 8.
243
244- job:
245 name: cinder-tempest-plugin-lvm-lio-barbican-centos-9-stream
246 parent: cinder-tempest-plugin-lvm-lio-barbican
247 nodeset: devstack-single-node-centos-9-stream
248 description: |
249 This jobs configures Cinder with LVM, LIO, barbican and
250 runs tempest tests and cinderlib tests on CentOS Stream 9.
Luigi Toscanof1441832020-05-01 19:33:21 +0200251
252- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500253 name: cinder-tempest-plugin-lvm-tgt-barbican
254 description: |
255 This jobs configures Cinder with LVM, tgt, barbican and
256 runs tempest tests and cinderlib tests.
257 parent: cinder-tempest-plugin-lvm-barbican-base
Lee Yarwood1ee1efc2021-03-10 09:34:31 +0000258 vars:
259 devstack_localrc:
260 CINDER_ISCSI_HELPER: tgtadm
Ghanshyam Mann93621532020-05-05 18:47:12 -0500261
262- job:
Hironori Shiina207d6672021-01-22 13:25:03 -0500263 name: cinder-tempest-plugin-cbak-s3
264 parent: cinder-tempest-plugin-basic
265 description: |
266 Integration tests that runs with the s3 backup driver with
267 Swift S3 API.
268 vars:
269 devstack_localrc:
270 CINDER_BACKUP_DRIVER: 's3_swift'
271 devstack_services:
272 c-bak: true
273 s3api: true
274 # Workaround: TLS proxy seems to cause S3 signature mismatch.
275 tls-proxy: false
276 tempest_test_regex: '(test_volume_backup|test_volumes_backup|test_snapshot_backup)'
277- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500278 name: cinder-tempest-plugin-basic
279 parent: devstack-tempest
280 description: |
281 Cinder tempest plugin tests job which run only cinder-tempest-plugin
282 tests.
283 required-projects:
284 - opendev.org/openstack/cinder-tempest-plugin
285 vars:
286 devstack_localrc:
287 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
288 tox_envlist: all
289 tempest_test_regex: cinder_tempest_plugin
290 tempest_plugins:
291 - cinder-tempest-plugin
292 irrelevant-files:
293 - ^.*\.rst$
294 - ^doc/.*$
295 - ^releasenotes/.*$
296
297- job:
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -0500298 name: cinder-tempest-plugin-basic-yoga
299 parent: cinder-tempest-plugin-basic
300 nodeset: openstack-single-node-focal
301 override-checkout: stable/yoga
302
303- job:
Ghanshyam Mannffd05a72022-01-18 18:48:33 -0600304 name: cinder-tempest-plugin-basic-xena
305 parent: cinder-tempest-plugin-basic
306 nodeset: openstack-single-node-focal
307 override-checkout: stable/xena
308
309- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500310 name: cinder-tempest-plugin-basic-wallaby
311 parent: cinder-tempest-plugin-basic
312 nodeset: openstack-single-node-focal
313 override-checkout: stable/wallaby