blob: 3305aeb5d012724d8311791da12371b82b63ce80 [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 Mann17082ad2021-07-22 13:41:46 -0500361 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600362 gate:
363 jobs:
364 - grenade
365 - tempest-integrated-networking
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500366 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600367
368- project-template:
369 name: integrated-gate-compute
370 description: |
371 Run the python3 Tempest compute integration tests
372 (Nova, Neutron, Cinder and Glance related) in check and gate
373 for the Nova integrated gate. This is meant to be
374 run on Nova gate only.
Ghanshyam Mann9625f0d2022-04-27 17:45:52 -0500375 # NOTE(gmann): This template is used for stable branches also so when we
376 # add/remove jobs here we need to make sure we should not change the
377 # behaviour for stable branches. For example, with branch variant we need
378 # to make sure old job keep running on stable branches and the new one run
379 # only from master(or the branch it was meant to run).
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600380 check:
381 jobs:
Dan Smithaf19ff42022-02-23 10:42:26 -0800382 - grenade-skip-level:
383 voting: false
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600384 - tempest-integrated-compute
Ghanshyam Mann9625f0d2022-04-27 17:45:52 -0500385 # centos-8-stream is tested from wallaby -> yoga branches
386 - tempest-integrated-compute-centos-8-stream:
387 branches: ^stable/(wallaby|xena|yoga).*$
388 # centos-9-stream is tested from zed release onwards
389 - tempest-integrated-compute-centos-9-stream:
390 branches: ^(?!stable/(pike|queens|rocky|stein|train|ussuri|victoria|wallaby|xena|yoga)).*$
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500391 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600392 gate:
393 jobs:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600394 - tempest-integrated-compute
Ghanshyam Mann3ed52102022-04-25 18:07:00 -0500395 - tempest-integrated-compute-centos-9-stream
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500396 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600397
398- project-template:
399 name: integrated-gate-placement
400 description: |
401 Run the python3 Tempest placement integration tests
402 (Nova and Neutron related) in check and gate
403 for the Placement integrated gate. This is meant to be
404 run on Placement gate only.
405 check:
406 jobs:
407 - grenade
Dan Smithaf19ff42022-02-23 10:42:26 -0800408 - grenade-skip-level:
409 voting: false
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600410 - tempest-integrated-placement
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500411 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600412 gate:
413 jobs:
414 - grenade
415 - tempest-integrated-placement
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500416 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600417
418- project-template:
419 name: integrated-gate-storage
420 description: |
421 Run the python3 Tempest image & block storage integration tests
422 (Cinder, Glance, Swift and Nova related) in check and gate
423 for the neutron integrated gate. This is meant to be
424 run on Cinder and Glance gate only.
425 check:
426 jobs:
427 - grenade
Dan Smithaf19ff42022-02-23 10:42:26 -0800428 - grenade-skip-level:
429 voting: false
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600430 - tempest-integrated-storage
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500431 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600432 gate:
433 jobs:
434 - grenade
435 - tempest-integrated-storage
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500436 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600437
438- project-template:
439 name: integrated-gate-object-storage
440 description: |
441 Run the python3 Tempest object storage integration tests
442 (Swift, Cinder and Glance related) in check and gate
443 for the swift integrated gate. This is meant to be
444 run on swift gate only.
445 check:
446 jobs:
447 - grenade
448 - tempest-integrated-object-storage
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500449 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600450 gate:
451 jobs:
452 - grenade
453 - tempest-integrated-object-storage
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500454 - openstacksdk-functional-devstack