Ghanshyam Mann | 61f5733 | 2020-11-25 11:46:20 -0600 | [diff] [blame] | 1 | # 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 |
| 14 | devstack_localrc: |
| 15 | ENABLE_FILE_INJECTION: true |
| 16 | |
| 17 | - job: |
| 18 | name: tempest-ipv6-only |
| 19 | parent: devstack-tempest-ipv6 |
| 20 | # This currently works from stable/pike on. |
| 21 | branches: ^(?!stable/ocata).*$ |
| 22 | description: | |
| 23 | Integration test of IPv6-only deployments. This job runs |
| 24 | smoke and IPv6 relates tests only. Basic idea is to test |
| 25 | whether OpenStack Services listen on IPv6 addrress or not. |
| 26 | timeout: 10800 |
| 27 | vars: |
| 28 | tox_envlist: ipv6-only |
| 29 | |
| 30 | - job: |
| 31 | name: tempest-full |
| 32 | parent: devstack-tempest |
| 33 | # This currently works from stable/pike on. |
| 34 | # Before stable/pike, legacy version of tempest-full |
| 35 | # 'legacy-tempest-dsvm-neutron-full' run. |
| 36 | branches: ^(?!stable/ocata).*$ |
| 37 | description: | |
| 38 | Base integration test with Neutron networking and py27. |
| 39 | This job is supposed to run until stable/train setup only. |
| 40 | If you are running it on stable/ussuri gate onwards for python2.7 |
| 41 | coverage then you need to do override-checkout with any stable |
| 42 | branch less than or equal to stable/train. |
| 43 | Former names for this job where: |
| 44 | * legacy-tempest-dsvm-neutron-full |
| 45 | * gate-tempest-dsvm-neutron-full-ubuntu-xenial |
| 46 | vars: |
| 47 | tox_envlist: full |
| 48 | devstack_localrc: |
| 49 | ENABLE_FILE_INJECTION: true |
| 50 | ENABLE_VOLUME_MULTIATTACH: true |
| 51 | USE_PYTHON3: False |
| 52 | devstack_services: |
| 53 | # NOTE(mriedem): Disable the cinder-backup service from tempest-full |
| 54 | # since tempest-full is in the integrated-gate project template but |
| 55 | # the backup tests do not really involve other services so they should |
| 56 | # be run in some more cinder-specific job, especially because the |
| 57 | # tests fail at a high rate (see bugs 1483434, 1813217, 1745168) |
| 58 | c-bak: false |
| 59 | |
| 60 | - job: |
| 61 | name: tempest-full-py3 |
| 62 | parent: devstack-tempest |
| 63 | # This currently works from stable/pike on. |
| 64 | # Before stable/pike, legacy version of tempest-full |
| 65 | # 'legacy-tempest-dsvm-neutron-full' run. |
| 66 | branches: ^(?!stable/ocata).*$ |
| 67 | description: | |
| 68 | Base integration test with Neutron networking and py3. |
| 69 | Former names for this job where: |
| 70 | * legacy-tempest-dsvm-py35 |
| 71 | * gate-tempest-dsvm-py35 |
| 72 | vars: |
| 73 | tox_envlist: full |
| 74 | devstack_localrc: |
| 75 | USE_PYTHON3: true |
| 76 | FORCE_CONFIG_DRIVE: true |
| 77 | ENABLE_VOLUME_MULTIATTACH: true |
| 78 | GLANCE_USE_IMPORT_WORKFLOW: True |
elajkat | 064a340 | 2019-10-17 13:18:10 +0200 | [diff] [blame^] | 79 | devstack_plugins: |
| 80 | neutron: https://opendev.org/openstack/neutron |
| 81 | devstack_local_conf: |
| 82 | post-config: |
| 83 | "/$NEUTRON_CORE_PLUGIN_CONF": |
| 84 | ovs: |
| 85 | bridge_mappings: public:br-ex |
| 86 | resource_provider_bandwidths: br-ex:1000000:1000000 |
| 87 | test-config: |
| 88 | $TEMPEST_CONFIG: |
| 89 | network-feature-enabled: |
| 90 | qos_placement_physnet: public |
Ghanshyam Mann | 61f5733 | 2020-11-25 11:46:20 -0600 | [diff] [blame] | 91 | devstack_services: |
| 92 | s-account: false |
| 93 | s-container: false |
| 94 | s-object: false |
| 95 | s-proxy: false |
| 96 | # without Swift, c-bak cannot run (in the Gate at least) |
| 97 | # NOTE(mriedem): Disable the cinder-backup service from |
| 98 | # tempest-full-py3 since tempest-full-py3 is in the integrated-gate-py3 |
| 99 | # project template but the backup tests do not really involve other |
| 100 | # services so they should be run in some more cinder-specific job, |
| 101 | # especially because the tests fail at a high rate (see bugs 1483434, |
| 102 | # 1813217, 1745168) |
| 103 | c-bak: false |
elajkat | 064a340 | 2019-10-17 13:18:10 +0200 | [diff] [blame^] | 104 | neutron-placement: true |
| 105 | neutron-qos: true |
Ghanshyam Mann | 61f5733 | 2020-11-25 11:46:20 -0600 | [diff] [blame] | 106 | |
| 107 | - job: |
| 108 | name: tempest-integrated-networking |
| 109 | parent: devstack-tempest |
| 110 | branches: ^(?!stable/ocata).*$ |
| 111 | description: | |
| 112 | This job runs integration tests for networking. This is subset of |
| 113 | 'tempest-full-py3' job and run only Neutron and Nova related tests. |
| 114 | This is meant to be run on neutron gate only. |
| 115 | vars: |
| 116 | tox_envlist: integrated-network |
| 117 | devstack_localrc: |
| 118 | USE_PYTHON3: true |
| 119 | FORCE_CONFIG_DRIVE: true |
| 120 | devstack_services: |
| 121 | s-account: false |
| 122 | s-container: false |
| 123 | s-object: false |
| 124 | s-proxy: false |
| 125 | c-bak: false |
| 126 | |
| 127 | - job: |
| 128 | name: tempest-integrated-compute |
| 129 | parent: devstack-tempest |
| 130 | branches: ^(?!stable/ocata).*$ |
| 131 | description: | |
| 132 | This job runs integration tests for compute. This is |
| 133 | subset of 'tempest-full-py3' job and run Nova, Neutron, Cinder (except backup tests) |
| 134 | and Glance related tests. This is meant to be run on Nova gate only. |
| 135 | vars: |
| 136 | tox_envlist: integrated-compute |
| 137 | tempest_black_regex: "" |
| 138 | devstack_localrc: |
| 139 | USE_PYTHON3: true |
| 140 | FORCE_CONFIG_DRIVE: true |
| 141 | ENABLE_VOLUME_MULTIATTACH: true |
| 142 | devstack_services: |
| 143 | s-account: false |
| 144 | s-container: false |
| 145 | s-object: false |
| 146 | s-proxy: false |
| 147 | c-bak: false |
| 148 | |
| 149 | - job: |
| 150 | name: tempest-integrated-placement |
| 151 | parent: devstack-tempest |
| 152 | branches: ^(?!stable/ocata).*$ |
| 153 | description: | |
| 154 | This job runs integration tests for placement. This is |
| 155 | subset of 'tempest-full-py3' job and run Nova and Neutron |
| 156 | related tests. This is meant to be run on Placement gate only. |
| 157 | vars: |
| 158 | tox_envlist: integrated-placement |
| 159 | devstack_localrc: |
| 160 | USE_PYTHON3: true |
| 161 | FORCE_CONFIG_DRIVE: true |
| 162 | ENABLE_VOLUME_MULTIATTACH: true |
| 163 | devstack_services: |
| 164 | s-account: false |
| 165 | s-container: false |
| 166 | s-object: false |
| 167 | s-proxy: false |
| 168 | c-bak: false |
| 169 | |
| 170 | - job: |
| 171 | name: tempest-integrated-storage |
| 172 | parent: devstack-tempest |
| 173 | branches: ^(?!stable/ocata).*$ |
| 174 | description: | |
| 175 | This job runs integration tests for image & block storage. This is |
| 176 | subset of 'tempest-full-py3' job and run Cinder, Glance, Swift and Nova |
| 177 | related tests. This is meant to be run on Cinder and Glance gate only. |
| 178 | vars: |
| 179 | tox_envlist: integrated-storage |
| 180 | devstack_localrc: |
| 181 | USE_PYTHON3: true |
| 182 | FORCE_CONFIG_DRIVE: true |
| 183 | ENABLE_VOLUME_MULTIATTACH: true |
| 184 | GLANCE_USE_IMPORT_WORKFLOW: True |
| 185 | |
| 186 | - job: |
| 187 | name: tempest-integrated-object-storage |
| 188 | parent: devstack-tempest |
| 189 | branches: ^(?!stable/ocata).*$ |
| 190 | description: | |
| 191 | This job runs integration tests for object storage. This is |
| 192 | subset of 'tempest-full-py3' job and run Swift, Cinder and Glance |
| 193 | related tests. This is meant to be run on Swift gate only. |
| 194 | vars: |
| 195 | tox_envlist: integrated-object-storage |
| 196 | devstack_localrc: |
| 197 | # NOTE(gmann): swift is not ready on python3 yet and devstack |
| 198 | # install it on python2.7 only. But settting the USE_PYTHON3 |
| 199 | # for future once swift is ready on py3. |
| 200 | USE_PYTHON3: true |
| 201 | |
| 202 | - job: |
| 203 | name: tempest-multinode-full |
| 204 | parent: tempest-multinode-full-base |
| 205 | nodeset: openstack-two-node-focal |
| 206 | # This job runs on Focal from stable/victoria on. |
| 207 | branches: ^(?!stable/(ocata|pike|queens|rocky|stein|train|ussuri)).*$ |
| 208 | vars: |
| 209 | devstack_localrc: |
| 210 | USE_PYTHON3: False |
| 211 | group-vars: |
| 212 | subnode: |
| 213 | devstack_localrc: |
| 214 | USE_PYTHON3: False |
| 215 | |
| 216 | - job: |
| 217 | name: tempest-multinode-full |
| 218 | parent: tempest-multinode-full-base |
| 219 | nodeset: openstack-two-node-bionic |
| 220 | # This job runs on Bionic and on python2. This is for stable/stein and stable/train. |
| 221 | # This job is prepared to make sure all stable branches from stable/stein till stable/train |
| 222 | # will keep running on bionic. This can be removed once stable/train is EOL. |
| 223 | branches: |
| 224 | - stable/stein |
| 225 | - stable/train |
| 226 | - stable/ussuri |
| 227 | vars: |
| 228 | devstack_localrc: |
| 229 | USE_PYTHON3: False |
| 230 | group-vars: |
| 231 | subnode: |
| 232 | devstack_localrc: |
| 233 | USE_PYTHON3: False |
| 234 | |
| 235 | - job: |
| 236 | name: tempest-multinode-full |
| 237 | parent: tempest-multinode-full-base |
| 238 | nodeset: openstack-two-node-xenial |
| 239 | # This job runs on Xenial and this is for stable/pike, stable/queens |
| 240 | # and stable/rocky. This job is prepared to make sure all stable branches |
| 241 | # before stable/stein will keep running on xenial. This job can be |
| 242 | # removed once stable/rocky is EOL. |
| 243 | branches: |
| 244 | - stable/pike |
| 245 | - stable/queens |
| 246 | - stable/rocky |
| 247 | vars: |
| 248 | devstack_localrc: |
| 249 | USE_PYTHON3: False |
| 250 | group-vars: |
| 251 | subnode: |
| 252 | devstack_localrc: |
| 253 | USE_PYTHON3: False |
| 254 | |
| 255 | - job: |
| 256 | name: tempest-multinode-full-py3 |
| 257 | parent: tempest-multinode-full |
| 258 | vars: |
| 259 | devstack_localrc: |
| 260 | USE_PYTHON3: true |
elajkat | 064a340 | 2019-10-17 13:18:10 +0200 | [diff] [blame^] | 261 | devstack_plugins: |
| 262 | neutron: https://opendev.org/openstack/neutron |
| 263 | devstack_local_conf: |
| 264 | post-config: |
| 265 | "/$NEUTRON_CORE_PLUGIN_CONF": |
| 266 | ovs: |
| 267 | bridge_mappings: public:br-ex |
| 268 | resource_provider_bandwidths: br-ex:1000000:1000000 |
| 269 | test-config: |
| 270 | $TEMPEST_CONFIG: |
| 271 | network-feature-enabled: |
| 272 | qos_placement_physnet: public |
| 273 | devstack_services: |
| 274 | neutron-placement: true |
| 275 | neutron-qos: true |
Ghanshyam Mann | 61f5733 | 2020-11-25 11:46:20 -0600 | [diff] [blame] | 276 | group-vars: |
| 277 | subnode: |
| 278 | devstack_localrc: |
| 279 | USE_PYTHON3: true |
| 280 | |
| 281 | - job: |
| 282 | name: tempest-slow |
| 283 | parent: tempest-multinode-full |
| 284 | description: | |
| 285 | This multinode integration job will run all the tests tagged as slow. |
| 286 | It enables the lvm multibackend setup to cover few scenario tests. |
| 287 | This job will run only slow tests (API or Scenario) serially. |
| 288 | |
| 289 | Former names for this job were: |
| 290 | * legacy-tempest-dsvm-neutron-scenario-multinode-lvm-multibackend |
| 291 | * tempest-scenario-multinode-lvm-multibackend |
| 292 | timeout: 10800 |
| 293 | vars: |
| 294 | tox_envlist: slow-serial |
| 295 | devstack_localrc: |
| 296 | CINDER_ENABLED_BACKENDS: lvm:lvmdriver-1,lvm:lvmdriver-2 |
| 297 | ENABLE_VOLUME_MULTIATTACH: true |
| 298 | devstack_plugins: |
| 299 | neutron: https://opendev.org/openstack/neutron |
| 300 | devstack_services: |
| 301 | neutron-placement: true |
| 302 | neutron-qos: true |
| 303 | devstack_local_conf: |
| 304 | post-config: |
| 305 | "/$NEUTRON_CORE_PLUGIN_CONF": |
| 306 | ovs: |
| 307 | bridge_mappings: public:br-ex |
| 308 | resource_provider_bandwidths: br-ex:1000000:1000000 |
| 309 | test-config: |
| 310 | $TEMPEST_CONFIG: |
| 311 | network-feature-enabled: |
| 312 | qos_placement_physnet: public |
| 313 | tempest_concurrency: 2 |
| 314 | group-vars: |
| 315 | # NOTE(mriedem): The ENABLE_VOLUME_MULTIATTACH variable is used on both |
| 316 | # the controller and subnode prior to Rocky so we have to make sure the |
| 317 | # variable is set in both locations. |
| 318 | subnode: |
| 319 | devstack_localrc: |
| 320 | ENABLE_VOLUME_MULTIATTACH: true |
| 321 | |
| 322 | - job: |
| 323 | name: tempest-slow-py3 |
| 324 | parent: tempest-slow |
| 325 | vars: |
| 326 | devstack_localrc: |
| 327 | USE_PYTHON3: true |
| 328 | devstack_services: |
| 329 | s-account: false |
| 330 | s-container: false |
| 331 | s-object: false |
| 332 | s-proxy: false |
| 333 | # without Swift, c-bak cannot run (in the Gate at least) |
| 334 | c-bak: false |
| 335 | group-vars: |
| 336 | subnode: |
| 337 | devstack_localrc: |
| 338 | USE_PYTHON3: true |
| 339 | |
| 340 | - job: |
| 341 | name: tempest-cinder-v2-api |
| 342 | parent: devstack-tempest |
| 343 | branches: |
| 344 | - master |
| 345 | description: | |
| 346 | This job runs the cinder API test against v2 endpoint. |
| 347 | vars: |
| 348 | tox_envlist: all |
| 349 | tempest_test_regex: api.*volume |
| 350 | devstack_localrc: |
| 351 | TEMPEST_VOLUME_TYPE: volumev2 |
| 352 | |
| 353 | - job: |
| 354 | name: tempest-pg-full |
| 355 | parent: tempest-full-py3 |
| 356 | description: | |
| 357 | Base integration test with Neutron networking and PostgreSQL. |
| 358 | Former name for this job was legacy-tempest-dsvm-neutron-pg-full. |
| 359 | vars: |
| 360 | devstack_localrc: |
| 361 | ENABLE_FILE_INJECTION: true |
| 362 | DATABASE_TYPE: postgresql |
| 363 | |
| 364 | - project-template: |
| 365 | name: integrated-gate-networking |
| 366 | description: | |
| 367 | Run the python3 Tempest network integration tests (Nova and Neutron related) |
| 368 | in check and gate for the neutron integrated gate. This is meant to be |
| 369 | run on neutron gate only. |
| 370 | check: |
| 371 | jobs: |
| 372 | - grenade |
| 373 | - tempest-integrated-networking |
| 374 | gate: |
| 375 | jobs: |
| 376 | - grenade |
| 377 | - tempest-integrated-networking |
| 378 | |
| 379 | - project-template: |
| 380 | name: integrated-gate-compute |
| 381 | description: | |
| 382 | Run the python3 Tempest compute integration tests |
| 383 | (Nova, Neutron, Cinder and Glance related) in check and gate |
| 384 | for the Nova integrated gate. This is meant to be |
| 385 | run on Nova gate only. |
| 386 | check: |
| 387 | jobs: |
| 388 | - grenade |
| 389 | - tempest-integrated-compute |
| 390 | gate: |
| 391 | jobs: |
| 392 | - grenade |
| 393 | - tempest-integrated-compute |
| 394 | |
| 395 | - project-template: |
| 396 | name: integrated-gate-placement |
| 397 | description: | |
| 398 | Run the python3 Tempest placement integration tests |
| 399 | (Nova and Neutron related) in check and gate |
| 400 | for the Placement integrated gate. This is meant to be |
| 401 | run on Placement gate only. |
| 402 | check: |
| 403 | jobs: |
| 404 | - grenade |
| 405 | - tempest-integrated-placement |
| 406 | gate: |
| 407 | jobs: |
| 408 | - grenade |
| 409 | - tempest-integrated-placement |
| 410 | |
| 411 | - project-template: |
| 412 | name: integrated-gate-storage |
| 413 | description: | |
| 414 | Run the python3 Tempest image & block storage integration tests |
| 415 | (Cinder, Glance, Swift and Nova related) in check and gate |
| 416 | for the neutron integrated gate. This is meant to be |
| 417 | run on Cinder and Glance gate only. |
| 418 | check: |
| 419 | jobs: |
| 420 | - grenade |
| 421 | - tempest-integrated-storage |
| 422 | gate: |
| 423 | jobs: |
| 424 | - grenade |
| 425 | - tempest-integrated-storage |
| 426 | |
| 427 | - project-template: |
| 428 | name: integrated-gate-object-storage |
| 429 | description: | |
| 430 | Run the python3 Tempest object storage integration tests |
| 431 | (Swift, Cinder and Glance related) in check and gate |
| 432 | for the swift integrated gate. This is meant to be |
| 433 | run on swift gate only. |
| 434 | check: |
| 435 | jobs: |
| 436 | - grenade |
| 437 | - tempest-integrated-object-storage |
| 438 | gate: |
| 439 | jobs: |
| 440 | - grenade |
| 441 | - tempest-integrated-object-storage |