blob: d97b8991ebbcdc233481c1b74d8c10cfbada3adc [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
14 devstack_localrc:
15 ENABLE_FILE_INJECTION: true
16
17- job:
18 name: tempest-ipv6-only
19 parent: devstack-tempest-ipv6
20 # This currently works from stable/pike on.
21 branches: ^(?!stable/ocata).*$
22 description: |
23 Integration test of IPv6-only deployments. This job runs
24 smoke and IPv6 relates tests only. Basic idea is to test
25 whether OpenStack Services listen on IPv6 addrress or not.
26 timeout: 10800
27 vars:
28 tox_envlist: ipv6-only
29
30- job:
31 name: tempest-full
32 parent: devstack-tempest
33 # This currently works from stable/pike on.
34 # Before stable/pike, legacy version of tempest-full
35 # 'legacy-tempest-dsvm-neutron-full' run.
36 branches: ^(?!stable/ocata).*$
37 description: |
38 Base integration test with Neutron networking and py27.
39 This job is supposed to run until stable/train setup only.
40 If you are running it on stable/ussuri gate onwards for python2.7
41 coverage then you need to do override-checkout with any stable
42 branch less than or equal to stable/train.
43 Former names for this job where:
44 * legacy-tempest-dsvm-neutron-full
45 * gate-tempest-dsvm-neutron-full-ubuntu-xenial
46 vars:
47 tox_envlist: full
48 devstack_localrc:
49 ENABLE_FILE_INJECTION: true
50 ENABLE_VOLUME_MULTIATTACH: true
51 USE_PYTHON3: False
52 devstack_services:
53 # NOTE(mriedem): Disable the cinder-backup service from tempest-full
54 # since tempest-full is in the integrated-gate project template but
55 # the backup tests do not really involve other services so they should
56 # be run in some more cinder-specific job, especially because the
57 # tests fail at a high rate (see bugs 1483434, 1813217, 1745168)
58 c-bak: false
59
60- job:
61 name: tempest-full-py3
62 parent: devstack-tempest
Ghanshyam Mann0ead7532020-12-29 13:22:26 -060063 # This job version is with swift disabled on py3
64 # as swift was not ready on py3 until stable/train.
65 branches:
66 - stable/pike
67 - stable/queens
68 - stable/rocky
69 - stable/stein
70 - stable/train
Ghanshyam Mann61f57332020-11-25 11:46:20 -060071 description: |
Ghanshyam Mann0ead7532020-12-29 13:22:26 -060072 Base integration test with Neutron networking, swift disabled, and py3.
Ghanshyam Mann61f57332020-11-25 11:46:20 -060073 Former names for this job where:
74 * legacy-tempest-dsvm-py35
75 * gate-tempest-dsvm-py35
Ghanshyam Manneb3c7e32021-01-20 15:27:16 -060076 required-projects:
77 - openstack/horizon
Ghanshyam Mann61f57332020-11-25 11:46:20 -060078 vars:
79 tox_envlist: full
80 devstack_localrc:
81 USE_PYTHON3: true
82 FORCE_CONFIG_DRIVE: true
83 ENABLE_VOLUME_MULTIATTACH: true
84 GLANCE_USE_IMPORT_WORKFLOW: True
elajkat064a3402019-10-17 13:18:10 +020085 devstack_plugins:
86 neutron: https://opendev.org/openstack/neutron
87 devstack_local_conf:
88 post-config:
89 "/$NEUTRON_CORE_PLUGIN_CONF":
90 ovs:
91 bridge_mappings: public:br-ex
92 resource_provider_bandwidths: br-ex:1000000:1000000
93 test-config:
94 $TEMPEST_CONFIG:
95 network-feature-enabled:
96 qos_placement_physnet: public
Ghanshyam Mann61f57332020-11-25 11:46:20 -060097 devstack_services:
Ghanshyam Manneb3c7e32021-01-20 15:27:16 -060098 # Enbale horizon so that we can run horizon test.
99 horizon: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600100 s-account: false
101 s-container: false
102 s-object: false
103 s-proxy: false
104 # without Swift, c-bak cannot run (in the Gate at least)
105 # NOTE(mriedem): Disable the cinder-backup service from
106 # tempest-full-py3 since tempest-full-py3 is in the integrated-gate-py3
107 # project template but the backup tests do not really involve other
108 # services so they should be run in some more cinder-specific job,
109 # especially because the tests fail at a high rate (see bugs 1483434,
110 # 1813217, 1745168)
111 c-bak: false
elajkat064a3402019-10-17 13:18:10 +0200112 neutron-placement: true
113 neutron-qos: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600114
115- job:
Ghanshyam Mann0ead7532020-12-29 13:22:26 -0600116 name: tempest-full-py3
117 parent: devstack-tempest
118 # This job version is with swift enabled on py3
119 # as swift is ready on py3 from stable/ussuri onwards.
120 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train)).*$
121 description: |
122 Base integration test with Neutron networking, swift enable, and py3.
123 Former names for this job where:
124 * legacy-tempest-dsvm-py35
125 * gate-tempest-dsvm-py35
126 vars:
127 tox_envlist: full
128 devstack_localrc:
129 USE_PYTHON3: true
130 FORCE_CONFIG_DRIVE: true
131 ENABLE_VOLUME_MULTIATTACH: true
132 GLANCE_USE_IMPORT_WORKFLOW: True
133
134- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600135 name: tempest-integrated-networking
136 parent: devstack-tempest
137 branches: ^(?!stable/ocata).*$
138 description: |
139 This job runs integration tests for networking. This is subset of
140 'tempest-full-py3' job and run only Neutron and Nova related tests.
141 This is meant to be run on neutron gate only.
142 vars:
143 tox_envlist: integrated-network
144 devstack_localrc:
145 USE_PYTHON3: true
146 FORCE_CONFIG_DRIVE: true
147 devstack_services:
148 s-account: false
149 s-container: false
150 s-object: false
151 s-proxy: false
152 c-bak: false
153
154- job:
155 name: tempest-integrated-compute
156 parent: devstack-tempest
157 branches: ^(?!stable/ocata).*$
158 description: |
159 This job runs integration tests for compute. This is
160 subset of 'tempest-full-py3' job and run Nova, Neutron, Cinder (except backup tests)
161 and Glance related tests. This is meant to be run on Nova gate only.
162 vars:
163 tox_envlist: integrated-compute
164 tempest_black_regex: ""
165 devstack_localrc:
166 USE_PYTHON3: true
167 FORCE_CONFIG_DRIVE: true
168 ENABLE_VOLUME_MULTIATTACH: true
169 devstack_services:
170 s-account: false
171 s-container: false
172 s-object: false
173 s-proxy: false
174 c-bak: false
175
176- job:
177 name: tempest-integrated-placement
178 parent: devstack-tempest
179 branches: ^(?!stable/ocata).*$
180 description: |
181 This job runs integration tests for placement. This is
182 subset of 'tempest-full-py3' job and run Nova and Neutron
183 related tests. This is meant to be run on Placement gate only.
184 vars:
185 tox_envlist: integrated-placement
186 devstack_localrc:
187 USE_PYTHON3: true
188 FORCE_CONFIG_DRIVE: true
189 ENABLE_VOLUME_MULTIATTACH: true
190 devstack_services:
191 s-account: false
192 s-container: false
193 s-object: false
194 s-proxy: false
195 c-bak: false
196
197- job:
198 name: tempest-integrated-storage
199 parent: devstack-tempest
200 branches: ^(?!stable/ocata).*$
201 description: |
202 This job runs integration tests for image & block storage. This is
203 subset of 'tempest-full-py3' job and run Cinder, Glance, Swift and Nova
204 related tests. This is meant to be run on Cinder and Glance gate only.
205 vars:
206 tox_envlist: integrated-storage
207 devstack_localrc:
208 USE_PYTHON3: true
209 FORCE_CONFIG_DRIVE: true
210 ENABLE_VOLUME_MULTIATTACH: true
211 GLANCE_USE_IMPORT_WORKFLOW: True
212
213- job:
214 name: tempest-integrated-object-storage
215 parent: devstack-tempest
216 branches: ^(?!stable/ocata).*$
217 description: |
218 This job runs integration tests for object storage. This is
219 subset of 'tempest-full-py3' job and run Swift, Cinder and Glance
220 related tests. This is meant to be run on Swift gate only.
221 vars:
222 tox_envlist: integrated-object-storage
223 devstack_localrc:
224 # NOTE(gmann): swift is not ready on python3 yet and devstack
225 # install it on python2.7 only. But settting the USE_PYTHON3
226 # for future once swift is ready on py3.
227 USE_PYTHON3: true
228
229- job:
230 name: tempest-multinode-full
231 parent: tempest-multinode-full-base
232 nodeset: openstack-two-node-focal
233 # This job runs on Focal from stable/victoria on.
234 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train|ussuri)).*$
235 vars:
236 devstack_localrc:
237 USE_PYTHON3: False
238 group-vars:
239 subnode:
240 devstack_localrc:
241 USE_PYTHON3: False
242
243- job:
244 name: tempest-multinode-full
245 parent: tempest-multinode-full-base
246 nodeset: openstack-two-node-bionic
247 # This job runs on Bionic and on python2. This is for stable/stein and stable/train.
248 # This job is prepared to make sure all stable branches from stable/stein till stable/train
249 # will keep running on bionic. This can be removed once stable/train is EOL.
250 branches:
251 - stable/stein
252 - stable/train
253 - stable/ussuri
254 vars:
255 devstack_localrc:
256 USE_PYTHON3: False
257 group-vars:
258 subnode:
259 devstack_localrc:
260 USE_PYTHON3: False
261
262- job:
263 name: tempest-multinode-full
264 parent: tempest-multinode-full-base
265 nodeset: openstack-two-node-xenial
266 # This job runs on Xenial and this is for stable/pike, stable/queens
267 # and stable/rocky. This job is prepared to make sure all stable branches
268 # before stable/stein will keep running on xenial. This job can be
269 # removed once stable/rocky is EOL.
270 branches:
271 - stable/pike
272 - stable/queens
273 - stable/rocky
274 vars:
275 devstack_localrc:
276 USE_PYTHON3: False
277 group-vars:
278 subnode:
279 devstack_localrc:
280 USE_PYTHON3: False
281
282- job:
283 name: tempest-multinode-full-py3
284 parent: tempest-multinode-full
285 vars:
286 devstack_localrc:
287 USE_PYTHON3: true
elajkat064a3402019-10-17 13:18:10 +0200288 devstack_plugins:
289 neutron: https://opendev.org/openstack/neutron
290 devstack_local_conf:
291 post-config:
292 "/$NEUTRON_CORE_PLUGIN_CONF":
293 ovs:
294 bridge_mappings: public:br-ex
295 resource_provider_bandwidths: br-ex:1000000:1000000
296 test-config:
297 $TEMPEST_CONFIG:
298 network-feature-enabled:
299 qos_placement_physnet: public
300 devstack_services:
301 neutron-placement: true
302 neutron-qos: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600303 group-vars:
304 subnode:
305 devstack_localrc:
306 USE_PYTHON3: true
307
308- job:
309 name: tempest-slow
310 parent: tempest-multinode-full
311 description: |
312 This multinode integration job will run all the tests tagged as slow.
313 It enables the lvm multibackend setup to cover few scenario tests.
314 This job will run only slow tests (API or Scenario) serially.
315
316 Former names for this job were:
317 * legacy-tempest-dsvm-neutron-scenario-multinode-lvm-multibackend
318 * tempest-scenario-multinode-lvm-multibackend
319 timeout: 10800
320 vars:
321 tox_envlist: slow-serial
322 devstack_localrc:
323 CINDER_ENABLED_BACKENDS: lvm:lvmdriver-1,lvm:lvmdriver-2
324 ENABLE_VOLUME_MULTIATTACH: true
325 devstack_plugins:
326 neutron: https://opendev.org/openstack/neutron
327 devstack_services:
328 neutron-placement: true
329 neutron-qos: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600330 tempest_concurrency: 2
331 group-vars:
332 # NOTE(mriedem): The ENABLE_VOLUME_MULTIATTACH variable is used on both
333 # the controller and subnode prior to Rocky so we have to make sure the
334 # variable is set in both locations.
335 subnode:
336 devstack_localrc:
337 ENABLE_VOLUME_MULTIATTACH: true
338
339- job:
340 name: tempest-slow-py3
341 parent: tempest-slow
342 vars:
343 devstack_localrc:
344 USE_PYTHON3: true
345 devstack_services:
346 s-account: false
347 s-container: false
348 s-object: false
349 s-proxy: false
350 # without Swift, c-bak cannot run (in the Gate at least)
351 c-bak: false
352 group-vars:
353 subnode:
354 devstack_localrc:
355 USE_PYTHON3: true
356
357- job:
358 name: tempest-cinder-v2-api
359 parent: devstack-tempest
360 branches:
361 - master
362 description: |
363 This job runs the cinder API test against v2 endpoint.
364 vars:
365 tox_envlist: all
366 tempest_test_regex: api.*volume
367 devstack_localrc:
368 TEMPEST_VOLUME_TYPE: volumev2
369
370- job:
371 name: tempest-pg-full
372 parent: tempest-full-py3
373 description: |
374 Base integration test with Neutron networking and PostgreSQL.
375 Former name for this job was legacy-tempest-dsvm-neutron-pg-full.
376 vars:
377 devstack_localrc:
378 ENABLE_FILE_INJECTION: true
379 DATABASE_TYPE: postgresql
380
381- project-template:
382 name: integrated-gate-networking
383 description: |
384 Run the python3 Tempest network integration tests (Nova and Neutron related)
385 in check and gate for the neutron integrated gate. This is meant to be
386 run on neutron gate only.
387 check:
388 jobs:
389 - grenade
390 - tempest-integrated-networking
391 gate:
392 jobs:
393 - grenade
394 - tempest-integrated-networking
395
396- project-template:
397 name: integrated-gate-compute
398 description: |
399 Run the python3 Tempest compute integration tests
400 (Nova, Neutron, Cinder and Glance related) in check and gate
401 for the Nova integrated gate. This is meant to be
402 run on Nova gate only.
403 check:
404 jobs:
405 - grenade
406 - tempest-integrated-compute
407 gate:
408 jobs:
409 - grenade
410 - tempest-integrated-compute
411
412- project-template:
413 name: integrated-gate-placement
414 description: |
415 Run the python3 Tempest placement integration tests
416 (Nova and Neutron related) in check and gate
417 for the Placement integrated gate. This is meant to be
418 run on Placement gate only.
419 check:
420 jobs:
421 - grenade
422 - tempest-integrated-placement
423 gate:
424 jobs:
425 - grenade
426 - tempest-integrated-placement
427
428- project-template:
429 name: integrated-gate-storage
430 description: |
431 Run the python3 Tempest image & block storage integration tests
432 (Cinder, Glance, Swift and Nova related) in check and gate
433 for the neutron integrated gate. This is meant to be
434 run on Cinder and Glance gate only.
435 check:
436 jobs:
437 - grenade
438 - tempest-integrated-storage
439 gate:
440 jobs:
441 - grenade
442 - tempest-integrated-storage
443
444- project-template:
445 name: integrated-gate-object-storage
446 description: |
447 Run the python3 Tempest object storage integration tests
448 (Swift, Cinder and Glance related) in check and gate
449 for the swift integrated gate. This is meant to be
450 run on swift gate only.
451 check:
452 jobs:
453 - grenade
454 - tempest-integrated-object-storage
455 gate:
456 jobs:
457 - grenade
458 - tempest-integrated-object-storage