blob: 528ca0bc12aaf0aee84bfe2b2c74ee0667df6a28 [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 Toscanoeba85542021-06-28 17:31:59 +0200119 required-projects:
120 - name: opendev.org/openstack/cinder-tempest-plugin
121 override-checkout: stein-last
Luigi Toscano7e297882021-04-20 17:04:12 +0200122 vars:
123 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 +0100124
125- job:
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000126 name: cinder-tempest-plugin-cbak-ceph
127 parent: devstack-plugin-ceph-tempest-py3
128 description: |
129 Integration tests that runs with the ceph devstack plugin, py3
130 and enable the backup service.
131 vars:
Luigi Toscanoa571b392020-04-17 19:30:23 +0200132 devstack_local_conf:
133 test-config:
134 $TEMPEST_CONFIG:
135 volume-feature-enabled:
136 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000137 devstack_services:
138 c-bak: true
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500139
Luigi Toscano3d907472021-03-08 10:26:12 +0100140- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500141 name: cinder-tempest-plugin-cbak-ceph-wallaby
142 parent: cinder-tempest-plugin-cbak-ceph
143 nodeset: openstack-single-node-focal
144 override-checkout: stable/wallaby
145
146- job:
Luigi Toscano3d907472021-03-08 10:26:12 +0100147 name: cinder-tempest-plugin-cbak-ceph-victoria
148 parent: cinder-tempest-plugin-cbak-ceph
149 nodeset: openstack-single-node-focal
150 override-checkout: stable/victoria
151
152- job:
153 name: cinder-tempest-plugin-cbak-ceph-ussuri
154 parent: cinder-tempest-plugin-cbak-ceph
155 nodeset: openstack-single-node-bionic
156 override-checkout: stable/ussuri
157
158- job:
159 name: cinder-tempest-plugin-cbak-ceph-train
160 parent: cinder-tempest-plugin-cbak-ceph
161 nodeset: openstack-single-node-bionic
162 override-checkout: stable/train
163
Luigi Toscanoa571b392020-04-17 19:30:23 +0200164# variant for pre-Ussuri branches (no volume revert for Ceph),
165# should this job be used on those branches
166- job:
167 name: cinder-tempest-plugin-cbak-ceph
168 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
169 vars:
170 devstack_local_conf:
171 test-config:
172 $TEMPEST_CONFIG:
173 volume-feature-enabled:
174 volume_revert: False
175
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500176- job:
177 name: cinder-tempest-plugin-lvm-lio-barbican
178 description: |
179 This jobs configures Cinder with LVM, LIO, barbican and
180 runs tempest tests and cinderlib tests.
181 parent: cinder-tempest-plugin-lvm-barbican-base
182 vars:
183 devstack_localrc:
184 CINDER_ISCSI_HELPER: lioadm
185
186- job:
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000187 name: cinder-tempest-plugin-lvm-lio-barbican-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200188 parent: cinder-tempest-plugin-lvm-lio-barbican
Radosław Piliszek51b819b2021-06-07 17:21:22 +0000189 nodeset: devstack-single-node-centos-8-stream
Luigi Toscanof1441832020-05-01 19:33:21 +0200190 description: |
191 This jobs configures Cinder with LVM, LIO, barbican and
192 runs tempest tests and cinderlib tests on CentOS 8.
193
194- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500195 name: cinder-tempest-plugin-lvm-tgt-barbican
196 description: |
197 This jobs configures Cinder with LVM, tgt, barbican and
198 runs tempest tests and cinderlib tests.
199 parent: cinder-tempest-plugin-lvm-barbican-base
Lee Yarwood1ee1efc2021-03-10 09:34:31 +0000200 vars:
201 devstack_localrc:
202 CINDER_ISCSI_HELPER: tgtadm
Ghanshyam Mann93621532020-05-05 18:47:12 -0500203
204- job:
Hironori Shiina207d6672021-01-22 13:25:03 -0500205 name: cinder-tempest-plugin-cbak-s3
206 parent: cinder-tempest-plugin-basic
207 description: |
208 Integration tests that runs with the s3 backup driver with
209 Swift S3 API.
210 vars:
211 devstack_localrc:
212 CINDER_BACKUP_DRIVER: 's3_swift'
213 devstack_services:
214 c-bak: true
215 s3api: true
216 # Workaround: TLS proxy seems to cause S3 signature mismatch.
217 tls-proxy: false
218 tempest_test_regex: '(test_volume_backup|test_volumes_backup|test_snapshot_backup)'
219- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500220 name: cinder-tempest-plugin-basic
221 parent: devstack-tempest
222 description: |
223 Cinder tempest plugin tests job which run only cinder-tempest-plugin
224 tests.
225 required-projects:
226 - opendev.org/openstack/cinder-tempest-plugin
227 vars:
228 devstack_localrc:
229 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
230 tox_envlist: all
231 tempest_test_regex: cinder_tempest_plugin
232 tempest_plugins:
233 - cinder-tempest-plugin
234 irrelevant-files:
235 - ^.*\.rst$
236 - ^doc/.*$
237 - ^releasenotes/.*$
238
239- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500240 name: cinder-tempest-plugin-basic-wallaby
241 parent: cinder-tempest-plugin-basic
242 nodeset: openstack-single-node-focal
243 override-checkout: stable/wallaby
244
245- job:
Luigi Toscano3f52f352021-01-05 22:09:29 +0100246 name: cinder-tempest-plugin-basic-victoria
247 parent: cinder-tempest-plugin-basic
248 nodeset: openstack-single-node-focal
249 override-checkout: stable/victoria
250
251- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500252 name: cinder-tempest-plugin-basic-ussuri
253 parent: cinder-tempest-plugin-basic
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -0500254 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500255 override-checkout: stable/ussuri
256
257- job:
258 name: cinder-tempest-plugin-basic-train
259 parent: cinder-tempest-plugin-basic
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -0500260 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500261 override-checkout: stable/train
262 vars:
263 devstack_localrc:
264 USE_PYTHON3: True