blob: 45862c82aff924f5d5e1e61e5cc3fb5f6fd3a205 [file] [log] [blame]
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001- job:
2 name: neutron-tempest-plugin-api
3 parent: neutron-tempest-plugin-base
4 vars:
5 # TODO(slaweq): find a way to put this list of extensions in
6 # neutron repository and keep it different per branch,
7 # then it could be removed from here
8 network_api_extensions_common: &api_extensions
9 - address-scope
10 - agent
11 - allowed-address-pairs
12 - auto-allocated-topology
13 - availability_zone
14 - binding
15 - default-subnetpools
16 - dhcp_agent_scheduler
17 - dns-domain-ports
18 - dns-integration
19 - empty-string-filtering
20 - expose-port-forwarding-in-fip
21 - expose-l3-conntrack-helper
22 - ext-gw-mode
23 - external-net
24 - extra_dhcp_opt
25 - extraroute
26 - extraroute-atomic
27 - filter-validation
28 - fip-port-details
29 - flavors
30 - floating-ip-port-forwarding
31 - floatingip-pools
32 - ip-substring-filtering
33 - l3-conntrack-helper
34 - l3-flavors
35 - l3-ha
36 - l3_agent_scheduler
37 - logging
38 - metering
39 - multi-provider
40 - net-mtu
41 - net-mtu-writable
42 - network-ip-availability
43 - network_availability_zone
44 - network-segment-range
45 - pagination
46 - port-resource-request
47 - port-mac-address-regenerate
48 - port-security
49 - port-security-groups-filtering
50 - project-id
51 - provider
52 - qos
53 - qos-bw-minimum-ingress
54 - qos-fip
55 - quotas
56 - quota_details
57 - rbac-address-scope
58 - rbac-policies
59 - rbac-security-groups
60 - rbac-subnetpool
61 - router
62 - router-admin-state-down-before-update
63 - router_availability_zone
64 - security-group
65 - segment
66 - service-type
67 - sorting
68 - standard-attr-description
69 - standard-attr-revisions
70 - standard-attr-segment
71 - standard-attr-tag
72 - standard-attr-timestamp
73 - subnet_allocation
74 - subnet-dns-publish-fixed-ip
75 - subnetpool-prefix-ops
76 - tag-ports-during-bulk-creation
77 - trunk
78 - trunk-details
79 - uplink-status-propagation
80 network_api_extensions_tempest:
81 - dvr
82 tempest_test_regex: ^neutron_tempest_plugin\.api
83 devstack_services:
84 neutron-log: true
85 devstack_local_conf:
86 post-config:
87 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
88 # devstack-tempest job will be switched to use lib/neutron instead of
89 # lib/neutron-legacy
90 /$NEUTRON_CORE_PLUGIN_CONF:
91 AGENT:
92 tunnel_types: gre,vxlan
93 network_log:
94 local_output_log_base: /tmp/test_log.log
95
96- job:
97 name: neutron-tempest-plugin-scenario-openvswitch
98 parent: neutron-tempest-plugin-scenario
99 timeout: 10000
100 vars:
101 network_api_extensions: *api_extensions
102 devstack_localrc:
103 Q_AGENT: openvswitch
104 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
105 devstack_local_conf:
106 post-config:
107 $NEUTRON_CONF:
108 DEFAULT:
109 enable_dvr: false
110 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
111 # devstack-tempest job will be switched to use lib/neutron instead of
112 # lib/neutron-legacy
113 /$NEUTRON_CORE_PLUGIN_CONF:
114 agent:
115 tunnel_types: vxlan,gre
116 ovs:
117 tunnel_bridge: br-tun
118 bridge_mappings: public:br-ex
119 test-config:
120 $TEMPEST_CONFIG:
121 neutron_plugin_options:
122 available_type_drivers: flat,vlan,local,vxlan
123
124- job:
125 name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid
126 parent: neutron-tempest-plugin-scenario
127 timeout: 10000
128 vars:
129 network_api_extensions: *api_extensions
130 # TODO(slaweq): remove trunks subport_connectivity test from blacklist
131 # when bug https://bugs.launchpad.net/neutron/+bug/1838760 will be fixed
132 tempest_black_regex: "(^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_subport_connectivity)"
133 devstack_localrc:
134 Q_AGENT: openvswitch
135 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
136 devstack_local_conf:
137 post-config:
138 $NEUTRON_CONF:
139 DEFAULT:
140 enable_dvr: false
141 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
142 # devstack-tempest job will be switched to use lib/neutron instead of
143 # lib/neutron-legacy
144 /$NEUTRON_CORE_PLUGIN_CONF:
145 agent:
146 tunnel_types: vxlan,gre
147 ovs:
148 tunnel_bridge: br-tun
149 bridge_mappings: public:br-ex
150 securitygroup:
151 firewall_driver: iptables_hybrid
152 test-config:
153 $TEMPEST_CONFIG:
154 neutron_plugin_options:
155 available_type_drivers: flat,vlan,local,vxlan
156
157- job:
158 name: neutron-tempest-plugin-scenario-linuxbridge
159 parent: neutron-tempest-plugin-scenario
160 timeout: 10000
161 vars:
162 network_api_extensions: *api_extensions
163 devstack_localrc:
164 Q_AGENT: linuxbridge
165 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
166 devstack_local_conf:
167 post-config:
168 $NEUTRON_CONF:
169 DEFAULT:
170 enable_dvr: false
171 AGENT:
172 debug_iptables_rules: true
173 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
174 # devstack-tempest job will be switched to use lib/neutron instead of
175 # lib/neutron-legacy
176 /$NEUTRON_CORE_PLUGIN_CONF:
177 ml2:
178 type_drivers: flat,vlan,local,vxlan
179 test-config:
180 $TEMPEST_CONFIG:
181 neutron_plugin_options:
182 available_type_drivers: flat,vlan,local,vxlan
183 q_agent: linuxbridge
184
185- job:
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000186 name: neutron-tempest-plugin-scenario-ovn
187 parent: neutron-tempest-plugin-scenario
188 timeout: 10000
189 vars:
190 network_api_extensions: *api_extensions
191 # TODO(haleyb): Remove this blacklist when
192 # https://bugs.launchpad.net/neutron/+bug/1881558 is fixed.
193 tempest_black_regex: "(?:neutron_tempest_plugin.scenario.test_ipv6.IPv6Test)"
194 devstack_localrc:
195 Q_AGENT: ovn
196 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
197 Q_ML2_PLUGIN_MECHANISM_DRIVERS: ovn,logger
198 Q_ML2_PLUGIN_TYPE_DRIVERS: local,flat,vlan,geneve
199 Q_ML2_TENANT_NETWORK_TYPE: geneve
200 Q_USE_PROVIDERNET_FOR_PUBLIC: true
201 PHYSICAL_NETWORK: public
202 ENABLE_CHASSIS_AS_GW: true
203 OVN_L3_CREATE_PUBLIC_NETWORK: true
204 OVN_DBS_LOG_LEVEL: dbg
205 # TODO(mjozefcz): Stop compiling OVS modules when meter action in kernel
206 # will be released in Ubuntu Bionic.
207 # More info: https://mail.openvswitch.org/pipermail/ovs-discuss/2018-December/048009.html
208 OVN_BUILD_MODULES: True
209 ENABLE_TLS: True
210 OVN_IGMP_SNOOPING_ENABLE: True
211 devstack_services:
212 br-ex-tcpdump: true
213 br-int-flows: true
214 q-ovn-metadata-agent: true
215 ovn-controller: true
216 ovn-northd: true
217 ovs-vswitchd: true
218 ovsdb-server: true
219 q-agt: false
220 q-dhcp: false
221 q-l3: false
222 q-meta: false
223 q-metering: false
224 s-account: false
225 s-container-sync: false
226 s-container: false
227 s-object: false
228 s-proxy: false
229 tls-proxy: true
230 q-qos: true
231 devstack_local_conf:
232 post-config:
233 $NEUTRON_CONF:
234 DEFAULT:
235 enable_dvr: false
236 /$NEUTRON_CORE_PLUGIN_CONF:
237 ml2:
238 type_drivers: local,flat,vlan,geneve
239 test-config:
240 $TEMPEST_CONFIG:
241 neutron_plugin_options:
242 available_type_drivers: local,flat,vlan,geneve
243 is_igmp_snooping_enabled: True
244
245- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200246 name: neutron-tempest-plugin-dvr-multinode-scenario
247 parent: tempest-multinode-full
248 description: |
249 Perform setup for Neutron tempest tests in multinode with DVR scenario
250 roles:
251 - zuul: openstack/devstack
252 required-projects:
253 - openstack/devstack-gate
254 - openstack/neutron
255 - openstack/neutron-tempest-plugin
256 - openstack/tempest
257 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
258 voting: false
259 vars:
260 tempest_concurrency: 4
261 tox_envlist: all
262 tempest_test_regex: ^neutron_tempest_plugin\.scenario
263 # NOTE(slaweq): in case of some tests, which requires advanced image,
264 # default test timeout set to 1200 seconds may be not enough if job is
265 # run on slow node
266 tempest_test_timeout: 2400
267 network_api_extensions_common: *api_extensions
268 network_api_extensions_dvr:
269 - dvr
270 devstack_localrc:
271 USE_PYTHON3: true
272 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
273 PHYSICAL_NETWORK: default
274 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/xenial/release/ubuntu-16.04-server-cloudimg-amd64-disk1.img
275 ADVANCED_IMAGE_NAME: ubuntu-16.04-server-cloudimg-amd64-disk1
276 ADVANCED_INSTANCE_TYPE: ds512M
277 ADVANCED_INSTANCE_USER: ubuntu
278 BUILD_TIMEOUT: 784
279 devstack_plugins:
280 neutron: https://opendev.org/openstack/neutron.git
281 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
282 tempest_plugins:
283 - neutron-tempest-plugin
284 devstack_services:
285 tls-proxy: false
286 tempest: true
287 neutron-dns: true
288 neutron-qos: true
289 neutron-segments: true
290 neutron-trunk: true
291 neutron-log: true
292 neutron-port-forwarding: true
293 cinder: true
294 devstack_local_conf:
295 post-config:
296 $NEUTRON_CONF:
297 quotas:
298 quota_router: 100
299 quota_floatingip: 500
300 quota_security_group: 100
301 quota_security_group_rule: 1000
302 DEFAULT:
303 router_distributed: True
304 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
305 # devstack-tempest job will be switched to use lib/neutron instead of
306 # lib/neutron-legacy
307 "/$NEUTRON_CORE_PLUGIN_CONF":
308 ml2:
309 type_drivers: flat,geneve,vlan,gre,local,vxlan
310 mechanism_drivers: openvswitch,l2population
311 ml2_type_vlan:
312 network_vlan_ranges: foo:1:10
313 ml2_type_vxlan:
314 vni_ranges: 1:2000
315 ml2_type_gre:
316 tunnel_id_ranges: 1:1000
317 agent:
318 enable_distributed_routing: True
319 l2_population: True
320 tunnel_types: vxlan,gre
321 ovs:
322 tunnel_bridge: br-tun
323 bridge_mappings: public:br-ex
324 $NEUTRON_L3_CONF:
325 DEFAULT:
326 agent_mode: dvr_snat
327 agent:
328 availability_zone: nova
329 $NEUTRON_DHCP_CONF:
330 agent:
331 availability_zone: nova
332 "/etc/neutron/api-paste.ini":
333 "composite:neutronapi_v2_0":
334 use: "call:neutron.auth:pipeline_factory"
335 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
336 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
337 test-config:
338 $TEMPEST_CONFIG:
339 neutron_plugin_options:
340 provider_vlans: foo,
341 agent_availability_zone: nova
342 image_is_advanced: true
343 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
344 l3_agent_mode: dvr_snat
345 group-vars:
346 subnode:
347 devstack_services:
348 tls-proxy: false
349 q-agt: true
350 q-l3: true
351 q-meta: true
352 neutron-qos: true
353 neutron-trunk: true
354 neutron-log: true
355 neutron-port-forwarding: true
356 devstack_localrc:
357 USE_PYTHON3: true
358 devstack_local_conf:
359 post-config:
360 $NEUTRON_CONF:
361 DEFAULT:
362 router_distributed: True
363 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
364 # devstack-tempest job will be switched to use lib/neutron instead of
365 # lib/neutron-legacy
366 "/$NEUTRON_CORE_PLUGIN_CONF":
367 agent:
368 enable_distributed_routing: True
369 l2_population: True
370 tunnel_types: vxlan,gre
371 ovs:
372 tunnel_bridge: br-tun
373 bridge_mappings: public:br-ex
374 $NEUTRON_L3_CONF:
375 DEFAULT:
376 agent_mode: dvr_snat
377 agent:
378 availability_zone: nova
379 irrelevant-files: &tempest-irrelevant-files
380 - ^(test-|)requirements.txt$
381 - ^releasenotes/.*$
382 - ^doc/.*$
383 - ^setup.cfg$
384 - ^.*\.rst$
Brian Haleyafb4bd72020-05-29 16:03:43 -0400385 - ^neutron.*/locale/.*$
386 - ^neutron.*/tests/unit/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200387 - ^tools/.*$
388 - ^tox.ini$
389
390- job:
391 name: neutron-tempest-plugin-designate-scenario
392 parent: neutron-tempest-plugin-scenario
393 description: Neutron designate integration scenario
394 required-projects:
395 - openstack/designate
396 - openstack/designate-dashboard
397 - openstack/designate-tempest-plugin
398 timeout: 3600
399 vars:
400 network_api_extensions_common: *api_extensions
401 devstack_localrc:
402 DESIGNATE_BACKEND_DRIVER: bind9
403 Q_AGENT: openvswitch
404 # In this job advanced image is not needed, so it's name should be
405 # empty
406 ADVANCED_IMAGE_NAME: ""
407 NETWORK_API_EXTENSIONS: "{{ network_api_extensions_common | join(',') }}"
408 devstack_local_conf:
409 post-config:
410 $NEUTRON_CONF:
411 DEFAULT:
412 enable_dvr: false
413 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
414 # devstack-tempest job will be switched to use lib/neutron instead of
415 # lib/neutron-legacy
416 /$NEUTRON_CORE_PLUGIN_CONF:
417 agent:
418 tunnel_types: vxlan,gre
419 ovs:
420 tunnel_bridge: br-tun
421 bridge_mappings: public:br-ex
422 devstack_plugins:
423 designate: https://opendev.org/openstack/designate.git
424 devstack_services:
425 cinder: false
426 designate: true
427 tempest_plugins:
428 - designate-tempest-plugin
429 - neutron-tempest-plugin
430 tempest_test_regex: ^neutron_tempest_plugin\.scenario\.test_dns_integration
431 irrelevant-files: *tempest-irrelevant-files
432
433- job:
434 name: neutron-tempest-plugin-sfc
435 parent: neutron-tempest-plugin-base
436 timeout: 10800
437 required-projects:
438 - openstack/devstack-gate
439 - openstack/networking-sfc
440 - openstack/neutron
441 - openstack/neutron-tempest-plugin
442 - openstack/tempest
443 vars:
444 network_api_extensions_common: *api_extensions
445 tempest_test_regex: ^neutron_tempest_plugin\.sfc
446 devstack_plugins:
447 networking-sfc: https://opendev.org/openstack/networking-sfc
448 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
449 network_api_extensions_sfc:
450 - flow_classifier
451 - sfc
452 devstack_localrc:
453 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_sfc) | join(',') }}"
454 # TODO(bcafarel): tests still fail from time to time in parallel
455 # https://bugs.launchpad.net/neutron/+bug/1851500
456 # https://bugs.launchpad.net/networking-sfc/+bug/1660366
457 tempest_concurrency: 1
458
459- job:
460 name: neutron-tempest-plugin-bgpvpn-bagpipe
461 parent: neutron-tempest-plugin-base
462 required-projects:
463 - openstack/networking-bagpipe
464 - openstack/networking-bgpvpn
465 vars:
466 tempest_test_regex: ^neutron_tempest_plugin\.bgpvpn
467 network_api_extensions: *api_extensions
468 network_api_extensions_bgpvpn:
469 - bgpvpn
470 - bgpvpn-routes-control
471 devstack_localrc:
472 NETWORKING_BGPVPN_DRIVER: "BGPVPN:BaGPipe:networking_bgpvpn.neutron.services.service_drivers.bagpipe.bagpipe_v2.BaGPipeBGPVPNDriver:default"
473 BAGPIPE_DATAPLANE_DRIVER_IPVPN: "ovs"
474 BAGPIPE_BGP_PEERS: "-"
475 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_bgpvpn) | join(',') }}"
476 devstack_plugins:
477 networking-bgpvpn: https://git.openstack.org/openstack/networking-bgpvpn
478 networking-bagpipe: https://git.openstack.org/openstack/networking-bagpipe
479
480- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200481 name: neutron-tempest-plugin-dynamic-routing
482 parent: neutron-tempest-plugin-base
483 description: |
484 Perform setup common to all Neutron dynamic routing tempest tests
485 required-projects:
486 - openstack/neutron
487 - openstack/neutron-dynamic-routing
488 - openstack/os-ken
489 - openstack/tempest
490 pre-run: playbooks/dynamic-routing-pre-run.yaml
491 vars:
492 devstack_plugins:
493 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
494 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
495 network_api_extensions_common: *api_extensions
496 network_api_extensions_bgp:
497 - bgp
498 - bgp_dragent_scheduler
499 - bgp_4byte_asn
500 devstack_localrc:
501 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_bgp) | join(',') }}"
502 devstack_services:
503 neutron-dr: true
504 neutron-dr-agent: true
505 q-l3: true
506 tempest_concurrency: 1
507 tempest_test_regex: ^neutron_tempest_plugin\.neutron_dynamic_routing
508
509- job:
510 name: neutron-tempest-plugin-vpnaas
511 parent: neutron-tempest-plugin-base
512 timeout: 3900
513 required-projects:
514 - openstack/devstack-gate
515 - openstack/neutron
516 - openstack/neutron-vpnaas
517 - openstack/neutron-tempest-plugin
518 - openstack/tempest
519 vars:
520 tempest_test_regex: ^neutron_tempest_plugin\.vpnaas
521 devstack_plugins:
522 neutron-vpnaas: https://opendev.org/openstack/neutron-vpnaas.git
523 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
524 network_api_extensions_common: *api_extensions
525 network_api_extensions_vpnaas:
526 - vpnaas
527 devstack_localrc:
528 IPSEC_PACKAGE: strongswan
529 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_vpnaas) | join(',') }}"
Brian Haleyafb4bd72020-05-29 16:03:43 -0400530 irrelevant-files: *tempest-irrelevant-files