blob: ebb7762daf61de2f932ae5910107440ff0a98be3 [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))'
Doug Hellmann4a63cd52018-09-09 05:49:23 -040046 tox_envlist: all
Chandan Kumar23e5b632018-01-04 23:36:43 +053047 devstack_localrc:
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010048 CINDER_LVM_TYPE: thin
49 CINDER_COORDINATION_URL: 'file://\$state_path'
Luigi Toscanoa571b392020-04-17 19:30:23 +020050 devstack_local_conf:
51 test-config:
52 $TEMPEST_CONFIG:
Luigi Toscano5d7847c2021-02-25 22:16:32 +010053 auth:
54 # FIXME: 'creator' should be re-added by the barbican devstack plugin
55 # but the value below override everything.
56 tempest_roles: member,creator
Luigi Toscanoa571b392020-04-17 19:30:23 +020057 volume-feature-enabled:
58 volume_revert: True
Chandan Kumar23e5b632018-01-04 23:36:43 +053059 devstack_services:
60 barbican: true
Luigi Toscanoc6215bd2020-02-21 12:42:58 +010061 tempest_plugins:
62 - cinder-tempest-plugin
Chandan Kumar23e5b632018-01-04 23:36:43 +053063 irrelevant-files:
64 - ^.*\.rst$
65 - ^doc/.*$
66 - ^releasenotes/.*$
Sofia Enriquezf44ff142020-04-03 20:04:22 +000067
68- job:
Luigi Toscano1370db42021-03-03 21:31:11 +010069 name: cinder-tempest-plugin-lvm-barbican-base
70 description: |
71 This is a base job for lvm with lio & tgt targets
72 with cinderlib tests.
73 branches: ^(?!stable/(ocata|pike|queens|rocky|stein)).*$
74 parent: cinder-tempest-plugin-lvm-barbican-base-abstract
75 roles:
76 - zuul: opendev.org/openstack/cinderlib
77 required-projects:
78 - opendev.org/openstack/cinderlib
79 run: playbooks/tempest-and-cinderlib-run.yaml
80 # Required to collect the tox-based logs of the cinderlib functional tests
81 post-run: playbooks/post-cinderlib.yaml
82 vars:
83 fetch_subunit_output_additional_dirs:
84 - "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
Luigi Toscano7e297882021-04-20 17:04:12 +020085 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 +010086
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
Luigi Toscano7e297882021-04-20 17:04:12 +020093 vars:
94 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 +010095
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:
112 name: cinder-tempest-plugin-cbak-ceph-victoria
113 parent: cinder-tempest-plugin-cbak-ceph
114 nodeset: openstack-single-node-focal
115 override-checkout: stable/victoria
116
117- job:
118 name: cinder-tempest-plugin-cbak-ceph-ussuri
119 parent: cinder-tempest-plugin-cbak-ceph
120 nodeset: openstack-single-node-bionic
121 override-checkout: stable/ussuri
122
123- job:
124 name: cinder-tempest-plugin-cbak-ceph-train
125 parent: cinder-tempest-plugin-cbak-ceph
126 nodeset: openstack-single-node-bionic
127 override-checkout: stable/train
128
Luigi Toscanoa571b392020-04-17 19:30:23 +0200129# variant for pre-Ussuri branches (no volume revert for Ceph),
130# should this job be used on those branches
131- job:
132 name: cinder-tempest-plugin-cbak-ceph
133 branches: ^(?=stable/(ocata|pike|queens|rocky|stein|train)).*$
134 vars:
135 devstack_local_conf:
136 test-config:
137 $TEMPEST_CONFIG:
138 volume-feature-enabled:
139 volume_revert: False
140
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500141- job:
142 name: cinder-tempest-plugin-lvm-lio-barbican
143 description: |
144 This jobs configures Cinder with LVM, LIO, barbican and
145 runs tempest tests and cinderlib tests.
146 parent: cinder-tempest-plugin-lvm-barbican-base
147 vars:
148 devstack_localrc:
149 CINDER_ISCSI_HELPER: lioadm
150
151- job:
Luigi Toscanof1441832020-05-01 19:33:21 +0200152 name: cinder-tempest-plugin-lvm-lio-barbican-centos-8
153 parent: cinder-tempest-plugin-lvm-lio-barbican
154 nodeset: devstack-single-node-centos-8
155 description: |
156 This jobs configures Cinder with LVM, LIO, barbican and
157 runs tempest tests and cinderlib tests on CentOS 8.
158
159- job:
Eric Harneyfb18e1a2018-01-24 16:14:13 -0500160 name: cinder-tempest-plugin-lvm-tgt-barbican
161 description: |
162 This jobs configures Cinder with LVM, tgt, barbican and
163 runs tempest tests and cinderlib tests.
164 parent: cinder-tempest-plugin-lvm-barbican-base
Lee Yarwood1ee1efc2021-03-10 09:34:31 +0000165 vars:
166 devstack_localrc:
167 CINDER_ISCSI_HELPER: tgtadm
Ghanshyam Mann93621532020-05-05 18:47:12 -0500168
169- job:
170 name: cinder-tempest-plugin-basic
171 parent: devstack-tempest
172 description: |
173 Cinder tempest plugin tests job which run only cinder-tempest-plugin
174 tests.
175 required-projects:
176 - opendev.org/openstack/cinder-tempest-plugin
177 vars:
178 devstack_localrc:
179 TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: True
180 tox_envlist: all
181 tempest_test_regex: cinder_tempest_plugin
182 tempest_plugins:
183 - cinder-tempest-plugin
184 irrelevant-files:
185 - ^.*\.rst$
186 - ^doc/.*$
187 - ^releasenotes/.*$
188
189- job:
Luigi Toscano3f52f352021-01-05 22:09:29 +0100190 name: cinder-tempest-plugin-basic-victoria
191 parent: cinder-tempest-plugin-basic
192 nodeset: openstack-single-node-focal
193 override-checkout: stable/victoria
194
195- job:
Ghanshyam Mann93621532020-05-05 18:47:12 -0500196 name: cinder-tempest-plugin-basic-ussuri
197 parent: cinder-tempest-plugin-basic
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -0500198 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500199 override-checkout: stable/ussuri
200
201- job:
202 name: cinder-tempest-plugin-basic-train
203 parent: cinder-tempest-plugin-basic
Ghanshyam Mann4ca01a22020-07-26 17:39:40 -0500204 nodeset: openstack-single-node-bionic
Ghanshyam Mann93621532020-05-05 18:47:12 -0500205 override-checkout: stable/train
206 vars:
207 devstack_localrc:
208 USE_PYTHON3: True