blob: 4e62d6742fddb6501e0423a315761ef656fcb3f4 [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 disabled on py3
66 # as swift was not ready on py3 until stable/train.
67 branches:
68 - stable/pike
69 - stable/queens
70 - stable/rocky
71 - stable/stein
72 - stable/train
Ghanshyam Mann61f57332020-11-25 11:46:20 -060073 description: |
Ghanshyam Mann0ead7532020-12-29 13:22:26 -060074 Base integration test with Neutron networking, swift disabled, and py3.
Ghanshyam Mann61f57332020-11-25 11:46:20 -060075 Former names for this job where:
76 * legacy-tempest-dsvm-py35
77 * gate-tempest-dsvm-py35
Ghanshyam Manneb3c7e32021-01-20 15:27:16 -060078 required-projects:
79 - openstack/horizon
Ghanshyam Mann61f57332020-11-25 11:46:20 -060080 vars:
81 tox_envlist: full
82 devstack_localrc:
83 USE_PYTHON3: true
84 FORCE_CONFIG_DRIVE: true
85 ENABLE_VOLUME_MULTIATTACH: true
86 GLANCE_USE_IMPORT_WORKFLOW: True
elajkat064a3402019-10-17 13:18:10 +020087 devstack_plugins:
88 neutron: https://opendev.org/openstack/neutron
89 devstack_local_conf:
90 post-config:
91 "/$NEUTRON_CORE_PLUGIN_CONF":
92 ovs:
93 bridge_mappings: public:br-ex
94 resource_provider_bandwidths: br-ex:1000000:1000000
95 test-config:
96 $TEMPEST_CONFIG:
97 network-feature-enabled:
98 qos_placement_physnet: public
Ghanshyam Mann61f57332020-11-25 11:46:20 -060099 devstack_services:
Ghanshyam Manneb3c7e32021-01-20 15:27:16 -0600100 # Enbale horizon so that we can run horizon test.
101 horizon: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600102 s-account: false
103 s-container: false
104 s-object: false
105 s-proxy: false
106 # without Swift, c-bak cannot run (in the Gate at least)
107 # NOTE(mriedem): Disable the cinder-backup service from
108 # tempest-full-py3 since tempest-full-py3 is in the integrated-gate-py3
109 # project template but the backup tests do not really involve other
110 # services so they should be run in some more cinder-specific job,
111 # especially because the tests fail at a high rate (see bugs 1483434,
112 # 1813217, 1745168)
113 c-bak: false
elajkat064a3402019-10-17 13:18:10 +0200114 neutron-placement: true
115 neutron-qos: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600116
117- job:
Ghanshyam Mann0ead7532020-12-29 13:22:26 -0600118 name: tempest-full-py3
119 parent: devstack-tempest
120 # This job version is with swift enabled on py3
121 # as swift is ready on py3 from stable/ussuri onwards.
122 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train)).*$
123 description: |
124 Base integration test with Neutron networking, swift enable, and py3.
125 Former names for this job where:
126 * legacy-tempest-dsvm-py35
127 * gate-tempest-dsvm-py35
128 vars:
129 tox_envlist: full
130 devstack_localrc:
131 USE_PYTHON3: true
132 FORCE_CONFIG_DRIVE: true
133 ENABLE_VOLUME_MULTIATTACH: true
134 GLANCE_USE_IMPORT_WORKFLOW: True
135
136- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600137 name: tempest-integrated-networking
138 parent: devstack-tempest
139 branches: ^(?!stable/ocata).*$
140 description: |
141 This job runs integration tests for networking. This is subset of
142 'tempest-full-py3' job and run only Neutron and Nova related tests.
143 This is meant to be run on neutron gate only.
144 vars:
145 tox_envlist: integrated-network
146 devstack_localrc:
147 USE_PYTHON3: true
148 FORCE_CONFIG_DRIVE: true
149 devstack_services:
150 s-account: false
151 s-container: false
152 s-object: false
153 s-proxy: false
154 c-bak: false
155
156- job:
157 name: tempest-integrated-compute
158 parent: devstack-tempest
159 branches: ^(?!stable/ocata).*$
160 description: |
161 This job runs integration tests for compute. This is
162 subset of 'tempest-full-py3' job and run Nova, Neutron, Cinder (except backup tests)
163 and Glance related tests. This is meant to be run on Nova gate only.
164 vars:
165 tox_envlist: integrated-compute
166 tempest_black_regex: ""
167 devstack_localrc:
168 USE_PYTHON3: true
169 FORCE_CONFIG_DRIVE: true
170 ENABLE_VOLUME_MULTIATTACH: true
171 devstack_services:
172 s-account: false
173 s-container: false
174 s-object: false
175 s-proxy: false
176 c-bak: false
177
178- job:
179 name: tempest-integrated-placement
180 parent: devstack-tempest
181 branches: ^(?!stable/ocata).*$
182 description: |
183 This job runs integration tests for placement. This is
184 subset of 'tempest-full-py3' job and run Nova and Neutron
185 related tests. This is meant to be run on Placement gate only.
186 vars:
187 tox_envlist: integrated-placement
188 devstack_localrc:
189 USE_PYTHON3: true
190 FORCE_CONFIG_DRIVE: true
191 ENABLE_VOLUME_MULTIATTACH: true
192 devstack_services:
193 s-account: false
194 s-container: false
195 s-object: false
196 s-proxy: false
197 c-bak: false
198
199- job:
200 name: tempest-integrated-storage
201 parent: devstack-tempest
202 branches: ^(?!stable/ocata).*$
203 description: |
204 This job runs integration tests for image & block storage. This is
205 subset of 'tempest-full-py3' job and run Cinder, Glance, Swift and Nova
206 related tests. This is meant to be run on Cinder and Glance gate only.
207 vars:
208 tox_envlist: integrated-storage
209 devstack_localrc:
210 USE_PYTHON3: true
211 FORCE_CONFIG_DRIVE: true
212 ENABLE_VOLUME_MULTIATTACH: true
213 GLANCE_USE_IMPORT_WORKFLOW: True
214
215- job:
216 name: tempest-integrated-object-storage
217 parent: devstack-tempest
218 branches: ^(?!stable/ocata).*$
219 description: |
220 This job runs integration tests for object storage. This is
221 subset of 'tempest-full-py3' job and run Swift, Cinder and Glance
222 related tests. This is meant to be run on Swift gate only.
223 vars:
224 tox_envlist: integrated-object-storage
225 devstack_localrc:
226 # NOTE(gmann): swift is not ready on python3 yet and devstack
227 # install it on python2.7 only. But settting the USE_PYTHON3
228 # for future once swift is ready on py3.
229 USE_PYTHON3: true
230
231- job:
232 name: tempest-multinode-full
233 parent: tempest-multinode-full-base
234 nodeset: openstack-two-node-focal
235 # This job runs on Focal from stable/victoria on.
236 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train|ussuri)).*$
237 vars:
238 devstack_localrc:
239 USE_PYTHON3: False
240 group-vars:
241 subnode:
242 devstack_localrc:
243 USE_PYTHON3: False
244
245- job:
246 name: tempest-multinode-full
247 parent: tempest-multinode-full-base
248 nodeset: openstack-two-node-bionic
249 # This job runs on Bionic and on python2. This is for stable/stein and stable/train.
250 # This job is prepared to make sure all stable branches from stable/stein till stable/train
251 # will keep running on bionic. This can be removed once stable/train is EOL.
252 branches:
253 - stable/stein
254 - stable/train
255 - stable/ussuri
256 vars:
257 devstack_localrc:
258 USE_PYTHON3: False
259 group-vars:
260 subnode:
261 devstack_localrc:
262 USE_PYTHON3: False
263
264- job:
265 name: tempest-multinode-full
266 parent: tempest-multinode-full-base
267 nodeset: openstack-two-node-xenial
268 # This job runs on Xenial and this is for stable/pike, stable/queens
269 # and stable/rocky. This job is prepared to make sure all stable branches
270 # before stable/stein will keep running on xenial. This job can be
271 # removed once stable/rocky is EOL.
272 branches:
273 - stable/pike
274 - stable/queens
275 - stable/rocky
276 vars:
277 devstack_localrc:
278 USE_PYTHON3: False
279 group-vars:
280 subnode:
281 devstack_localrc:
282 USE_PYTHON3: False
283
284- job:
285 name: tempest-multinode-full-py3
286 parent: tempest-multinode-full
287 vars:
288 devstack_localrc:
289 USE_PYTHON3: true
elajkat064a3402019-10-17 13:18:10 +0200290 devstack_plugins:
291 neutron: https://opendev.org/openstack/neutron
292 devstack_local_conf:
293 post-config:
294 "/$NEUTRON_CORE_PLUGIN_CONF":
295 ovs:
296 bridge_mappings: public:br-ex
297 resource_provider_bandwidths: br-ex:1000000:1000000
298 test-config:
299 $TEMPEST_CONFIG:
300 network-feature-enabled:
301 qos_placement_physnet: public
302 devstack_services:
303 neutron-placement: true
304 neutron-qos: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600305 group-vars:
306 subnode:
307 devstack_localrc:
308 USE_PYTHON3: true
Slawek Kaplonski24762612021-03-03 13:34:19 +0100309 devstack_local_conf:
310 post-config:
311 "/$NEUTRON_CORE_PLUGIN_CONF":
312 ovs:
313 bridge_mappings: public:br-ex
314 resource_provider_bandwidths: br-ex:1000000:1000000
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600315
316- job:
317 name: tempest-slow
318 parent: tempest-multinode-full
319 description: |
320 This multinode integration job will run all the tests tagged as slow.
321 It enables the lvm multibackend setup to cover few scenario tests.
322 This job will run only slow tests (API or Scenario) serially.
323
324 Former names for this job were:
325 * legacy-tempest-dsvm-neutron-scenario-multinode-lvm-multibackend
326 * tempest-scenario-multinode-lvm-multibackend
327 timeout: 10800
Hemanth Nakkinaf4bd5542021-02-10 09:12:14 +0530328 # This job runs on stable/stein onwards.
329 branches: ^(?!stable/(ocata|pike|queens|rocky)).*$
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600330 vars:
331 tox_envlist: slow-serial
332 devstack_localrc:
333 CINDER_ENABLED_BACKENDS: lvm:lvmdriver-1,lvm:lvmdriver-2
334 ENABLE_VOLUME_MULTIATTACH: true
335 devstack_plugins:
336 neutron: https://opendev.org/openstack/neutron
337 devstack_services:
338 neutron-placement: true
339 neutron-qos: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600340 tempest_concurrency: 2
341 group-vars:
342 # NOTE(mriedem): The ENABLE_VOLUME_MULTIATTACH variable is used on both
343 # the controller and subnode prior to Rocky so we have to make sure the
344 # variable is set in both locations.
345 subnode:
346 devstack_localrc:
347 ENABLE_VOLUME_MULTIATTACH: true
348
349- job:
Hemanth Nakkinaf4bd5542021-02-10 09:12:14 +0530350 name: tempest-slow
351 parent: tempest-multinode-full
352 description: |
353 This multinode integration job will run all the tests tagged as slow.
354 It enables the lvm multibackend setup to cover few scenario tests.
355 This job will run only slow tests (API or Scenario) serially.
356
357 Former names for this job were:
358 * legacy-tempest-dsvm-neutron-scenario-multinode-lvm-multibackend
359 * tempest-scenario-multinode-lvm-multibackend
360 timeout: 10800
361 branches:
362 - stable/pike
363 - stable/queens
364 - stable/rocky
365 vars:
366 tox_envlist: slow-serial
367 devstack_localrc:
368 CINDER_ENABLED_BACKENDS: lvm:lvmdriver-1,lvm:lvmdriver-2
369 ENABLE_VOLUME_MULTIATTACH: true
370 # to avoid https://bugs.launchpad.net/neutron/+bug/1914037
371 # as we couldn't backport the fix to rocky and older releases
372 IPV6_PUBLIC_RANGE: 2001:db8:0:10::/64
373 IPV6_PUBLIC_NETWORK_GATEWAY: 2001:db8:0:10::2
374 IPV6_ROUTER_GW_IP: 2001:db8:0:10::1
375 devstack_plugins:
376 neutron: https://opendev.org/openstack/neutron
377 devstack_services:
378 neutron-placement: true
379 neutron-qos: true
380 tempest_concurrency: 2
381 group-vars:
382 # NOTE(mriedem): The ENABLE_VOLUME_MULTIATTACH variable is used on both
383 # the controller and subnode prior to Rocky so we have to make sure the
384 # variable is set in both locations.
385 subnode:
386 devstack_localrc:
387 ENABLE_VOLUME_MULTIATTACH: true
388
389- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600390 name: tempest-slow-py3
391 parent: tempest-slow
392 vars:
393 devstack_localrc:
394 USE_PYTHON3: true
395 devstack_services:
396 s-account: false
397 s-container: false
398 s-object: false
399 s-proxy: false
400 # without Swift, c-bak cannot run (in the Gate at least)
401 c-bak: false
402 group-vars:
403 subnode:
404 devstack_localrc:
405 USE_PYTHON3: true
406
407- job:
408 name: tempest-cinder-v2-api
409 parent: devstack-tempest
410 branches:
411 - master
412 description: |
413 This job runs the cinder API test against v2 endpoint.
414 vars:
415 tox_envlist: all
416 tempest_test_regex: api.*volume
417 devstack_localrc:
418 TEMPEST_VOLUME_TYPE: volumev2
419
420- job:
421 name: tempest-pg-full
422 parent: tempest-full-py3
423 description: |
424 Base integration test with Neutron networking and PostgreSQL.
425 Former name for this job was legacy-tempest-dsvm-neutron-pg-full.
426 vars:
427 devstack_localrc:
Ghanshyam Mann861c78f2021-02-09 11:25:26 -0600428 # TODO(gmann): Enable File injection tests once nova bug is fixed
429 # https://bugs.launchpad.net/nova/+bug/1882421
430 # ENABLE_FILE_INJECTION: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600431 DATABASE_TYPE: postgresql
432
433- project-template:
434 name: integrated-gate-networking
435 description: |
436 Run the python3 Tempest network integration tests (Nova and Neutron related)
437 in check and gate for the neutron integrated gate. This is meant to be
438 run on neutron gate only.
439 check:
440 jobs:
441 - grenade
442 - tempest-integrated-networking
443 gate:
444 jobs:
445 - grenade
446 - tempest-integrated-networking
447
448- project-template:
449 name: integrated-gate-compute
450 description: |
451 Run the python3 Tempest compute integration tests
452 (Nova, Neutron, Cinder and Glance related) in check and gate
453 for the Nova integrated gate. This is meant to be
454 run on Nova gate only.
455 check:
456 jobs:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600457 - tempest-integrated-compute
458 gate:
459 jobs:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600460 - tempest-integrated-compute
461
462- project-template:
463 name: integrated-gate-placement
464 description: |
465 Run the python3 Tempest placement integration tests
466 (Nova and Neutron related) in check and gate
467 for the Placement integrated gate. This is meant to be
468 run on Placement gate only.
469 check:
470 jobs:
471 - grenade
472 - tempest-integrated-placement
473 gate:
474 jobs:
475 - grenade
476 - tempest-integrated-placement
477
478- project-template:
479 name: integrated-gate-storage
480 description: |
481 Run the python3 Tempest image & block storage integration tests
482 (Cinder, Glance, Swift and Nova related) in check and gate
483 for the neutron integrated gate. This is meant to be
484 run on Cinder and Glance gate only.
485 check:
486 jobs:
487 - grenade
488 - tempest-integrated-storage
489 gate:
490 jobs:
491 - grenade
492 - tempest-integrated-storage
493
494- project-template:
495 name: integrated-gate-object-storage
496 description: |
497 Run the python3 Tempest object storage integration tests
498 (Swift, Cinder and Glance related) in check and gate
499 for the swift integrated gate. This is meant to be
500 run on swift gate only.
501 check:
502 jobs:
503 - grenade
504 - tempest-integrated-object-storage
505 gate:
506 jobs:
507 - grenade
508 - tempest-integrated-object-storage