blob: 12408ea85d0a37ac8baa0722efc854fe730b2d30 [file] [log] [blame]
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001- job:
2 name: neutron-tempest-plugin-base
3 parent: devstack-tempest
4 abstract: true
5 description: |
6 Perform setup common to all Neutron tempest tests
7 roles:
8 - zuul: openstack/devstack
9 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020010 - openstack/neutron
11 - openstack/neutron-tempest-plugin
12 - openstack/tempest
13 vars:
14 tempest_concurrency: 4
15 tox_envlist: all
16 devstack_localrc:
17 USE_PYTHON3: true
18 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
Slawek Kaplonski35a44142020-09-29 21:39:53 +020019 CIRROS_VERSION: 0.5.1
20 BUILD_TIMEOUT: 784
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020021 devstack_plugins:
22 neutron: https://opendev.org/openstack/neutron.git
23 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
24 tempest_plugins:
25 - neutron-tempest-plugin
26 devstack_services:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020027 tempest: true
28 neutron-dns: true
29 neutron-qos: true
30 neutron-segments: true
31 neutron-trunk: true
32 neutron-uplink-status-propagation: true
33 neutron-network-segment-range: true
34 neutron-port-forwarding: true
35 neutron-conntrack-helper: true
36 neutron-tag-ports-during-bulk-creation: true
Slawek Kaplonski63d5f2e2020-06-04 13:42:26 +020037 br-ex-tcpdump: true
38 br-int-flows: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +010039 # Cinder services
40 c-api: false
41 c-bak: false
42 c-sch: false
43 c-vol: false
44 cinder: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +010045 # We don't need Swift to be run in the Neutron jobs
46 s-account: false
47 s-container: false
48 s-object: false
49 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020050 devstack_local_conf:
51 post-config:
52 $NEUTRON_CONF:
53 QUOTAS:
54 quota_router: 100
55 quota_floatingip: 500
56 quota_security_group: 150
57 quota_security_group_rule: 1000
58 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
59 # devstack-tempest job will be switched to use lib/neutron instead of
60 # lib/neutron-legacy
61 /$NEUTRON_CORE_PLUGIN_CONF:
62 ml2:
63 type_drivers: flat,geneve,vlan,gre,local,vxlan
64 ml2_type_vlan:
65 network_vlan_ranges: foo:1:10
66 ml2_type_vxlan:
67 vni_ranges: 1:2000
68 ml2_type_gre:
69 tunnel_id_ranges: 1:1000
70 $NEUTRON_L3_CONF:
71 agent:
72 availability_zone: nova
73 $NEUTRON_DHCP_CONF:
74 agent:
75 availability_zone: nova
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020076 test-config:
77 $TEMPEST_CONFIG:
78 neutron_plugin_options:
79 provider_vlans: foo,
80 agent_availability_zone: nova
81 image_is_advanced: true
82 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
83 provider_net_base_segm_id: 1
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +010084 irrelevant-files:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020085 - ^(test-|)requirements.txt$
86 - ^releasenotes/.*$
87 - ^doc/.*$
88 - ^setup.cfg$
89 - ^.*\.rst$
90 - ^neutron/locale/.*$
91 - ^neutron/tests/unit/.*$
92 - ^tools/.*$
93 - ^tox.ini$
94
95- job:
96 name: neutron-tempest-plugin-scenario
97 parent: neutron-tempest-plugin-base
98 abstract: true
99 description: |
100 Perform setup common to all tempest scenario test jobs.
101 vars:
102 # NOTE(slaweq): in case of some tests, which requires advanced image,
103 # default test timeout set to 1200 seconds may be not enough if job is
104 # run on slow node
105 tempest_test_timeout: 2400
Slawek Kaplonski231223a2020-11-04 14:55:32 +0100106 tempest_test_regex: "\
107 (^neutron_tempest_plugin.scenario)|\
108 (^tempest.api.compute.servers.test_attach_interfaces)|\
109 (^tempest.api.compute.servers.test_multiple_create)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200110 devstack_localrc:
111 PHYSICAL_NETWORK: default
Slawek Kaplonski35a44142020-09-29 21:39:53 +0200112 CIRROS_VERSION: 0.5.1
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +0200113 IMAGE_URLS: https://cloud-images.ubuntu.com/minimal/releases/focal/release/ubuntu-20.04-minimal-cloudimg-amd64.img
114 ADVANCED_IMAGE_NAME: ubuntu-20.04-minimal-cloudimg-amd64
115 ADVANCED_INSTANCE_TYPE: ntp_image_256M
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200116 ADVANCED_INSTANCE_USER: ubuntu
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +0200117 CUSTOMIZE_IMAGE: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200118 BUILD_TIMEOUT: 784
Rodolfo Alonso Hernandezbc45d242020-11-17 17:30:09 +0000119 tempest_concurrency: 3 # out of 4