blob: c7ed3a570771a02d860a0034ab964a8c932aed08 [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 Mannaaf4e512022-04-14 19:14:00 -050015 - cinder-tempest-plugin-basic-yoga
Ghanshyam Mannffd05a72022-01-18 18:48:33 -060016 - cinder-tempest-plugin-basic-xena
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -050017 - cinder-tempest-plugin-basic-wallaby
Luigi Toscano3f52f352021-01-05 22:09:29 +010018 - cinder-tempest-plugin-basic-victoria
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 Mannaaf4e512022-04-14 19:14:00 -050029 - cinder-tempest-plugin-cbak-ceph-yoga
Ghanshyam Mannffd05a72022-01-18 18:48:33 -060030 - cinder-tempest-plugin-cbak-ceph-xena
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -050031 - cinder-tempest-plugin-cbak-ceph-wallaby
Luigi Toscano3d907472021-03-08 10:26:12 +010032 - cinder-tempest-plugin-cbak-ceph-victoria
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
Brian Rosmaita0587ca62022-05-13 22:02:40 -040083 volume:
84 build_timeout: 300
Luigi Toscanoa571b392020-04-17 19:30:23 +020085 volume-feature-enabled:
86 volume_revert: True
Chandan Kumar23e5b632018-01-04 23:36:43 +053087 devstack_services:
88 barbican: true
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010089 tempest_plugins:
90 - cinder-tempest-plugin
Chandan Kumar23e5b632018-01-04 23:36:43 +053091 irrelevant-files:
92 - ^.*\.rst$
93 - ^doc/.*$
94 - ^releasenotes/.*$
Sofia Enriquezf44ff142020-04-03 20:04:22 +000095
96- job:
Luigi Toscano1370db42021-03-03 21:31:11 +010097 name: cinder-tempest-plugin-lvm-barbican-base
98 description: |
99 This is a base job for lvm with lio & tgt targets
100 with cinderlib tests.
Ghanshyam Mannfc98b282022-01-20 21:10:59 -0600101 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train)).*$
Luigi Toscano1370db42021-03-03 21:31:11 +0100102 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
103 roles:
104 - zuul: opendev.org/openstack/cinderlib
105 required-projects:
106 - opendev.org/openstack/cinderlib
107 run: playbooks/tempest-and-cinderlib-run.yaml
108 # Required to collect the tox-based logs of the cinderlib functional tests
109 post-run: playbooks/post-cinderlib.yaml
110 vars:
111 fetch_subunit_output_additional_dirs:
112 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
Luigi Toscano7e297882021-04-20 17:04:12 +0200113 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 +0100114
115- job:
116 name: cinder-tempest-plugin-lvm-barbican-base
117 description: |
118 This is a base job for lvm with lio & tgt targets
Ghanshyam Mannfc98b282022-01-20 21:10:59 -0600119 with cinderlib tests to run on stable/train testing.
120 branches: stable/train
121 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
122 roles:
123 - zuul: opendev.org/openstack/cinderlib
124 required-projects:
125 - opendev.org/openstack/cinderlib
126 - name: opendev.org/openstack/cinder-tempest-plugin
127 override-checkout: 1.3.0
128 run: playbooks/tempest-and-cinderlib-run.yaml
129 # Required to collect the tox-based logs of the cinderlib functional tests
130 post-run: playbooks/post-cinderlib.yaml
131 vars:
132 fetch_subunit_output_additional_dirs:
133 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
134 tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-exclude-list.txt'
135
136- job:
137 name: cinder-tempest-plugin-lvm-barbican-base
138 description: |
139 This is a base job for lvm with lio & tgt targets
Luigi Toscano1370db42021-03-03 21:31:11 +0100140 branches: ^(?=stable/(ocata|pike|queens|rocky|stein)).*$
141 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
Luigi Toscanoeba85542021-06-28 17:31:59 +0200142 required-projects:
143 - name: opendev.org/openstack/cinder-tempest-plugin
144 override-checkout: stein-last
Luigi Toscano7e297882021-04-20 17:04:12 +0200145 vars:
146 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 +0100147
148- job:
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000149 name: cinder-tempest-plugin-cbak-ceph
150 parent: devstack-plugin-ceph-tempest-py3
151 description: |
152 Integration tests that runs with the ceph devstack plugin, py3
153 and enable the backup service.
154 vars:
Brian Rosmaita6e4b53a2022-05-14 12:15:50 -0400155 configure_swap_size: 4096
Luigi Toscanoa571b392020-04-17 19:30:23 +0200156 devstack_local_conf:
157 test-config:
158 $TEMPEST_CONFIG:
159 volume-feature-enabled:
160 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000161 devstack_services:
162 c-bak: true
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500163
Luigi Toscano3d907472021-03-08 10:26:12 +0100164- job:
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -0500165 name: cinder-tempest-plugin-cbak-ceph-yoga
166 parent: cinder-tempest-plugin-cbak-ceph
167 nodeset: openstack-single-node-focal
168 override-checkout: stable/yoga
169
170- job:
Ghanshyam Mannffd05a72022-01-18 18:48:33 -0600171 name: cinder-tempest-plugin-cbak-ceph-xena
172 parent: cinder-tempest-plugin-cbak-ceph
173 nodeset: openstack-single-node-focal
174 override-checkout: stable/xena
175
176- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500177 name: cinder-tempest-plugin-cbak-ceph-wallaby
178 parent: cinder-tempest-plugin-cbak-ceph
179 nodeset: openstack-single-node-focal
180 override-checkout: stable/wallaby
181
182- job:
Luigi Toscano3d907472021-03-08 10:26:12 +0100183 name: cinder-tempest-plugin-cbak-ceph-victoria
184 parent: cinder-tempest-plugin-cbak-ceph
185 nodeset: openstack-single-node-focal
186 override-checkout: stable/victoria
187
Luigi Toscanoa571b392020-04-17 19:30:23 +0200188# variant for pre-Ussuri branches (no volume revert for Ceph),
189# should this job be used on those branches
190- job:
191 name: cinder-tempest-plugin-cbak-ceph
192 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
193 vars:
194 devstack_local_conf:
195 test-config:
196 $TEMPEST_CONFIG:
197 volume-feature-enabled:
198 volume_revert: False
199
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500200- job:
201 name: cinder-tempest-plugin-lvm-lio-barbican
202 description: |
203 This jobs configures Cinder with LVM, LIO, barbican and
204 runs tempest tests and cinderlib tests.
205 parent: cinder-tempest-plugin-lvm-barbican-base
206 vars:
207 devstack_localrc:
208 CINDER_ISCSI_HELPER: lioadm
209
210- job:
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000211 name: cinder-tempest-plugin-lvm-lio-barbican-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200212 parent: cinder-tempest-plugin-lvm-lio-barbican
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000213 nodeset: devstack-single-node-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200214 description: |
215 This jobs configures Cinder with LVM, LIO, barbican and
Luigi Toscano8515b582022-04-27 16:11:13 +0200216 runs tempest tests and cinderlib tests on CentOS Stream 8.
217
218- job:
219 name: cinder-tempest-plugin-lvm-lio-barbican-centos-9-stream
220 parent: cinder-tempest-plugin-lvm-lio-barbican
221 nodeset: devstack-single-node-centos-9-stream
222 description: |
223 This jobs configures Cinder with LVM, LIO, barbican and
224 runs tempest tests and cinderlib tests on CentOS Stream 9.
Luigi Toscanof1441832020-05-01 19:33:21 +0200225
226- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500227 name: cinder-tempest-plugin-lvm-tgt-barbican
228 description: |
229 This jobs configures Cinder with LVM, tgt, barbican and
230 runs tempest tests and cinderlib tests.
231 parent: cinder-tempest-plugin-lvm-barbican-base
Lee Yarwood1ee1efc2021-03-10 09:34:31 +0000232 vars:
233 devstack_localrc:
234 CINDER_ISCSI_HELPER: tgtadm
Ghanshyam Mann93621532020-05-05 18:47:12 -0500235
236- job:
Hironori Shiina207d6672021-01-22 13:25:03 -0500237 name: cinder-tempest-plugin-cbak-s3
238 parent: cinder-tempest-plugin-basic
239 description: |
240 Integration tests that runs with the s3 backup driver with
241 Swift S3 API.
242 vars:
243 devstack_localrc:
244 CINDER_BACKUP_DRIVER: 's3_swift'
245 devstack_services:
246 c-bak: true
247 s3api: true
248 # Workaround: TLS proxy seems to cause S3 signature mismatch.
249 tls-proxy: false
250 tempest_test_regex: '(test_volume_backup|test_volumes_backup|test_snapshot_backup)'
251- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500252 name: cinder-tempest-plugin-basic
253 parent: devstack-tempest
254 description: |
255 Cinder tempest plugin tests job which run only cinder-tempest-plugin
256 tests.
257 required-projects:
258 - opendev.org/openstack/cinder-tempest-plugin
259 vars:
260 devstack_localrc:
261 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
262 tox_envlist: all
263 tempest_test_regex: cinder_tempest_plugin
264 tempest_plugins:
265 - cinder-tempest-plugin
266 irrelevant-files:
267 - ^.*\.rst$
268 - ^doc/.*$
269 - ^releasenotes/.*$
270
271- job:
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -0500272 name: cinder-tempest-plugin-basic-yoga
273 parent: cinder-tempest-plugin-basic
274 nodeset: openstack-single-node-focal
275 override-checkout: stable/yoga
276
277- job:
Ghanshyam Mannffd05a72022-01-18 18:48:33 -0600278 name: cinder-tempest-plugin-basic-xena
279 parent: cinder-tempest-plugin-basic
280 nodeset: openstack-single-node-focal
281 override-checkout: stable/xena
282
283- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500284 name: cinder-tempest-plugin-basic-wallaby
285 parent: cinder-tempest-plugin-basic
286 nodeset: openstack-single-node-focal
287 override-checkout: stable/wallaby
288
289- job:
Luigi Toscano3f52f352021-01-05 22:09:29 +0100290 name: cinder-tempest-plugin-basic-victoria
291 parent: cinder-tempest-plugin-basic
292 nodeset: openstack-single-node-focal
293 override-checkout: stable/victoria