blob: 366f92d1918634fe035431796f9e31c59d03278c [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
93 description: |
94 Base integration test on CentOS 9 stream
95 vars:
96 # Required until bug/1949606 is resolved when using libvirt and QEMU
97 # >=5.0.0 with a [libvirt]virt_type of qemu (TCG).
98 configure_swap_size: 4096
99
100- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600101 name: tempest-integrated-networking
102 parent: devstack-tempest
103 branches: ^(?!stable/ocata).*$
104 description: |
105 This job runs integration tests for networking. This is subset of
106 'tempest-full-py3' job and run only Neutron and Nova related tests.
107 This is meant to be run on neutron gate only.
108 vars:
109 tox_envlist: integrated-network
110 devstack_localrc:
111 USE_PYTHON3: true
112 FORCE_CONFIG_DRIVE: true
113 devstack_services:
114 s-account: false
115 s-container: false
116 s-object: false
117 s-proxy: false
118 c-bak: false
119
120- job:
121 name: tempest-integrated-compute
122 parent: devstack-tempest
123 branches: ^(?!stable/ocata).*$
124 description: |
125 This job runs integration tests for compute. This is
126 subset of 'tempest-full-py3' job and run Nova, Neutron, Cinder (except backup tests)
127 and Glance related tests. This is meant to be run on Nova gate only.
128 vars:
129 tox_envlist: integrated-compute
Ghanshyam Mann4fa15342021-02-11 13:28:53 -0600130 tempest_exclude_regex: ""
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600131 devstack_localrc:
132 USE_PYTHON3: true
133 FORCE_CONFIG_DRIVE: true
134 ENABLE_VOLUME_MULTIATTACH: true
135 devstack_services:
136 s-account: false
137 s-container: false
138 s-object: false
139 s-proxy: false
140 c-bak: false
141
142- job:
Ghanshyam Mann3ed52102022-04-25 18:07:00 -0500143 name: tempest-integrated-compute-centos-9-stream
Lee Yarwood0dba41c2021-06-23 10:47:44 +0100144 parent: tempest-integrated-compute
Ghanshyam Mann3ed52102022-04-25 18:07:00 -0500145 nodeset: devstack-single-node-centos-9-stream
Lee Yarwooded89c772021-11-09 10:12:38 +0000146 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train|ussuri|victoria)).*$
Lee Yarwood0dba41c2021-06-23 10:47:44 +0100147 description: |
148 This job runs integration tests for compute. This is
149 subset of 'tempest-full-py3' job and run Nova, Neutron, Cinder (except backup tests)
150 and Glance related tests. This is meant to be run on Nova gate only.
Ghanshyam Mann3ed52102022-04-25 18:07:00 -0500151 This version of the job also uses CentOS 9 stream.
Lee Yarwood0dba41c2021-06-23 10:47:44 +0100152 vars:
153 # Required until bug/1949606 is resolved when using libvirt and QEMU
154 # >=5.0.0 with a [libvirt]virt_type of qemu (TCG).
155 configure_swap_size: 4096
156
157- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600158 name: tempest-integrated-placement
159 parent: devstack-tempest
160 branches: ^(?!stable/ocata).*$
161 description: |
162 This job runs integration tests for placement. This is
163 subset of 'tempest-full-py3' job and run Nova and Neutron
164 related tests. This is meant to be run on Placement gate only.
165 vars:
166 tox_envlist: integrated-placement
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-storage
180 parent: devstack-tempest
181 branches: ^(?!stable/ocata).*$
182 description: |
183 This job runs integration tests for image & block storage. This is
184 subset of 'tempest-full-py3' job and run Cinder, Glance, Swift and Nova
185 related tests. This is meant to be run on Cinder and Glance gate only.
186 vars:
187 tox_envlist: integrated-storage
188 devstack_localrc:
189 USE_PYTHON3: true
190 FORCE_CONFIG_DRIVE: true
191 ENABLE_VOLUME_MULTIATTACH: true
192 GLANCE_USE_IMPORT_WORKFLOW: True
193
194- job:
195 name: tempest-integrated-object-storage
196 parent: devstack-tempest
197 branches: ^(?!stable/ocata).*$
198 description: |
199 This job runs integration tests for object storage. This is
200 subset of 'tempest-full-py3' job and run Swift, Cinder and Glance
201 related tests. This is meant to be run on Swift gate only.
202 vars:
203 tox_envlist: integrated-object-storage
204 devstack_localrc:
205 # NOTE(gmann): swift is not ready on python3 yet and devstack
206 # install it on python2.7 only. But settting the USE_PYTHON3
207 # for future once swift is ready on py3.
208 USE_PYTHON3: true
209
210- job:
Ghanshyam Mannba28d782021-09-03 10:21:54 -0500211 name: tempest-with-latest-microversion
212 parent: tempest-full-py3
213 description: |
214 This job runs compute, placement and volume API tests with 'latest'
215 API microversion (This can be extended to other services having API
216 microversion concept).
217 vars:
218 tox_envlist: api-microversion-tests
219 devstack_localrc:
220 TEMPEST_COMPUTE_MIN_MICROVERSION: 'latest'
221 TEMPEST_VOLUME_MIN_MICROVERSION: 'latest'
222 TEMPEST_PLACEMENT_MIN_MICROVERSION: 'latest'
223
224- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600225 name: tempest-multinode-full
226 parent: tempest-multinode-full-base
227 nodeset: openstack-two-node-focal
228 # This job runs on Focal from stable/victoria on.
229 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train|ussuri)).*$
230 vars:
231 devstack_localrc:
232 USE_PYTHON3: False
233 group-vars:
234 subnode:
235 devstack_localrc:
236 USE_PYTHON3: False
237
238- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600239 name: tempest-multinode-full-py3
240 parent: tempest-multinode-full
241 vars:
242 devstack_localrc:
243 USE_PYTHON3: true
elajkat064a3402019-10-17 13:18:10 +0200244 devstack_plugins:
245 neutron: https://opendev.org/openstack/neutron
elajkat064a3402019-10-17 13:18:10 +0200246 devstack_services:
elajkat0b14db22021-02-08 16:43:59 +0100247 neutron-trunk: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600248 group-vars:
249 subnode:
250 devstack_localrc:
251 USE_PYTHON3: true
252
253- job:
254 name: tempest-slow
255 parent: tempest-multinode-full
256 description: |
257 This multinode integration job will run all the tests tagged as slow.
258 It enables the lvm multibackend setup to cover few scenario tests.
259 This job will run only slow tests (API or Scenario) serially.
260
261 Former names for this job were:
262 * legacy-tempest-dsvm-neutron-scenario-multinode-lvm-multibackend
263 * tempest-scenario-multinode-lvm-multibackend
264 timeout: 10800
Hemanth Nakkinaf4bd5542021-02-10 09:12:14 +0530265 # This job runs on stable/stein onwards.
266 branches: ^(?!stable/(ocata|pike|queens|rocky)).*$
Luigi Toscanob9ac0572021-07-13 12:44:35 +0200267 vars: &tempest_slow_vars
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600268 tox_envlist: slow-serial
269 devstack_localrc:
270 CINDER_ENABLED_BACKENDS: lvm:lvmdriver-1,lvm:lvmdriver-2
271 ENABLE_VOLUME_MULTIATTACH: true
272 devstack_plugins:
273 neutron: https://opendev.org/openstack/neutron
274 devstack_services:
275 neutron-placement: true
276 neutron-qos: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600277 tempest_concurrency: 2
278 group-vars:
279 # NOTE(mriedem): The ENABLE_VOLUME_MULTIATTACH variable is used on both
280 # the controller and subnode prior to Rocky so we have to make sure the
281 # variable is set in both locations.
282 subnode:
283 devstack_localrc:
284 ENABLE_VOLUME_MULTIATTACH: true
285
286- job:
287 name: tempest-slow-py3
Luigi Toscanob9ac0572021-07-13 12:44:35 +0200288 parent: tempest-multinode-full-py3
Ghanshyam Mannebecf792021-06-14 17:09:35 -0500289 # This job version is with swift enabled on py3
290 # as swift is ready on py3 from stable/ussuri onwards.
Luigi Toscanob9ac0572021-07-13 12:44:35 +0200291 timeout: 10800
Ghanshyam Mannebecf792021-06-14 17:09:35 -0500292 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train)).*$
Luigi Toscanob9ac0572021-07-13 12:44:35 +0200293 vars: *tempest_slow_vars
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600294
295- job:
296 name: tempest-cinder-v2-api
297 parent: devstack-tempest
Ghanshyam Mann2f4539d2021-05-18 12:32:39 -0500298 # NOTE(gmann): Cinder v2 APIs are available until
299 # stable/wallaby only.
300 override-checkout: stable/wallaby
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600301 description: |
302 This job runs the cinder API test against v2 endpoint.
303 vars:
304 tox_envlist: all
305 tempest_test_regex: api.*volume
306 devstack_localrc:
307 TEMPEST_VOLUME_TYPE: volumev2
308
309- job:
Ade Lee6ded0702021-09-04 15:56:34 -0400310 name: tempest-centos8-stream-fips
311 parent: devstack-tempest
312 description: |
313 Integration testing for a FIPS enabled Centos 8 system
314 nodeset: devstack-single-node-centos-8-stream
315 pre-run: playbooks/enable-fips.yaml
316 vars:
317 tox_envlist: full
318 configure_swap_size: 4096
319 devstack_local_conf:
320 test-config:
321 "$TEMPEST_CONFIG":
322 validation:
323 ssh_key_type: 'ecdsa'
324
325- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600326 name: tempest-pg-full
327 parent: tempest-full-py3
328 description: |
329 Base integration test with Neutron networking and PostgreSQL.
330 Former name for this job was legacy-tempest-dsvm-neutron-pg-full.
331 vars:
332 devstack_localrc:
Ghanshyam Mann861c78f2021-02-09 11:25:26 -0600333 # TODO(gmann): Enable File injection tests once nova bug is fixed
334 # https://bugs.launchpad.net/nova/+bug/1882421
335 # ENABLE_FILE_INJECTION: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600336 DATABASE_TYPE: postgresql
337
338- project-template:
339 name: integrated-gate-networking
340 description: |
341 Run the python3 Tempest network integration tests (Nova and Neutron related)
342 in check and gate for the neutron integrated gate. This is meant to be
343 run on neutron gate only.
344 check:
345 jobs:
346 - grenade
Dan Smithaf19ff42022-02-23 10:42:26 -0800347 - grenade-skip-level:
348 voting: false
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600349 - tempest-integrated-networking
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500350 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600351 gate:
352 jobs:
353 - grenade
354 - tempest-integrated-networking
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500355 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600356
357- project-template:
358 name: integrated-gate-compute
359 description: |
360 Run the python3 Tempest compute integration tests
361 (Nova, Neutron, Cinder and Glance related) in check and gate
362 for the Nova integrated gate. This is meant to be
363 run on Nova gate only.
364 check:
365 jobs:
Dan Smithaf19ff42022-02-23 10:42:26 -0800366 - grenade-skip-level:
367 voting: false
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600368 - tempest-integrated-compute
Ghanshyam Mann3ed52102022-04-25 18:07:00 -0500369 - tempest-integrated-compute-centos-9-stream
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500370 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600371 gate:
372 jobs:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600373 - tempest-integrated-compute
Ghanshyam Mann3ed52102022-04-25 18:07:00 -0500374 - tempest-integrated-compute-centos-9-stream
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500375 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600376
377- project-template:
378 name: integrated-gate-placement
379 description: |
380 Run the python3 Tempest placement integration tests
381 (Nova and Neutron related) in check and gate
382 for the Placement integrated gate. This is meant to be
383 run on Placement gate only.
384 check:
385 jobs:
386 - grenade
Dan Smithaf19ff42022-02-23 10:42:26 -0800387 - grenade-skip-level:
388 voting: false
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600389 - tempest-integrated-placement
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500390 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600391 gate:
392 jobs:
393 - grenade
394 - tempest-integrated-placement
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500395 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600396
397- project-template:
398 name: integrated-gate-storage
399 description: |
400 Run the python3 Tempest image & block storage integration tests
401 (Cinder, Glance, Swift and Nova related) in check and gate
402 for the neutron integrated gate. This is meant to be
403 run on Cinder and Glance gate only.
404 check:
405 jobs:
406 - grenade
Dan Smithaf19ff42022-02-23 10:42:26 -0800407 - grenade-skip-level:
408 voting: false
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600409 - tempest-integrated-storage
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500410 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600411 gate:
412 jobs:
413 - grenade
414 - tempest-integrated-storage
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500415 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600416
417- project-template:
418 name: integrated-gate-object-storage
419 description: |
420 Run the python3 Tempest object storage integration tests
421 (Swift, Cinder and Glance related) in check and gate
422 for the swift integrated gate. This is meant to be
423 run on swift gate only.
424 check:
425 jobs:
426 - grenade
427 - tempest-integrated-object-storage
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500428 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600429 gate:
430 jobs:
431 - grenade
432 - tempest-integrated-object-storage
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500433 - openstacksdk-functional-devstack