blob: d35e25d32d4772f376969778ff7039b70505ed22 [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 Mann61f57332020-11-25 11:46:20 -060090 name: tempest-integrated-networking
91 parent: devstack-tempest
92 branches: ^(?!stable/ocata).*$
93 description: |
94 This job runs integration tests for networking. This is subset of
95 'tempest-full-py3' job and run only Neutron and Nova related tests.
96 This is meant to be run on neutron gate only.
97 vars:
98 tox_envlist: integrated-network
99 devstack_localrc:
100 USE_PYTHON3: true
101 FORCE_CONFIG_DRIVE: true
102 devstack_services:
103 s-account: false
104 s-container: false
105 s-object: false
106 s-proxy: false
107 c-bak: false
108
109- job:
110 name: tempest-integrated-compute
111 parent: devstack-tempest
112 branches: ^(?!stable/ocata).*$
113 description: |
114 This job runs integration tests for compute. This is
115 subset of 'tempest-full-py3' job and run Nova, Neutron, Cinder (except backup tests)
116 and Glance related tests. This is meant to be run on Nova gate only.
117 vars:
118 tox_envlist: integrated-compute
Ghanshyam Mann4fa15342021-02-11 13:28:53 -0600119 tempest_exclude_regex: ""
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600120 devstack_localrc:
121 USE_PYTHON3: true
122 FORCE_CONFIG_DRIVE: true
123 ENABLE_VOLUME_MULTIATTACH: 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:
Lee Yarwood0dba41c2021-06-23 10:47:44 +0100132 name: tempest-integrated-compute-centos-8-stream
133 parent: tempest-integrated-compute
Ghanshyam5eb51dc2022-01-21 05:56:22 +0000134 # TODO(gmann): Make this job non voting until bug#1957941 if fixed.
135 voting: false
Lee Yarwood0dba41c2021-06-23 10:47:44 +0100136 nodeset: devstack-single-node-centos-8-stream
Lee Yarwooded89c772021-11-09 10:12:38 +0000137 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train|ussuri|victoria)).*$
Lee Yarwood0dba41c2021-06-23 10:47:44 +0100138 description: |
139 This job runs integration tests for compute. This is
140 subset of 'tempest-full-py3' job and run Nova, Neutron, Cinder (except backup tests)
141 and Glance related tests. This is meant to be run on Nova gate only.
142 This version of the job also uses CentOS 8 stream.
143 vars:
144 # Required until bug/1949606 is resolved when using libvirt and QEMU
145 # >=5.0.0 with a [libvirt]virt_type of qemu (TCG).
146 configure_swap_size: 4096
147
148- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600149 name: tempest-integrated-placement
150 parent: devstack-tempest
151 branches: ^(?!stable/ocata).*$
152 description: |
153 This job runs integration tests for placement. This is
154 subset of 'tempest-full-py3' job and run Nova and Neutron
155 related tests. This is meant to be run on Placement gate only.
156 vars:
157 tox_envlist: integrated-placement
158 devstack_localrc:
159 USE_PYTHON3: true
160 FORCE_CONFIG_DRIVE: true
161 ENABLE_VOLUME_MULTIATTACH: true
162 devstack_services:
163 s-account: false
164 s-container: false
165 s-object: false
166 s-proxy: false
167 c-bak: false
168
169- job:
170 name: tempest-integrated-storage
171 parent: devstack-tempest
172 branches: ^(?!stable/ocata).*$
173 description: |
174 This job runs integration tests for image & block storage. This is
175 subset of 'tempest-full-py3' job and run Cinder, Glance, Swift and Nova
176 related tests. This is meant to be run on Cinder and Glance gate only.
177 vars:
178 tox_envlist: integrated-storage
179 devstack_localrc:
180 USE_PYTHON3: true
181 FORCE_CONFIG_DRIVE: true
182 ENABLE_VOLUME_MULTIATTACH: true
183 GLANCE_USE_IMPORT_WORKFLOW: True
184
185- job:
186 name: tempest-integrated-object-storage
187 parent: devstack-tempest
188 branches: ^(?!stable/ocata).*$
189 description: |
190 This job runs integration tests for object storage. This is
191 subset of 'tempest-full-py3' job and run Swift, Cinder and Glance
192 related tests. This is meant to be run on Swift gate only.
193 vars:
194 tox_envlist: integrated-object-storage
195 devstack_localrc:
196 # NOTE(gmann): swift is not ready on python3 yet and devstack
197 # install it on python2.7 only. But settting the USE_PYTHON3
198 # for future once swift is ready on py3.
199 USE_PYTHON3: true
200
201- job:
Ghanshyam Mannba28d782021-09-03 10:21:54 -0500202 name: tempest-with-latest-microversion
203 parent: tempest-full-py3
204 description: |
205 This job runs compute, placement and volume API tests with 'latest'
206 API microversion (This can be extended to other services having API
207 microversion concept).
208 vars:
209 tox_envlist: api-microversion-tests
210 devstack_localrc:
211 TEMPEST_COMPUTE_MIN_MICROVERSION: 'latest'
212 TEMPEST_VOLUME_MIN_MICROVERSION: 'latest'
213 TEMPEST_PLACEMENT_MIN_MICROVERSION: 'latest'
214
215- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600216 name: tempest-multinode-full
217 parent: tempest-multinode-full-base
218 nodeset: openstack-two-node-focal
219 # This job runs on Focal from stable/victoria on.
220 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train|ussuri)).*$
221 vars:
222 devstack_localrc:
223 USE_PYTHON3: False
224 group-vars:
225 subnode:
226 devstack_localrc:
227 USE_PYTHON3: False
228
229- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600230 name: tempest-multinode-full-py3
231 parent: tempest-multinode-full
232 vars:
233 devstack_localrc:
234 USE_PYTHON3: true
elajkat064a3402019-10-17 13:18:10 +0200235 devstack_plugins:
236 neutron: https://opendev.org/openstack/neutron
elajkat064a3402019-10-17 13:18:10 +0200237 devstack_services:
elajkat0b14db22021-02-08 16:43:59 +0100238 neutron-trunk: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600239 group-vars:
240 subnode:
241 devstack_localrc:
242 USE_PYTHON3: true
243
244- job:
245 name: tempest-slow
246 parent: tempest-multinode-full
247 description: |
248 This multinode integration job will run all the tests tagged as slow.
249 It enables the lvm multibackend setup to cover few scenario tests.
250 This job will run only slow tests (API or Scenario) serially.
251
252 Former names for this job were:
253 * legacy-tempest-dsvm-neutron-scenario-multinode-lvm-multibackend
254 * tempest-scenario-multinode-lvm-multibackend
255 timeout: 10800
Hemanth Nakkinaf4bd5542021-02-10 09:12:14 +0530256 # This job runs on stable/stein onwards.
257 branches: ^(?!stable/(ocata|pike|queens|rocky)).*$
Luigi Toscanob9ac0572021-07-13 12:44:35 +0200258 vars: &tempest_slow_vars
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600259 tox_envlist: slow-serial
260 devstack_localrc:
261 CINDER_ENABLED_BACKENDS: lvm:lvmdriver-1,lvm:lvmdriver-2
262 ENABLE_VOLUME_MULTIATTACH: true
263 devstack_plugins:
264 neutron: https://opendev.org/openstack/neutron
265 devstack_services:
266 neutron-placement: true
267 neutron-qos: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600268 tempest_concurrency: 2
269 group-vars:
270 # NOTE(mriedem): The ENABLE_VOLUME_MULTIATTACH variable is used on both
271 # the controller and subnode prior to Rocky so we have to make sure the
272 # variable is set in both locations.
273 subnode:
274 devstack_localrc:
275 ENABLE_VOLUME_MULTIATTACH: true
276
277- job:
278 name: tempest-slow-py3
Luigi Toscanob9ac0572021-07-13 12:44:35 +0200279 parent: tempest-multinode-full-py3
Ghanshyam Mannebecf792021-06-14 17:09:35 -0500280 # This job version is with swift enabled on py3
281 # as swift is ready on py3 from stable/ussuri onwards.
Luigi Toscanob9ac0572021-07-13 12:44:35 +0200282 timeout: 10800
Ghanshyam Mannebecf792021-06-14 17:09:35 -0500283 branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train)).*$
Luigi Toscanob9ac0572021-07-13 12:44:35 +0200284 vars: *tempest_slow_vars
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600285
286- job:
287 name: tempest-cinder-v2-api
288 parent: devstack-tempest
Ghanshyam Mann2f4539d2021-05-18 12:32:39 -0500289 # NOTE(gmann): Cinder v2 APIs are available until
290 # stable/wallaby only.
291 override-checkout: stable/wallaby
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600292 description: |
293 This job runs the cinder API test against v2 endpoint.
294 vars:
295 tox_envlist: all
296 tempest_test_regex: api.*volume
297 devstack_localrc:
298 TEMPEST_VOLUME_TYPE: volumev2
299
300- job:
Ade Lee6ded0702021-09-04 15:56:34 -0400301 name: tempest-centos8-stream-fips
302 parent: devstack-tempest
303 description: |
304 Integration testing for a FIPS enabled Centos 8 system
305 nodeset: devstack-single-node-centos-8-stream
306 pre-run: playbooks/enable-fips.yaml
307 vars:
308 tox_envlist: full
309 configure_swap_size: 4096
310 devstack_local_conf:
311 test-config:
312 "$TEMPEST_CONFIG":
313 validation:
314 ssh_key_type: 'ecdsa'
315
316- job:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600317 name: tempest-pg-full
318 parent: tempest-full-py3
319 description: |
320 Base integration test with Neutron networking and PostgreSQL.
321 Former name for this job was legacy-tempest-dsvm-neutron-pg-full.
322 vars:
323 devstack_localrc:
Ghanshyam Mann861c78f2021-02-09 11:25:26 -0600324 # TODO(gmann): Enable File injection tests once nova bug is fixed
325 # https://bugs.launchpad.net/nova/+bug/1882421
326 # ENABLE_FILE_INJECTION: true
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600327 DATABASE_TYPE: postgresql
328
329- project-template:
330 name: integrated-gate-networking
331 description: |
332 Run the python3 Tempest network integration tests (Nova and Neutron related)
333 in check and gate for the neutron integrated gate. This is meant to be
334 run on neutron gate only.
335 check:
336 jobs:
337 - grenade
Dan Smithaf19ff42022-02-23 10:42:26 -0800338 - grenade-skip-level:
339 voting: false
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600340 - tempest-integrated-networking
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500341 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600342 gate:
343 jobs:
344 - grenade
345 - tempest-integrated-networking
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500346 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600347
348- project-template:
349 name: integrated-gate-compute
350 description: |
351 Run the python3 Tempest compute integration tests
352 (Nova, Neutron, Cinder and Glance related) in check and gate
353 for the Nova integrated gate. This is meant to be
354 run on Nova gate only.
355 check:
356 jobs:
Dan Smithaf19ff42022-02-23 10:42:26 -0800357 - grenade-skip-level:
358 voting: false
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600359 - tempest-integrated-compute
Lee Yarwood0dba41c2021-06-23 10:47:44 +0100360 - tempest-integrated-compute-centos-8-stream
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500361 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600362 gate:
363 jobs:
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600364 - tempest-integrated-compute
Lee Yarwood0dba41c2021-06-23 10:47:44 +0100365 - tempest-integrated-compute-centos-8-stream
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-placement
370 description: |
371 Run the python3 Tempest placement integration tests
372 (Nova and Neutron related) in check and gate
373 for the Placement integrated gate. This is meant to be
374 run on Placement gate only.
375 check:
376 jobs:
377 - grenade
Dan Smithaf19ff42022-02-23 10:42:26 -0800378 - grenade-skip-level:
379 voting: false
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600380 - tempest-integrated-placement
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500381 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600382 gate:
383 jobs:
384 - grenade
385 - tempest-integrated-placement
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500386 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600387
388- project-template:
389 name: integrated-gate-storage
390 description: |
391 Run the python3 Tempest image & block storage integration tests
392 (Cinder, Glance, Swift and Nova related) in check and gate
393 for the neutron integrated gate. This is meant to be
394 run on Cinder and Glance gate only.
395 check:
396 jobs:
397 - grenade
Dan Smithaf19ff42022-02-23 10:42:26 -0800398 - grenade-skip-level:
399 voting: false
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600400 - tempest-integrated-storage
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500401 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600402 gate:
403 jobs:
404 - grenade
405 - tempest-integrated-storage
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500406 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600407
408- project-template:
409 name: integrated-gate-object-storage
410 description: |
411 Run the python3 Tempest object storage integration tests
412 (Swift, Cinder and Glance related) in check and gate
413 for the swift integrated gate. This is meant to be
414 run on swift gate only.
415 check:
416 jobs:
417 - grenade
418 - tempest-integrated-object-storage
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500419 - openstacksdk-functional-devstack
Ghanshyam Mann61f57332020-11-25 11:46:20 -0600420 gate:
421 jobs:
422 - grenade
423 - tempest-integrated-object-storage
Ghanshyam Mann17082ad2021-07-22 13:41:46 -0500424 - openstacksdk-functional-devstack