blob: d931c55f924e79c5d950f7be78114e3965b2f4a4 [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
Ghanshyam Mann4fa15342021-02-11 13:28:53 -0600166 tempest_exclude_regex: ""
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600167 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
elajkat0b14db22021-02-08 16:43:59 +0100305 neutron-trunk: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600306 group-vars:
307 subnode:
308 devstack_localrc:
309 USE_PYTHON3: true
Slawek Kaplonski24762612021-03-03 13:34:19 +0100310 devstack_local_conf:
311 post-config:
312 "/$NEUTRON_CORE_PLUGIN_CONF":
313 ovs:
314 bridge_mappings: public:br-ex
315 resource_provider_bandwidths: br-ex:1000000:1000000
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600316
317- job:
318 name: tempest-slow
319 parent: tempest-multinode-full
320 description: |
321 This multinode integration job will run all the tests tagged as slow.
322 It enables the lvm multibackend setup to cover few scenario tests.
323 This job will run only slow tests (API or Scenario) serially.
324
325 Former names for this job were:
326 * legacy-tempest-dsvm-neutron-scenario-multinode-lvm-multibackend
327 * tempest-scenario-multinode-lvm-multibackend
328 timeout: 10800
Hemanth Nakkinaf4bd5542021-02-10 09:12:14 +0530329 # This job runs on stable/stein onwards.
330 branches: ^(?!stable/(ocata|pike|queens|rocky)).*$
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600331 vars:
332 tox_envlist: slow-serial
333 devstack_localrc:
334 CINDER_ENABLED_BACKENDS: lvm:lvmdriver-1,lvm:lvmdriver-2
335 ENABLE_VOLUME_MULTIATTACH: true
336 devstack_plugins:
337 neutron: https://opendev.org/openstack/neutron
338 devstack_services:
339 neutron-placement: true
340 neutron-qos: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600341 tempest_concurrency: 2
342 group-vars:
343 # NOTE(mriedem): The ENABLE_VOLUME_MULTIATTACH variable is used on both
344 # the controller and subnode prior to Rocky so we have to make sure the
345 # variable is set in both locations.
346 subnode:
347 devstack_localrc:
348 ENABLE_VOLUME_MULTIATTACH: true
349
350- job:
Hemanth Nakkinaf4bd5542021-02-10 09:12:14 +0530351 name: tempest-slow
352 parent: tempest-multinode-full
353 description: |
354 This multinode integration job will run all the tests tagged as slow.
355 It enables the lvm multibackend setup to cover few scenario tests.
356 This job will run only slow tests (API or Scenario) serially.
357
358 Former names for this job were:
359 * legacy-tempest-dsvm-neutron-scenario-multinode-lvm-multibackend
360 * tempest-scenario-multinode-lvm-multibackend
361 timeout: 10800
362 branches:
363 - stable/pike
364 - stable/queens
365 - stable/rocky
366 vars:
367 tox_envlist: slow-serial
368 devstack_localrc:
369 CINDER_ENABLED_BACKENDS: lvm:lvmdriver-1,lvm:lvmdriver-2
370 ENABLE_VOLUME_MULTIATTACH: true
371 # to avoid https://bugs.launchpad.net/neutron/+bug/1914037
372 # as we couldn't backport the fix to rocky and older releases
373 IPV6_PUBLIC_RANGE: 2001:db8:0:10::/64
374 IPV6_PUBLIC_NETWORK_GATEWAY: 2001:db8:0:10::2
375 IPV6_ROUTER_GW_IP: 2001:db8:0:10::1
376 devstack_plugins:
377 neutron: https://opendev.org/openstack/neutron
378 devstack_services:
379 neutron-placement: true
380 neutron-qos: true
381 tempest_concurrency: 2
382 group-vars:
383 # NOTE(mriedem): The ENABLE_VOLUME_MULTIATTACH variable is used on both
384 # the controller and subnode prior to Rocky so we have to make sure the
385 # variable is set in both locations.
386 subnode:
387 devstack_localrc:
388 ENABLE_VOLUME_MULTIATTACH: true
389
390- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600391 name: tempest-slow-py3
392 parent: tempest-slow
393 vars:
394 devstack_localrc:
395 USE_PYTHON3: true
396 devstack_services:
397 s-account: false
398 s-container: false
399 s-object: false
400 s-proxy: false
401 # without Swift, c-bak cannot run (in the Gate at least)
402 c-bak: false
403 group-vars:
404 subnode:
405 devstack_localrc:
406 USE_PYTHON3: true
407
408- job:
409 name: tempest-cinder-v2-api
410 parent: devstack-tempest
Ghanshyam Mann2f4539d2021-05-18 12:32:39 -0500411 # NOTE(gmann): Cinder v2 APIs are available until
412 # stable/wallaby only.
413 override-checkout: stable/wallaby
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600414 description: |
415 This job runs the cinder API test against v2 endpoint.
416 vars:
417 tox_envlist: all
418 tempest_test_regex: api.*volume
419 devstack_localrc:
420 TEMPEST_VOLUME_TYPE: volumev2
421
422- job:
423 name: tempest-pg-full
424 parent: tempest-full-py3
425 description: |
426 Base integration test with Neutron networking and PostgreSQL.
427 Former name for this job was legacy-tempest-dsvm-neutron-pg-full.
428 vars:
429 devstack_localrc:
Ghanshyam Mann861c78f2021-02-09 11:25:26 -0600430 # TODO(gmann): Enable File injection tests once nova bug is fixed
431 # https://bugs.launchpad.net/nova/+bug/1882421
432 # ENABLE_FILE_INJECTION: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600433 DATABASE_TYPE: postgresql
434
435- project-template:
436 name: integrated-gate-networking
437 description: |
438 Run the python3 Tempest network integration tests (Nova and Neutron related)
439 in check and gate for the neutron integrated gate. This is meant to be
440 run on neutron gate only.
441 check:
442 jobs:
443 - grenade
444 - tempest-integrated-networking
445 gate:
446 jobs:
447 - grenade
448 - tempest-integrated-networking
449
450- project-template:
451 name: integrated-gate-compute
452 description: |
453 Run the python3 Tempest compute integration tests
454 (Nova, Neutron, Cinder and Glance related) in check and gate
455 for the Nova integrated gate. This is meant to be
456 run on Nova gate only.
457 check:
458 jobs:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600459 - tempest-integrated-compute
460 gate:
461 jobs:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600462 - tempest-integrated-compute
463
464- project-template:
465 name: integrated-gate-placement
466 description: |
467 Run the python3 Tempest placement integration tests
468 (Nova and Neutron related) in check and gate
469 for the Placement integrated gate. This is meant to be
470 run on Placement gate only.
471 check:
472 jobs:
473 - grenade
474 - tempest-integrated-placement
475 gate:
476 jobs:
477 - grenade
478 - tempest-integrated-placement
479
480- project-template:
481 name: integrated-gate-storage
482 description: |
483 Run the python3 Tempest image & block storage integration tests
484 (Cinder, Glance, Swift and Nova related) in check and gate
485 for the neutron integrated gate. This is meant to be
486 run on Cinder and Glance gate only.
487 check:
488 jobs:
489 - grenade
490 - tempest-integrated-storage
491 gate:
492 jobs:
493 - grenade
494 - tempest-integrated-storage
495
496- project-template:
497 name: integrated-gate-object-storage
498 description: |
499 Run the python3 Tempest object storage integration tests
500 (Swift, Cinder and Glance related) in check and gate
501 for the swift integrated gate. This is meant to be
502 run on swift gate only.
503 check:
504 jobs:
505 - grenade
506 - tempest-integrated-object-storage
507 gate:
508 jobs:
509 - grenade
510 - tempest-integrated-object-storage