blob: 4b6125487dacb2c2b3f1bf57f9212a9b316575df [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
Radosław Piliszek51b819b2021-06-07 17:21:22 +00008 - cinder-tempest-plugin-lvm-lio-barbican-centos-8-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 Mann75bf2c22021-04-29 18:51:06 -050015 - cinder-tempest-plugin-basic-wallaby
Luigi Toscano3f52f352021-01-05 22:09:29 +010016 - cinder-tempest-plugin-basic-victoria
Ghanshyam Mann93621532020-05-05 18:47:12 -050017 - cinder-tempest-plugin-basic-ussuri
18 - cinder-tempest-plugin-basic-train
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 Mann75bf2c22021-04-29 18:51:06 -050029 - cinder-tempest-plugin-cbak-ceph-wallaby
Luigi Toscano3d907472021-03-08 10:26:12 +010030 - cinder-tempest-plugin-cbak-ceph-victoria
31 - cinder-tempest-plugin-cbak-ceph-ussuri
32 - cinder-tempest-plugin-cbak-ceph-train
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.
99 branches: ^(?!stable/(ocata|pike|queens|rocky|stein)).*$
100 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
117 branches: ^(?=stable/(ocata|pike|queens|rocky|stein)).*$
118 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
Luigi Toscano7e297882021-04-20 17:04:12 +0200119 vars:
120 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 +0100121
122- job:
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000123 name: cinder-tempest-plugin-cbak-ceph
124 parent: devstack-plugin-ceph-tempest-py3
125 description: |
126 Integration tests that runs with the ceph devstack plugin, py3
127 and enable the backup service.
128 vars:
Luigi Toscanoa571b392020-04-17 19:30:23 +0200129 devstack_local_conf:
130 test-config:
131 $TEMPEST_CONFIG:
132 volume-feature-enabled:
133 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000134 devstack_services:
135 c-bak: true
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500136
Luigi Toscano3d907472021-03-08 10:26:12 +0100137- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500138 name: cinder-tempest-plugin-cbak-ceph-wallaby
139 parent: cinder-tempest-plugin-cbak-ceph
140 nodeset: openstack-single-node-focal
141 override-checkout: stable/wallaby
142
143- job:
Luigi Toscano3d907472021-03-08 10:26:12 +0100144 name: cinder-tempest-plugin-cbak-ceph-victoria
145 parent: cinder-tempest-plugin-cbak-ceph
146 nodeset: openstack-single-node-focal
147 override-checkout: stable/victoria
148
149- job:
150 name: cinder-tempest-plugin-cbak-ceph-ussuri
151 parent: cinder-tempest-plugin-cbak-ceph
152 nodeset: openstack-single-node-bionic
153 override-checkout: stable/ussuri
154
155- job:
156 name: cinder-tempest-plugin-cbak-ceph-train
157 parent: cinder-tempest-plugin-cbak-ceph
158 nodeset: openstack-single-node-bionic
159 override-checkout: stable/train
160
Luigi Toscanoa571b392020-04-17 19:30:23 +0200161# variant for pre-Ussuri branches (no volume revert for Ceph),
162# should this job be used on those branches
163- job:
164 name: cinder-tempest-plugin-cbak-ceph
165 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
166 vars:
167 devstack_local_conf:
168 test-config:
169 $TEMPEST_CONFIG:
170 volume-feature-enabled:
171 volume_revert: False
172
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500173- job:
174 name: cinder-tempest-plugin-lvm-lio-barbican
175 description: |
176 This jobs configures Cinder with LVM, LIO, barbican and
177 runs tempest tests and cinderlib tests.
178 parent: cinder-tempest-plugin-lvm-barbican-base
179 vars:
180 devstack_localrc:
181 CINDER_ISCSI_HELPER: lioadm
182
183- job:
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000184 name: cinder-tempest-plugin-lvm-lio-barbican-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200185 parent: cinder-tempest-plugin-lvm-lio-barbican
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000186 nodeset: devstack-single-node-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200187 description: |
188 This jobs configures Cinder with LVM, LIO, barbican and
189 runs tempest tests and cinderlib tests on CentOS 8.
190
191- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500192 name: cinder-tempest-plugin-lvm-tgt-barbican
193 description: |
194 This jobs configures Cinder with LVM, tgt, barbican and
195 runs tempest tests and cinderlib tests.
196 parent: cinder-tempest-plugin-lvm-barbican-base
Lee Yarwood1ee1efc2021-03-10 09:34:31 +0000197 vars:
198 devstack_localrc:
199 CINDER_ISCSI_HELPER: tgtadm
Ghanshyam Mann93621532020-05-05 18:47:12 -0500200
201- job:
Hironori Shiina207d6672021-01-22 13:25:03 -0500202 name: cinder-tempest-plugin-cbak-s3
203 parent: cinder-tempest-plugin-basic
204 description: |
205 Integration tests that runs with the s3 backup driver with
206 Swift S3 API.
207 vars:
208 devstack_localrc:
209 CINDER_BACKUP_DRIVER: 's3_swift'
210 devstack_services:
211 c-bak: true
212 s3api: true
213 # Workaround: TLS proxy seems to cause S3 signature mismatch.
214 tls-proxy: false
215 tempest_test_regex: '(test_volume_backup|test_volumes_backup|test_snapshot_backup)'
216- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500217 name: cinder-tempest-plugin-basic
218 parent: devstack-tempest
219 description: |
220 Cinder tempest plugin tests job which run only cinder-tempest-plugin
221 tests.
222 required-projects:
223 - opendev.org/openstack/cinder-tempest-plugin
224 vars:
225 devstack_localrc:
226 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
227 tox_envlist: all
228 tempest_test_regex: cinder_tempest_plugin
229 tempest_plugins:
230 - cinder-tempest-plugin
231 irrelevant-files:
232 - ^.*\.rst$
233 - ^doc/.*$
234 - ^releasenotes/.*$
235
236- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500237 name: cinder-tempest-plugin-basic-wallaby
238 parent: cinder-tempest-plugin-basic
239 nodeset: openstack-single-node-focal
240 override-checkout: stable/wallaby
241
242- job:
Luigi Toscano3f52f352021-01-05 22:09:29 +0100243 name: cinder-tempest-plugin-basic-victoria
244 parent: cinder-tempest-plugin-basic
245 nodeset: openstack-single-node-focal
246 override-checkout: stable/victoria
247
248- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500249 name: cinder-tempest-plugin-basic-ussuri
250 parent: cinder-tempest-plugin-basic
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -0500251 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500252 override-checkout: stable/ussuri
253
254- job:
255 name: cinder-tempest-plugin-basic-train
256 parent: cinder-tempest-plugin-basic
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -0500257 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500258 override-checkout: stable/train
259 vars:
260 devstack_localrc:
261 USE_PYTHON3: True