blob: 68d017854cf014a970a9e977d516b4fd91b63119 [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 Toscanof1441832020-05-01 19:33:21 +02008 - cinder-tempest-plugin-lvm-lio-barbican-centos-8:
9 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
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010019 gate:
20 jobs:
21 - cinder-tempest-plugin-lvm-lio-barbican
Eric Harneyfb18e1a2018-01-24 16:14:13 -050022 - cinder-tempest-plugin-lvm-tgt-barbican
Sofia Enriquezf44ff142020-04-03 20:04:22 +000023 - cinder-tempest-plugin-cbak-ceph
Luigi Toscano3d907472021-03-08 10:26:12 +010024 experimental:
25 jobs:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -050026 - cinder-tempest-plugin-cbak-ceph-wallaby
Luigi Toscano3d907472021-03-08 10:26:12 +010027 - cinder-tempest-plugin-cbak-ceph-victoria
28 - cinder-tempest-plugin-cbak-ceph-ussuri
29 - cinder-tempest-plugin-cbak-ceph-train
Chandan Kumar23e5b632018-01-04 23:36:43 +053030
31- job:
Luigi Toscano1370db42021-03-03 21:31:11 +010032 name: cinder-tempest-plugin-lvm-barbican-base-abstract
Chandan Kumar23e5b632018-01-04 23:36:43 +053033 description: |
Eric Harneyfb18e1a2018-01-24 16:14:13 -050034 This is a base job for lvm with lio & tgt targets
Chandan Kumar23e5b632018-01-04 23:36:43 +053035 parent: devstack-tempest
Luigi Toscano1370db42021-03-03 21:31:11 +010036 abstract: true
Luigi Toscanoa571b392020-04-17 19:30:23 +020037 timeout: 10800
Chandan Kumar23e5b632018-01-04 23:36:43 +053038 required-projects:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010039 - opendev.org/openstack/barbican
40 - opendev.org/openstack/tempest
41 - opendev.org/openstack/cinder-tempest-plugin
42 - opendev.org/openstack/cinder
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010043 host-vars:
44 controller:
45 devstack_plugins:
46 barbican: https://opendev.org/openstack/barbican
Chandan Kumar23e5b632018-01-04 23:36:43 +053047 vars:
Sofia Enriquezf44ff142020-04-03 20:04:22 +000048 tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))'
Ghanshyam Mann8e0986f2021-02-11 13:31:08 -060049 tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-exclude-list.txt'
Doug Hellmann4a63cd52018-09-09 05:49:23 -040050 tox_envlist: all
Chandan Kumar23e5b632018-01-04 23:36:43 +053051 devstack_localrc:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010052 CINDER_LVM_TYPE: thin
53 CINDER_COORDINATION_URL: 'file://\$state_path'
Luigi Toscanoa571b392020-04-17 19:30:23 +020054 devstack_local_conf:
55 test-config:
56 $TEMPEST_CONFIG:
Luigi Toscano5d7847c2021-02-25 22:16:32 +010057 auth:
58 # FIXME: 'creator' should be re-added by the barbican devstack plugin
59 # but the value below override everything.
60 tempest_roles: member,creator
Luigi Toscanoa571b392020-04-17 19:30:23 +020061 volume-feature-enabled:
62 volume_revert: True
Chandan Kumar23e5b632018-01-04 23:36:43 +053063 devstack_services:
64 barbican: true
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010065 tempest_plugins:
66 - cinder-tempest-plugin
Chandan Kumar23e5b632018-01-04 23:36:43 +053067 irrelevant-files:
68 - ^.*\.rst$
69 - ^doc/.*$
70 - ^releasenotes/.*$
Sofia Enriquezf44ff142020-04-03 20:04:22 +000071
72- job:
Luigi Toscano1370db42021-03-03 21:31:11 +010073 name: cinder-tempest-plugin-lvm-barbican-base
74 description: |
75 This is a base job for lvm with lio & tgt targets
76 with cinderlib tests.
77 branches: ^(?!stable/(ocata|pike|queens|rocky|stein)).*$
78 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
79 roles:
80 - zuul: opendev.org/openstack/cinderlib
81 required-projects:
82 - opendev.org/openstack/cinderlib
83 run: playbooks/tempest-and-cinderlib-run.yaml
84 # Required to collect the tox-based logs of the cinderlib functional tests
85 post-run: playbooks/post-cinderlib.yaml
86 vars:
87 fetch_subunit_output_additional_dirs:
88 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
89
90- job:
91 name: cinder-tempest-plugin-lvm-barbican-base
92 description: |
93 This is a base job for lvm with lio & tgt targets
94 branches: ^(?=stable/(ocata|pike|queens|rocky|stein)).*$
95 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
96
97- job:
Sofia Enriquezf44ff142020-04-03 20:04:22 +000098 name: cinder-tempest-plugin-cbak-ceph
99 parent: devstack-plugin-ceph-tempest-py3
100 description: |
101 Integration tests that runs with the ceph devstack plugin, py3
102 and enable the backup service.
103 vars:
Luigi Toscanoa571b392020-04-17 19:30:23 +0200104 devstack_local_conf:
105 test-config:
106 $TEMPEST_CONFIG:
107 volume-feature-enabled:
108 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000109 devstack_services:
110 c-bak: true
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500111
Luigi Toscano3d907472021-03-08 10:26:12 +0100112- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500113 name: cinder-tempest-plugin-cbak-ceph-wallaby
114 parent: cinder-tempest-plugin-cbak-ceph
115 nodeset: openstack-single-node-focal
116 override-checkout: stable/wallaby
117
118- job:
Luigi Toscano3d907472021-03-08 10:26:12 +0100119 name: cinder-tempest-plugin-cbak-ceph-victoria
120 parent: cinder-tempest-plugin-cbak-ceph
121 nodeset: openstack-single-node-focal
122 override-checkout: stable/victoria
123
124- job:
125 name: cinder-tempest-plugin-cbak-ceph-ussuri
126 parent: cinder-tempest-plugin-cbak-ceph
127 nodeset: openstack-single-node-bionic
128 override-checkout: stable/ussuri
129
130- job:
131 name: cinder-tempest-plugin-cbak-ceph-train
132 parent: cinder-tempest-plugin-cbak-ceph
133 nodeset: openstack-single-node-bionic
134 override-checkout: stable/train
135
Luigi Toscanoa571b392020-04-17 19:30:23 +0200136# variant for pre-Ussuri branches (no volume revert for Ceph),
137# should this job be used on those branches
138- job:
139 name: cinder-tempest-plugin-cbak-ceph
140 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
141 vars:
142 devstack_local_conf:
143 test-config:
144 $TEMPEST_CONFIG:
145 volume-feature-enabled:
146 volume_revert: False
147
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500148- job:
149 name: cinder-tempest-plugin-lvm-lio-barbican
150 description: |
151 This jobs configures Cinder with LVM, LIO, barbican and
152 runs tempest tests and cinderlib tests.
153 parent: cinder-tempest-plugin-lvm-barbican-base
154 vars:
155 devstack_localrc:
156 CINDER_ISCSI_HELPER: lioadm
157
158- job:
Luigi Toscanof1441832020-05-01 19:33:21 +0200159 name: cinder-tempest-plugin-lvm-lio-barbican-centos-8
160 parent: cinder-tempest-plugin-lvm-lio-barbican
161 nodeset: devstack-single-node-centos-8
162 description: |
163 This jobs configures Cinder with LVM, LIO, barbican and
164 runs tempest tests and cinderlib tests on CentOS 8.
165
166- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500167 name: cinder-tempest-plugin-lvm-tgt-barbican
168 description: |
169 This jobs configures Cinder with LVM, tgt, barbican and
170 runs tempest tests and cinderlib tests.
171 parent: cinder-tempest-plugin-lvm-barbican-base
Lee Yarwood1ee1efc2021-03-10 09:34:31 +0000172 vars:
173 devstack_localrc:
174 CINDER_ISCSI_HELPER: tgtadm
Ghanshyam Mann93621532020-05-05 18:47:12 -0500175
176- job:
Hironori Shiina207d6672021-01-22 13:25:03 -0500177 name: cinder-tempest-plugin-cbak-s3
178 parent: cinder-tempest-plugin-basic
179 description: |
180 Integration tests that runs with the s3 backup driver with
181 Swift S3 API.
182 vars:
183 devstack_localrc:
184 CINDER_BACKUP_DRIVER: 's3_swift'
185 devstack_services:
186 c-bak: true
187 s3api: true
188 # Workaround: TLS proxy seems to cause S3 signature mismatch.
189 tls-proxy: false
190 tempest_test_regex: '(test_volume_backup|test_volumes_backup|test_snapshot_backup)'
191- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500192 name: cinder-tempest-plugin-basic
193 parent: devstack-tempest
194 description: |
195 Cinder tempest plugin tests job which run only cinder-tempest-plugin
196 tests.
197 required-projects:
198 - opendev.org/openstack/cinder-tempest-plugin
199 vars:
200 devstack_localrc:
201 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
202 tox_envlist: all
203 tempest_test_regex: cinder_tempest_plugin
204 tempest_plugins:
205 - cinder-tempest-plugin
206 irrelevant-files:
207 - ^.*\.rst$
208 - ^doc/.*$
209 - ^releasenotes/.*$
210
211- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500212 name: cinder-tempest-plugin-basic-wallaby
213 parent: cinder-tempest-plugin-basic
214 nodeset: openstack-single-node-focal
215 override-checkout: stable/wallaby
216
217- job:
Luigi Toscano3f52f352021-01-05 22:09:29 +0100218 name: cinder-tempest-plugin-basic-victoria
219 parent: cinder-tempest-plugin-basic
220 nodeset: openstack-single-node-focal
221 override-checkout: stable/victoria
222
223- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500224 name: cinder-tempest-plugin-basic-ussuri
225 parent: cinder-tempest-plugin-basic
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -0500226 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500227 override-checkout: stable/ussuri
228
229- job:
230 name: cinder-tempest-plugin-basic-train
231 parent: cinder-tempest-plugin-basic
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -0500232 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500233 override-checkout: stable/train
234 vars:
235 devstack_localrc:
236 USE_PYTHON3: True