blob: 87f89f0f3c0910ac3e0a6d499328cd71ed7c0243 [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
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010017 gate:
18 jobs:
19 - cinder-tempest-plugin-lvm-lio-barbican
Eric Harneyfb18e1a2018-01-24 16:14:13 -050020 - cinder-tempest-plugin-lvm-tgt-barbican
Sofia Enriquezf44ff142020-04-03 20:04:22 +000021 - cinder-tempest-plugin-cbak-ceph
Luigi Toscano3d907472021-03-08 10:26:12 +010022 experimental:
23 jobs:
24 - cinder-tempest-plugin-cbak-ceph-victoria
25 - cinder-tempest-plugin-cbak-ceph-ussuri
26 - cinder-tempest-plugin-cbak-ceph-train
Chandan Kumar23e5b632018-01-04 23:36:43 +053027
28- job:
Luigi Toscano1370db42021-03-03 21:31:11 +010029 name: cinder-tempest-plugin-lvm-barbican-base-abstract
Chandan Kumar23e5b632018-01-04 23:36:43 +053030 description: |
Eric Harneyfb18e1a2018-01-24 16:14:13 -050031 This is a base job for lvm with lio & tgt targets
Chandan Kumar23e5b632018-01-04 23:36:43 +053032 parent: devstack-tempest
Luigi Toscano1370db42021-03-03 21:31:11 +010033 abstract: true
Luigi Toscanoa571b392020-04-17 19:30:23 +020034 timeout: 10800
Chandan Kumar23e5b632018-01-04 23:36:43 +053035 required-projects:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010036 - opendev.org/openstack/barbican
37 - opendev.org/openstack/tempest
38 - opendev.org/openstack/cinder-tempest-plugin
39 - opendev.org/openstack/cinder
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010040 host-vars:
41 controller:
42 devstack_plugins:
43 barbican: https://opendev.org/openstack/barbican
Chandan Kumar23e5b632018-01-04 23:36:43 +053044 vars:
Sofia Enriquezf44ff142020-04-03 20:04:22 +000045 tempest_test_regex: '(^tempest\.(api|scenario)|(^cinder_tempest_plugin))'
Ghanshyam Mann8e0986f2021-02-11 13:31:08 -060046 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 -040047 tox_envlist: all
Chandan Kumar23e5b632018-01-04 23:36:43 +053048 devstack_localrc:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010049 CINDER_LVM_TYPE: thin
50 CINDER_COORDINATION_URL: 'file://\$state_path'
Luigi Toscanoa571b392020-04-17 19:30:23 +020051 devstack_local_conf:
52 test-config:
53 $TEMPEST_CONFIG:
Luigi Toscano5d7847c2021-02-25 22:16:32 +010054 auth:
55 # FIXME: 'creator' should be re-added by the barbican devstack plugin
56 # but the value below override everything.
57 tempest_roles: member,creator
Luigi Toscanoa571b392020-04-17 19:30:23 +020058 volume-feature-enabled:
59 volume_revert: True
Chandan Kumar23e5b632018-01-04 23:36:43 +053060 devstack_services:
61 barbican: true
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010062 tempest_plugins:
63 - cinder-tempest-plugin
Chandan Kumar23e5b632018-01-04 23:36:43 +053064 irrelevant-files:
65 - ^.*\.rst$
66 - ^doc/.*$
67 - ^releasenotes/.*$
Sofia Enriquezf44ff142020-04-03 20:04:22 +000068
69- job:
Luigi Toscano1370db42021-03-03 21:31:11 +010070 name: cinder-tempest-plugin-lvm-barbican-base
71 description: |
72 This is a base job for lvm with lio & tgt targets
73 with cinderlib tests.
74 branches: ^(?!stable/(ocata|pike|queens|rocky|stein)).*$
75 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
76 roles:
77 - zuul: opendev.org/openstack/cinderlib
78 required-projects:
79 - opendev.org/openstack/cinderlib
80 run: playbooks/tempest-and-cinderlib-run.yaml
81 # Required to collect the tox-based logs of the cinderlib functional tests
82 post-run: playbooks/post-cinderlib.yaml
83 vars:
84 fetch_subunit_output_additional_dirs:
85 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
86
87- job:
88 name: cinder-tempest-plugin-lvm-barbican-base
89 description: |
90 This is a base job for lvm with lio & tgt targets
91 branches: ^(?=stable/(ocata|pike|queens|rocky|stein)).*$
92 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
93
94- job:
Sofia Enriquezf44ff142020-04-03 20:04:22 +000095 name: cinder-tempest-plugin-cbak-ceph
96 parent: devstack-plugin-ceph-tempest-py3
97 description: |
98 Integration tests that runs with the ceph devstack plugin, py3
99 and enable the backup service.
100 vars:
Luigi Toscanoa571b392020-04-17 19:30:23 +0200101 devstack_local_conf:
102 test-config:
103 $TEMPEST_CONFIG:
104 volume-feature-enabled:
105 volume_revert: True
Sofia Enriquezf44ff142020-04-03 20:04:22 +0000106 devstack_services:
107 c-bak: true
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500108
Luigi Toscano3d907472021-03-08 10:26:12 +0100109- job:
110 name: cinder-tempest-plugin-cbak-ceph-victoria
111 parent: cinder-tempest-plugin-cbak-ceph
112 nodeset: openstack-single-node-focal
113 override-checkout: stable/victoria
114
115- job:
116 name: cinder-tempest-plugin-cbak-ceph-ussuri
117 parent: cinder-tempest-plugin-cbak-ceph
118 nodeset: openstack-single-node-bionic
119 override-checkout: stable/ussuri
120
121- job:
122 name: cinder-tempest-plugin-cbak-ceph-train
123 parent: cinder-tempest-plugin-cbak-ceph
124 nodeset: openstack-single-node-bionic
125 override-checkout: stable/train
126
Luigi Toscanoa571b392020-04-17 19:30:23 +0200127# variant for pre-Ussuri branches (no volume revert for Ceph),
128# should this job be used on those branches
129- job:
130 name: cinder-tempest-plugin-cbak-ceph
131 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
132 vars:
133 devstack_local_conf:
134 test-config:
135 $TEMPEST_CONFIG:
136 volume-feature-enabled:
137 volume_revert: False
138
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500139- job:
140 name: cinder-tempest-plugin-lvm-lio-barbican
141 description: |
142 This jobs configures Cinder with LVM, LIO, barbican and
143 runs tempest tests and cinderlib tests.
144 parent: cinder-tempest-plugin-lvm-barbican-base
145 vars:
146 devstack_localrc:
147 CINDER_ISCSI_HELPER: lioadm
148
149- job:
Luigi Toscanof1441832020-05-01 19:33:21 +0200150 name: cinder-tempest-plugin-lvm-lio-barbican-centos-8
151 parent: cinder-tempest-plugin-lvm-lio-barbican
152 nodeset: devstack-single-node-centos-8
153 description: |
154 This jobs configures Cinder with LVM, LIO, barbican and
155 runs tempest tests and cinderlib tests on CentOS 8.
156
157- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500158 name: cinder-tempest-plugin-lvm-tgt-barbican
159 description: |
160 This jobs configures Cinder with LVM, tgt, barbican and
161 runs tempest tests and cinderlib tests.
162 parent: cinder-tempest-plugin-lvm-barbican-base
Lee Yarwood1ee1efc2021-03-10 09:34:31 +0000163 vars:
164 devstack_localrc:
165 CINDER_ISCSI_HELPER: tgtadm
Ghanshyam Mann93621532020-05-05 18:47:12 -0500166
167- job:
168 name: cinder-tempest-plugin-basic
169 parent: devstack-tempest
170 description: |
171 Cinder tempest plugin tests job which run only cinder-tempest-plugin
172 tests.
173 required-projects:
174 - opendev.org/openstack/cinder-tempest-plugin
175 vars:
176 devstack_localrc:
177 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
178 tox_envlist: all
179 tempest_test_regex: cinder_tempest_plugin
180 tempest_plugins:
181 - cinder-tempest-plugin
182 irrelevant-files:
183 - ^.*\.rst$
184 - ^doc/.*$
185 - ^releasenotes/.*$
186
187- job:
Luigi Toscano3f52f352021-01-05 22:09:29 +0100188 name: cinder-tempest-plugin-basic-victoria
189 parent: cinder-tempest-plugin-basic
190 nodeset: openstack-single-node-focal
191 override-checkout: stable/victoria
192
193- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500194 name: cinder-tempest-plugin-basic-ussuri
195 parent: cinder-tempest-plugin-basic
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -0500196 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500197 override-checkout: stable/ussuri
198
199- job:
200 name: cinder-tempest-plugin-basic-train
201 parent: cinder-tempest-plugin-basic
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -0500202 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500203 override-checkout: stable/train
204 vars:
205 devstack_localrc:
206 USE_PYTHON3: True