blob: 96e7d75fe8d4e4bd994486ebd0ccf4abf9840041 [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
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:
Brian Rosmaita6e4b53a2022-05-14 12:15:50 -0400153 configure_swap_size: 4096
Luigi Toscanoa571b392020-04-17 19:30:23 +0200154 devstack_local_conf:
155 test-config:
156 $TEMPEST_CONFIG:
157 volume-feature-enabled:
158 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000159 devstack_services:
160 c-bak: true
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500161
Luigi Toscano3d907472021-03-08 10:26:12 +0100162- job:
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -0500163 name: cinder-tempest-plugin-cbak-ceph-yoga
164 parent: cinder-tempest-plugin-cbak-ceph
165 nodeset: openstack-single-node-focal
166 override-checkout: stable/yoga
167
168- job:
Ghanshyam Mannffd05a72022-01-18 18:48:33 -0600169 name: cinder-tempest-plugin-cbak-ceph-xena
170 parent: cinder-tempest-plugin-cbak-ceph
171 nodeset: openstack-single-node-focal
172 override-checkout: stable/xena
173
174- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500175 name: cinder-tempest-plugin-cbak-ceph-wallaby
176 parent: cinder-tempest-plugin-cbak-ceph
177 nodeset: openstack-single-node-focal
178 override-checkout: stable/wallaby
179
180- job:
Luigi Toscano3d907472021-03-08 10:26:12 +0100181 name: cinder-tempest-plugin-cbak-ceph-victoria
182 parent: cinder-tempest-plugin-cbak-ceph
183 nodeset: openstack-single-node-focal
184 override-checkout: stable/victoria
185
Luigi Toscanoa571b392020-04-17 19:30:23 +0200186# variant for pre-Ussuri branches (no volume revert for Ceph),
187# should this job be used on those branches
188- job:
189 name: cinder-tempest-plugin-cbak-ceph
190 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
191 vars:
192 devstack_local_conf:
193 test-config:
194 $TEMPEST_CONFIG:
195 volume-feature-enabled:
196 volume_revert: False
197
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500198- job:
199 name: cinder-tempest-plugin-lvm-lio-barbican
200 description: |
201 This jobs configures Cinder with LVM, LIO, barbican and
202 runs tempest tests and cinderlib tests.
203 parent: cinder-tempest-plugin-lvm-barbican-base
204 vars:
205 devstack_localrc:
206 CINDER_ISCSI_HELPER: lioadm
207
208- job:
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000209 name: cinder-tempest-plugin-lvm-lio-barbican-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200210 parent: cinder-tempest-plugin-lvm-lio-barbican
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000211 nodeset: devstack-single-node-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200212 description: |
213 This jobs configures Cinder with LVM, LIO, barbican and
Luigi Toscano8515b582022-04-27 16:11:13 +0200214 runs tempest tests and cinderlib tests on CentOS Stream 8.
215
216- job:
217 name: cinder-tempest-plugin-lvm-lio-barbican-centos-9-stream
218 parent: cinder-tempest-plugin-lvm-lio-barbican
219 nodeset: devstack-single-node-centos-9-stream
220 description: |
221 This jobs configures Cinder with LVM, LIO, barbican and
222 runs tempest tests and cinderlib tests on CentOS Stream 9.
Luigi Toscanof1441832020-05-01 19:33:21 +0200223
224- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500225 name: cinder-tempest-plugin-lvm-tgt-barbican
226 description: |
227 This jobs configures Cinder with LVM, tgt, barbican and
228 runs tempest tests and cinderlib tests.
229 parent: cinder-tempest-plugin-lvm-barbican-base
Lee Yarwood1ee1efc2021-03-10 09:34:31 +0000230 vars:
231 devstack_localrc:
232 CINDER_ISCSI_HELPER: tgtadm
Ghanshyam Mann93621532020-05-05 18:47:12 -0500233
234- job:
Hironori Shiina207d6672021-01-22 13:25:03 -0500235 name: cinder-tempest-plugin-cbak-s3
236 parent: cinder-tempest-plugin-basic
237 description: |
238 Integration tests that runs with the s3 backup driver with
239 Swift S3 API.
240 vars:
241 devstack_localrc:
242 CINDER_BACKUP_DRIVER: 's3_swift'
243 devstack_services:
244 c-bak: true
245 s3api: true
246 # Workaround: TLS proxy seems to cause S3 signature mismatch.
247 tls-proxy: false
248 tempest_test_regex: '(test_volume_backup|test_volumes_backup|test_snapshot_backup)'
249- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500250 name: cinder-tempest-plugin-basic
251 parent: devstack-tempest
252 description: |
253 Cinder tempest plugin tests job which run only cinder-tempest-plugin
254 tests.
255 required-projects:
256 - opendev.org/openstack/cinder-tempest-plugin
257 vars:
258 devstack_localrc:
259 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
260 tox_envlist: all
261 tempest_test_regex: cinder_tempest_plugin
262 tempest_plugins:
263 - cinder-tempest-plugin
264 irrelevant-files:
265 - ^.*\.rst$
266 - ^doc/.*$
267 - ^releasenotes/.*$
268
269- job:
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -0500270 name: cinder-tempest-plugin-basic-yoga
271 parent: cinder-tempest-plugin-basic
272 nodeset: openstack-single-node-focal
273 override-checkout: stable/yoga
274
275- job:
Ghanshyam Mannffd05a72022-01-18 18:48:33 -0600276 name: cinder-tempest-plugin-basic-xena
277 parent: cinder-tempest-plugin-basic
278 nodeset: openstack-single-node-focal
279 override-checkout: stable/xena
280
281- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500282 name: cinder-tempest-plugin-basic-wallaby
283 parent: cinder-tempest-plugin-basic
284 nodeset: openstack-single-node-focal
285 override-checkout: stable/wallaby
286
287- job:
Luigi Toscano3f52f352021-01-05 22:09:29 +0100288 name: cinder-tempest-plugin-basic-victoria
289 parent: cinder-tempest-plugin-basic
290 nodeset: openstack-single-node-focal
291 override-checkout: stable/victoria