blob: 4c33fedcabc05c4e67a5070de342fc676416a90b [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
Luigi Toscano3f52f352021-01-05 22:09:29 +010014 - cinder-tempest-plugin-basic-victoria
Ghanshyam Mann93621532020-05-05 18:47:12 -050015 - cinder-tempest-plugin-basic-ussuri
16 - cinder-tempest-plugin-basic-train
Lance Bragstadd3fddec2021-02-16 16:27:13 +000017 # Set this job to voting once we have some actual tests to run
18 - cinder-tempest-plugin-protection-functional:
19 voting: false
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010020 gate:
21 jobs:
22 - cinder-tempest-plugin-lvm-lio-barbican
Eric Harneyfb18e1a2018-01-24 16:14:13 -050023 - cinder-tempest-plugin-lvm-tgt-barbican
Sofia Enriquezf44ff142020-04-03 20:04:22 +000024 - cinder-tempest-plugin-cbak-ceph
Luigi Toscano3d907472021-03-08 10:26:12 +010025 experimental:
26 jobs:
27 - 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:
Lance Bragstadd3fddec2021-02-16 16:27:13 +000032 name: cinder-tempest-plugin-protection-functional
33 parent: devstack-tempest
34 required-projects:
35 - opendev.org/openstack/cinder-tempest-plugin
36 - opendev.org/openstack/cinder
37 vars:
38 tox_envlist: all
39 tempest_test_regex: 'cinder_tempest_plugin.rbac'
40 devstack_local_conf:
41 test-config:
42 $CINDER_CONF:
43 oslo_policy:
44 enforce_new_defaults: True
45 $TEMPEST_CONFIG:
46 enforce_scope:
47 cinder: True
48 tempest_plugins:
49 - cinder-tempest-plugin
50
51- job:
Luigi Toscano1370db42021-03-03 21:31:11 +010052 name: cinder-tempest-plugin-lvm-barbican-base-abstract
Chandan Kumar23e5b632018-01-04 23:36:43 +053053 description: |
Eric Harneyfb18e1a2018-01-24 16:14:13 -050054 This is a base job for lvm with lio & tgt targets
Chandan Kumar23e5b632018-01-04 23:36:43 +053055 parent: devstack-tempest
Luigi Toscano1370db42021-03-03 21:31:11 +010056 abstract: true
Luigi Toscanoa571b392020-04-17 19:30:23 +020057 timeout: 10800
Chandan Kumar23e5b632018-01-04 23:36:43 +053058 required-projects:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010059 - opendev.org/openstack/barbican
60 - opendev.org/openstack/tempest
61 - opendev.org/openstack/cinder-tempest-plugin
62 - opendev.org/openstack/cinder
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010063 host-vars:
64 controller:
65 devstack_plugins:
66 barbican: https://opendev.org/openstack/barbican
Chandan Kumar23e5b632018-01-04 23:36:43 +053067 vars:
Sofia Enriquezf44ff142020-04-03 20:04:22 +000068 tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))'
Ghanshyam Mann8e0986f2021-02-11 13:31:08 -060069 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 -040070 tox_envlist: all
Chandan Kumar23e5b632018-01-04 23:36:43 +053071 devstack_localrc:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010072 CINDER_LVM_TYPE: thin
73 CINDER_COORDINATION_URL: 'file://\$state_path'
Luigi Toscanoa571b392020-04-17 19:30:23 +020074 devstack_local_conf:
75 test-config:
76 $TEMPEST_CONFIG:
Luigi Toscano5d7847c2021-02-25 22:16:32 +010077 auth:
78 # FIXME: 'creator' should be re-added by the barbican devstack plugin
79 # but the value below override everything.
80 tempest_roles: member,creator
Luigi Toscanoa571b392020-04-17 19:30:23 +020081 volume-feature-enabled:
82 volume_revert: True
Chandan Kumar23e5b632018-01-04 23:36:43 +053083 devstack_services:
84 barbican: true
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010085 tempest_plugins:
86 - cinder-tempest-plugin
Chandan Kumar23e5b632018-01-04 23:36:43 +053087 irrelevant-files:
88 - ^.*\.rst$
89 - ^doc/.*$
90 - ^releasenotes/.*$
Sofia Enriquezf44ff142020-04-03 20:04:22 +000091
92- job:
Luigi Toscano1370db42021-03-03 21:31:11 +010093 name: cinder-tempest-plugin-lvm-barbican-base
94 description: |
95 This is a base job for lvm with lio & tgt targets
96 with cinderlib tests.
97 branches: ^(?!stable/(ocata|pike|queens|rocky|stein)).*$
98 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
99 roles:
100 - zuul: opendev.org/openstack/cinderlib
101 required-projects:
102 - opendev.org/openstack/cinderlib
103 run: playbooks/tempest-and-cinderlib-run.yaml
104 # Required to collect the tox-based logs of the cinderlib functional tests
105 post-run: playbooks/post-cinderlib.yaml
106 vars:
107 fetch_subunit_output_additional_dirs:
108 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
109
110- job:
111 name: cinder-tempest-plugin-lvm-barbican-base
112 description: |
113 This is a base job for lvm with lio & tgt targets
114 branches: ^(?=stable/(ocata|pike|queens|rocky|stein)).*$
115 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
116
117- job:
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000118 name: cinder-tempest-plugin-cbak-ceph
119 parent: devstack-plugin-ceph-tempest-py3
120 description: |
121 Integration tests that runs with the ceph devstack plugin, py3
122 and enable the backup service.
123 vars:
Luigi Toscanoa571b392020-04-17 19:30:23 +0200124 devstack_local_conf:
125 test-config:
126 $TEMPEST_CONFIG:
127 volume-feature-enabled:
128 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000129 devstack_services:
130 c-bak: true
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500131
Luigi Toscano3d907472021-03-08 10:26:12 +0100132- job:
133 name: cinder-tempest-plugin-cbak-ceph-victoria
134 parent: cinder-tempest-plugin-cbak-ceph
135 nodeset: openstack-single-node-focal
136 override-checkout: stable/victoria
137
138- job:
139 name: cinder-tempest-plugin-cbak-ceph-ussuri
140 parent: cinder-tempest-plugin-cbak-ceph
141 nodeset: openstack-single-node-bionic
142 override-checkout: stable/ussuri
143
144- job:
145 name: cinder-tempest-plugin-cbak-ceph-train
146 parent: cinder-tempest-plugin-cbak-ceph
147 nodeset: openstack-single-node-bionic
148 override-checkout: stable/train
149
Luigi Toscanoa571b392020-04-17 19:30:23 +0200150# variant for pre-Ussuri branches (no volume revert for Ceph),
151# should this job be used on those branches
152- job:
153 name: cinder-tempest-plugin-cbak-ceph
154 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
155 vars:
156 devstack_local_conf:
157 test-config:
158 $TEMPEST_CONFIG:
159 volume-feature-enabled:
160 volume_revert: False
161
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500162- job:
163 name: cinder-tempest-plugin-lvm-lio-barbican
164 description: |
165 This jobs configures Cinder with LVM, LIO, barbican and
166 runs tempest tests and cinderlib tests.
167 parent: cinder-tempest-plugin-lvm-barbican-base
168 vars:
169 devstack_localrc:
170 CINDER_ISCSI_HELPER: lioadm
171
172- job:
Luigi Toscanof1441832020-05-01 19:33:21 +0200173 name: cinder-tempest-plugin-lvm-lio-barbican-centos-8
174 parent: cinder-tempest-plugin-lvm-lio-barbican
175 nodeset: devstack-single-node-centos-8
176 description: |
177 This jobs configures Cinder with LVM, LIO, barbican and
178 runs tempest tests and cinderlib tests on CentOS 8.
179
180- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500181 name: cinder-tempest-plugin-lvm-tgt-barbican
182 description: |
183 This jobs configures Cinder with LVM, tgt, barbican and
184 runs tempest tests and cinderlib tests.
185 parent: cinder-tempest-plugin-lvm-barbican-base
Lee Yarwood1ee1efc2021-03-10 09:34:31 +0000186 vars:
187 devstack_localrc:
188 CINDER_ISCSI_HELPER: tgtadm
Ghanshyam Mann93621532020-05-05 18:47:12 -0500189
190- job:
191 name: cinder-tempest-plugin-basic
192 parent: devstack-tempest
193 description: |
194 Cinder tempest plugin tests job which run only cinder-tempest-plugin
195 tests.
196 required-projects:
197 - opendev.org/openstack/cinder-tempest-plugin
198 vars:
199 devstack_localrc:
200 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
201 tox_envlist: all
202 tempest_test_regex: cinder_tempest_plugin
203 tempest_plugins:
204 - cinder-tempest-plugin
205 irrelevant-files:
206 - ^.*\.rst$
207 - ^doc/.*$
208 - ^releasenotes/.*$
209
210- job:
Luigi Toscano3f52f352021-01-05 22:09:29 +0100211 name: cinder-tempest-plugin-basic-victoria
212 parent: cinder-tempest-plugin-basic
213 nodeset: openstack-single-node-focal
214 override-checkout: stable/victoria
215
216- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500217 name: cinder-tempest-plugin-basic-ussuri
218 parent: cinder-tempest-plugin-basic
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -0500219 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500220 override-checkout: stable/ussuri
221
222- job:
223 name: cinder-tempest-plugin-basic-train
224 parent: cinder-tempest-plugin-basic
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -0500225 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500226 override-checkout: stable/train
227 vars:
228 devstack_localrc:
229 USE_PYTHON3: True