blob: 4c08ad9f9d57b6743981eae3fd386cf75caec782 [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
89- job:
Ghanshyam Mann3ed52102022-04-25 18:07:00 -050090 name: tempest-full-centos-9-stream
91 parent: tempest-full-py3
92 nodeset: devstack-single-node-centos-9-stream
Ghanshyam Mann9625f0d2022-04-27 17:45:52 -050093 # centos-9-stream is supported from yoga release onwards
94 branches: ^(?!stable/(pike|queens|rocky|stein|train|ussuri|victoria|wallaby|xena)).*$
Ghanshyam Mann3ed52102022-04-25 18:07:00 -050095 description: |
96 Base integration test on CentOS 9 stream
97 vars:
98 # Required until bug/1949606 is resolved when using libvirt and QEMU
99 # >=5.0.0 with a [libvirt]virt_type of qemu (TCG).
100 configure_swap_size: 4096
101
102- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600103 name: tempest-integrated-networking
104 parent: devstack-tempest
105 branches: ^(?!stable/ocata).*$
106 description: |
107 This job runs integration tests for networking. This is subset of
108 'tempest-full-py3' job and run only Neutron and Nova related tests.
109 This is meant to be run on neutron gate only.
110 vars:
111 tox_envlist: integrated-network
112 devstack_localrc:
113 USE_PYTHON3: true
114 FORCE_CONFIG_DRIVE: true
115 devstack_services:
116 s-account: false
117 s-container: false
118 s-object: false
119 s-proxy: false
120 c-bak: false
121
122- job:
123 name: tempest-integrated-compute
124 parent: devstack-tempest
125 branches: ^(?!stable/ocata).*$
126 description: |
127 This job runs integration tests for compute. This is
128 subset of 'tempest-full-py3' job and run Nova, Neutron, Cinder (except backup tests)
129 and Glance related tests. This is meant to be run on Nova gate only.
130 vars:
131 tox_envlist: integrated-compute
Ghanshyam Mann4fa15342021-02-11 13:28:53 -0600132 tempest_exclude_regex: ""
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600133 devstack_localrc:
134 USE_PYTHON3: true
135 FORCE_CONFIG_DRIVE: true
136 ENABLE_VOLUME_MULTIATTACH: true
137 devstack_services:
138 s-account: false
139 s-container: false
140 s-object: false
141 s-proxy: false
142 c-bak: false
143
144- job:
Ghanshyam Mann3ed52102022-04-25 18:07:00 -0500145 name: tempest-integrated-compute-centos-9-stream
Lee Yarwood0dba41c2021-06-23 10:47:44 +0100146 parent: tempest-integrated-compute
Ghanshyam Mann3ed52102022-04-25 18:07:00 -0500147 nodeset: devstack-single-node-centos-9-stream
Ghanshyam Mann9625f0d2022-04-27 17:45:52 -0500148 # centos-9-stream is supported from yoga release onwards
149 branches: ^(?!stable/(pike|queens|rocky|stein|train|ussuri|victoria|wallaby|xena)).*$
Lee Yarwood0dba41c2021-06-23 10:47:44 +0100150 description: |
151 This job runs integration tests for compute. This is
152 subset of 'tempest-full-py3' job and run Nova, Neutron, Cinder (except backup tests)
153 and Glance related tests. This is meant to be run on Nova gate only.
Ghanshyam Mann3ed52102022-04-25 18:07:00 -0500154 This version of the job also uses CentOS 9 stream.
Lee Yarwood0dba41c2021-06-23 10:47:44 +0100155 vars:
156 # Required until bug/1949606 is resolved when using libvirt and QEMU
157 # >=5.0.0 with a [libvirt]virt_type of qemu (TCG).
158 configure_swap_size: 4096
159
160- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600161 name: tempest-integrated-placement
162 parent: devstack-tempest
163 branches: ^(?!stable/ocata).*$
164 description: |
165 This job runs integration tests for placement. This is
166 subset of 'tempest-full-py3' job and run Nova and Neutron
167 related tests. This is meant to be run on Placement gate only.
168 vars:
169 tox_envlist: integrated-placement
170 devstack_localrc:
171 USE_PYTHON3: true
172 FORCE_CONFIG_DRIVE: true
173 ENABLE_VOLUME_MULTIATTACH: true
174 devstack_services:
175 s-account: false
176 s-container: false
177 s-object: false
178 s-proxy: false
179 c-bak: false
180
181- job:
182 name: tempest-integrated-storage
183 parent: devstack-tempest
184 branches: ^(?!stable/ocata).*$
185 description: |
186 This job runs integration tests for image & block storage. This is
187 subset of 'tempest-full-py3' job and run Cinder, Glance, Swift and Nova
188 related tests. This is meant to be run on Cinder and Glance gate only.
189 vars:
190 tox_envlist: integrated-storage
191 devstack_localrc:
192 USE_PYTHON3: true
193 FORCE_CONFIG_DRIVE: true
194 ENABLE_VOLUME_MULTIATTACH: true
195 GLANCE_USE_IMPORT_WORKFLOW: True
196
197- job:
198 name: tempest-integrated-object-storage
199 parent: devstack-tempest
200 branches: ^(?!stable/ocata).*$
201 description: |
202 This job runs integration tests for object storage. This is
203 subset of 'tempest-full-py3' job and run Swift, Cinder and Glance
204 related tests. This is meant to be run on Swift gate only.
205 vars:
206 tox_envlist: integrated-object-storage
207 devstack_localrc:
208 # NOTE(gmann): swift is not ready on python3 yet and devstack
209 # install it on python2.7 only. But settting the USE_PYTHON3
210 # for future once swift is ready on py3.
211 USE_PYTHON3: true
212
213- job:
Ghanshyam Mannba28d782021-09-03 10:21:54 -0500214 name: tempest-with-latest-microversion
215 parent: tempest-full-py3
216 description: |
217 This job runs compute, placement and volume API tests with 'latest'
218 API microversion (This can be extended to other services having API
219 microversion concept).
220 vars:
221 tox_envlist: api-microversion-tests
222 devstack_localrc:
223 TEMPEST_COMPUTE_MIN_MICROVERSION: 'latest'
224 TEMPEST_VOLUME_MIN_MICROVERSION: 'latest'
225 TEMPEST_PLACEMENT_MIN_MICROVERSION: 'latest'
226
227- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600228 name: tempest-multinode-full
229 parent: tempest-multinode-full-base
230 nodeset: openstack-two-node-focal
231 # This job runs on Focal from stable/victoria on.
232 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train|ussuri)).*$
233 vars:
234 devstack_localrc:
235 USE_PYTHON3: False
236 group-vars:
237 subnode:
238 devstack_localrc:
239 USE_PYTHON3: False
240
241- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600242 name: tempest-multinode-full-py3
243 parent: tempest-multinode-full
244 vars:
245 devstack_localrc:
246 USE_PYTHON3: true
elajkat064a3402019-10-17 13:18:10 +0200247 devstack_plugins:
248 neutron: https://opendev.org/openstack/neutron
elajkat064a3402019-10-17 13:18:10 +0200249 devstack_services:
elajkat0b14db22021-02-08 16:43:59 +0100250 neutron-trunk: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600251 group-vars:
252 subnode:
253 devstack_localrc:
254 USE_PYTHON3: true
255
256- job:
257 name: tempest-slow
258 parent: tempest-multinode-full
259 description: |
260 This multinode integration job will run all the tests tagged as slow.
261 It enables the lvm multibackend setup to cover few scenario tests.
262 This job will run only slow tests (API or Scenario) serially.
263
264 Former names for this job were:
265 * legacy-tempest-dsvm-neutron-scenario-multinode-lvm-multibackend
266 * tempest-scenario-multinode-lvm-multibackend
267 timeout: 10800
Hemanth Nakkinaf4bd5542021-02-10 09:12:14 +0530268 # This job runs on stable/stein onwards.
269 branches: ^(?!stable/(ocata|pike|queens|rocky)).*$
Luigi Toscanob9ac0572021-07-13 12:44:35 +0200270 vars: &tempest_slow_vars
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600271 tox_envlist: slow-serial
272 devstack_localrc:
273 CINDER_ENABLED_BACKENDS: lvm:lvmdriver-1,lvm:lvmdriver-2
274 ENABLE_VOLUME_MULTIATTACH: true
275 devstack_plugins:
276 neutron: https://opendev.org/openstack/neutron
277 devstack_services:
278 neutron-placement: true
279 neutron-qos: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600280 tempest_concurrency: 2
281 group-vars:
282 # NOTE(mriedem): The ENABLE_VOLUME_MULTIATTACH variable is used on both
283 # the controller and subnode prior to Rocky so we have to make sure the
284 # variable is set in both locations.
285 subnode:
286 devstack_localrc:
287 ENABLE_VOLUME_MULTIATTACH: true
288
289- job:
290 name: tempest-slow-py3
Luigi Toscanob9ac0572021-07-13 12:44:35 +0200291 parent: tempest-multinode-full-py3
Ghanshyam Mannebecf792021-06-14 17:09:35 -0500292 # This job version is with swift enabled on py3
293 # as swift is ready on py3 from stable/ussuri onwards.
Luigi Toscanob9ac0572021-07-13 12:44:35 +0200294 timeout: 10800
Ghanshyam Mannebecf792021-06-14 17:09:35 -0500295 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train)).*$
Luigi Toscanob9ac0572021-07-13 12:44:35 +0200296 vars: *tempest_slow_vars
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600297
298- job:
299 name: tempest-cinder-v2-api
300 parent: devstack-tempest
Ghanshyam Mann2f4539d2021-05-18 12:32:39 -0500301 # NOTE(gmann): Cinder v2 APIs are available until
302 # stable/wallaby only.
303 override-checkout: stable/wallaby
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600304 description: |
305 This job runs the cinder API test against v2 endpoint.
306 vars:
307 tox_envlist: all
308 tempest_test_regex: api.*volume
309 devstack_localrc:
310 TEMPEST_VOLUME_TYPE: volumev2
311
312- job:
Ade Lee6ded0702021-09-04 15:56:34 -0400313 name: tempest-centos8-stream-fips
314 parent: devstack-tempest
315 description: |
316 Integration testing for a FIPS enabled Centos 8 system
317 nodeset: devstack-single-node-centos-8-stream
318 pre-run: playbooks/enable-fips.yaml
319 vars:
320 tox_envlist: full
321 configure_swap_size: 4096
Ade Lee0687b9c2022-03-02 16:24:50 -0500322 nslookup_target: 'opendev.org'
323
324- job:
325 name: tempest-centos9-stream-fips
326 parent: devstack-tempest
327 description: |
328 Integration testing for a FIPS enabled Centos 9 system
329 nodeset: devstack-single-node-centos-9-stream
330 pre-run: playbooks/enable-fips.yaml
331 vars:
332 tox_envlist: full
333 configure_swap_size: 4096
334 nslookup_target: 'opendev.org'
Ade Lee6ded0702021-09-04 15:56:34 -0400335
336- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600337 name: tempest-pg-full
338 parent: tempest-full-py3
339 description: |
340 Base integration test with Neutron networking and PostgreSQL.
341 Former name for this job was legacy-tempest-dsvm-neutron-pg-full.
342 vars:
343 devstack_localrc:
Ghanshyam Mann861c78f2021-02-09 11:25:26 -0600344 # TODO(gmann): Enable File injection tests once nova bug is fixed
345 # https://bugs.launchpad.net/nova/+bug/1882421
346 # ENABLE_FILE_INJECTION: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600347 DATABASE_TYPE: postgresql
348
349- project-template:
350 name: integrated-gate-networking
351 description: |
352 Run the python3 Tempest network integration tests (Nova and Neutron related)
353 in check and gate for the neutron integrated gate. This is meant to be
354 run on neutron gate only.
355 check:
356 jobs:
357 - grenade
Dan Smithaf19ff42022-02-23 10:42:26 -0800358 - grenade-skip-level:
359 voting: false
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600360 - tempest-integrated-networking
Ghanshyam Mann2202f7b2022-06-01 16:31:51 -0500361 # Do not run it on ussuri until below issue is fixed
362 # https://storyboard.openstack.org/#!/story/2010057
363 - openstacksdk-functional-devstack:
364 branches: ^(?!stable/ussuri).*$
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600365 gate:
366 jobs:
367 - grenade
368 - tempest-integrated-networking
Ghanshyam Mann2202f7b2022-06-01 16:31:51 -0500369 # Do not run it on ussuri until below issue is fixed
370 # https://storyboard.openstack.org/#!/story/2010057
371 - openstacksdk-functional-devstack:
372 branches: ^(?!stable/ussuri).*$
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600373
374- project-template:
375 name: integrated-gate-compute
376 description: |
377 Run the python3 Tempest compute integration tests
378 (Nova, Neutron, Cinder and Glance related) in check and gate
379 for the Nova integrated gate. This is meant to be
380 run on Nova gate only.
Ghanshyam Mann9625f0d2022-04-27 17:45:52 -0500381 # NOTE(gmann): This template is used for stable branches also so when we
382 # add/remove jobs here we need to make sure we should not change the
383 # behaviour for stable branches. For example, with branch variant we need
384 # to make sure old job keep running on stable branches and the new one run
385 # only from master(or the branch it was meant to run).
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600386 check:
387 jobs:
Dan Smithaf19ff42022-02-23 10:42:26 -0800388 - grenade-skip-level:
389 voting: false
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600390 - tempest-integrated-compute
Ghanshyam Mann9625f0d2022-04-27 17:45:52 -0500391 # centos-8-stream is tested from wallaby -> yoga branches
392 - tempest-integrated-compute-centos-8-stream:
393 branches: ^stable/(wallaby|xena|yoga).*$
Ghanshyam Mann2202f7b2022-06-01 16:31:51 -0500394 # Do not run it on ussuri until below issue is fixed
395 # https://storyboard.openstack.org/#!/story/2010057
396 - openstacksdk-functional-devstack:
397 branches: ^(?!stable/ussuri).*$
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600398 gate:
399 jobs:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600400 - tempest-integrated-compute
Ghanshyam Mann2202f7b2022-06-01 16:31:51 -0500401 - openstacksdk-functional-devstack:
402 branches: ^(?!stable/ussuri).*$
Sean Mooney9c263de2022-07-18 16:55:31 +0100403 periodic-weekly:
404 jobs:
405 # centos-9-stream is tested from zed release onwards
406 - tempest-integrated-compute-centos-9-stream:
407 branches: ^(?!stable/(pike|queens|rocky|stein|train|ussuri|victoria|wallaby|xena|yoga)).*$
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600408
409- project-template:
410 name: integrated-gate-placement
411 description: |
412 Run the python3 Tempest placement integration tests
413 (Nova and Neutron related) in check and gate
414 for the Placement integrated gate. This is meant to be
415 run on Placement gate only.
416 check:
417 jobs:
418 - grenade
Dan Smithaf19ff42022-02-23 10:42:26 -0800419 - grenade-skip-level:
420 voting: false
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600421 - tempest-integrated-placement
Ghanshyam Mann2202f7b2022-06-01 16:31:51 -0500422 # Do not run it on ussuri until below issue is fixed
423 # https://storyboard.openstack.org/#!/story/2010057
424 - openstacksdk-functional-devstack:
425 branches: ^(?!stable/ussuri).*$
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600426 gate:
427 jobs:
428 - grenade
429 - tempest-integrated-placement
Ghanshyam Mann2202f7b2022-06-01 16:31:51 -0500430 # Do not run it on ussuri until below issue is fixed
431 # https://storyboard.openstack.org/#!/story/2010057
432 - openstacksdk-functional-devstack:
433 branches: ^(?!stable/ussuri).*$
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600434
435- project-template:
436 name: integrated-gate-storage
437 description: |
438 Run the python3 Tempest image & block storage integration tests
439 (Cinder, Glance, Swift and Nova related) in check and gate
440 for the neutron integrated gate. This is meant to be
441 run on Cinder and Glance gate only.
442 check:
443 jobs:
444 - grenade
Dan Smithaf19ff42022-02-23 10:42:26 -0800445 - grenade-skip-level:
446 voting: false
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600447 - tempest-integrated-storage
Ghanshyam Mann2202f7b2022-06-01 16:31:51 -0500448 # Do not run it on ussuri until below issue is fixed
449 # https://storyboard.openstack.org/#!/story/2010057
450 - openstacksdk-functional-devstack:
451 branches: ^(?!stable/ussuri).*$
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600452 gate:
453 jobs:
454 - grenade
455 - tempest-integrated-storage
Ghanshyam Mann2202f7b2022-06-01 16:31:51 -0500456 # Do not run it on ussuri until below issue is fixed
457 # https://storyboard.openstack.org/#!/story/2010057
458 - openstacksdk-functional-devstack:
459 branches: ^(?!stable/ussuri).*$
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600460
461- project-template:
462 name: integrated-gate-object-storage
463 description: |
464 Run the python3 Tempest object storage integration tests
465 (Swift, Cinder and Glance related) in check and gate
466 for the swift integrated gate. This is meant to be
467 run on swift gate only.
468 check:
469 jobs:
470 - grenade
471 - tempest-integrated-object-storage
Ghanshyam Mann2202f7b2022-06-01 16:31:51 -0500472 # Do not run it on ussuri until below issue is fixed
473 # https://storyboard.openstack.org/#!/story/2010057
474 - openstacksdk-functional-devstack:
475 branches: ^(?!stable/ussuri).*$
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600476 gate:
477 jobs:
478 - grenade
479 - tempest-integrated-object-storage
Ghanshyam Mann2202f7b2022-06-01 16:31:51 -0500480 # Do not run it on ussuri until below issue is fixed
481 # https://storyboard.openstack.org/#!/story/2010057
482 - openstacksdk-functional-devstack:
483 branches: ^(?!stable/ussuri).*$