blob: 121e04dfa8e9d117769075a13632fddbe27419f6 [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 enabled on py3
66 # as swift is ready on py3 from stable/ussuri onwards.
67 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train)).*$
68 description: |
Ghanshyam Mann4e2a6ff2021-06-02 12:14:26 -050069 Base integration test with Neutron networking, horizon, swift enable,
70 and py3.
Ghanshyam Mann0ead7532020-12-29 13:22:26 -060071 Former names for this job where:
72 * legacy-tempest-dsvm-py35
73 * gate-tempest-dsvm-py35
Ghanshyam Mann4e2a6ff2021-06-02 12:14:26 -050074 required-projects:
75 - openstack/horizon
Ghanshyam Mann0ead7532020-12-29 13:22:26 -060076 vars:
77 tox_envlist: full
78 devstack_localrc:
79 USE_PYTHON3: true
80 FORCE_CONFIG_DRIVE: true
81 ENABLE_VOLUME_MULTIATTACH: true
82 GLANCE_USE_IMPORT_WORKFLOW: True
Ghanshyam Mann4e2a6ff2021-06-02 12:14:26 -050083 devstack_plugins:
84 neutron: https://opendev.org/openstack/neutron
Ghanshyam Mann4e2a6ff2021-06-02 12:14:26 -050085 devstack_services:
86 # Enbale horizon so that we can run horizon test.
87 horizon: true
Ghanshyam Mann0ead7532020-12-29 13:22:26 -060088
Ghanshyam Mann24a3a362022-10-12 15:50:28 -050089# TODO(gmann): As per the 2023.1 testing runtime, we need to run at least
90# one job on Focal. This job can be removed as per the future testing
91# runtime (whenever we drop the Ubuntu Focal testing).
92- job:
93 name: tempest-full-ubuntu-focal
94 description: This is tempest-full python3 job on Ubuntu Focal(20.04)
95 parent: tempest-full-py3
96 nodeset: openstack-single-node-focal
97
Ghanshyam Mann0ead7532020-12-29 13:22:26 -060098- job:
Ghanshyam Mann3ed52102022-04-25 18:07:00 -050099 name: tempest-full-centos-9-stream
100 parent: tempest-full-py3
101 nodeset: devstack-single-node-centos-9-stream
Ghanshyam Mann9625f0d2022-04-27 17:45:52 -0500102 # centos-9-stream is supported from yoga release onwards
103 branches: ^(?!stable/(pike|queens|rocky|stein|train|ussuri|victoria|wallaby|xena)).*$
Ghanshyam Mann3ed52102022-04-25 18:07:00 -0500104 description: |
105 Base integration test on CentOS 9 stream
106 vars:
107 # Required until bug/1949606 is resolved when using libvirt and QEMU
108 # >=5.0.0 with a [libvirt]virt_type of qemu (TCG).
109 configure_swap_size: 4096
110
111- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600112 name: tempest-integrated-networking
113 parent: devstack-tempest
114 branches: ^(?!stable/ocata).*$
115 description: |
116 This job runs integration tests for networking. This is subset of
117 'tempest-full-py3' job and run only Neutron and Nova related tests.
118 This is meant to be run on neutron gate only.
119 vars:
120 tox_envlist: integrated-network
121 devstack_localrc:
122 USE_PYTHON3: true
123 FORCE_CONFIG_DRIVE: true
124 devstack_services:
125 s-account: false
126 s-container: false
127 s-object: false
128 s-proxy: false
129 c-bak: false
130
131- job:
132 name: tempest-integrated-compute
133 parent: devstack-tempest
134 branches: ^(?!stable/ocata).*$
135 description: |
136 This job runs integration tests for compute. This is
137 subset of 'tempest-full-py3' job and run Nova, Neutron, Cinder (except backup tests)
138 and Glance related tests. This is meant to be run on Nova gate only.
139 vars:
140 tox_envlist: integrated-compute
Ghanshyam Mann4fa15342021-02-11 13:28:53 -0600141 tempest_exclude_regex: ""
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600142 devstack_localrc:
143 USE_PYTHON3: true
144 FORCE_CONFIG_DRIVE: true
145 ENABLE_VOLUME_MULTIATTACH: true
146 devstack_services:
147 s-account: false
148 s-container: false
149 s-object: false
150 s-proxy: false
151 c-bak: false
152
153- job:
Ghanshyam Mann3ed52102022-04-25 18:07:00 -0500154 name: tempest-integrated-compute-centos-9-stream
Lee Yarwood0dba41c2021-06-23 10:47:44 +0100155 parent: tempest-integrated-compute
Ghanshyam Mann3ed52102022-04-25 18:07:00 -0500156 nodeset: devstack-single-node-centos-9-stream
Ghanshyam Mann9625f0d2022-04-27 17:45:52 -0500157 # centos-9-stream is supported from yoga release onwards
158 branches: ^(?!stable/(pike|queens|rocky|stein|train|ussuri|victoria|wallaby|xena)).*$
Lee Yarwood0dba41c2021-06-23 10:47:44 +0100159 description: |
160 This job runs integration tests for compute. This is
161 subset of 'tempest-full-py3' job and run Nova, Neutron, Cinder (except backup tests)
162 and Glance related tests. This is meant to be run on Nova gate only.
Ghanshyam Mann3ed52102022-04-25 18:07:00 -0500163 This version of the job also uses CentOS 9 stream.
Lee Yarwood0dba41c2021-06-23 10:47:44 +0100164 vars:
165 # Required until bug/1949606 is resolved when using libvirt and QEMU
166 # >=5.0.0 with a [libvirt]virt_type of qemu (TCG).
167 configure_swap_size: 4096
168
169- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600170 name: tempest-integrated-placement
171 parent: devstack-tempest
172 branches: ^(?!stable/ocata).*$
173 description: |
174 This job runs integration tests for placement. This is
175 subset of 'tempest-full-py3' job and run Nova and Neutron
176 related tests. This is meant to be run on Placement gate only.
177 vars:
178 tox_envlist: integrated-placement
179 devstack_localrc:
180 USE_PYTHON3: true
181 FORCE_CONFIG_DRIVE: true
182 ENABLE_VOLUME_MULTIATTACH: true
183 devstack_services:
184 s-account: false
185 s-container: false
186 s-object: false
187 s-proxy: false
188 c-bak: false
189
190- job:
191 name: tempest-integrated-storage
192 parent: devstack-tempest
193 branches: ^(?!stable/ocata).*$
194 description: |
195 This job runs integration tests for image & block storage. This is
196 subset of 'tempest-full-py3' job and run Cinder, Glance, Swift and Nova
197 related tests. This is meant to be run on Cinder and Glance gate only.
198 vars:
199 tox_envlist: integrated-storage
200 devstack_localrc:
201 USE_PYTHON3: true
202 FORCE_CONFIG_DRIVE: true
203 ENABLE_VOLUME_MULTIATTACH: true
204 GLANCE_USE_IMPORT_WORKFLOW: True
205
206- job:
207 name: tempest-integrated-object-storage
208 parent: devstack-tempest
209 branches: ^(?!stable/ocata).*$
210 description: |
211 This job runs integration tests for object storage. This is
212 subset of 'tempest-full-py3' job and run Swift, Cinder and Glance
213 related tests. This is meant to be run on Swift gate only.
214 vars:
215 tox_envlist: integrated-object-storage
216 devstack_localrc:
217 # NOTE(gmann): swift is not ready on python3 yet and devstack
218 # install it on python2.7 only. But settting the USE_PYTHON3
219 # for future once swift is ready on py3.
220 USE_PYTHON3: true
221
222- job:
Ghanshyam Mannba28d782021-09-03 10:21:54 -0500223 name: tempest-with-latest-microversion
224 parent: tempest-full-py3
225 description: |
226 This job runs compute, placement and volume API tests with 'latest'
227 API microversion (This can be extended to other services having API
228 microversion concept).
229 vars:
230 tox_envlist: api-microversion-tests
231 devstack_localrc:
232 TEMPEST_COMPUTE_MIN_MICROVERSION: 'latest'
233 TEMPEST_VOLUME_MIN_MICROVERSION: 'latest'
234 TEMPEST_PLACEMENT_MIN_MICROVERSION: 'latest'
235
236- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600237 name: tempest-multinode-full-py3
Ghanshyam Mann24a3a362022-10-12 15:50:28 -0500238 parent: tempest-multinode-full-base
239 nodeset: openstack-two-node-jammy
240 # This job runs on ubuntu Jammy and after stable/zed.
241 branches: ^(?!stable/(pike|queens|rocky|stein|train|ussuri|victoria|wallaby|xena|yoga|zed)).*$
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600242 vars:
243 devstack_localrc:
244 USE_PYTHON3: true
elajkat064a3402019-10-17 13:18:10 +0200245 devstack_plugins:
246 neutron: https://opendev.org/openstack/neutron
elajkat064a3402019-10-17 13:18:10 +0200247 devstack_services:
elajkat0b14db22021-02-08 16:43:59 +0100248 neutron-trunk: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600249 group-vars:
250 subnode:
251 devstack_localrc:
252 USE_PYTHON3: true
253
254- job:
255 name: tempest-slow
256 parent: tempest-multinode-full
257 description: |
258 This multinode integration job will run all the tests tagged as slow.
259 It enables the lvm multibackend setup to cover few scenario tests.
260 This job will run only slow tests (API or Scenario) serially.
261
262 Former names for this job were:
263 * legacy-tempest-dsvm-neutron-scenario-multinode-lvm-multibackend
264 * tempest-scenario-multinode-lvm-multibackend
265 timeout: 10800
Hemanth Nakkinaf4bd5542021-02-10 09:12:14 +0530266 # This job runs on stable/stein onwards.
267 branches: ^(?!stable/(ocata|pike|queens|rocky)).*$
Luigi Toscanob9ac0572021-07-13 12:44:35 +0200268 vars: &tempest_slow_vars
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600269 tox_envlist: slow-serial
270 devstack_localrc:
271 CINDER_ENABLED_BACKENDS: lvm:lvmdriver-1,lvm:lvmdriver-2
272 ENABLE_VOLUME_MULTIATTACH: true
273 devstack_plugins:
274 neutron: https://opendev.org/openstack/neutron
275 devstack_services:
276 neutron-placement: true
277 neutron-qos: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600278 tempest_concurrency: 2
279 group-vars:
280 # NOTE(mriedem): The ENABLE_VOLUME_MULTIATTACH variable is used on both
281 # the controller and subnode prior to Rocky so we have to make sure the
282 # variable is set in both locations.
283 subnode:
284 devstack_localrc:
285 ENABLE_VOLUME_MULTIATTACH: true
286
287- job:
288 name: tempest-slow-py3
Luigi Toscanob9ac0572021-07-13 12:44:35 +0200289 parent: tempest-multinode-full-py3
Ghanshyam Mannebecf792021-06-14 17:09:35 -0500290 # This job version is with swift enabled on py3
291 # as swift is ready on py3 from stable/ussuri onwards.
Luigi Toscanob9ac0572021-07-13 12:44:35 +0200292 timeout: 10800
Ghanshyam Mannebecf792021-06-14 17:09:35 -0500293 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train)).*$
Luigi Toscanob9ac0572021-07-13 12:44:35 +0200294 vars: *tempest_slow_vars
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600295
296- job:
297 name: tempest-cinder-v2-api
298 parent: devstack-tempest
Ghanshyam Mann2f4539d2021-05-18 12:32:39 -0500299 # NOTE(gmann): Cinder v2 APIs are available until
300 # stable/wallaby only.
301 override-checkout: stable/wallaby
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600302 description: |
303 This job runs the cinder API test against v2 endpoint.
304 vars:
305 tox_envlist: all
306 tempest_test_regex: api.*volume
307 devstack_localrc:
308 TEMPEST_VOLUME_TYPE: volumev2
309
310- job:
Ade Lee6ded0702021-09-04 15:56:34 -0400311 name: tempest-centos8-stream-fips
312 parent: devstack-tempest
313 description: |
314 Integration testing for a FIPS enabled Centos 8 system
315 nodeset: devstack-single-node-centos-8-stream
316 pre-run: playbooks/enable-fips.yaml
317 vars:
318 tox_envlist: full
319 configure_swap_size: 4096
Ade Lee0687b9c2022-03-02 16:24:50 -0500320 nslookup_target: 'opendev.org'
321
322- job:
323 name: tempest-centos9-stream-fips
324 parent: devstack-tempest
325 description: |
326 Integration testing for a FIPS enabled Centos 9 system
327 nodeset: devstack-single-node-centos-9-stream
328 pre-run: playbooks/enable-fips.yaml
329 vars:
330 tox_envlist: full
331 configure_swap_size: 4096
332 nslookup_target: 'opendev.org'
Ade Lee6ded0702021-09-04 15:56:34 -0400333
334- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600335 name: tempest-pg-full
336 parent: tempest-full-py3
337 description: |
338 Base integration test with Neutron networking and PostgreSQL.
339 Former name for this job was legacy-tempest-dsvm-neutron-pg-full.
340 vars:
341 devstack_localrc:
Ghanshyam Mann861c78f2021-02-09 11:25:26 -0600342 # TODO(gmann): Enable File injection tests once nova bug is fixed
343 # https://bugs.launchpad.net/nova/+bug/1882421
344 # ENABLE_FILE_INJECTION: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600345 DATABASE_TYPE: postgresql
346
347- project-template:
348 name: integrated-gate-networking
349 description: |
350 Run the python3 Tempest network integration tests (Nova and Neutron related)
351 in check and gate for the neutron integrated gate. This is meant to be
352 run on neutron gate only.
353 check:
354 jobs:
355 - grenade
Dan Smithaf19ff42022-02-23 10:42:26 -0800356 - grenade-skip-level:
357 voting: false
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600358 - tempest-integrated-networking
Ghanshyam Mann2202f7b2022-06-01 16:31:51 -0500359 # Do not run it on ussuri until below issue is fixed
360 # https://storyboard.openstack.org/#!/story/2010057
361 - openstacksdk-functional-devstack:
362 branches: ^(?!stable/ussuri).*$
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600363 gate:
364 jobs:
365 - grenade
366 - tempest-integrated-networking
Ghanshyam Mann2202f7b2022-06-01 16:31:51 -0500367 # Do not run it on ussuri until below issue is fixed
368 # https://storyboard.openstack.org/#!/story/2010057
369 - openstacksdk-functional-devstack:
370 branches: ^(?!stable/ussuri).*$
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600371
372- project-template:
373 name: integrated-gate-compute
374 description: |
375 Run the python3 Tempest compute integration tests
376 (Nova, Neutron, Cinder and Glance related) in check and gate
377 for the Nova integrated gate. This is meant to be
378 run on Nova gate only.
Ghanshyam Mann9625f0d2022-04-27 17:45:52 -0500379 # NOTE(gmann): This template is used for stable branches also so when we
380 # add/remove jobs here we need to make sure we should not change the
381 # behaviour for stable branches. For example, with branch variant we need
382 # to make sure old job keep running on stable branches and the new one run
383 # only from master(or the branch it was meant to run).
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600384 check:
385 jobs:
Dan Smithaf19ff42022-02-23 10:42:26 -0800386 - grenade-skip-level:
387 voting: false
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600388 - tempest-integrated-compute
Ghanshyam Mann9625f0d2022-04-27 17:45:52 -0500389 # centos-8-stream is tested from wallaby -> yoga branches
390 - tempest-integrated-compute-centos-8-stream:
391 branches: ^stable/(wallaby|xena|yoga).*$
Ghanshyam Mann2202f7b2022-06-01 16:31:51 -0500392 # Do not run it on ussuri until below issue is fixed
393 # https://storyboard.openstack.org/#!/story/2010057
394 - openstacksdk-functional-devstack:
395 branches: ^(?!stable/ussuri).*$
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600396 gate:
397 jobs:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600398 - tempest-integrated-compute
Ghanshyam Mann2202f7b2022-06-01 16:31:51 -0500399 - openstacksdk-functional-devstack:
400 branches: ^(?!stable/ussuri).*$
Sean Mooney9c263de2022-07-18 16:55:31 +0100401 periodic-weekly:
402 jobs:
403 # centos-9-stream is tested from zed release onwards
404 - tempest-integrated-compute-centos-9-stream:
405 branches: ^(?!stable/(pike|queens|rocky|stein|train|ussuri|victoria|wallaby|xena|yoga)).*$
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600406
407- project-template:
408 name: integrated-gate-placement
409 description: |
410 Run the python3 Tempest placement integration tests
411 (Nova and Neutron related) in check and gate
412 for the Placement integrated gate. This is meant to be
413 run on Placement gate only.
414 check:
415 jobs:
416 - grenade
Dan Smithaf19ff42022-02-23 10:42:26 -0800417 - grenade-skip-level:
418 voting: false
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600419 - tempest-integrated-placement
Ghanshyam Mann2202f7b2022-06-01 16:31:51 -0500420 # Do not run it on ussuri until below issue is fixed
421 # https://storyboard.openstack.org/#!/story/2010057
422 - openstacksdk-functional-devstack:
423 branches: ^(?!stable/ussuri).*$
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600424 gate:
425 jobs:
426 - grenade
427 - tempest-integrated-placement
Ghanshyam Mann2202f7b2022-06-01 16:31:51 -0500428 # Do not run it on ussuri until below issue is fixed
429 # https://storyboard.openstack.org/#!/story/2010057
430 - openstacksdk-functional-devstack:
431 branches: ^(?!stable/ussuri).*$
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600432
433- project-template:
434 name: integrated-gate-storage
435 description: |
436 Run the python3 Tempest image & block storage integration tests
437 (Cinder, Glance, Swift and Nova related) in check and gate
438 for the neutron integrated gate. This is meant to be
439 run on Cinder and Glance gate only.
440 check:
441 jobs:
442 - grenade
Dan Smithaf19ff42022-02-23 10:42:26 -0800443 - grenade-skip-level:
444 voting: false
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600445 - tempest-integrated-storage
Ghanshyam Mann2202f7b2022-06-01 16:31:51 -0500446 # Do not run it on ussuri until below issue is fixed
447 # https://storyboard.openstack.org/#!/story/2010057
448 - openstacksdk-functional-devstack:
449 branches: ^(?!stable/ussuri).*$
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600450 gate:
451 jobs:
452 - grenade
453 - tempest-integrated-storage
Ghanshyam Mann2202f7b2022-06-01 16:31:51 -0500454 # Do not run it on ussuri until below issue is fixed
455 # https://storyboard.openstack.org/#!/story/2010057
456 - openstacksdk-functional-devstack:
457 branches: ^(?!stable/ussuri).*$
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600458
459- project-template:
460 name: integrated-gate-object-storage
461 description: |
462 Run the python3 Tempest object storage integration tests
463 (Swift, Cinder and Glance related) in check and gate
464 for the swift integrated gate. This is meant to be
465 run on swift gate only.
466 check:
467 jobs:
468 - grenade
469 - tempest-integrated-object-storage
Ghanshyam Mann2202f7b2022-06-01 16:31:51 -0500470 # Do not run it on ussuri until below issue is fixed
471 # https://storyboard.openstack.org/#!/story/2010057
472 - openstacksdk-functional-devstack:
473 branches: ^(?!stable/ussuri).*$
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600474 gate:
475 jobs:
476 - grenade
477 - tempest-integrated-object-storage
Ghanshyam Mann2202f7b2022-06-01 16:31:51 -0500478 # Do not run it on ussuri until below issue is fixed
479 # https://storyboard.openstack.org/#!/story/2010057
480 - openstacksdk-functional-devstack:
481 branches: ^(?!stable/ussuri).*$