blob: 3dd8c497ce1fcdf72ba89899dd5e14017f512d7d [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
322 devstack_local_conf:
323 test-config:
324 "$TEMPEST_CONFIG":
325 validation:
326 ssh_key_type: 'ecdsa'
327
328- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600329 name: tempest-pg-full
330 parent: tempest-full-py3
331 description: |
332 Base integration test with Neutron networking and PostgreSQL.
333 Former name for this job was legacy-tempest-dsvm-neutron-pg-full.
334 vars:
335 devstack_localrc:
Ghanshyam Mann861c78f2021-02-09 11:25:26 -0600336 # TODO(gmann): Enable File injection tests once nova bug is fixed
337 # https://bugs.launchpad.net/nova/+bug/1882421
338 # ENABLE_FILE_INJECTION: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600339 DATABASE_TYPE: postgresql
340
341- project-template:
342 name: integrated-gate-networking
343 description: |
344 Run the python3 Tempest network integration tests (Nova and Neutron related)
345 in check and gate for the neutron integrated gate. This is meant to be
346 run on neutron gate only.
347 check:
348 jobs:
349 - grenade
Dan Smithaf19ff42022-02-23 10:42:26 -0800350 - grenade-skip-level:
351 voting: false
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600352 - tempest-integrated-networking
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500353 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600354 gate:
355 jobs:
356 - grenade
357 - tempest-integrated-networking
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500358 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600359
360- project-template:
361 name: integrated-gate-compute
362 description: |
363 Run the python3 Tempest compute integration tests
364 (Nova, Neutron, Cinder and Glance related) in check and gate
365 for the Nova integrated gate. This is meant to be
366 run on Nova gate only.
Ghanshyam Mann9625f0d2022-04-27 17:45:52 -0500367 # NOTE(gmann): This template is used for stable branches also so when we
368 # add/remove jobs here we need to make sure we should not change the
369 # behaviour for stable branches. For example, with branch variant we need
370 # to make sure old job keep running on stable branches and the new one run
371 # only from master(or the branch it was meant to run).
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600372 check:
373 jobs:
Dan Smithaf19ff42022-02-23 10:42:26 -0800374 - grenade-skip-level:
375 voting: false
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600376 - tempest-integrated-compute
Ghanshyam Mann9625f0d2022-04-27 17:45:52 -0500377 # centos-8-stream is tested from wallaby -> yoga branches
378 - tempest-integrated-compute-centos-8-stream:
379 branches: ^stable/(wallaby|xena|yoga).*$
380 # centos-9-stream is tested from zed release onwards
381 - tempest-integrated-compute-centos-9-stream:
382 branches: ^(?!stable/(pike|queens|rocky|stein|train|ussuri|victoria|wallaby|xena|yoga)).*$
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500383 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600384 gate:
385 jobs:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600386 - tempest-integrated-compute
Ghanshyam Mann3ed52102022-04-25 18:07:00 -0500387 - tempest-integrated-compute-centos-9-stream
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500388 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600389
390- project-template:
391 name: integrated-gate-placement
392 description: |
393 Run the python3 Tempest placement integration tests
394 (Nova and Neutron related) in check and gate
395 for the Placement integrated gate. This is meant to be
396 run on Placement gate only.
397 check:
398 jobs:
399 - grenade
Dan Smithaf19ff42022-02-23 10:42:26 -0800400 - grenade-skip-level:
401 voting: false
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600402 - tempest-integrated-placement
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500403 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600404 gate:
405 jobs:
406 - grenade
407 - tempest-integrated-placement
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500408 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600409
410- project-template:
411 name: integrated-gate-storage
412 description: |
413 Run the python3 Tempest image & block storage integration tests
414 (Cinder, Glance, Swift and Nova related) in check and gate
415 for the neutron integrated gate. This is meant to be
416 run on Cinder and Glance gate only.
417 check:
418 jobs:
419 - grenade
Dan Smithaf19ff42022-02-23 10:42:26 -0800420 - grenade-skip-level:
421 voting: false
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600422 - tempest-integrated-storage
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500423 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600424 gate:
425 jobs:
426 - grenade
427 - tempest-integrated-storage
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500428 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600429
430- project-template:
431 name: integrated-gate-object-storage
432 description: |
433 Run the python3 Tempest object storage integration tests
434 (Swift, Cinder and Glance related) in check and gate
435 for the swift integrated gate. This is meant to be
436 run on swift gate only.
437 check:
438 jobs:
439 - grenade
440 - tempest-integrated-object-storage
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500441 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600442 gate:
443 jobs:
444 - grenade
445 - tempest-integrated-object-storage
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500446 - openstacksdk-functional-devstack