blob: 0e333c4eabda7936a4a9a67b7d273cc6780adb63 [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 Mann965cd722022-05-27 15:20:13 -050015 # As per the Tempest "Stable Branch Support Policy", Tempest will only
16 # support the "Maintained" stable branches and not the "Extended Maintained"
17 # branches. That is what we need to do for all tempest plugins. Only jobs
18 # for the current releasable ("Maintained") stable branches should be listed
19 # here.
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -050020 - cinder-tempest-plugin-basic-yoga
Ghanshyam Mannffd05a72022-01-18 18:48:33 -060021 - cinder-tempest-plugin-basic-xena
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -050022 - cinder-tempest-plugin-basic-wallaby
Lance Bragstadd3fddec2021-02-16 16:27:13 +000023 # Set this job to voting once we have some actual tests to run
24 - cinder-tempest-plugin-protection-functional:
25 voting: false
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010026 gate:
27 jobs:
28 - cinder-tempest-plugin-lvm-lio-barbican
Eric Harneyfb18e1a2018-01-24 16:14:13 -050029 - cinder-tempest-plugin-lvm-tgt-barbican
Sofia Enriquezf44ff142020-04-03 20:04:22 +000030 - cinder-tempest-plugin-cbak-ceph
Luigi Toscano3d907472021-03-08 10:26:12 +010031 experimental:
32 jobs:
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -050033 - cinder-tempest-plugin-cbak-ceph-yoga
Ghanshyam Mannffd05a72022-01-18 18:48:33 -060034 - cinder-tempest-plugin-cbak-ceph-xena
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -050035 - cinder-tempest-plugin-cbak-ceph-wallaby
Chandan Kumar23e5b632018-01-04 23:36:43 +053036
37- job:
Lance Bragstadd3fddec2021-02-16 16:27:13 +000038 name: cinder-tempest-plugin-protection-functional
39 parent: devstack-tempest
40 required-projects:
41 - opendev.org/openstack/cinder-tempest-plugin
42 - opendev.org/openstack/cinder
43 vars:
44 tox_envlist: all
45 tempest_test_regex: 'cinder_tempest_plugin.rbac'
46 devstack_local_conf:
47 test-config:
48 $CINDER_CONF:
49 oslo_policy:
50 enforce_new_defaults: True
51 $TEMPEST_CONFIG:
52 enforce_scope:
53 cinder: True
54 tempest_plugins:
55 - cinder-tempest-plugin
56
57- job:
Luigi Toscano1370db42021-03-03 21:31:11 +010058 name: cinder-tempest-plugin-lvm-barbican-base-abstract
Chandan Kumar23e5b632018-01-04 23:36:43 +053059 description: |
Eric Harneyfb18e1a2018-01-24 16:14:13 -050060 This is a base job for lvm with lio & tgt targets
Chandan Kumar23e5b632018-01-04 23:36:43 +053061 parent: devstack-tempest
Luigi Toscano1370db42021-03-03 21:31:11 +010062 abstract: true
Luigi Toscanoa571b392020-04-17 19:30:23 +020063 timeout: 10800
Chandan Kumar23e5b632018-01-04 23:36:43 +053064 required-projects:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010065 - opendev.org/openstack/barbican
66 - opendev.org/openstack/tempest
67 - opendev.org/openstack/cinder-tempest-plugin
68 - opendev.org/openstack/cinder
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010069 host-vars:
70 controller:
71 devstack_plugins:
72 barbican: https://opendev.org/openstack/barbican
Chandan Kumar23e5b632018-01-04 23:36:43 +053073 vars:
Sofia Enriquezf44ff142020-04-03 20:04:22 +000074 tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))'
Doug Hellmann4a63cd52018-09-09 05:49:23 -040075 tox_envlist: all
Chandan Kumar23e5b632018-01-04 23:36:43 +053076 devstack_localrc:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010077 CINDER_LVM_TYPE: thin
78 CINDER_COORDINATION_URL: 'file://\$state_path'
Luigi Toscanoa571b392020-04-17 19:30:23 +020079 devstack_local_conf:
80 test-config:
81 $TEMPEST_CONFIG:
Luigi Toscano5d7847c2021-02-25 22:16:32 +010082 auth:
83 # FIXME: 'creator' should be re-added by the barbican devstack plugin
84 # but the value below override everything.
85 tempest_roles: member,creator
Brian Rosmaita0587ca62022-05-13 22:02:40 -040086 volume:
87 build_timeout: 300
Luigi Toscanoa571b392020-04-17 19:30:23 +020088 volume-feature-enabled:
89 volume_revert: True
Chandan Kumar23e5b632018-01-04 23:36:43 +053090 devstack_services:
91 barbican: true
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010092 tempest_plugins:
93 - cinder-tempest-plugin
Chandan Kumar23e5b632018-01-04 23:36:43 +053094 irrelevant-files:
95 - ^.*\.rst$
96 - ^doc/.*$
97 - ^releasenotes/.*$
Sofia Enriquezf44ff142020-04-03 20:04:22 +000098
99- job:
Luigi Toscano1370db42021-03-03 21:31:11 +0100100 name: cinder-tempest-plugin-lvm-barbican-base
101 description: |
102 This is a base job for lvm with lio & tgt targets
103 with cinderlib tests.
Ghanshyam Mann9d89d4e2022-05-25 12:21:18 -0500104 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train|ussuri|victoria)).*$
Luigi Toscano1370db42021-03-03 21:31:11 +0100105 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
106 roles:
107 - zuul: opendev.org/openstack/cinderlib
108 required-projects:
109 - opendev.org/openstack/cinderlib
110 run: playbooks/tempest-and-cinderlib-run.yaml
111 # Required to collect the tox-based logs of the cinderlib functional tests
112 post-run: playbooks/post-cinderlib.yaml
113 vars:
114 fetch_subunit_output_additional_dirs:
115 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
Luigi Toscano7e297882021-04-20 17:04:12 +0200116 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 +0100117
118- job:
119 name: cinder-tempest-plugin-lvm-barbican-base
120 description: |
121 This is a base job for lvm with lio & tgt targets
Ghanshyam Mann965cd722022-05-27 15:20:13 -0500122 with cinderlib tests to run on stable/train to stable/victoria
123 testing. To run on those stable branches that are using tempest
124 26.1.0 (which is set in the devstack stackrc file), we must
125 use cinder-tempest-plugin compatible version 1.3.0.
Ghanshyam Mann9d89d4e2022-05-25 12:21:18 -0500126 branches:
127 - stable/train
128 - stable/ussuri
129 - stable/victoria
Ghanshyam Mannfc98b282022-01-20 21:10:59 -0600130 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
131 roles:
132 - zuul: opendev.org/openstack/cinderlib
133 required-projects:
134 - opendev.org/openstack/cinderlib
135 - name: opendev.org/openstack/cinder-tempest-plugin
136 override-checkout: 1.3.0
137 run: playbooks/tempest-and-cinderlib-run.yaml
138 # Required to collect the tox-based logs of the cinderlib functional tests
139 post-run: playbooks/post-cinderlib.yaml
140 vars:
141 fetch_subunit_output_additional_dirs:
142 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
143 tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-exclude-list.txt'
144
145- job:
146 name: cinder-tempest-plugin-lvm-barbican-base
147 description: |
148 This is a base job for lvm with lio & tgt targets
Luigi Toscano1370db42021-03-03 21:31:11 +0100149 branches: ^(?=stable/(ocata|pike|queens|rocky|stein)).*$
150 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
Luigi Toscanoeba85542021-06-28 17:31:59 +0200151 required-projects:
152 - name: opendev.org/openstack/cinder-tempest-plugin
153 override-checkout: stein-last
Luigi Toscano7e297882021-04-20 17:04:12 +0200154 vars:
155 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 +0100156
157- job:
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000158 name: cinder-tempest-plugin-cbak-ceph
159 parent: devstack-plugin-ceph-tempest-py3
160 description: |
161 Integration tests that runs with the ceph devstack plugin, py3
162 and enable the backup service.
163 vars:
Brian Rosmaita6e4b53a2022-05-14 12:15:50 -0400164 configure_swap_size: 4096
Luigi Toscanoa571b392020-04-17 19:30:23 +0200165 devstack_local_conf:
166 test-config:
167 $TEMPEST_CONFIG:
168 volume-feature-enabled:
169 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000170 devstack_services:
171 c-bak: true
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500172
Luigi Toscano3d907472021-03-08 10:26:12 +0100173- job:
Ghanshyam Mannaaf4e512022-04-14 19:14:00 -0500174 name: cinder-tempest-plugin-cbak-ceph-yoga
175 parent: cinder-tempest-plugin-cbak-ceph
176 nodeset: openstack-single-node-focal
177 override-checkout: stable/yoga
178
179- job:
Ghanshyam Mannffd05a72022-01-18 18:48:33 -0600180 name: cinder-tempest-plugin-cbak-ceph-xena
181 parent: cinder-tempest-plugin-cbak-ceph
182 nodeset: openstack-single-node-focal
183 override-checkout: stable/xena
184
185- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500186 name: cinder-tempest-plugin-cbak-ceph-wallaby
187 parent: cinder-tempest-plugin-cbak-ceph
188 nodeset: openstack-single-node-focal
189 override-checkout: stable/wallaby
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