blob: 89d4277d6536e05f77f0054efe1f8936943bb0e2 [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
Radosław Piliszek51b819b2021-06-07 17:21:22 +00009 - cinder-tempest-plugin-lvm-lio-barbican-centos-8-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 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
19 - cinder-tempest-plugin-basic-train
Lance Bragstadd3fddec2021-02-16 16:27:13 +000020 # Set this job to voting once we have some actual tests to run
21 - cinder-tempest-plugin-protection-functional:
22 voting: false
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010023 gate:
24 jobs:
25 - cinder-tempest-plugin-lvm-lio-barbican
Eric Harneyfb18e1a2018-01-24 16:14:13 -050026 - cinder-tempest-plugin-lvm-tgt-barbican
Sofia Enriquezf44ff142020-04-03 20:04:22 +000027 - cinder-tempest-plugin-cbak-ceph
Luigi Toscano3d907472021-03-08 10:26:12 +010028 experimental:
29 jobs:
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
33 - cinder-tempest-plugin-cbak-ceph-train
Chandan Kumar23e5b632018-01-04 23:36:43 +053034
35- job:
Lance Bragstadd3fddec2021-02-16 16:27:13 +000036 name: cinder-tempest-plugin-protection-functional
37 parent: devstack-tempest
38 required-projects:
39 - opendev.org/openstack/cinder-tempest-plugin
40 - opendev.org/openstack/cinder
41 vars:
42 tox_envlist: all
43 tempest_test_regex: 'cinder_tempest_plugin.rbac'
44 devstack_local_conf:
45 test-config:
46 $CINDER_CONF:
47 oslo_policy:
48 enforce_new_defaults: True
49 $TEMPEST_CONFIG:
50 enforce_scope:
51 cinder: True
52 tempest_plugins:
53 - cinder-tempest-plugin
54
55- job:
whoami-rajat6dc9a2f2021-05-18 07:01:33 -040056 name: cinder-tempest-plugin-lvm-multiattach
57 description: |
58 This enables multiattach tests along with standard tempest tests
59 parent: devstack-tempest
60 required-projects:
61 - opendev.org/openstack/tempest
62 - opendev.org/openstack/cinder-tempest-plugin
63 - opendev.org/openstack/cinder
64 vars:
65 tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))'
66 tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-exclude-list.txt'
67 tox_envlist: all
68 devstack_localrc:
69 ENABLE_VOLUME_MULTIATTACH: true
70 tempest_plugins:
71 - cinder-tempest-plugin
72 irrelevant-files:
73 - ^.*\.rst$
74 - ^doc/.*$
75 - ^releasenotes/.*$
76
77- job:
Luigi Toscano1370db42021-03-03 21:31:11 +010078 name: cinder-tempest-plugin-lvm-barbican-base-abstract
Chandan Kumar23e5b632018-01-04 23:36:43 +053079 description: |
Eric Harneyfb18e1a2018-01-24 16:14:13 -050080 This is a base job for lvm with lio & tgt targets
Chandan Kumar23e5b632018-01-04 23:36:43 +053081 parent: devstack-tempest
Luigi Toscano1370db42021-03-03 21:31:11 +010082 abstract: true
Luigi Toscanoa571b392020-04-17 19:30:23 +020083 timeout: 10800
Chandan Kumar23e5b632018-01-04 23:36:43 +053084 required-projects:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010085 - opendev.org/openstack/barbican
86 - opendev.org/openstack/tempest
87 - opendev.org/openstack/cinder-tempest-plugin
88 - opendev.org/openstack/cinder
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010089 host-vars:
90 controller:
91 devstack_plugins:
92 barbican: https://opendev.org/openstack/barbican
Chandan Kumar23e5b632018-01-04 23:36:43 +053093 vars:
Sofia Enriquezf44ff142020-04-03 20:04:22 +000094 tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))'
Doug Hellmann4a63cd52018-09-09 05:49:23 -040095 tox_envlist: all
Chandan Kumar23e5b632018-01-04 23:36:43 +053096 devstack_localrc:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010097 CINDER_LVM_TYPE: thin
98 CINDER_COORDINATION_URL: 'file://\$state_path'
Luigi Toscanoa571b392020-04-17 19:30:23 +020099 devstack_local_conf:
100 test-config:
101 $TEMPEST_CONFIG:
Luigi Toscano5d7847c2021-02-25 22:16:32 +0100102 auth:
103 # FIXME: 'creator' should be re-added by the barbican devstack plugin
104 # but the value below override everything.
105 tempest_roles: member,creator
Luigi Toscanoa571b392020-04-17 19:30:23 +0200106 volume-feature-enabled:
107 volume_revert: True
Chandan Kumar23e5b632018-01-04 23:36:43 +0530108 devstack_services:
109 barbican: true
Luigi Toscanoc6215bd2020-02-21 12:42:58 +0100110 tempest_plugins:
111 - cinder-tempest-plugin
Chandan Kumar23e5b632018-01-04 23:36:43 +0530112 irrelevant-files:
113 - ^.*\.rst$
114 - ^doc/.*$
115 - ^releasenotes/.*$
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000116
117- job:
Luigi Toscano1370db42021-03-03 21:31:11 +0100118 name: cinder-tempest-plugin-lvm-barbican-base
119 description: |
120 This is a base job for lvm with lio & tgt targets
121 with cinderlib tests.
122 branches: ^(?!stable/(ocata|pike|queens|rocky|stein)).*$
123 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
124 roles:
125 - zuul: opendev.org/openstack/cinderlib
126 required-projects:
127 - opendev.org/openstack/cinderlib
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 }}"
Luigi Toscano7e297882021-04-20 17:04:12 +0200134 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 +0100135
136- job:
137 name: cinder-tempest-plugin-lvm-barbican-base
138 description: |
139 This is a base job for lvm with lio & tgt targets
140 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:
Luigi Toscanoa571b392020-04-17 19:30:23 +0200155 devstack_local_conf:
156 test-config:
157 $TEMPEST_CONFIG:
158 volume-feature-enabled:
159 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000160 devstack_services:
161 c-bak: true
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500162
Luigi Toscano3d907472021-03-08 10:26:12 +0100163- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500164 name: cinder-tempest-plugin-cbak-ceph-wallaby
165 parent: cinder-tempest-plugin-cbak-ceph
166 nodeset: openstack-single-node-focal
167 override-checkout: stable/wallaby
168
169- job:
Luigi Toscano3d907472021-03-08 10:26:12 +0100170 name: cinder-tempest-plugin-cbak-ceph-victoria
171 parent: cinder-tempest-plugin-cbak-ceph
172 nodeset: openstack-single-node-focal
173 override-checkout: stable/victoria
174
175- job:
176 name: cinder-tempest-plugin-cbak-ceph-ussuri
177 parent: cinder-tempest-plugin-cbak-ceph
178 nodeset: openstack-single-node-bionic
179 override-checkout: stable/ussuri
180
181- job:
182 name: cinder-tempest-plugin-cbak-ceph-train
183 parent: cinder-tempest-plugin-cbak-ceph
184 nodeset: openstack-single-node-bionic
185 override-checkout: stable/train
186
Luigi Toscanoa571b392020-04-17 19:30:23 +0200187# variant for pre-Ussuri branches (no volume revert for Ceph),
188# should this job be used on those branches
189- job:
190 name: cinder-tempest-plugin-cbak-ceph
191 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
192 vars:
193 devstack_local_conf:
194 test-config:
195 $TEMPEST_CONFIG:
196 volume-feature-enabled:
197 volume_revert: False
198
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500199- job:
200 name: cinder-tempest-plugin-lvm-lio-barbican
201 description: |
202 This jobs configures Cinder with LVM, LIO, barbican and
203 runs tempest tests and cinderlib tests.
204 parent: cinder-tempest-plugin-lvm-barbican-base
205 vars:
206 devstack_localrc:
207 CINDER_ISCSI_HELPER: lioadm
208
209- job:
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000210 name: cinder-tempest-plugin-lvm-lio-barbican-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200211 parent: cinder-tempest-plugin-lvm-lio-barbican
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000212 nodeset: devstack-single-node-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200213 description: |
214 This jobs configures Cinder with LVM, LIO, barbican and
215 runs tempest tests and cinderlib tests on CentOS 8.
216
217- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500218 name: cinder-tempest-plugin-lvm-tgt-barbican
219 description: |
220 This jobs configures Cinder with LVM, tgt, barbican and
221 runs tempest tests and cinderlib tests.
222 parent: cinder-tempest-plugin-lvm-barbican-base
Lee Yarwood1ee1efc2021-03-10 09:34:31 +0000223 vars:
224 devstack_localrc:
225 CINDER_ISCSI_HELPER: tgtadm
Ghanshyam Mann93621532020-05-05 18:47:12 -0500226
227- job:
Hironori Shiina207d6672021-01-22 13:25:03 -0500228 name: cinder-tempest-plugin-cbak-s3
229 parent: cinder-tempest-plugin-basic
230 description: |
231 Integration tests that runs with the s3 backup driver with
232 Swift S3 API.
233 vars:
234 devstack_localrc:
235 CINDER_BACKUP_DRIVER: 's3_swift'
236 devstack_services:
237 c-bak: true
238 s3api: true
239 # Workaround: TLS proxy seems to cause S3 signature mismatch.
240 tls-proxy: false
241 tempest_test_regex: '(test_volume_backup|test_volumes_backup|test_snapshot_backup)'
242- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500243 name: cinder-tempest-plugin-basic
244 parent: devstack-tempest
245 description: |
246 Cinder tempest plugin tests job which run only cinder-tempest-plugin
247 tests.
248 required-projects:
249 - opendev.org/openstack/cinder-tempest-plugin
250 vars:
251 devstack_localrc:
252 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
253 tox_envlist: all
254 tempest_test_regex: cinder_tempest_plugin
255 tempest_plugins:
256 - cinder-tempest-plugin
257 irrelevant-files:
258 - ^.*\.rst$
259 - ^doc/.*$
260 - ^releasenotes/.*$
261
262- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500263 name: cinder-tempest-plugin-basic-wallaby
264 parent: cinder-tempest-plugin-basic
265 nodeset: openstack-single-node-focal
266 override-checkout: stable/wallaby
267
268- job:
Luigi Toscano3f52f352021-01-05 22:09:29 +0100269 name: cinder-tempest-plugin-basic-victoria
270 parent: cinder-tempest-plugin-basic
271 nodeset: openstack-single-node-focal
272 override-checkout: stable/victoria
273
274- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500275 name: cinder-tempest-plugin-basic-ussuri
276 parent: cinder-tempest-plugin-basic
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -0500277 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500278 override-checkout: stable/ussuri
279
280- job:
281 name: cinder-tempest-plugin-basic-train
282 parent: cinder-tempest-plugin-basic
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -0500283 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500284 override-checkout: stable/train
285 vars:
286 devstack_localrc:
287 USE_PYTHON3: True