blob: 4de41114d5b77e5cb48a8080d125f57891236e79 [file] [log] [blame]
Ghanshyam Mann61f57332020-11-25 11:46:20 -06001- 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 Harbotta4a48b22024-07-25 19:08:57 +020015 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 Mann61f57332020-11-25 11:46:20 -060019 vars: &base_vars
whoami-rajat768d2532022-02-26 00:16:35 +053020 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 Mann61f57332020-11-25 11:46:20 -060022 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 witt89a68112024-05-30 20:09:46 +000029 service-clients:
30 http_timeout: 90
Ghanshyam Mann61f57332020-11-25 11:46:20 -060031 test_results_stage_name: test_results
32 zuul_copy_output:
Slawek Kaplonski7042abd2024-03-07 09:57:44 +010033 '/var/log/openvswitch': logs
34 '/var/log/ovn': logs
Ghanshyam Mann61f57332020-11-25 11:46:20 -060035 '{{ 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
Ghanshyam Mann7a39bc12024-07-30 11:32:57 -070067 failure-output:
68 # This matches stestr/tempest output when a test fails
69 # {1} tempest.api.test_blah [5.743446s] ... FAILED
70 - '\{\d+\} (.*?) \[[\d\.]+s\] \.\.\. FAILED'
Ghanshyam Mann61f57332020-11-25 11:46:20 -060071 vars: *base_vars
72 run: playbooks/devstack-tempest-ipv6.yaml
73 post-run: playbooks/post-tempest.yaml
74
75- job:
76 name: tempest-multinode-full-base
77 parent: devstack-tempest
78 description: |
79 Base multinode integration test with Neutron networking and py27.
80 Former names for this job were:
81 * neutron-tempest-multinode-full
82 * legacy-tempest-dsvm-neutron-multinode-full
83 * gate-tempest-dsvm-neutron-multinode-full-ubuntu-xenial-nv
84 This job includes two nodes, controller / tempest plus a subnode, but
85 it can be used with different topologies, as long as a controller node
86 and a tempest one exist.
87 timeout: 10800
88 vars:
Ghanshyam Manne2183ca2023-02-10 19:31:52 -060089 # This job run multinode and smoke tests.
90 tox_envlist: multinode
Ghanshyam Mann61f57332020-11-25 11:46:20 -060091 devstack_localrc:
92 FORCE_CONFIG_DRIVE: false
93 NOVA_ALLOW_MOVE_TO_SAME_HOST: false
94 LIVE_MIGRATION_AVAILABLE: true
95 USE_BLOCK_MIGRATION_FOR_LIVE_MIGRATION: true
96 group-vars:
97 peers:
98 devstack_localrc:
99 NOVA_ALLOW_MOVE_TO_SAME_HOST: false
100 LIVE_MIGRATION_AVAILABLE: true
101 USE_BLOCK_MIGRATION_FOR_LIVE_MIGRATION: true