Ghanshyam Mann | 61f5733 | 2020-11-25 11:46:20 -0600 | [diff] [blame] | 1 | - job: |
| 2 | name: devstack-tempest |
| 3 | parent: devstack |
| 4 | description: | |
| 5 | Base Tempest job. |
| 6 | |
| 7 | This Tempest job provides the base for both the single and multi-node |
| 8 | test setup. To run a multi-node test inherit from devstack-tempest and |
| 9 | set the nodeset to a multi-node one. |
| 10 | required-projects: &base_required-projects |
| 11 | - opendev.org/openstack/tempest |
| 12 | timeout: 7200 |
| 13 | roles: &base_roles |
| 14 | - zuul: opendev.org/openstack/devstack |
Dr. Jens Harbott | a4a48b2 | 2024-07-25 19:08:57 +0200 | [diff] [blame^] | 15 | failure-output: |
| 16 | # This matches stestr/tempest output when a test fails |
| 17 | # {1} tempest.api.test_blah [5.743446s] ... FAILED |
| 18 | - '\{\d+\} (.*?) \[[\d\.]+s\] \.\.\. FAILED' |
Ghanshyam Mann | 61f5733 | 2020-11-25 11:46:20 -0600 | [diff] [blame] | 19 | vars: &base_vars |
whoami-rajat | 768d253 | 2022-02-26 00:16:35 +0530 | [diff] [blame] | 20 | devstack_localrc: |
| 21 | IMAGE_URLS: http://download.cirros-cloud.net/0.6.2/cirros-0.6.2-x86_64-disk.img, http://download.cirros-cloud.net/0.6.1/cirros-0.6.1-x86_64-disk.img |
Ghanshyam Mann | 61f5733 | 2020-11-25 11:46:20 -0600 | [diff] [blame] | 22 | devstack_services: |
| 23 | tempest: true |
| 24 | devstack_local_conf: |
| 25 | test-config: |
| 26 | $TEMPEST_CONFIG: |
| 27 | compute: |
| 28 | min_compute_nodes: "{{ groups['compute'] | default(['controller']) | length }}" |
melanie witt | 89a6811 | 2024-05-30 20:09:46 +0000 | [diff] [blame] | 29 | service-clients: |
| 30 | http_timeout: 90 |
Ghanshyam Mann | 61f5733 | 2020-11-25 11:46:20 -0600 | [diff] [blame] | 31 | test_results_stage_name: test_results |
| 32 | zuul_copy_output: |
Slawek Kaplonski | 7042abd | 2024-03-07 09:57:44 +0100 | [diff] [blame] | 33 | '/var/log/openvswitch': logs |
| 34 | '/var/log/ovn': logs |
Ghanshyam Mann | 61f5733 | 2020-11-25 11:46:20 -0600 | [diff] [blame] | 35 | '{{ devstack_base_dir }}/tempest/etc/tempest.conf': logs |
| 36 | '{{ devstack_base_dir }}/tempest/etc/accounts.yaml': logs |
| 37 | '{{ devstack_base_dir }}/tempest/tempest.log': logs |
| 38 | '{{ stage_dir }}/{{ test_results_stage_name }}.subunit': logs |
| 39 | '{{ stage_dir }}/{{ test_results_stage_name }}.html': logs |
| 40 | '{{ stage_dir }}/stackviz': logs |
| 41 | extensions_to_txt: |
| 42 | conf: true |
| 43 | log: true |
| 44 | yaml: true |
| 45 | yml: true |
| 46 | run: playbooks/devstack-tempest.yaml |
| 47 | post-run: playbooks/post-tempest.yaml |
| 48 | |
| 49 | - job: |
| 50 | name: devstack-tempest-ipv6 |
| 51 | parent: devstack-ipv6 |
| 52 | description: | |
| 53 | Base Tempest IPv6 job. This job is derived from 'devstack-ipv6' |
| 54 | which set the IPv6-only setting for OpenStack services. As part of |
| 55 | run phase, this job will verify the IPv6 setting and check the services |
| 56 | endpoints and listen addresses are IPv6. Basically it will run the script |
| 57 | ./tool/verify-ipv6-only-deployments.sh |
| 58 | |
| 59 | Child jobs of this job can run their own set of tests and can |
| 60 | add post-run playebooks to extend the IPv6 verification specific |
| 61 | to their deployed services. |
| 62 | Check the wiki page for more details about project jobs setup |
| 63 | - https://wiki.openstack.org/wiki/Goal-IPv6-only-deployments-and-testing |
| 64 | required-projects: *base_required-projects |
| 65 | timeout: 7200 |
| 66 | roles: *base_roles |
| 67 | vars: *base_vars |
| 68 | run: playbooks/devstack-tempest-ipv6.yaml |
| 69 | post-run: playbooks/post-tempest.yaml |
| 70 | |
| 71 | - job: |
| 72 | name: tempest-multinode-full-base |
| 73 | parent: devstack-tempest |
| 74 | description: | |
| 75 | Base multinode integration test with Neutron networking and py27. |
| 76 | Former names for this job were: |
| 77 | * neutron-tempest-multinode-full |
| 78 | * legacy-tempest-dsvm-neutron-multinode-full |
| 79 | * gate-tempest-dsvm-neutron-multinode-full-ubuntu-xenial-nv |
| 80 | This job includes two nodes, controller / tempest plus a subnode, but |
| 81 | it can be used with different topologies, as long as a controller node |
| 82 | and a tempest one exist. |
| 83 | timeout: 10800 |
| 84 | vars: |
Ghanshyam Mann | e2183ca | 2023-02-10 19:31:52 -0600 | [diff] [blame] | 85 | # This job run multinode and smoke tests. |
| 86 | tox_envlist: multinode |
Ghanshyam Mann | 61f5733 | 2020-11-25 11:46:20 -0600 | [diff] [blame] | 87 | devstack_localrc: |
| 88 | FORCE_CONFIG_DRIVE: false |
| 89 | NOVA_ALLOW_MOVE_TO_SAME_HOST: false |
| 90 | LIVE_MIGRATION_AVAILABLE: true |
| 91 | USE_BLOCK_MIGRATION_FOR_LIVE_MIGRATION: true |
| 92 | group-vars: |
| 93 | peers: |
| 94 | devstack_localrc: |
| 95 | NOVA_ALLOW_MOVE_TO_SAME_HOST: false |
| 96 | LIVE_MIGRATION_AVAILABLE: true |
| 97 | USE_BLOCK_MIGRATION_FOR_LIVE_MIGRATION: true |