blob: 81f899a5989057572b88bc72a79174b813ed0a41 [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$
yatinkarele191dde2021-12-09 12:38:42 +053086 - lower-constraints.txt
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020087 - ^releasenotes/.*$
88 - ^doc/.*$
yatinkarele191dde2021-12-09 12:38:42 +053089 - ^.*\.conf\.sample$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020090 - ^setup.cfg$
91 - ^.*\.rst$
92 - ^neutron/locale/.*$
93 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +053094 - ^neutron/tests/fullstack/.*
95 - ^neutron/tests/functional/.*
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020096 - ^tools/.*$
97 - ^tox.ini$
yatinkarele191dde2021-12-09 12:38:42 +053098 - ^rally-jobs/.*$
99 - ^vagrant/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200100
101- job:
102 name: neutron-tempest-plugin-scenario
103 parent: neutron-tempest-plugin-base
104 abstract: true
105 description: |
106 Perform setup common to all tempest scenario test jobs.
107 vars:
108 # NOTE(slaweq): in case of some tests, which requires advanced image,
109 # default test timeout set to 1200 seconds may be not enough if job is
110 # run on slow node
111 tempest_test_timeout: 2400
Slawek Kaplonski231223a2020-11-04 14:55:32 +0100112 tempest_test_regex: "\
113 (^neutron_tempest_plugin.scenario)|\
114 (^tempest.api.compute.servers.test_attach_interfaces)|\
115 (^tempest.api.compute.servers.test_multiple_create)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200116 devstack_localrc:
117 PHYSICAL_NETWORK: default
Slawek Kaplonski35a44142020-09-29 21:39:53 +0200118 CIRROS_VERSION: 0.5.1
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +0200119 IMAGE_URLS: https://cloud-images.ubuntu.com/minimal/releases/focal/release/ubuntu-20.04-minimal-cloudimg-amd64.img
120 ADVANCED_IMAGE_NAME: ubuntu-20.04-minimal-cloudimg-amd64
121 ADVANCED_INSTANCE_TYPE: ntp_image_256M
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200122 ADVANCED_INSTANCE_USER: ubuntu
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +0200123 CUSTOMIZE_IMAGE: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200124 BUILD_TIMEOUT: 784
Rodolfo Alonso Hernandezbc45d242020-11-17 17:30:09 +0000125 tempest_concurrency: 3 # out of 4