blob: c6a90a3246c32ad5bbcd1b513ca3166b7191a3d6 [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 Mann9d89d4e2022-05-25 12:21:18 -0500101 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train|ussuri|victoria)).*$
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.
Ghanshyam Mann9d89d4e2022-05-25 12:21:18 -0500120 branches:
121 - stable/train
122 - stable/ussuri
123 - stable/victoria
Ghanshyam Mannfc98b282022-01-20 21:10:59 -0600124 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
125 roles:
126 - zuul: opendev.org/openstack/cinderlib
127 required-projects:
128 - opendev.org/openstack/cinderlib
129 - name: opendev.org/openstack/cinder-tempest-plugin
130 override-checkout: 1.3.0
131 run: playbooks/tempest-and-cinderlib-run.yaml
132 # Required to collect the tox-based logs of the cinderlib functional tests
133 post-run: playbooks/post-cinderlib.yaml
134 vars:
135 fetch_subunit_output_additional_dirs:
136 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
137 tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-exclude-list.txt'
138
139- job:
140 name: cinder-tempest-plugin-lvm-barbican-base
141 description: |
142 This is a base job for lvm with lio & tgt targets
Luigi Toscano1370db42021-03-03 21:31:11 +0100143 branches: ^(?=stable/(ocata|pike|queens|rocky|stein)).*$
144 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
Luigi Toscanoeba85542021-06-28 17:31:59 +0200145 required-projects:
146 - name: opendev.org/openstack/cinder-tempest-plugin
147 override-checkout: stein-last
Luigi Toscano7e297882021-04-20 17:04:12 +0200148 vars:
149 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 +0100150
151- job:
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000152 name: cinder-tempest-plugin-cbak-ceph
153 parent: devstack-plugin-ceph-tempest-py3
154 description: |
155 Integration tests that runs with the ceph devstack plugin, py3
156 and enable the backup service.
157 vars:
Brian Rosmaita6e4b53a2022-05-14 12:15:50 -0400158 configure_swap_size: 4096
Luigi Toscanoa571b392020-04-17 19:30:23 +0200159 devstack_local_conf:
160 test-config:
161 $TEMPEST_CONFIG:
162 volume-feature-enabled:
163 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000164 devstack_services:
165 c-bak: true
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500166
Luigi Toscano3d907472021-03-08 10:26:12 +0100167- job:
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -0500168 name: cinder-tempest-plugin-cbak-ceph-yoga
169 parent: cinder-tempest-plugin-cbak-ceph
170 nodeset: openstack-single-node-focal
171 override-checkout: stable/yoga
172
173- job:
Ghanshyam Mannffd05a72022-01-18 18:48:33 -0600174 name: cinder-tempest-plugin-cbak-ceph-xena
175 parent: cinder-tempest-plugin-cbak-ceph
176 nodeset: openstack-single-node-focal
177 override-checkout: stable/xena
178
179- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500180 name: cinder-tempest-plugin-cbak-ceph-wallaby
181 parent: cinder-tempest-plugin-cbak-ceph
182 nodeset: openstack-single-node-focal
183 override-checkout: stable/wallaby
184
185- job:
Luigi Toscano3d907472021-03-08 10:26:12 +0100186 name: cinder-tempest-plugin-cbak-ceph-victoria
187 parent: cinder-tempest-plugin-cbak-ceph
188 nodeset: openstack-single-node-focal
189 override-checkout: stable/victoria
190
Luigi Toscanoa571b392020-04-17 19:30:23 +0200191# variant for pre-Ussuri branches (no volume revert for Ceph),
192# should this job be used on those branches
193- job:
194 name: cinder-tempest-plugin-cbak-ceph
195 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
196 vars:
197 devstack_local_conf:
198 test-config:
199 $TEMPEST_CONFIG:
200 volume-feature-enabled:
201 volume_revert: False
202
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500203- job:
204 name: cinder-tempest-plugin-lvm-lio-barbican
205 description: |
206 This jobs configures Cinder with LVM, LIO, barbican and
207 runs tempest tests and cinderlib tests.
208 parent: cinder-tempest-plugin-lvm-barbican-base
209 vars:
210 devstack_localrc:
211 CINDER_ISCSI_HELPER: lioadm
212
213- job:
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000214 name: cinder-tempest-plugin-lvm-lio-barbican-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200215 parent: cinder-tempest-plugin-lvm-lio-barbican
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000216 nodeset: devstack-single-node-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200217 description: |
218 This jobs configures Cinder with LVM, LIO, barbican and
Luigi Toscano8515b582022-04-27 16:11:13 +0200219 runs tempest tests and cinderlib tests on CentOS Stream 8.
220
221- job:
222 name: cinder-tempest-plugin-lvm-lio-barbican-centos-9-stream
223 parent: cinder-tempest-plugin-lvm-lio-barbican
224 nodeset: devstack-single-node-centos-9-stream
225 description: |
226 This jobs configures Cinder with LVM, LIO, barbican and
227 runs tempest tests and cinderlib tests on CentOS Stream 9.
Luigi Toscanof1441832020-05-01 19:33:21 +0200228
229- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500230 name: cinder-tempest-plugin-lvm-tgt-barbican
231 description: |
232 This jobs configures Cinder with LVM, tgt, barbican and
233 runs tempest tests and cinderlib tests.
234 parent: cinder-tempest-plugin-lvm-barbican-base
Lee Yarwood1ee1efc2021-03-10 09:34:31 +0000235 vars:
236 devstack_localrc:
237 CINDER_ISCSI_HELPER: tgtadm
Ghanshyam Mann93621532020-05-05 18:47:12 -0500238
239- job:
Hironori Shiina207d6672021-01-22 13:25:03 -0500240 name: cinder-tempest-plugin-cbak-s3
241 parent: cinder-tempest-plugin-basic
242 description: |
243 Integration tests that runs with the s3 backup driver with
244 Swift S3 API.
245 vars:
246 devstack_localrc:
247 CINDER_BACKUP_DRIVER: 's3_swift'
248 devstack_services:
249 c-bak: true
250 s3api: true
251 # Workaround: TLS proxy seems to cause S3 signature mismatch.
252 tls-proxy: false
253 tempest_test_regex: '(test_volume_backup|test_volumes_backup|test_snapshot_backup)'
254- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500255 name: cinder-tempest-plugin-basic
256 parent: devstack-tempest
257 description: |
258 Cinder tempest plugin tests job which run only cinder-tempest-plugin
259 tests.
260 required-projects:
261 - opendev.org/openstack/cinder-tempest-plugin
262 vars:
263 devstack_localrc:
264 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
265 tox_envlist: all
266 tempest_test_regex: cinder_tempest_plugin
267 tempest_plugins:
268 - cinder-tempest-plugin
269 irrelevant-files:
270 - ^.*\.rst$
271 - ^doc/.*$
272 - ^releasenotes/.*$
273
274- job:
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -0500275 name: cinder-tempest-plugin-basic-yoga
276 parent: cinder-tempest-plugin-basic
277 nodeset: openstack-single-node-focal
278 override-checkout: stable/yoga
279
280- job:
Ghanshyam Mannffd05a72022-01-18 18:48:33 -0600281 name: cinder-tempest-plugin-basic-xena
282 parent: cinder-tempest-plugin-basic
283 nodeset: openstack-single-node-focal
284 override-checkout: stable/xena
285
286- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500287 name: cinder-tempest-plugin-basic-wallaby
288 parent: cinder-tempest-plugin-basic
289 nodeset: openstack-single-node-focal
290 override-checkout: stable/wallaby
291
292- job:
Luigi Toscano3f52f352021-01-05 22:09:29 +0100293 name: cinder-tempest-plugin-basic-victoria
294 parent: cinder-tempest-plugin-basic
295 nodeset: openstack-single-node-focal
296 override-checkout: stable/victoria