blob: 8584bb97167b6637880e1f4cad1be5c80c726ca5 [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: |
Ghanshyam Mann4e2a6ff2021-06-02 12:14:26 -0500124 Base integration test with Neutron networking, horizon, swift enable,
125 and py3.
Ghanshyam Mann0ead7532020-12-29 13:22:26 -0600126 Former names for this job where:
127 * legacy-tempest-dsvm-py35
128 * gate-tempest-dsvm-py35
Ghanshyam Mann4e2a6ff2021-06-02 12:14:26 -0500129 required-projects:
130 - openstack/horizon
Ghanshyam Mann0ead7532020-12-29 13:22:26 -0600131 vars:
132 tox_envlist: full
133 devstack_localrc:
134 USE_PYTHON3: true
135 FORCE_CONFIG_DRIVE: true
136 ENABLE_VOLUME_MULTIATTACH: true
137 GLANCE_USE_IMPORT_WORKFLOW: True
Ghanshyam Mann4e2a6ff2021-06-02 12:14:26 -0500138 devstack_plugins:
139 neutron: https://opendev.org/openstack/neutron
140 devstack_local_conf:
141 post-config:
142 "/$NEUTRON_CORE_PLUGIN_CONF":
143 ovs:
144 bridge_mappings: public:br-ex
145 resource_provider_bandwidths: br-ex:1000000:1000000
146 test-config:
147 $TEMPEST_CONFIG:
148 network-feature-enabled:
149 qos_placement_physnet: public
150 devstack_services:
151 # Enbale horizon so that we can run horizon test.
152 horizon: true
153 neutron-placement: true
154 neutron-qos: true
Ghanshyam Mann0ead7532020-12-29 13:22:26 -0600155
156- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600157 name: tempest-integrated-networking
158 parent: devstack-tempest
159 branches: ^(?!stable/ocata).*$
160 description: |
161 This job runs integration tests for networking. This is subset of
162 'tempest-full-py3' job and run only Neutron and Nova related tests.
163 This is meant to be run on neutron gate only.
164 vars:
165 tox_envlist: integrated-network
166 devstack_localrc:
167 USE_PYTHON3: true
168 FORCE_CONFIG_DRIVE: 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-compute
178 parent: devstack-tempest
179 branches: ^(?!stable/ocata).*$
180 description: |
181 This job runs integration tests for compute. This is
182 subset of 'tempest-full-py3' job and run Nova, Neutron, Cinder (except backup tests)
183 and Glance related tests. This is meant to be run on Nova gate only.
184 vars:
185 tox_envlist: integrated-compute
Ghanshyam Mann4fa15342021-02-11 13:28:53 -0600186 tempest_exclude_regex: ""
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600187 devstack_localrc:
188 USE_PYTHON3: true
189 FORCE_CONFIG_DRIVE: true
190 ENABLE_VOLUME_MULTIATTACH: true
191 devstack_services:
192 s-account: false
193 s-container: false
194 s-object: false
195 s-proxy: false
196 c-bak: false
197
198- job:
199 name: tempest-integrated-placement
200 parent: devstack-tempest
201 branches: ^(?!stable/ocata).*$
202 description: |
203 This job runs integration tests for placement. This is
204 subset of 'tempest-full-py3' job and run Nova and Neutron
205 related tests. This is meant to be run on Placement gate only.
206 vars:
207 tox_envlist: integrated-placement
208 devstack_localrc:
209 USE_PYTHON3: true
210 FORCE_CONFIG_DRIVE: true
211 ENABLE_VOLUME_MULTIATTACH: true
212 devstack_services:
213 s-account: false
214 s-container: false
215 s-object: false
216 s-proxy: false
217 c-bak: false
218
219- job:
220 name: tempest-integrated-storage
221 parent: devstack-tempest
222 branches: ^(?!stable/ocata).*$
223 description: |
224 This job runs integration tests for image & block storage. This is
225 subset of 'tempest-full-py3' job and run Cinder, Glance, Swift and Nova
226 related tests. This is meant to be run on Cinder and Glance gate only.
227 vars:
228 tox_envlist: integrated-storage
229 devstack_localrc:
230 USE_PYTHON3: true
231 FORCE_CONFIG_DRIVE: true
232 ENABLE_VOLUME_MULTIATTACH: true
233 GLANCE_USE_IMPORT_WORKFLOW: True
234
235- job:
236 name: tempest-integrated-object-storage
237 parent: devstack-tempest
238 branches: ^(?!stable/ocata).*$
239 description: |
240 This job runs integration tests for object storage. This is
241 subset of 'tempest-full-py3' job and run Swift, Cinder and Glance
242 related tests. This is meant to be run on Swift gate only.
243 vars:
244 tox_envlist: integrated-object-storage
245 devstack_localrc:
246 # NOTE(gmann): swift is not ready on python3 yet and devstack
247 # install it on python2.7 only. But settting the USE_PYTHON3
248 # for future once swift is ready on py3.
249 USE_PYTHON3: true
250
251- job:
252 name: tempest-multinode-full
253 parent: tempest-multinode-full-base
254 nodeset: openstack-two-node-focal
255 # This job runs on Focal from stable/victoria on.
256 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train|ussuri)).*$
257 vars:
258 devstack_localrc:
259 USE_PYTHON3: False
260 group-vars:
261 subnode:
262 devstack_localrc:
263 USE_PYTHON3: False
264
265- job:
266 name: tempest-multinode-full
267 parent: tempest-multinode-full-base
268 nodeset: openstack-two-node-bionic
269 # This job runs on Bionic and on python2. This is for stable/stein and stable/train.
270 # This job is prepared to make sure all stable branches from stable/stein till stable/train
271 # will keep running on bionic. This can be removed once stable/train is EOL.
272 branches:
273 - stable/stein
274 - stable/train
275 - stable/ussuri
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
286 parent: tempest-multinode-full-base
287 nodeset: openstack-two-node-xenial
288 # This job runs on Xenial and this is for stable/pike, stable/queens
289 # and stable/rocky. This job is prepared to make sure all stable branches
290 # before stable/stein will keep running on xenial. This job can be
291 # removed once stable/rocky is EOL.
292 branches:
293 - stable/pike
294 - stable/queens
295 - stable/rocky
296 vars:
297 devstack_localrc:
298 USE_PYTHON3: False
299 group-vars:
300 subnode:
301 devstack_localrc:
302 USE_PYTHON3: False
303
304- job:
305 name: tempest-multinode-full-py3
306 parent: tempest-multinode-full
307 vars:
308 devstack_localrc:
309 USE_PYTHON3: true
elajkat064a3402019-10-17 13:18:10 +0200310 devstack_plugins:
311 neutron: https://opendev.org/openstack/neutron
312 devstack_local_conf:
313 post-config:
314 "/$NEUTRON_CORE_PLUGIN_CONF":
315 ovs:
316 bridge_mappings: public:br-ex
317 resource_provider_bandwidths: br-ex:1000000:1000000
318 test-config:
319 $TEMPEST_CONFIG:
320 network-feature-enabled:
321 qos_placement_physnet: public
322 devstack_services:
323 neutron-placement: true
324 neutron-qos: true
elajkat0b14db22021-02-08 16:43:59 +0100325 neutron-trunk: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600326 group-vars:
327 subnode:
328 devstack_localrc:
329 USE_PYTHON3: true
Slawek Kaplonski24762612021-03-03 13:34:19 +0100330 devstack_local_conf:
331 post-config:
332 "/$NEUTRON_CORE_PLUGIN_CONF":
333 ovs:
334 bridge_mappings: public:br-ex
335 resource_provider_bandwidths: br-ex:1000000:1000000
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600336
337- job:
338 name: tempest-slow
339 parent: tempest-multinode-full
340 description: |
341 This multinode integration job will run all the tests tagged as slow.
342 It enables the lvm multibackend setup to cover few scenario tests.
343 This job will run only slow tests (API or Scenario) serially.
344
345 Former names for this job were:
346 * legacy-tempest-dsvm-neutron-scenario-multinode-lvm-multibackend
347 * tempest-scenario-multinode-lvm-multibackend
348 timeout: 10800
Hemanth Nakkinaf4bd5542021-02-10 09:12:14 +0530349 # This job runs on stable/stein onwards.
350 branches: ^(?!stable/(ocata|pike|queens|rocky)).*$
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600351 vars:
352 tox_envlist: slow-serial
353 devstack_localrc:
354 CINDER_ENABLED_BACKENDS: lvm:lvmdriver-1,lvm:lvmdriver-2
355 ENABLE_VOLUME_MULTIATTACH: true
356 devstack_plugins:
357 neutron: https://opendev.org/openstack/neutron
358 devstack_services:
359 neutron-placement: true
360 neutron-qos: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600361 tempest_concurrency: 2
362 group-vars:
363 # NOTE(mriedem): The ENABLE_VOLUME_MULTIATTACH variable is used on both
364 # the controller and subnode prior to Rocky so we have to make sure the
365 # variable is set in both locations.
366 subnode:
367 devstack_localrc:
368 ENABLE_VOLUME_MULTIATTACH: true
369
370- job:
Hemanth Nakkinaf4bd5542021-02-10 09:12:14 +0530371 name: tempest-slow
372 parent: tempest-multinode-full
373 description: |
374 This multinode integration job will run all the tests tagged as slow.
375 It enables the lvm multibackend setup to cover few scenario tests.
376 This job will run only slow tests (API or Scenario) serially.
377
378 Former names for this job were:
379 * legacy-tempest-dsvm-neutron-scenario-multinode-lvm-multibackend
380 * tempest-scenario-multinode-lvm-multibackend
381 timeout: 10800
382 branches:
383 - stable/pike
384 - stable/queens
385 - stable/rocky
386 vars:
387 tox_envlist: slow-serial
388 devstack_localrc:
389 CINDER_ENABLED_BACKENDS: lvm:lvmdriver-1,lvm:lvmdriver-2
390 ENABLE_VOLUME_MULTIATTACH: true
391 # to avoid https://bugs.launchpad.net/neutron/+bug/1914037
392 # as we couldn't backport the fix to rocky and older releases
393 IPV6_PUBLIC_RANGE: 2001:db8:0:10::/64
394 IPV6_PUBLIC_NETWORK_GATEWAY: 2001:db8:0:10::2
395 IPV6_ROUTER_GW_IP: 2001:db8:0:10::1
396 devstack_plugins:
397 neutron: https://opendev.org/openstack/neutron
398 devstack_services:
399 neutron-placement: true
400 neutron-qos: true
401 tempest_concurrency: 2
402 group-vars:
403 # NOTE(mriedem): The ENABLE_VOLUME_MULTIATTACH variable is used on both
404 # the controller and subnode prior to Rocky so we have to make sure the
405 # variable is set in both locations.
406 subnode:
407 devstack_localrc:
408 ENABLE_VOLUME_MULTIATTACH: true
409
410- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600411 name: tempest-slow-py3
412 parent: tempest-slow
413 vars:
414 devstack_localrc:
415 USE_PYTHON3: true
416 devstack_services:
417 s-account: false
418 s-container: false
419 s-object: false
420 s-proxy: false
421 # without Swift, c-bak cannot run (in the Gate at least)
422 c-bak: false
423 group-vars:
424 subnode:
425 devstack_localrc:
426 USE_PYTHON3: true
427
428- job:
429 name: tempest-cinder-v2-api
430 parent: devstack-tempest
Ghanshyam Mann2f4539d2021-05-18 12:32:39 -0500431 # NOTE(gmann): Cinder v2 APIs are available until
432 # stable/wallaby only.
433 override-checkout: stable/wallaby
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600434 description: |
435 This job runs the cinder API test against v2 endpoint.
436 vars:
437 tox_envlist: all
438 tempest_test_regex: api.*volume
439 devstack_localrc:
440 TEMPEST_VOLUME_TYPE: volumev2
441
442- job:
443 name: tempest-pg-full
444 parent: tempest-full-py3
445 description: |
446 Base integration test with Neutron networking and PostgreSQL.
447 Former name for this job was legacy-tempest-dsvm-neutron-pg-full.
448 vars:
449 devstack_localrc:
Ghanshyam Mann861c78f2021-02-09 11:25:26 -0600450 # TODO(gmann): Enable File injection tests once nova bug is fixed
451 # https://bugs.launchpad.net/nova/+bug/1882421
452 # ENABLE_FILE_INJECTION: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600453 DATABASE_TYPE: postgresql
454
455- project-template:
456 name: integrated-gate-networking
457 description: |
458 Run the python3 Tempest network integration tests (Nova and Neutron related)
459 in check and gate for the neutron integrated gate. This is meant to be
460 run on neutron gate only.
461 check:
462 jobs:
463 - grenade
464 - tempest-integrated-networking
465 gate:
466 jobs:
467 - grenade
468 - tempest-integrated-networking
469
470- project-template:
471 name: integrated-gate-compute
472 description: |
473 Run the python3 Tempest compute integration tests
474 (Nova, Neutron, Cinder and Glance related) in check and gate
475 for the Nova integrated gate. This is meant to be
476 run on Nova gate only.
477 check:
478 jobs:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600479 - tempest-integrated-compute
480 gate:
481 jobs:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600482 - tempest-integrated-compute
483
484- project-template:
485 name: integrated-gate-placement
486 description: |
487 Run the python3 Tempest placement integration tests
488 (Nova and Neutron related) in check and gate
489 for the Placement integrated gate. This is meant to be
490 run on Placement gate only.
491 check:
492 jobs:
493 - grenade
494 - tempest-integrated-placement
495 gate:
496 jobs:
497 - grenade
498 - tempest-integrated-placement
499
500- project-template:
501 name: integrated-gate-storage
502 description: |
503 Run the python3 Tempest image & block storage integration tests
504 (Cinder, Glance, Swift and Nova related) in check and gate
505 for the neutron integrated gate. This is meant to be
506 run on Cinder and Glance gate only.
507 check:
508 jobs:
509 - grenade
510 - tempest-integrated-storage
511 gate:
512 jobs:
513 - grenade
514 - tempest-integrated-storage
515
516- project-template:
517 name: integrated-gate-object-storage
518 description: |
519 Run the python3 Tempest object storage integration tests
520 (Swift, Cinder and Glance related) in check and gate
521 for the swift integrated gate. This is meant to be
522 run on swift gate only.
523 check:
524 jobs:
525 - grenade
526 - tempest-integrated-object-storage
527 gate:
528 jobs:
529 - grenade
530 - tempest-integrated-object-storage