blob: 8c375315582f7745429f146ebc1be5ef890b23f0 [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:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +01007 - cinder-tempest-plugin-lvm-lio-barbican
Luigi Toscano8515b582022-04-27 16:11:13 +02008 - cinder-tempest-plugin-lvm-lio-barbican-centos-9-stream:
Luigi Toscanof1441832020-05-01 19:33:21 +02009 voting: false
Eric Harneyfb18e1a2018-01-24 16:14:13 -050010 - cinder-tempest-plugin-lvm-tgt-barbican
Lee Yarwood103c2f72021-01-21 15:38:44 +000011 - nova-ceph-multistore:
12 voting: false
Sofia Enriquezf44ff142020-04-03 20:04:22 +000013 - cinder-tempest-plugin-cbak-ceph
Hironori Shiina207d6672021-01-22 13:25:03 -050014 - cinder-tempest-plugin-cbak-s3
Ghanshyam Mannffd05a72022-01-18 18:48:33 -060015 - cinder-tempest-plugin-basic-xena
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -050016 - cinder-tempest-plugin-basic-wallaby
Luigi Toscano3f52f352021-01-05 22:09:29 +010017 - cinder-tempest-plugin-basic-victoria
Ghanshyam Mann93621532020-05-05 18:47:12 -050018 - cinder-tempest-plugin-basic-ussuri
Lance Bragstadd3fddec2021-02-16 16:27:13 +000019 # Set this job to voting once we have some actual tests to run
20 - cinder-tempest-plugin-protection-functional:
21 voting: false
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010022 gate:
23 jobs:
24 - cinder-tempest-plugin-lvm-lio-barbican
Eric Harneyfb18e1a2018-01-24 16:14:13 -050025 - cinder-tempest-plugin-lvm-tgt-barbican
Sofia Enriquezf44ff142020-04-03 20:04:22 +000026 - cinder-tempest-plugin-cbak-ceph
Luigi Toscano3d907472021-03-08 10:26:12 +010027 experimental:
28 jobs:
Ghanshyam Mannffd05a72022-01-18 18:48:33 -060029 - cinder-tempest-plugin-cbak-ceph-xena
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -050030 - cinder-tempest-plugin-cbak-ceph-wallaby
Luigi Toscano3d907472021-03-08 10:26:12 +010031 - cinder-tempest-plugin-cbak-ceph-victoria
32 - cinder-tempest-plugin-cbak-ceph-ussuri
Chandan Kumar23e5b632018-01-04 23:36:43 +053033
34- job:
Lance Bragstadd3fddec2021-02-16 16:27:13 +000035 name: cinder-tempest-plugin-protection-functional
36 parent: devstack-tempest
37 required-projects:
38 - opendev.org/openstack/cinder-tempest-plugin
39 - opendev.org/openstack/cinder
40 vars:
41 tox_envlist: all
42 tempest_test_regex: 'cinder_tempest_plugin.rbac'
43 devstack_local_conf:
44 test-config:
45 $CINDER_CONF:
46 oslo_policy:
47 enforce_new_defaults: True
48 $TEMPEST_CONFIG:
49 enforce_scope:
50 cinder: True
51 tempest_plugins:
52 - cinder-tempest-plugin
53
54- job:
Luigi Toscano1370db42021-03-03 21:31:11 +010055 name: cinder-tempest-plugin-lvm-barbican-base-abstract
Chandan Kumar23e5b632018-01-04 23:36:43 +053056 description: |
Eric Harneyfb18e1a2018-01-24 16:14:13 -050057 This is a base job for lvm with lio & tgt targets
Chandan Kumar23e5b632018-01-04 23:36:43 +053058 parent: devstack-tempest
Luigi Toscano1370db42021-03-03 21:31:11 +010059 abstract: true
Luigi Toscanoa571b392020-04-17 19:30:23 +020060 timeout: 10800
Chandan Kumar23e5b632018-01-04 23:36:43 +053061 required-projects:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010062 - opendev.org/openstack/barbican
63 - opendev.org/openstack/tempest
64 - opendev.org/openstack/cinder-tempest-plugin
65 - opendev.org/openstack/cinder
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010066 host-vars:
67 controller:
68 devstack_plugins:
69 barbican: https://opendev.org/openstack/barbican
Chandan Kumar23e5b632018-01-04 23:36:43 +053070 vars:
Sofia Enriquezf44ff142020-04-03 20:04:22 +000071 tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))'
Doug Hellmann4a63cd52018-09-09 05:49:23 -040072 tox_envlist: all
Chandan Kumar23e5b632018-01-04 23:36:43 +053073 devstack_localrc:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010074 CINDER_LVM_TYPE: thin
75 CINDER_COORDINATION_URL: 'file://\$state_path'
Luigi Toscanoa571b392020-04-17 19:30:23 +020076 devstack_local_conf:
77 test-config:
78 $TEMPEST_CONFIG:
Luigi Toscano5d7847c2021-02-25 22:16:32 +010079 auth:
80 # FIXME: 'creator' should be re-added by the barbican devstack plugin
81 # but the value below override everything.
82 tempest_roles: member,creator
Luigi Toscanoa571b392020-04-17 19:30:23 +020083 volume-feature-enabled:
84 volume_revert: True
Chandan Kumar23e5b632018-01-04 23:36:43 +053085 devstack_services:
86 barbican: true
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010087 tempest_plugins:
88 - cinder-tempest-plugin
Chandan Kumar23e5b632018-01-04 23:36:43 +053089 irrelevant-files:
90 - ^.*\.rst$
91 - ^doc/.*$
92 - ^releasenotes/.*$
Sofia Enriquezf44ff142020-04-03 20:04:22 +000093
94- job:
Luigi Toscano1370db42021-03-03 21:31:11 +010095 name: cinder-tempest-plugin-lvm-barbican-base
96 description: |
97 This is a base job for lvm with lio & tgt targets
98 with cinderlib tests.
Ghanshyam Mannfc98b282022-01-20 21:10:59 -060099 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train)).*$
Luigi Toscano1370db42021-03-03 21:31:11 +0100100 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
101 roles:
102 - zuul: opendev.org/openstack/cinderlib
103 required-projects:
104 - opendev.org/openstack/cinderlib
105 run: playbooks/tempest-and-cinderlib-run.yaml
106 # Required to collect the tox-based logs of the cinderlib functional tests
107 post-run: playbooks/post-cinderlib.yaml
108 vars:
109 fetch_subunit_output_additional_dirs:
110 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
Luigi Toscano7e297882021-04-20 17:04:12 +0200111 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 +0100112
113- job:
114 name: cinder-tempest-plugin-lvm-barbican-base
115 description: |
116 This is a base job for lvm with lio & tgt targets
Ghanshyam Mannfc98b282022-01-20 21:10:59 -0600117 with cinderlib tests to run on stable/train testing.
118 branches: stable/train
119 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
120 roles:
121 - zuul: opendev.org/openstack/cinderlib
122 required-projects:
123 - opendev.org/openstack/cinderlib
124 - name: opendev.org/openstack/cinder-tempest-plugin
125 override-checkout: 1.3.0
126 run: playbooks/tempest-and-cinderlib-run.yaml
127 # Required to collect the tox-based logs of the cinderlib functional tests
128 post-run: playbooks/post-cinderlib.yaml
129 vars:
130 fetch_subunit_output_additional_dirs:
131 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
132 tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-exclude-list.txt'
133
134- job:
135 name: cinder-tempest-plugin-lvm-barbican-base
136 description: |
137 This is a base job for lvm with lio & tgt targets
Luigi Toscano1370db42021-03-03 21:31:11 +0100138 branches: ^(?=stable/(ocata|pike|queens|rocky|stein)).*$
139 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
Luigi Toscanoeba85542021-06-28 17:31:59 +0200140 required-projects:
141 - name: opendev.org/openstack/cinder-tempest-plugin
142 override-checkout: stein-last
Luigi Toscano7e297882021-04-20 17:04:12 +0200143 vars:
144 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 +0100145
146- job:
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000147 name: cinder-tempest-plugin-cbak-ceph
148 parent: devstack-plugin-ceph-tempest-py3
149 description: |
150 Integration tests that runs with the ceph devstack plugin, py3
151 and enable the backup service.
152 vars:
Luigi Toscanoa571b392020-04-17 19:30:23 +0200153 devstack_local_conf:
154 test-config:
155 $TEMPEST_CONFIG:
156 volume-feature-enabled:
157 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000158 devstack_services:
159 c-bak: true
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500160
Luigi Toscano3d907472021-03-08 10:26:12 +0100161- job:
Ghanshyam Mannffd05a72022-01-18 18:48:33 -0600162 name: cinder-tempest-plugin-cbak-ceph-xena
163 parent: cinder-tempest-plugin-cbak-ceph
164 nodeset: openstack-single-node-focal
165 override-checkout: stable/xena
166
167- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500168 name: cinder-tempest-plugin-cbak-ceph-wallaby
169 parent: cinder-tempest-plugin-cbak-ceph
170 nodeset: openstack-single-node-focal
171 override-checkout: stable/wallaby
172
173- job:
Luigi Toscano3d907472021-03-08 10:26:12 +0100174 name: cinder-tempest-plugin-cbak-ceph-victoria
175 parent: cinder-tempest-plugin-cbak-ceph
176 nodeset: openstack-single-node-focal
177 override-checkout: stable/victoria
178
179- job:
180 name: cinder-tempest-plugin-cbak-ceph-ussuri
181 parent: cinder-tempest-plugin-cbak-ceph
182 nodeset: openstack-single-node-bionic
183 override-checkout: stable/ussuri
184
Luigi Toscanoa571b392020-04-17 19:30:23 +0200185# variant for pre-Ussuri branches (no volume revert for Ceph),
186# should this job be used on those branches
187- job:
188 name: cinder-tempest-plugin-cbak-ceph
189 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
190 vars:
191 devstack_local_conf:
192 test-config:
193 $TEMPEST_CONFIG:
194 volume-feature-enabled:
195 volume_revert: False
196
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500197- job:
198 name: cinder-tempest-plugin-lvm-lio-barbican
199 description: |
200 This jobs configures Cinder with LVM, LIO, barbican and
201 runs tempest tests and cinderlib tests.
202 parent: cinder-tempest-plugin-lvm-barbican-base
203 vars:
204 devstack_localrc:
205 CINDER_ISCSI_HELPER: lioadm
206
207- job:
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000208 name: cinder-tempest-plugin-lvm-lio-barbican-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200209 parent: cinder-tempest-plugin-lvm-lio-barbican
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000210 nodeset: devstack-single-node-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200211 description: |
212 This jobs configures Cinder with LVM, LIO, barbican and
Luigi Toscano8515b582022-04-27 16:11:13 +0200213 runs tempest tests and cinderlib tests on CentOS Stream 8.
214
215- job:
216 name: cinder-tempest-plugin-lvm-lio-barbican-centos-9-stream
217 parent: cinder-tempest-plugin-lvm-lio-barbican
218 nodeset: devstack-single-node-centos-9-stream
219 description: |
220 This jobs configures Cinder with LVM, LIO, barbican and
221 runs tempest tests and cinderlib tests on CentOS Stream 9.
Luigi Toscanof1441832020-05-01 19:33:21 +0200222
223- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500224 name: cinder-tempest-plugin-lvm-tgt-barbican
225 description: |
226 This jobs configures Cinder with LVM, tgt, barbican and
227 runs tempest tests and cinderlib tests.
228 parent: cinder-tempest-plugin-lvm-barbican-base
Lee Yarwood1ee1efc2021-03-10 09:34:31 +0000229 vars:
230 devstack_localrc:
231 CINDER_ISCSI_HELPER: tgtadm
Ghanshyam Mann93621532020-05-05 18:47:12 -0500232
233- job:
Hironori Shiina207d6672021-01-22 13:25:03 -0500234 name: cinder-tempest-plugin-cbak-s3
235 parent: cinder-tempest-plugin-basic
236 description: |
237 Integration tests that runs with the s3 backup driver with
238 Swift S3 API.
239 vars:
240 devstack_localrc:
241 CINDER_BACKUP_DRIVER: 's3_swift'
242 devstack_services:
243 c-bak: true
244 s3api: true
245 # Workaround: TLS proxy seems to cause S3 signature mismatch.
246 tls-proxy: false
247 tempest_test_regex: '(test_volume_backup|test_volumes_backup|test_snapshot_backup)'
248- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500249 name: cinder-tempest-plugin-basic
250 parent: devstack-tempest
251 description: |
252 Cinder tempest plugin tests job which run only cinder-tempest-plugin
253 tests.
254 required-projects:
255 - opendev.org/openstack/cinder-tempest-plugin
256 vars:
257 devstack_localrc:
258 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
259 tox_envlist: all
260 tempest_test_regex: cinder_tempest_plugin
261 tempest_plugins:
262 - cinder-tempest-plugin
263 irrelevant-files:
264 - ^.*\.rst$
265 - ^doc/.*$
266 - ^releasenotes/.*$
267
268- job:
Ghanshyam Mannffd05a72022-01-18 18:48:33 -0600269 name: cinder-tempest-plugin-basic-xena
270 parent: cinder-tempest-plugin-basic
271 nodeset: openstack-single-node-focal
272 override-checkout: stable/xena
273
274- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500275 name: cinder-tempest-plugin-basic-wallaby
276 parent: cinder-tempest-plugin-basic
277 nodeset: openstack-single-node-focal
278 override-checkout: stable/wallaby
279
280- job:
Luigi Toscano3f52f352021-01-05 22:09:29 +0100281 name: cinder-tempest-plugin-basic-victoria
282 parent: cinder-tempest-plugin-basic
283 nodeset: openstack-single-node-focal
284 override-checkout: stable/victoria
285
286- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500287 name: cinder-tempest-plugin-basic-ussuri
288 parent: cinder-tempest-plugin-basic
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -0500289 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500290 override-checkout: stable/ussuri