blob: 0c968c342e95cf32ca40496ae7a3405eb81391cb [file] [log] [blame]
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001- job:
2 name: neutron-tempest-plugin-api-rocky
3 nodeset: openstack-single-node-xenial
4 parent: neutron-tempest-plugin-api
5 description: |
6 This job run on py2 for stable/rocky gate.
7 override-checkout: stable/rocky
8 required-projects: &required-projects-rocky
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02009 - openstack/neutron
10 - name: openstack/neutron-tempest-plugin
11 override-checkout: 0.9.0
12 - openstack/tempest
13 vars: &api_vars_rocky
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +010014 devstack_services:
15 # Disable OVN services
16 br-ex-tcpdump: false
17 br-int-flows: false
18 ovn-controller: false
19 ovn-northd: false
20 ovs-vswitchd: false
21 ovsdb-server: false
22 q-ovn-metadata-agent: false
23 # Neutron services
24 q-agt: true
25 q-dhcp: true
26 q-l3: true
27 q-meta: true
28 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020029 branch_override: stable/rocky
30 # TODO(slaweq): find a way to put this list of extensions in
31 # neutron repository and keep it different per branch,
32 # then it could be removed from here
33 network_api_extensions_common: &api_extensions
34 - address-scope
35 - agent
36 - allowed-address-pairs
37 - auto-allocated-topology
38 - availability_zone
39 - binding
40 - default-subnetpools
41 - dhcp_agent_scheduler
42 - dns-domain-ports
43 - dns-integration
44 - empty-string-filtering
45 - expose-port-forwarding-in-fip
46 - ext-gw-mode
47 - external-net
48 - extra_dhcp_opt
49 - extraroute
50 - fip-port-details
51 - flavors
52 - floating-ip-port-forwarding
53 - ip-substring-filtering
54 - l3-flavors
55 - l3-ha
56 - l3_agent_scheduler
57 - logging
58 - metering
59 - multi-provider
60 - net-mtu
61 - net-mtu-writable
62 - network-ip-availability
63 - network_availability_zone
64 - pagination
65 - port-mac-address-regenerate
66 - port-security
67 - port-security-groups-filtering
68 - project-id
69 - provider
70 - qos
71 - qos-fip
72 - quotas
73 - quota_details
74 - rbac-policies
75 - router
76 - router_availability_zone
77 - security-group
78 - segment
79 - service-type
80 - sorting
81 - standard-attr-description
82 - standard-attr-revisions
83 - standard-attr-segment
84 - standard-attr-timestamp
85 - standard-attr-tag
86 - subnet_allocation
Slawek Kaplonskia5cdede2021-06-23 09:37:04 +020087 - subnet-service-types
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020088 - trunk
89 - trunk-details
90 network_api_extensions_tempest:
91 - dvr
92 devstack_localrc:
Slawek Kaplonskide203632020-11-05 14:34:10 +010093 NEUTRON_DEPLOY_MOD_WSGI: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020094 USE_PYTHON3: false
95 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
96 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +010097 Q_AGENT: openvswitch
98 Q_ML2_TENANT_NETWORK_TYPE: vxlan
99 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
100 ML2_L3_PLUGIN: router
101 devstack_local_conf:
102 post-config:
103 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
104 # devstack-tempest job will be switched to use lib/neutron instead of
105 # lib/neutron-legacy
106 /$NEUTRON_CORE_PLUGIN_CONF:
107 AGENT:
108 tunnel_types: gre,vxlan
109 ml2:
110 type_drivers: flat,geneve,vlan,gre,local,vxlan
111 test-config:
112 $TEMPEST_CONFIG:
113 neutron_plugin_options:
114 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200115 # NOTE(gmann): This job run on py2 for stable/rocky gate.
116 branches:
117 - stable/rocky
118
119- job:
120 name: neutron-tempest-plugin-api-rocky
121 nodeset: openstack-single-node-xenial
122 parent: neutron-tempest-plugin-api
123 description: |
124 This job run on py3 for other than stable/rocky gate
125 which is nothing but neutron-tempest-pluign master gate.
126 override-checkout: stable/rocky
127 required-projects: *required-projects-rocky
128 vars:
129 <<: *api_vars_rocky
130 devstack_localrc:
131 USE_PYTHON3: True
132 branches: ^(?!stable/rocky).*$
133
134- job:
135 name: neutron-tempest-plugin-scenario-openvswitch-rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200136 parent: neutron-tempest-plugin-scenario
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200137 description: |
138 This job run on py2 for stable/rocky gate.
139 nodeset: openstack-single-node-xenial
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200140 timeout: 10000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200141 override-checkout: stable/rocky
142 required-projects: *required-projects-rocky
143 vars: &scenario_vars_rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200144 devstack_services:
145 # Disable OVN services
146 br-ex-tcpdump: false
147 br-int-flows: false
148 ovn-controller: false
149 ovn-northd: false
150 ovs-vswitchd: false
151 ovsdb-server: false
152 q-ovn-metadata-agent: false
153 # Neutron services
154 q-agt: true
155 q-dhcp: true
156 q-l3: true
157 q-meta: true
158 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200159 branch_override: stable/rocky
160 network_api_extensions: *api_extensions
elajkat8bbd7432020-11-04 16:41:34 +0100161 network_available_features: &available_features
162 -
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200163 devstack_localrc:
164 USE_PYTHON3: false
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200165 Q_AGENT: openvswitch
166 Q_ML2_TENANT_NETWORK_TYPE: vxlan
167 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200168 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
169 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Slawek Kaplonski32cb9c72021-11-15 12:51:11 +0100170 # NOTE(slaweq) some tests are not running fine with ubuntu minimal on
171 # Rocky
172 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
173 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000174 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski32cb9c72021-11-15 12:51:11 +0100175 ADVANCED_INSTANCE_USER: ubuntu
176 CUSTOMIZE_IMAGE: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200177 devstack_local_conf:
178 post-config:
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200179 $NEUTRON_CONF:
180 DEFAULT:
181 enable_dvr: false
182 l3_ha: true
183 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
184 # devstack-tempest job will be switched to use lib/neutron instead of
185 # lib/neutron-legacy
186 /$NEUTRON_CORE_PLUGIN_CONF:
187 agent:
188 tunnel_types: vxlan,gre
189 ovs:
190 tunnel_bridge: br-tun
191 bridge_mappings: public:br-ex
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200192 $NEUTRON_L3_CONF:
193 DEFAULT:
194 # NOTE(slaweq): on Xenial keepalived don't knows this option yet
195 keepalived_use_no_track: False
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200196 test-config:
197 $TEMPEST_CONFIG:
198 network-feature-enabled:
199 available_features: "{{ network_available_features | join(',') }}"
200 neutron_plugin_options:
201 available_type_drivers: flat,vlan,local,vxlan
202 firewall_driver: openvswitch
Bernard Cafarelli800e9d42021-11-24 14:17:42 +0100203 # NOTE(bcafarel): filtering out unstable tests or tests with known
204 # issues in the used pinned version for this EM branch
205 tempest_black_regex: &rocky_tempest_exclude "\
206 (^neutron_tempest_plugin.scenario.admin.test_floatingip.FloatingIpTestCasesAdmin.test_two_vms_fips)|\
207 (^neutron_tempest_plugin.scenario.test_floatingip.FloatingIPQosTest.test_qos)|\
208 (^neutron_tempest_plugin.scenario.test_internal_dns.InternalDNSTest.test_dns_domain_and_name)|\
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200209 (^neutron_tempest_plugin.scenario.test_port_forwardings.PortForwardingTestJSON.test_port_forwarding_to_2_servers)|\
Bernard Cafarelli800e9d42021-11-24 14:17:42 +0100210 (^neutron_tempest_plugin.scenario.test_ports.PortsTest.test_previously_used_port)|\
211 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_ip_prefix)|\
212 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_multiple_ports_portrange_remote)|\
213 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_multiple_ports_secgroup_inheritance)|\
214 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_remote_group)|\
215 (^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_subport_connectivity)|\
216 (^tempest.api.compute.servers.test_attach_interfaces.AttachInterfacesTestJSON.test_reassign_port_between_servers)|\
217 (^tempest.api.compute.servers.test_attach_interfaces.AttachInterfacesUnderV243Test.test_add_remove_fixed_ip)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200218 branches:
219 - stable/rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200220 irrelevant-files: &openvswitch-scenario-irrelevant-files
221 - ^(test-|)requirements.txt$
222 - ^releasenotes/.*$
223 - ^doc/.*$
224 - ^setup.cfg$
225 - ^.*\.rst$
226 - ^neutron/locale/.*$
227 - ^neutron/tests/unit/.*$
228 - ^tools/.*$
229 - ^tox.ini$
230 - ^neutron/agent/windows/.*$
231 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
232 - ^neutron/plugins/ml2/drivers/macvtap/.*$
233 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200234
235- job:
236 name: neutron-tempest-plugin-scenario-openvswitch-rocky
237 parent: neutron-tempest-plugin-scenario-openvswitch
238 nodeset: openstack-single-node-xenial
239 description: |
240 This job run on py3 for other than stable/rocky gate
241 which is nothing but neutron-tempest-pluign master gate.
242 override-checkout: stable/rocky
243 required-projects: *required-projects-rocky
244 vars:
245 <<: *scenario_vars_rocky
246 devstack_localrc:
247 USE_PYTHON3: True
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000248 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200249 branches: ^(?!stable/rocky).*$
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200250 irrelevant-files: *openvswitch-scenario-irrelevant-files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200251
252- job:
253 name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid-rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200254 parent: neutron-tempest-plugin-scenario
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200255 nodeset: openstack-single-node-xenial
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200256 timeout: 10000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200257 description: |
258 This job run on py2 for stable/rocky gate.
259 override-checkout: stable/rocky
260 required-projects: *required-projects-rocky
261 vars: &openvswitch_vars_rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200262 devstack_services:
263 # Disable OVN services
264 br-ex-tcpdump: false
265 br-int-flows: false
266 ovn-controller: false
267 ovn-northd: false
268 ovs-vswitchd: false
269 ovsdb-server: false
270 q-ovn-metadata-agent: false
271 # Neutron services
272 q-agt: true
273 q-dhcp: true
274 q-l3: true
275 q-meta: true
276 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200277 network_api_extensions: *api_extensions
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200278 network_available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200279 devstack_localrc:
280 USE_PYTHON3: false
281 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200282 Q_AGENT: openvswitch
283 Q_ML2_TENANT_NETWORK_TYPE: vxlan
284 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200285 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Slawek Kaplonski32cb9c72021-11-15 12:51:11 +0100286 # NOTE(slaweq) some tests are not running fine with ubuntu minimal on
287 # Rocky
288 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
289 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000290 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski32cb9c72021-11-15 12:51:11 +0100291 ADVANCED_INSTANCE_USER: ubuntu
292 CUSTOMIZE_IMAGE: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200293 devstack_local_conf:
294 post-config:
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200295 $NEUTRON_CONF:
296 DEFAULT:
297 enable_dvr: false
298 l3_ha: true
299 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
300 # devstack-tempest job will be switched to use lib/neutron instead of
301 # lib/neutron-legacy
302 /$NEUTRON_CORE_PLUGIN_CONF:
303 agent:
304 tunnel_types: vxlan,gre
305 ovs:
306 tunnel_bridge: br-tun
307 bridge_mappings: public:br-ex
308 securitygroup:
309 firewall_driver: iptables_hybrid
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200310 $NEUTRON_L3_CONF:
311 DEFAULT:
312 # NOTE(slaweq): on Xenial keepalived don't knows this option yet
313 keepalived_use_no_track: False
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200314 test-config:
315 $TEMPEST_CONFIG:
316 network-feature-enabled:
317 available_features: "{{ network_available_features | join(',') }}"
318 neutron_plugin_options:
319 available_type_drivers: flat,vlan,local,vxlan
320 firewall_driver: iptables_hybrid
Bernard Cafarelli800e9d42021-11-24 14:17:42 +0100321 tempest_black_regex: *rocky_tempest_exclude
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200322 branches:
323 - stable/rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200324 irrelevant-files: &iptables_hybrid_irrelevant_files
325 - ^(test-|)requirements.txt$
326 - ^releasenotes/.*$
327 - ^doc/.*$
328 - ^setup.cfg$
329 - ^.*\.rst$
330 - ^neutron/locale/.*$
331 - ^neutron/tests/unit/.*$
332 - ^tools/.*$
333 - ^tox.ini$
334 - ^neutron/agent/linux/openvswitch_firewall/.*$
335 - ^neutron/agent/windows/.*$
336 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
337 - ^neutron/plugins/ml2/drivers/macvtap/.*$
338 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200339
340- job:
341 name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid-rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200342 parent: neutron-tempest-plugin-scenario
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200343 nodeset: openstack-single-node-xenial
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200344 timeout: 10000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200345 description: |
346 This job run on py3 for other than stable/rocky gate
347 which is nothing but neutron-tempest-pluign master gate.
348 override-checkout: stable/rocky
349 required-projects: *required-projects-rocky
350 vars:
351 <<: *openvswitch_vars_rocky
352 devstack_localrc:
353 USE_PYTHON3: True
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000354 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200355 branches: ^(?!stable/rocky).*$
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200356 irrelevant-files: *iptables_hybrid_irrelevant_files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200357
358- job:
359 name: neutron-tempest-plugin-scenario-linuxbridge-rocky
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200360 parent: neutron-tempest-plugin-scenario
361 timeout: 10000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200362 description: |
363 This job run on py2 for stable/rocky gate.
364 nodeset: openstack-single-node-xenial
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200365 roles:
366 - zuul: openstack/neutron
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200367 override-checkout: stable/rocky
368 required-projects: *required-projects-rocky
369 vars: &linuxbridge_vars_rocky
370 branch_override: stable/rocky
371 network_api_extensions: *api_extensions
372 devstack_localrc:
373 USE_PYTHON3: false
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200374 Q_AGENT: linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200375 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
376 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Slawek Kaplonski32cb9c72021-11-15 12:51:11 +0100377 # NOTE(slaweq) some tests are not running fine with ubuntu minimal on
378 # Rocky
379 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
380 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000381 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski32cb9c72021-11-15 12:51:11 +0100382 ADVANCED_INSTANCE_USER: ubuntu
383 CUSTOMIZE_IMAGE: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200384 devstack_local_conf:
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200385 post-config:
386 $NEUTRON_CONF:
387 DEFAULT:
388 enable_dvr: false
389 AGENT:
390 debug_iptables_rules: true
391 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
392 # devstack-tempest job will be switched to use lib/neutron instead of
393 # lib/neutron-legacy
394 /$NEUTRON_CORE_PLUGIN_CONF:
395 ml2:
396 type_drivers: flat,vlan,local,vxlan
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200397 $NEUTRON_L3_CONF:
398 DEFAULT:
399 # NOTE(slaweq): on Xenial keepalived don't knows this option yet
400 keepalived_use_no_track: False
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200401 test-config:
402 # NOTE: ignores linux bridge's trunk delete on bound port test
403 # for rocky branch (as https://review.opendev.org/#/c/605589/
404 # fix will not apply for rocky branch)
405 $TEMPEST_CONFIG:
406 neutron_plugin_options:
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200407 available_type_drivers: flat,vlan,local,vxlan
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200408 q_agent: None
Bernard Cafarelli800e9d42021-11-24 14:17:42 +0100409 tempest_black_regex: *rocky_tempest_exclude
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200410 branches:
411 - stable/rocky
412
413- job:
414 name: neutron-tempest-plugin-scenario-linuxbridge-rocky
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200415 parent: neutron-tempest-plugin-scenario
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200416 nodeset: openstack-single-node-xenial
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200417 timeout: 10000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200418 description: |
419 This job run on py3 for other than stable/rocky gate
420 which is nothing but neutron-tempest-pluign master gate.
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200421 roles:
422 - zuul: openstack/neutron
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200423 override-checkout: stable/rocky
424 required-projects: *required-projects-rocky
425 vars:
426 <<: *linuxbridge_vars_rocky
427 devstack_localrc:
428 USE_PYTHON3: True
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200429 Q_AGENT: linuxbridge
430 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
431 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000432 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200433 branches: ^(?!stable/rocky).*$
434
435- job:
436 name: neutron-tempest-plugin-dvr-multinode-scenario-rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200437 parent: tempest-multinode-full
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200438 description: |
439 This job run on py2 for stable/rocky gate.
440 nodeset: openstack-two-node-xenial
441 override-checkout: stable/rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200442 roles:
443 - zuul: openstack/devstack
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200444 required-projects: *required-projects-rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200445 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
446 voting: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200447 vars: &multinode_scenario_vars_rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200448 tempest_concurrency: 4
449 tox_envlist: all
450 tempest_test_regex: ^neutron_tempest_plugin\.scenario
451 # NOTE(slaweq): in case of some tests, which requires advanced image,
452 # default test timeout set to 1200 seconds may be not enough if job is
453 # run on slow node
454 tempest_test_timeout: 2400
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200455 network_api_extensions_common: *api_extensions
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200456 network_api_extensions_dvr:
457 - dvr
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200458 devstack_localrc:
459 USE_PYTHON3: false
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200460 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
461 PHYSICAL_NETWORK: default
462 CIRROS_VERSION: 0.5.1
463 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
464 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +0200465 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200466 ADVANCED_INSTANCE_USER: ubuntu
467 BUILD_TIMEOUT: 784
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200468 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200469 devstack_plugins:
470 neutron: https://opendev.org/openstack/neutron.git
471 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
472 tempest_plugins:
473 - neutron-tempest-plugin
474 devstack_services:
475 tls-proxy: false
476 tempest: true
477 neutron-dns: true
478 neutron-qos: true
479 neutron-segments: true
480 neutron-trunk: true
481 neutron-log: true
482 neutron-port-forwarding: true
483 # Cinder services
484 c-api: false
485 c-bak: false
486 c-sch: false
487 c-vol: false
488 cinder: false
489 # We don't need Swift to be run in the Neutron jobs
490 s-account: false
491 s-container: false
492 s-object: false
493 s-proxy: false
494 devstack_local_conf:
495 post-config:
496 $NEUTRON_CONF:
497 quotas:
498 quota_router: 100
499 quota_floatingip: 500
500 quota_security_group: 100
501 quota_security_group_rule: 1000
502 DEFAULT:
503 router_distributed: True
504 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
505 # devstack-tempest job will be switched to use lib/neutron instead of
506 # lib/neutron-legacy
507 "/$NEUTRON_CORE_PLUGIN_CONF":
508 ml2:
509 type_drivers: flat,geneve,vlan,gre,local,vxlan
510 mechanism_drivers: openvswitch,l2population
511 ml2_type_vlan:
512 network_vlan_ranges: foo:1:10
513 ml2_type_vxlan:
514 vni_ranges: 1:2000
515 ml2_type_gre:
516 tunnel_id_ranges: 1:1000
517 agent:
518 enable_distributed_routing: True
519 l2_population: True
520 tunnel_types: vxlan,gre
521 ovs:
522 tunnel_bridge: br-tun
523 bridge_mappings: public:br-ex
524 $NEUTRON_L3_CONF:
525 DEFAULT:
526 agent_mode: dvr_snat
527 agent:
528 availability_zone: nova
529 $NEUTRON_DHCP_CONF:
530 agent:
531 availability_zone: nova
532 "/etc/neutron/api-paste.ini":
533 "composite:neutronapi_v2_0":
534 use: "call:neutron.auth:pipeline_factory"
535 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
536 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
537 test-config:
538 $TEMPEST_CONFIG:
539 network-feature-enabled:
540 available_features: *available_features
541 neutron_plugin_options:
542 provider_vlans: foo,
543 agent_availability_zone: nova
544 image_is_advanced: true
545 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
546 l3_agent_mode: dvr_snat
547 firewall_driver: openvswitch
548 branch_override: stable/rocky
Bernard Cafarelli800e9d42021-11-24 14:17:42 +0100549 tempest_black_regex: *rocky_tempest_exclude
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200550 branches:
551 - stable/rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200552 group-vars: &multinode_scenario_group_vars_rocky
553 subnode:
554 devstack_services:
555 tls-proxy: false
556 q-agt: true
557 q-l3: true
558 q-meta: true
559 neutron-qos: true
560 neutron-trunk: true
561 neutron-log: true
562 neutron-port-forwarding: true
563 # Cinder services
564 c-bak: false
565 c-vol: false
566 # We don't need Swift to be run in the Neutron jobs
567 s-account: false
568 s-container: false
569 s-object: false
570 s-proxy: false
571 devstack_localrc:
572 USE_PYTHON3: true
573 devstack_local_conf:
574 post-config:
575 $NEUTRON_CONF:
576 DEFAULT:
577 router_distributed: True
578 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
579 # devstack-tempest job will be switched to use lib/neutron instead of
580 # lib/neutron-legacy
581 "/$NEUTRON_CORE_PLUGIN_CONF":
582 agent:
583 enable_distributed_routing: True
584 l2_population: True
585 tunnel_types: vxlan,gre
586 ovs:
587 tunnel_bridge: br-tun
588 bridge_mappings: public:br-ex
589 $NEUTRON_L3_CONF:
590 DEFAULT:
591 agent_mode: dvr_snat
592 agent:
593 availability_zone: nova
594 irrelevant-files: *openvswitch-scenario-irrelevant-files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200595
596- job:
597 name: neutron-tempest-plugin-dvr-multinode-scenario-rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200598 parent: tempest-multinode-full
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200599 nodeset: openstack-two-node-xenial
600 description: |
601 This job run on py3 for other than stable/rocky gate
602 which is nothing but neutron-tempest-pluign master gate.
603 override-checkout: stable/rocky
604 vars:
605 <<: *multinode_scenario_vars_rocky
606 devstack_localrc:
607 USE_PYTHON3: True
608 required-projects: *required-projects-rocky
609 group-vars:
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200610 <<: *multinode_scenario_group_vars_rocky
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200611 subnode:
612 devstack_localrc:
613 USE_PYTHON3: True
614 branches: ^(?!stable/rocky).*$
615
616- job:
617 name: neutron-tempest-plugin-designate-scenario-rocky
618 parent: neutron-tempest-plugin-designate-scenario
619 description: |
620 This job run on py2 for stable/rocky gate.
621 nodeset: openstack-single-node-xenial
622 override-checkout: stable/rocky
623 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200624 - openstack/neutron
625 - name: openstack/neutron-tempest-plugin
626 override-checkout: 0.9.0
627 - name: openstack/designate-tempest-plugin
628 override-checkout: 0.7.0
629 - openstack/tempest
630 vars: &designate_scenario_vars_rocky
631 branch_override: stable/rocky
632 network_api_extensions_common: *api_extensions
633 devstack_localrc:
634 USE_PYTHON3: false
635 TEMPEST_PLUGINS: '"/opt/stack/designate-tempest-plugin /opt/stack/neutron-tempest-plugin"'
Rodolfo Alonso Hernandezfeb7f942021-09-01 17:27:25 +0000636 ADVANCED_INSTANCE_TYPE: ds512M
Bernard Cafarelli800e9d42021-11-24 14:17:42 +0100637 # NOTE(bcafarel): filtering out unstable tests or tests with known
638 # issues in the used pinned version for this EM branch
639 tempest_black_regex: "(^neutron_tempest_plugin.scenario.test_dns_integration.DNSIntegrationAdminTests.test_port_on_special_network)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200640 branches:
641 - stable/rocky
642
643- job:
644 name: neutron-tempest-plugin-designate-scenario-rocky
645 parent: neutron-tempest-plugin-designate-scenario
646 nodeset: openstack-single-node-xenial
647 description: |
648 This job run on py3 for other than stable/rocky gate
649 which is nothing but neutron-tempest-plugin master gate.
650 override-checkout: stable/rocky
651 required-projects: *required-projects-rocky
652 vars:
653 <<: *designate_scenario_vars_rocky
654 devstack_localrc:
655 USE_PYTHON3: True
656 branches: ^(?!stable/rocky).*$