blob: d92f28345579ab9661bab933f4615dc8d4c14546 [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
Ghanshyam Mann965cd722022-05-27 15:20:13 -0500147 with cinderlib tests to run on stable/train to stable/victoria
148 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:
152 - stable/train
153 - stable/ussuri
154 - stable/victoria
Ghanshyam Mannfc98b282022-01-20 21:10:59 -0600155 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
156 roles:
157 - zuul: opendev.org/openstack/cinderlib
158 required-projects:
159 - opendev.org/openstack/cinderlib
160 - name: opendev.org/openstack/cinder-tempest-plugin
161 override-checkout: 1.3.0
162 run: playbooks/tempest-and-cinderlib-run.yaml
163 # Required to collect the tox-based logs of the cinderlib functional tests
164 post-run: playbooks/post-cinderlib.yaml
165 vars:
166 fetch_subunit_output_additional_dirs:
167 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
168 tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-exclude-list.txt'
169
170- job:
171 name: cinder-tempest-plugin-lvm-barbican-base
172 description: |
173 This is a base job for lvm with lio & tgt targets
Luigi Toscano1370db42021-03-03 21:31:11 +0100174 branches: ^(?=stable/(ocata|pike|queens|rocky|stein)).*$
175 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
Luigi Toscanoeba85542021-06-28 17:31:59 +0200176 required-projects:
177 - name: opendev.org/openstack/cinder-tempest-plugin
178 override-checkout: stein-last
Luigi Toscano7e297882021-04-20 17:04:12 +0200179 vars:
180 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 +0100181
182- job:
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000183 name: cinder-tempest-plugin-cbak-ceph
184 parent: devstack-plugin-ceph-tempest-py3
185 description: |
186 Integration tests that runs with the ceph devstack plugin, py3
187 and enable the backup service.
188 vars:
Brian Rosmaita6e4b53a2022-05-14 12:15:50 -0400189 configure_swap_size: 4096
Luigi Toscanoa571b392020-04-17 19:30:23 +0200190 devstack_local_conf:
191 test-config:
192 $TEMPEST_CONFIG:
193 volume-feature-enabled:
194 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000195 devstack_services:
196 c-bak: true
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500197
Luigi Toscano3d907472021-03-08 10:26:12 +0100198- job:
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -0500199 name: cinder-tempest-plugin-cbak-ceph-yoga
200 parent: cinder-tempest-plugin-cbak-ceph
201 nodeset: openstack-single-node-focal
202 override-checkout: stable/yoga
203
204- job:
Ghanshyam Mannffd05a72022-01-18 18:48:33 -0600205 name: cinder-tempest-plugin-cbak-ceph-xena
206 parent: cinder-tempest-plugin-cbak-ceph
207 nodeset: openstack-single-node-focal
208 override-checkout: stable/xena
209
210- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500211 name: cinder-tempest-plugin-cbak-ceph-wallaby
212 parent: cinder-tempest-plugin-cbak-ceph
213 nodeset: openstack-single-node-focal
214 override-checkout: stable/wallaby
215
Luigi Toscanoa571b392020-04-17 19:30:23 +0200216# variant for pre-Ussuri branches (no volume revert for Ceph),
217# should this job be used on those branches
218- job:
219 name: cinder-tempest-plugin-cbak-ceph
220 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
221 vars:
222 devstack_local_conf:
223 test-config:
224 $TEMPEST_CONFIG:
225 volume-feature-enabled:
226 volume_revert: False
227
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500228- job:
229 name: cinder-tempest-plugin-lvm-lio-barbican
230 description: |
231 This jobs configures Cinder with LVM, LIO, barbican and
232 runs tempest tests and cinderlib tests.
233 parent: cinder-tempest-plugin-lvm-barbican-base
234 vars:
235 devstack_localrc:
236 CINDER_ISCSI_HELPER: lioadm
237
238- job:
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000239 name: cinder-tempest-plugin-lvm-lio-barbican-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200240 parent: cinder-tempest-plugin-lvm-lio-barbican
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000241 nodeset: devstack-single-node-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200242 description: |
243 This jobs configures Cinder with LVM, LIO, barbican and
Luigi Toscano8515b582022-04-27 16:11:13 +0200244 runs tempest tests and cinderlib tests on CentOS Stream 8.
245
246- job:
247 name: cinder-tempest-plugin-lvm-lio-barbican-centos-9-stream
248 parent: cinder-tempest-plugin-lvm-lio-barbican
249 nodeset: devstack-single-node-centos-9-stream
250 description: |
251 This jobs configures Cinder with LVM, LIO, barbican and
252 runs tempest tests and cinderlib tests on CentOS Stream 9.
Luigi Toscanof1441832020-05-01 19:33:21 +0200253
254- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500255 name: cinder-tempest-plugin-lvm-tgt-barbican
256 description: |
257 This jobs configures Cinder with LVM, tgt, barbican and
258 runs tempest tests and cinderlib tests.
259 parent: cinder-tempest-plugin-lvm-barbican-base
Lee Yarwood1ee1efc2021-03-10 09:34:31 +0000260 vars:
261 devstack_localrc:
262 CINDER_ISCSI_HELPER: tgtadm
Ghanshyam Mann93621532020-05-05 18:47:12 -0500263
264- job:
Hironori Shiina207d6672021-01-22 13:25:03 -0500265 name: cinder-tempest-plugin-cbak-s3
266 parent: cinder-tempest-plugin-basic
267 description: |
268 Integration tests that runs with the s3 backup driver with
269 Swift S3 API.
270 vars:
271 devstack_localrc:
272 CINDER_BACKUP_DRIVER: 's3_swift'
273 devstack_services:
274 c-bak: true
275 s3api: true
276 # Workaround: TLS proxy seems to cause S3 signature mismatch.
277 tls-proxy: false
278 tempest_test_regex: '(test_volume_backup|test_volumes_backup|test_snapshot_backup)'
279- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500280 name: cinder-tempest-plugin-basic
281 parent: devstack-tempest
282 description: |
283 Cinder tempest plugin tests job which run only cinder-tempest-plugin
284 tests.
285 required-projects:
286 - opendev.org/openstack/cinder-tempest-plugin
287 vars:
288 devstack_localrc:
289 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
290 tox_envlist: all
291 tempest_test_regex: cinder_tempest_plugin
292 tempest_plugins:
293 - cinder-tempest-plugin
294 irrelevant-files:
295 - ^.*\.rst$
296 - ^doc/.*$
297 - ^releasenotes/.*$
298
299- job:
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -0500300 name: cinder-tempest-plugin-basic-yoga
301 parent: cinder-tempest-plugin-basic
302 nodeset: openstack-single-node-focal
303 override-checkout: stable/yoga
304
305- job:
Ghanshyam Mannffd05a72022-01-18 18:48:33 -0600306 name: cinder-tempest-plugin-basic-xena
307 parent: cinder-tempest-plugin-basic
308 nodeset: openstack-single-node-focal
309 override-checkout: stable/xena
310
311- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500312 name: cinder-tempest-plugin-basic-wallaby
313 parent: cinder-tempest-plugin-basic
314 nodeset: openstack-single-node-focal
315 override-checkout: stable/wallaby