blob: 19c25c7adc94751c5b4f1ecac3b538105be06cc1 [file] [log] [blame]
Ghanshyam Mann61f57332020-11-25 11:46:20 -06001# NOTE(gmann): This file includes all integrated jobs definition which
2# are supposed to be run by Tempest and other projects as
3# integrated testing.
4- job:
5 name: tempest-all
6 parent: devstack-tempest
7 description: |
8 Integration test that runs all tests.
9 Former name for this job was:
10 * legacy-periodic-tempest-dsvm-all-master
11 vars:
12 tox_envlist: all
13 tempest_test_regex: tempest
Ghanshyam Mann861c78f2021-02-09 11:25:26 -060014 # TODO(gmann): Enable File injection tests once nova bug is fixed
15 # https://bugs.launchpad.net/nova/+bug/1882421
16 # devstack_localrc:
17 # ENABLE_FILE_INJECTION: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -060018
19- job:
20 name: tempest-ipv6-only
21 parent: devstack-tempest-ipv6
22 # This currently works from stable/pike on.
23 branches: ^(?!stable/ocata).*$
24 description: |
25 Integration test of IPv6-only deployments. This job runs
26 smoke and IPv6 relates tests only. Basic idea is to test
27 whether OpenStack Services listen on IPv6 addrress or not.
28 timeout: 10800
29 vars:
30 tox_envlist: ipv6-only
31
32- job:
33 name: tempest-full
34 parent: devstack-tempest
35 # This currently works from stable/pike on.
36 # Before stable/pike, legacy version of tempest-full
37 # 'legacy-tempest-dsvm-neutron-full' run.
38 branches: ^(?!stable/ocata).*$
39 description: |
40 Base integration test with Neutron networking and py27.
41 This job is supposed to run until stable/train setup only.
42 If you are running it on stable/ussuri gate onwards for python2.7
43 coverage then you need to do override-checkout with any stable
44 branch less than or equal to stable/train.
45 Former names for this job where:
46 * legacy-tempest-dsvm-neutron-full
47 * gate-tempest-dsvm-neutron-full-ubuntu-xenial
48 vars:
49 tox_envlist: full
50 devstack_localrc:
51 ENABLE_FILE_INJECTION: true
52 ENABLE_VOLUME_MULTIATTACH: true
53 USE_PYTHON3: False
54 devstack_services:
55 # NOTE(mriedem): Disable the cinder-backup service from tempest-full
56 # since tempest-full is in the integrated-gate project template but
57 # the backup tests do not really involve other services so they should
58 # be run in some more cinder-specific job, especially because the
59 # tests fail at a high rate (see bugs 1483434, 1813217, 1745168)
60 c-bak: false
61
62- job:
63 name: tempest-full-py3
64 parent: devstack-tempest
Ghanshyam Mann0ead7532020-12-29 13:22:26 -060065 # This job version is with swift enabled on py3
66 # as swift is ready on py3 from stable/ussuri onwards.
67 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train)).*$
68 description: |
Ghanshyam Mann4e2a6ff2021-06-02 12:14:26 -050069 Base integration test with Neutron networking, horizon, swift enable,
70 and py3.
Ghanshyam Mann0ead7532020-12-29 13:22:26 -060071 Former names for this job where:
72 * legacy-tempest-dsvm-py35
73 * gate-tempest-dsvm-py35
Ghanshyam Mann4e2a6ff2021-06-02 12:14:26 -050074 required-projects:
75 - openstack/horizon
Ghanshyam Mann0ead7532020-12-29 13:22:26 -060076 vars:
77 tox_envlist: full
78 devstack_localrc:
79 USE_PYTHON3: true
80 FORCE_CONFIG_DRIVE: true
81 ENABLE_VOLUME_MULTIATTACH: true
82 GLANCE_USE_IMPORT_WORKFLOW: True
Ghanshyam Mann4e2a6ff2021-06-02 12:14:26 -050083 devstack_plugins:
84 neutron: https://opendev.org/openstack/neutron
Ghanshyam Mann4e2a6ff2021-06-02 12:14:26 -050085 devstack_services:
86 # Enbale horizon so that we can run horizon test.
87 horizon: true
Ghanshyam Mann0ead7532020-12-29 13:22:26 -060088
89- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -060090 name: tempest-integrated-networking
91 parent: devstack-tempest
92 branches: ^(?!stable/ocata).*$
93 description: |
94 This job runs integration tests for networking. This is subset of
95 'tempest-full-py3' job and run only Neutron and Nova related tests.
96 This is meant to be run on neutron gate only.
97 vars:
98 tox_envlist: integrated-network
99 devstack_localrc:
100 USE_PYTHON3: true
101 FORCE_CONFIG_DRIVE: true
102 devstack_services:
103 s-account: false
104 s-container: false
105 s-object: false
106 s-proxy: false
107 c-bak: false
108
109- job:
110 name: tempest-integrated-compute
111 parent: devstack-tempest
112 branches: ^(?!stable/ocata).*$
113 description: |
114 This job runs integration tests for compute. This is
115 subset of 'tempest-full-py3' job and run Nova, Neutron, Cinder (except backup tests)
116 and Glance related tests. This is meant to be run on Nova gate only.
117 vars:
118 tox_envlist: integrated-compute
Ghanshyam Mann4fa15342021-02-11 13:28:53 -0600119 tempest_exclude_regex: ""
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600120 devstack_localrc:
121 USE_PYTHON3: true
122 FORCE_CONFIG_DRIVE: true
123 ENABLE_VOLUME_MULTIATTACH: true
124 devstack_services:
125 s-account: false
126 s-container: false
127 s-object: false
128 s-proxy: false
129 c-bak: false
130
131- job:
Lee Yarwood0dba41c2021-06-23 10:47:44 +0100132 name: tempest-integrated-compute-centos-8-stream
133 parent: tempest-integrated-compute
134 nodeset: devstack-single-node-centos-8-stream
135 description: |
136 This job runs integration tests for compute. This is
137 subset of 'tempest-full-py3' job and run Nova, Neutron, Cinder (except backup tests)
138 and Glance related tests. This is meant to be run on Nova gate only.
139 This version of the job also uses CentOS 8 stream.
140 vars:
141 # Required until bug/1949606 is resolved when using libvirt and QEMU
142 # >=5.0.0 with a [libvirt]virt_type of qemu (TCG).
143 configure_swap_size: 4096
144
145- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600146 name: tempest-integrated-placement
147 parent: devstack-tempest
148 branches: ^(?!stable/ocata).*$
149 description: |
150 This job runs integration tests for placement. This is
151 subset of 'tempest-full-py3' job and run Nova and Neutron
152 related tests. This is meant to be run on Placement gate only.
153 vars:
154 tox_envlist: integrated-placement
155 devstack_localrc:
156 USE_PYTHON3: true
157 FORCE_CONFIG_DRIVE: true
158 ENABLE_VOLUME_MULTIATTACH: true
159 devstack_services:
160 s-account: false
161 s-container: false
162 s-object: false
163 s-proxy: false
164 c-bak: false
165
166- job:
167 name: tempest-integrated-storage
168 parent: devstack-tempest
169 branches: ^(?!stable/ocata).*$
170 description: |
171 This job runs integration tests for image & block storage. This is
172 subset of 'tempest-full-py3' job and run Cinder, Glance, Swift and Nova
173 related tests. This is meant to be run on Cinder and Glance gate only.
174 vars:
175 tox_envlist: integrated-storage
176 devstack_localrc:
177 USE_PYTHON3: true
178 FORCE_CONFIG_DRIVE: true
179 ENABLE_VOLUME_MULTIATTACH: true
180 GLANCE_USE_IMPORT_WORKFLOW: True
181
182- job:
183 name: tempest-integrated-object-storage
184 parent: devstack-tempest
185 branches: ^(?!stable/ocata).*$
186 description: |
187 This job runs integration tests for object storage. This is
188 subset of 'tempest-full-py3' job and run Swift, Cinder and Glance
189 related tests. This is meant to be run on Swift gate only.
190 vars:
191 tox_envlist: integrated-object-storage
192 devstack_localrc:
193 # NOTE(gmann): swift is not ready on python3 yet and devstack
194 # install it on python2.7 only. But settting the USE_PYTHON3
195 # for future once swift is ready on py3.
196 USE_PYTHON3: true
197
198- job:
Ghanshyam Mannba28d782021-09-03 10:21:54 -0500199 name: tempest-with-latest-microversion
200 parent: tempest-full-py3
201 description: |
202 This job runs compute, placement and volume API tests with 'latest'
203 API microversion (This can be extended to other services having API
204 microversion concept).
205 vars:
206 tox_envlist: api-microversion-tests
207 devstack_localrc:
208 TEMPEST_COMPUTE_MIN_MICROVERSION: 'latest'
209 TEMPEST_VOLUME_MIN_MICROVERSION: 'latest'
210 TEMPEST_PLACEMENT_MIN_MICROVERSION: 'latest'
211
212- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600213 name: tempest-multinode-full
214 parent: tempest-multinode-full-base
215 nodeset: openstack-two-node-focal
216 # This job runs on Focal from stable/victoria on.
217 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train|ussuri)).*$
218 vars:
219 devstack_localrc:
220 USE_PYTHON3: False
221 group-vars:
222 subnode:
223 devstack_localrc:
224 USE_PYTHON3: False
225
226- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600227 name: tempest-multinode-full-py3
228 parent: tempest-multinode-full
229 vars:
230 devstack_localrc:
231 USE_PYTHON3: true
elajkat064a3402019-10-17 13:18:10 +0200232 devstack_plugins:
233 neutron: https://opendev.org/openstack/neutron
elajkat064a3402019-10-17 13:18:10 +0200234 devstack_services:
elajkat0b14db22021-02-08 16:43:59 +0100235 neutron-trunk: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600236 group-vars:
237 subnode:
238 devstack_localrc:
239 USE_PYTHON3: true
240
241- job:
242 name: tempest-slow
243 parent: tempest-multinode-full
244 description: |
245 This multinode integration job will run all the tests tagged as slow.
246 It enables the lvm multibackend setup to cover few scenario tests.
247 This job will run only slow tests (API or Scenario) serially.
248
249 Former names for this job were:
250 * legacy-tempest-dsvm-neutron-scenario-multinode-lvm-multibackend
251 * tempest-scenario-multinode-lvm-multibackend
252 timeout: 10800
Hemanth Nakkinaf4bd5542021-02-10 09:12:14 +0530253 # This job runs on stable/stein onwards.
254 branches: ^(?!stable/(ocata|pike|queens|rocky)).*$
Luigi Toscanob9ac0572021-07-13 12:44:35 +0200255 vars: &tempest_slow_vars
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600256 tox_envlist: slow-serial
257 devstack_localrc:
258 CINDER_ENABLED_BACKENDS: lvm:lvmdriver-1,lvm:lvmdriver-2
259 ENABLE_VOLUME_MULTIATTACH: true
260 devstack_plugins:
261 neutron: https://opendev.org/openstack/neutron
262 devstack_services:
263 neutron-placement: true
264 neutron-qos: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600265 tempest_concurrency: 2
266 group-vars:
267 # NOTE(mriedem): The ENABLE_VOLUME_MULTIATTACH variable is used on both
268 # the controller and subnode prior to Rocky so we have to make sure the
269 # variable is set in both locations.
270 subnode:
271 devstack_localrc:
272 ENABLE_VOLUME_MULTIATTACH: true
273
274- job:
275 name: tempest-slow-py3
Luigi Toscanob9ac0572021-07-13 12:44:35 +0200276 parent: tempest-multinode-full-py3
Ghanshyam Mannebecf792021-06-14 17:09:35 -0500277 # This job version is with swift enabled on py3
278 # as swift is ready on py3 from stable/ussuri onwards.
Luigi Toscanob9ac0572021-07-13 12:44:35 +0200279 timeout: 10800
Ghanshyam Mannebecf792021-06-14 17:09:35 -0500280 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train)).*$
Luigi Toscanob9ac0572021-07-13 12:44:35 +0200281 vars: *tempest_slow_vars
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600282
283- job:
284 name: tempest-cinder-v2-api
285 parent: devstack-tempest
Ghanshyam Mann2f4539d2021-05-18 12:32:39 -0500286 # NOTE(gmann): Cinder v2 APIs are available until
287 # stable/wallaby only.
288 override-checkout: stable/wallaby
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600289 description: |
290 This job runs the cinder API test against v2 endpoint.
291 vars:
292 tox_envlist: all
293 tempest_test_regex: api.*volume
294 devstack_localrc:
295 TEMPEST_VOLUME_TYPE: volumev2
296
297- job:
298 name: tempest-pg-full
299 parent: tempest-full-py3
300 description: |
301 Base integration test with Neutron networking and PostgreSQL.
302 Former name for this job was legacy-tempest-dsvm-neutron-pg-full.
303 vars:
304 devstack_localrc:
Ghanshyam Mann861c78f2021-02-09 11:25:26 -0600305 # TODO(gmann): Enable File injection tests once nova bug is fixed
306 # https://bugs.launchpad.net/nova/+bug/1882421
307 # ENABLE_FILE_INJECTION: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600308 DATABASE_TYPE: postgresql
309
310- project-template:
311 name: integrated-gate-networking
312 description: |
313 Run the python3 Tempest network integration tests (Nova and Neutron related)
314 in check and gate for the neutron integrated gate. This is meant to be
315 run on neutron gate only.
316 check:
317 jobs:
318 - grenade
319 - tempest-integrated-networking
320 gate:
321 jobs:
322 - grenade
323 - tempest-integrated-networking
324
325- project-template:
326 name: integrated-gate-compute
327 description: |
328 Run the python3 Tempest compute integration tests
329 (Nova, Neutron, Cinder and Glance related) in check and gate
330 for the Nova integrated gate. This is meant to be
331 run on Nova gate only.
332 check:
333 jobs:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600334 - tempest-integrated-compute
Lee Yarwood0dba41c2021-06-23 10:47:44 +0100335 - tempest-integrated-compute-centos-8-stream
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600336 gate:
337 jobs:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600338 - tempest-integrated-compute
Lee Yarwood0dba41c2021-06-23 10:47:44 +0100339 - tempest-integrated-compute-centos-8-stream
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600340
341- project-template:
342 name: integrated-gate-placement
343 description: |
344 Run the python3 Tempest placement integration tests
345 (Nova and Neutron related) in check and gate
346 for the Placement integrated gate. This is meant to be
347 run on Placement gate only.
348 check:
349 jobs:
350 - grenade
351 - tempest-integrated-placement
352 gate:
353 jobs:
354 - grenade
355 - tempest-integrated-placement
356
357- project-template:
358 name: integrated-gate-storage
359 description: |
360 Run the python3 Tempest image & block storage integration tests
361 (Cinder, Glance, Swift and Nova related) in check and gate
362 for the neutron integrated gate. This is meant to be
363 run on Cinder and Glance gate only.
364 check:
365 jobs:
366 - grenade
367 - tempest-integrated-storage
368 gate:
369 jobs:
370 - grenade
371 - tempest-integrated-storage
372
373- project-template:
374 name: integrated-gate-object-storage
375 description: |
376 Run the python3 Tempest object storage integration tests
377 (Swift, Cinder and Glance related) in check and gate
378 for the swift integrated gate. This is meant to be
379 run on swift gate only.
380 check:
381 jobs:
382 - grenade
383 - tempest-integrated-object-storage
384 gate:
385 jobs:
386 - grenade
387 - tempest-integrated-object-storage