blob: 0a9fb71cf710960470b75f58dfc9533168df5e98 [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
309
310- job:
311 name: tempest-slow
312 parent: tempest-multinode-full
313 description: |
314 This multinode integration job will run all the tests tagged as slow.
315 It enables the lvm multibackend setup to cover few scenario tests.
316 This job will run only slow tests (API or Scenario) serially.
317
318 Former names for this job were:
319 * legacy-tempest-dsvm-neutron-scenario-multinode-lvm-multibackend
320 * tempest-scenario-multinode-lvm-multibackend
321 timeout: 10800
Hemanth Nakkinaf4bd5542021-02-10 09:12:14 +0530322 # This job runs on stable/stein onwards.
323 branches: ^(?!stable/(ocata|pike|queens|rocky)).*$
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600324 vars:
325 tox_envlist: slow-serial
326 devstack_localrc:
327 CINDER_ENABLED_BACKENDS: lvm:lvmdriver-1,lvm:lvmdriver-2
328 ENABLE_VOLUME_MULTIATTACH: true
329 devstack_plugins:
330 neutron: https://opendev.org/openstack/neutron
331 devstack_services:
332 neutron-placement: true
333 neutron-qos: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600334 tempest_concurrency: 2
335 group-vars:
336 # NOTE(mriedem): The ENABLE_VOLUME_MULTIATTACH variable is used on both
337 # the controller and subnode prior to Rocky so we have to make sure the
338 # variable is set in both locations.
339 subnode:
340 devstack_localrc:
341 ENABLE_VOLUME_MULTIATTACH: true
342
343- job:
Hemanth Nakkinaf4bd5542021-02-10 09:12:14 +0530344 name: tempest-slow
345 parent: tempest-multinode-full
346 description: |
347 This multinode integration job will run all the tests tagged as slow.
348 It enables the lvm multibackend setup to cover few scenario tests.
349 This job will run only slow tests (API or Scenario) serially.
350
351 Former names for this job were:
352 * legacy-tempest-dsvm-neutron-scenario-multinode-lvm-multibackend
353 * tempest-scenario-multinode-lvm-multibackend
354 timeout: 10800
355 branches:
356 - stable/pike
357 - stable/queens
358 - stable/rocky
359 vars:
360 tox_envlist: slow-serial
361 devstack_localrc:
362 CINDER_ENABLED_BACKENDS: lvm:lvmdriver-1,lvm:lvmdriver-2
363 ENABLE_VOLUME_MULTIATTACH: true
364 # to avoid https://bugs.launchpad.net/neutron/+bug/1914037
365 # as we couldn't backport the fix to rocky and older releases
366 IPV6_PUBLIC_RANGE: 2001:db8:0:10::/64
367 IPV6_PUBLIC_NETWORK_GATEWAY: 2001:db8:0:10::2
368 IPV6_ROUTER_GW_IP: 2001:db8:0:10::1
369 devstack_plugins:
370 neutron: https://opendev.org/openstack/neutron
371 devstack_services:
372 neutron-placement: true
373 neutron-qos: true
374 tempest_concurrency: 2
375 group-vars:
376 # NOTE(mriedem): The ENABLE_VOLUME_MULTIATTACH variable is used on both
377 # the controller and subnode prior to Rocky so we have to make sure the
378 # variable is set in both locations.
379 subnode:
380 devstack_localrc:
381 ENABLE_VOLUME_MULTIATTACH: true
382
383- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600384 name: tempest-slow-py3
385 parent: tempest-slow
386 vars:
387 devstack_localrc:
388 USE_PYTHON3: true
389 devstack_services:
390 s-account: false
391 s-container: false
392 s-object: false
393 s-proxy: false
394 # without Swift, c-bak cannot run (in the Gate at least)
395 c-bak: false
396 group-vars:
397 subnode:
398 devstack_localrc:
399 USE_PYTHON3: true
400
401- job:
402 name: tempest-cinder-v2-api
403 parent: devstack-tempest
404 branches:
405 - master
406 description: |
407 This job runs the cinder API test against v2 endpoint.
408 vars:
409 tox_envlist: all
410 tempest_test_regex: api.*volume
411 devstack_localrc:
412 TEMPEST_VOLUME_TYPE: volumev2
413
414- job:
415 name: tempest-pg-full
416 parent: tempest-full-py3
417 description: |
418 Base integration test with Neutron networking and PostgreSQL.
419 Former name for this job was legacy-tempest-dsvm-neutron-pg-full.
420 vars:
421 devstack_localrc:
Ghanshyam Mann861c78f2021-02-09 11:25:26 -0600422 # TODO(gmann): Enable File injection tests once nova bug is fixed
423 # https://bugs.launchpad.net/nova/+bug/1882421
424 # ENABLE_FILE_INJECTION: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600425 DATABASE_TYPE: postgresql
426
427- project-template:
428 name: integrated-gate-networking
429 description: |
430 Run the python3 Tempest network integration tests (Nova and Neutron related)
431 in check and gate for the neutron integrated gate. This is meant to be
432 run on neutron gate only.
433 check:
434 jobs:
435 - grenade
436 - tempest-integrated-networking
437 gate:
438 jobs:
439 - grenade
440 - tempest-integrated-networking
441
442- project-template:
443 name: integrated-gate-compute
444 description: |
445 Run the python3 Tempest compute integration tests
446 (Nova, Neutron, Cinder and Glance related) in check and gate
447 for the Nova integrated gate. This is meant to be
448 run on Nova gate only.
449 check:
450 jobs:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600451 - tempest-integrated-compute
452 gate:
453 jobs:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600454 - tempest-integrated-compute
455
456- project-template:
457 name: integrated-gate-placement
458 description: |
459 Run the python3 Tempest placement integration tests
460 (Nova and Neutron related) in check and gate
461 for the Placement integrated gate. This is meant to be
462 run on Placement gate only.
463 check:
464 jobs:
465 - grenade
466 - tempest-integrated-placement
467 gate:
468 jobs:
469 - grenade
470 - tempest-integrated-placement
471
472- project-template:
473 name: integrated-gate-storage
474 description: |
475 Run the python3 Tempest image & block storage integration tests
476 (Cinder, Glance, Swift and Nova related) in check and gate
477 for the neutron integrated gate. This is meant to be
478 run on Cinder and Glance gate only.
479 check:
480 jobs:
481 - grenade
482 - tempest-integrated-storage
483 gate:
484 jobs:
485 - grenade
486 - tempest-integrated-storage
487
488- project-template:
489 name: integrated-gate-object-storage
490 description: |
491 Run the python3 Tempest object storage integration tests
492 (Swift, Cinder and Glance related) in check and gate
493 for the swift integrated gate. This is meant to be
494 run on swift gate only.
495 check:
496 jobs:
497 - grenade
498 - tempest-integrated-object-storage
499 gate:
500 jobs:
501 - grenade
502 - tempest-integrated-object-storage