blob: 0ad6e1fe3bcb9a940c97b0895d28e37a66bd9ff1 [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
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -050014 - cinder-tempest-plugin-basic-wallaby
Luigi Toscano3f52f352021-01-05 22:09:29 +010015 - cinder-tempest-plugin-basic-victoria
Ghanshyam Mann93621532020-05-05 18:47:12 -050016 - cinder-tempest-plugin-basic-ussuri
17 - cinder-tempest-plugin-basic-train
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010018 gate:
19 jobs:
20 - cinder-tempest-plugin-lvm-lio-barbican
Eric Harneyfb18e1a2018-01-24 16:14:13 -050021 - cinder-tempest-plugin-lvm-tgt-barbican
Sofia Enriquezf44ff142020-04-03 20:04:22 +000022 - cinder-tempest-plugin-cbak-ceph
Luigi Toscano3d907472021-03-08 10:26:12 +010023 experimental:
24 jobs:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -050025 - cinder-tempest-plugin-cbak-ceph-wallaby
Luigi Toscano3d907472021-03-08 10:26:12 +010026 - cinder-tempest-plugin-cbak-ceph-victoria
27 - cinder-tempest-plugin-cbak-ceph-ussuri
28 - cinder-tempest-plugin-cbak-ceph-train
Chandan Kumar23e5b632018-01-04 23:36:43 +053029
30- job:
Luigi Toscano1370db42021-03-03 21:31:11 +010031 name: cinder-tempest-plugin-lvm-barbican-base-abstract
Chandan Kumar23e5b632018-01-04 23:36:43 +053032 description: |
Eric Harneyfb18e1a2018-01-24 16:14:13 -050033 This is a base job for lvm with lio & tgt targets
Chandan Kumar23e5b632018-01-04 23:36:43 +053034 parent: devstack-tempest
Luigi Toscano1370db42021-03-03 21:31:11 +010035 abstract: true
Luigi Toscanoa571b392020-04-17 19:30:23 +020036 timeout: 10800
Chandan Kumar23e5b632018-01-04 23:36:43 +053037 required-projects:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010038 - opendev.org/openstack/barbican
39 - opendev.org/openstack/tempest
40 - opendev.org/openstack/cinder-tempest-plugin
41 - opendev.org/openstack/cinder
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010042 host-vars:
43 controller:
44 devstack_plugins:
45 barbican: https://opendev.org/openstack/barbican
Chandan Kumar23e5b632018-01-04 23:36:43 +053046 vars:
Sofia Enriquezf44ff142020-04-03 20:04:22 +000047 tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))'
Ghanshyam Mann8e0986f2021-02-11 13:31:08 -060048 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 -040049 tox_envlist: all
Chandan Kumar23e5b632018-01-04 23:36:43 +053050 devstack_localrc:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010051 CINDER_LVM_TYPE: thin
52 CINDER_COORDINATION_URL: 'file://\$state_path'
Luigi Toscanoa571b392020-04-17 19:30:23 +020053 devstack_local_conf:
54 test-config:
55 $TEMPEST_CONFIG:
Luigi Toscano5d7847c2021-02-25 22:16:32 +010056 auth:
57 # FIXME: 'creator' should be re-added by the barbican devstack plugin
58 # but the value below override everything.
59 tempest_roles: member,creator
Luigi Toscanoa571b392020-04-17 19:30:23 +020060 volume-feature-enabled:
61 volume_revert: True
Chandan Kumar23e5b632018-01-04 23:36:43 +053062 devstack_services:
63 barbican: true
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010064 tempest_plugins:
65 - cinder-tempest-plugin
Chandan Kumar23e5b632018-01-04 23:36:43 +053066 irrelevant-files:
67 - ^.*\.rst$
68 - ^doc/.*$
69 - ^releasenotes/.*$
Sofia Enriquezf44ff142020-04-03 20:04:22 +000070
71- job:
Luigi Toscano1370db42021-03-03 21:31:11 +010072 name: cinder-tempest-plugin-lvm-barbican-base
73 description: |
74 This is a base job for lvm with lio & tgt targets
75 with cinderlib tests.
76 branches: ^(?!stable/(ocata|pike|queens|rocky|stein)).*$
77 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
78 roles:
79 - zuul: opendev.org/openstack/cinderlib
80 required-projects:
81 - opendev.org/openstack/cinderlib
82 run: playbooks/tempest-and-cinderlib-run.yaml
83 # Required to collect the tox-based logs of the cinderlib functional tests
84 post-run: playbooks/post-cinderlib.yaml
85 vars:
86 fetch_subunit_output_additional_dirs:
87 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
88
89- job:
90 name: cinder-tempest-plugin-lvm-barbican-base
91 description: |
92 This is a base job for lvm with lio & tgt targets
93 branches: ^(?=stable/(ocata|pike|queens|rocky|stein)).*$
94 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
95
96- job:
Sofia Enriquezf44ff142020-04-03 20:04:22 +000097 name: cinder-tempest-plugin-cbak-ceph
98 parent: devstack-plugin-ceph-tempest-py3
99 description: |
100 Integration tests that runs with the ceph devstack plugin, py3
101 and enable the backup service.
102 vars:
Luigi Toscanoa571b392020-04-17 19:30:23 +0200103 devstack_local_conf:
104 test-config:
105 $TEMPEST_CONFIG:
106 volume-feature-enabled:
107 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000108 devstack_services:
109 c-bak: true
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500110
Luigi Toscano3d907472021-03-08 10:26:12 +0100111- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500112 name: cinder-tempest-plugin-cbak-ceph-wallaby
113 parent: cinder-tempest-plugin-cbak-ceph
114 nodeset: openstack-single-node-focal
115 override-checkout: stable/wallaby
116
117- job:
Luigi Toscano3d907472021-03-08 10:26:12 +0100118 name: cinder-tempest-plugin-cbak-ceph-victoria
119 parent: cinder-tempest-plugin-cbak-ceph
120 nodeset: openstack-single-node-focal
121 override-checkout: stable/victoria
122
123- job:
124 name: cinder-tempest-plugin-cbak-ceph-ussuri
125 parent: cinder-tempest-plugin-cbak-ceph
126 nodeset: openstack-single-node-bionic
127 override-checkout: stable/ussuri
128
129- job:
130 name: cinder-tempest-plugin-cbak-ceph-train
131 parent: cinder-tempest-plugin-cbak-ceph
132 nodeset: openstack-single-node-bionic
133 override-checkout: stable/train
134
Luigi Toscanoa571b392020-04-17 19:30:23 +0200135# variant for pre-Ussuri branches (no volume revert for Ceph),
136# should this job be used on those branches
137- job:
138 name: cinder-tempest-plugin-cbak-ceph
139 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
140 vars:
141 devstack_local_conf:
142 test-config:
143 $TEMPEST_CONFIG:
144 volume-feature-enabled:
145 volume_revert: False
146
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500147- job:
148 name: cinder-tempest-plugin-lvm-lio-barbican
149 description: |
150 This jobs configures Cinder with LVM, LIO, barbican and
151 runs tempest tests and cinderlib tests.
152 parent: cinder-tempest-plugin-lvm-barbican-base
153 vars:
154 devstack_localrc:
155 CINDER_ISCSI_HELPER: lioadm
156
157- job:
Luigi Toscanof1441832020-05-01 19:33:21 +0200158 name: cinder-tempest-plugin-lvm-lio-barbican-centos-8
159 parent: cinder-tempest-plugin-lvm-lio-barbican
160 nodeset: devstack-single-node-centos-8
161 description: |
162 This jobs configures Cinder with LVM, LIO, barbican and
163 runs tempest tests and cinderlib tests on CentOS 8.
164
165- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500166 name: cinder-tempest-plugin-lvm-tgt-barbican
167 description: |
168 This jobs configures Cinder with LVM, tgt, barbican and
169 runs tempest tests and cinderlib tests.
170 parent: cinder-tempest-plugin-lvm-barbican-base
Lee Yarwood1ee1efc2021-03-10 09:34:31 +0000171 vars:
172 devstack_localrc:
173 CINDER_ISCSI_HELPER: tgtadm
Ghanshyam Mann93621532020-05-05 18:47:12 -0500174
175- job:
176 name: cinder-tempest-plugin-basic
177 parent: devstack-tempest
178 description: |
179 Cinder tempest plugin tests job which run only cinder-tempest-plugin
180 tests.
181 required-projects:
182 - opendev.org/openstack/cinder-tempest-plugin
183 vars:
184 devstack_localrc:
185 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
186 tox_envlist: all
187 tempest_test_regex: cinder_tempest_plugin
188 tempest_plugins:
189 - cinder-tempest-plugin
190 irrelevant-files:
191 - ^.*\.rst$
192 - ^doc/.*$
193 - ^releasenotes/.*$
194
195- job:
Ghanshyam Mann75bf2c22021-04-29 18:51:06 -0500196 name: cinder-tempest-plugin-basic-wallaby
197 parent: cinder-tempest-plugin-basic
198 nodeset: openstack-single-node-focal
199 override-checkout: stable/wallaby
200
201- job:
Luigi Toscano3f52f352021-01-05 22:09:29 +0100202 name: cinder-tempest-plugin-basic-victoria
203 parent: cinder-tempest-plugin-basic
204 nodeset: openstack-single-node-focal
205 override-checkout: stable/victoria
206
207- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500208 name: cinder-tempest-plugin-basic-ussuri
209 parent: cinder-tempest-plugin-basic
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -0500210 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500211 override-checkout: stable/ussuri
212
213- job:
214 name: cinder-tempest-plugin-basic-train
215 parent: cinder-tempest-plugin-basic
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -0500216 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500217 override-checkout: stable/train
218 vars:
219 devstack_localrc:
220 USE_PYTHON3: True