blob: 2c4fc02a038cca60ac94bb3f06c70ca1551cd0c5 [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
Slawek Kaplonskide8e5032020-08-27 09:12:43 +0200161 roles:
162 - zuul: openstack/neutron
163 pre-run: playbooks/linuxbridge-scenario-pre-run.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200164 vars:
165 network_api_extensions: *api_extensions
166 devstack_localrc:
167 Q_AGENT: linuxbridge
168 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
169 devstack_local_conf:
170 post-config:
171 $NEUTRON_CONF:
172 DEFAULT:
173 enable_dvr: false
174 AGENT:
175 debug_iptables_rules: true
176 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
177 # devstack-tempest job will be switched to use lib/neutron instead of
178 # lib/neutron-legacy
179 /$NEUTRON_CORE_PLUGIN_CONF:
180 ml2:
181 type_drivers: flat,vlan,local,vxlan
182 test-config:
183 $TEMPEST_CONFIG:
184 neutron_plugin_options:
185 available_type_drivers: flat,vlan,local,vxlan
186 q_agent: linuxbridge
187
188- job:
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000189 name: neutron-tempest-plugin-scenario-ovn
190 parent: neutron-tempest-plugin-scenario
191 timeout: 10000
192 vars:
193 network_api_extensions: *api_extensions
194 # TODO(haleyb): Remove this blacklist when
195 # https://bugs.launchpad.net/neutron/+bug/1881558 is fixed.
196 tempest_black_regex: "(?:neutron_tempest_plugin.scenario.test_ipv6.IPv6Test)"
197 devstack_localrc:
198 Q_AGENT: ovn
199 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
200 Q_ML2_PLUGIN_MECHANISM_DRIVERS: ovn,logger
201 Q_ML2_PLUGIN_TYPE_DRIVERS: local,flat,vlan,geneve
202 Q_ML2_TENANT_NETWORK_TYPE: geneve
203 Q_USE_PROVIDERNET_FOR_PUBLIC: true
204 PHYSICAL_NETWORK: public
205 ENABLE_CHASSIS_AS_GW: true
206 OVN_L3_CREATE_PUBLIC_NETWORK: true
207 OVN_DBS_LOG_LEVEL: dbg
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000208 ENABLE_TLS: True
209 OVN_IGMP_SNOOPING_ENABLE: True
210 devstack_services:
211 br-ex-tcpdump: true
212 br-int-flows: true
213 q-ovn-metadata-agent: true
214 ovn-controller: true
215 ovn-northd: true
216 ovs-vswitchd: true
217 ovsdb-server: true
218 q-agt: false
219 q-dhcp: false
220 q-l3: false
221 q-meta: false
222 q-metering: false
223 s-account: false
224 s-container-sync: false
225 s-container: false
226 s-object: false
227 s-proxy: false
228 tls-proxy: true
229 q-qos: true
230 devstack_local_conf:
231 post-config:
232 $NEUTRON_CONF:
233 DEFAULT:
234 enable_dvr: false
235 /$NEUTRON_CORE_PLUGIN_CONF:
236 ml2:
237 type_drivers: local,flat,vlan,geneve
238 test-config:
239 $TEMPEST_CONFIG:
240 neutron_plugin_options:
241 available_type_drivers: local,flat,vlan,geneve
242 is_igmp_snooping_enabled: True
243
244- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200245 name: neutron-tempest-plugin-dvr-multinode-scenario
246 parent: tempest-multinode-full
247 description: |
248 Perform setup for Neutron tempest tests in multinode with DVR scenario
249 roles:
250 - zuul: openstack/devstack
251 required-projects:
252 - openstack/devstack-gate
253 - openstack/neutron
254 - openstack/neutron-tempest-plugin
255 - openstack/tempest
256 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
257 voting: false
258 vars:
259 tempest_concurrency: 4
260 tox_envlist: all
261 tempest_test_regex: ^neutron_tempest_plugin\.scenario
262 # NOTE(slaweq): in case of some tests, which requires advanced image,
263 # default test timeout set to 1200 seconds may be not enough if job is
264 # run on slow node
265 tempest_test_timeout: 2400
266 network_api_extensions_common: *api_extensions
267 network_api_extensions_dvr:
268 - dvr
269 devstack_localrc:
270 USE_PYTHON3: true
271 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
272 PHYSICAL_NETWORK: default
273 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/xenial/release/ubuntu-16.04-server-cloudimg-amd64-disk1.img
274 ADVANCED_IMAGE_NAME: ubuntu-16.04-server-cloudimg-amd64-disk1
275 ADVANCED_INSTANCE_TYPE: ds512M
276 ADVANCED_INSTANCE_USER: ubuntu
277 BUILD_TIMEOUT: 784
278 devstack_plugins:
279 neutron: https://opendev.org/openstack/neutron.git
280 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
281 tempest_plugins:
282 - neutron-tempest-plugin
283 devstack_services:
284 tls-proxy: false
285 tempest: true
286 neutron-dns: true
287 neutron-qos: true
288 neutron-segments: true
289 neutron-trunk: true
290 neutron-log: true
291 neutron-port-forwarding: true
292 cinder: true
293 devstack_local_conf:
294 post-config:
295 $NEUTRON_CONF:
296 quotas:
297 quota_router: 100
298 quota_floatingip: 500
299 quota_security_group: 100
300 quota_security_group_rule: 1000
301 DEFAULT:
302 router_distributed: True
303 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
304 # devstack-tempest job will be switched to use lib/neutron instead of
305 # lib/neutron-legacy
306 "/$NEUTRON_CORE_PLUGIN_CONF":
307 ml2:
308 type_drivers: flat,geneve,vlan,gre,local,vxlan
309 mechanism_drivers: openvswitch,l2population
310 ml2_type_vlan:
311 network_vlan_ranges: foo:1:10
312 ml2_type_vxlan:
313 vni_ranges: 1:2000
314 ml2_type_gre:
315 tunnel_id_ranges: 1:1000
316 agent:
317 enable_distributed_routing: True
318 l2_population: True
319 tunnel_types: vxlan,gre
320 ovs:
321 tunnel_bridge: br-tun
322 bridge_mappings: public:br-ex
323 $NEUTRON_L3_CONF:
324 DEFAULT:
325 agent_mode: dvr_snat
326 agent:
327 availability_zone: nova
328 $NEUTRON_DHCP_CONF:
329 agent:
330 availability_zone: nova
331 "/etc/neutron/api-paste.ini":
332 "composite:neutronapi_v2_0":
333 use: "call:neutron.auth:pipeline_factory"
334 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
335 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
336 test-config:
337 $TEMPEST_CONFIG:
338 neutron_plugin_options:
339 provider_vlans: foo,
340 agent_availability_zone: nova
341 image_is_advanced: true
342 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
343 l3_agent_mode: dvr_snat
344 group-vars:
345 subnode:
346 devstack_services:
347 tls-proxy: false
348 q-agt: true
349 q-l3: true
350 q-meta: true
351 neutron-qos: true
352 neutron-trunk: true
353 neutron-log: true
354 neutron-port-forwarding: true
355 devstack_localrc:
356 USE_PYTHON3: true
357 devstack_local_conf:
358 post-config:
359 $NEUTRON_CONF:
360 DEFAULT:
361 router_distributed: True
362 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
363 # devstack-tempest job will be switched to use lib/neutron instead of
364 # lib/neutron-legacy
365 "/$NEUTRON_CORE_PLUGIN_CONF":
366 agent:
367 enable_distributed_routing: True
368 l2_population: True
369 tunnel_types: vxlan,gre
370 ovs:
371 tunnel_bridge: br-tun
372 bridge_mappings: public:br-ex
373 $NEUTRON_L3_CONF:
374 DEFAULT:
375 agent_mode: dvr_snat
376 agent:
377 availability_zone: nova
378 irrelevant-files: &tempest-irrelevant-files
379 - ^(test-|)requirements.txt$
380 - ^releasenotes/.*$
381 - ^doc/.*$
382 - ^setup.cfg$
383 - ^.*\.rst$
Brian Haleyafb4bd72020-05-29 16:03:43 -0400384 - ^neutron.*/locale/.*$
385 - ^neutron.*/tests/unit/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200386 - ^tools/.*$
387 - ^tox.ini$
388
389- job:
390 name: neutron-tempest-plugin-designate-scenario
391 parent: neutron-tempest-plugin-scenario
392 description: Neutron designate integration scenario
393 required-projects:
394 - openstack/designate
395 - openstack/designate-dashboard
396 - openstack/designate-tempest-plugin
397 timeout: 3600
398 vars:
399 network_api_extensions_common: *api_extensions
400 devstack_localrc:
401 DESIGNATE_BACKEND_DRIVER: bind9
402 Q_AGENT: openvswitch
403 # In this job advanced image is not needed, so it's name should be
404 # empty
405 ADVANCED_IMAGE_NAME: ""
406 NETWORK_API_EXTENSIONS: "{{ network_api_extensions_common | join(',') }}"
407 devstack_local_conf:
408 post-config:
409 $NEUTRON_CONF:
410 DEFAULT:
411 enable_dvr: false
412 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
413 # devstack-tempest job will be switched to use lib/neutron instead of
414 # lib/neutron-legacy
415 /$NEUTRON_CORE_PLUGIN_CONF:
416 agent:
417 tunnel_types: vxlan,gre
418 ovs:
419 tunnel_bridge: br-tun
420 bridge_mappings: public:br-ex
421 devstack_plugins:
422 designate: https://opendev.org/openstack/designate.git
423 devstack_services:
424 cinder: false
425 designate: true
426 tempest_plugins:
427 - designate-tempest-plugin
428 - neutron-tempest-plugin
429 tempest_test_regex: ^neutron_tempest_plugin\.scenario\.test_dns_integration
430 irrelevant-files: *tempest-irrelevant-files
431
432- job:
433 name: neutron-tempest-plugin-sfc
434 parent: neutron-tempest-plugin-base
435 timeout: 10800
436 required-projects:
437 - openstack/devstack-gate
438 - openstack/networking-sfc
439 - openstack/neutron
440 - openstack/neutron-tempest-plugin
441 - openstack/tempest
442 vars:
443 network_api_extensions_common: *api_extensions
444 tempest_test_regex: ^neutron_tempest_plugin\.sfc
445 devstack_plugins:
446 networking-sfc: https://opendev.org/openstack/networking-sfc
447 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
448 network_api_extensions_sfc:
449 - flow_classifier
450 - sfc
451 devstack_localrc:
452 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_sfc) | join(',') }}"
453 # TODO(bcafarel): tests still fail from time to time in parallel
454 # https://bugs.launchpad.net/neutron/+bug/1851500
455 # https://bugs.launchpad.net/networking-sfc/+bug/1660366
456 tempest_concurrency: 1
457
458- job:
459 name: neutron-tempest-plugin-bgpvpn-bagpipe
460 parent: neutron-tempest-plugin-base
461 required-projects:
462 - openstack/networking-bagpipe
463 - openstack/networking-bgpvpn
464 vars:
465 tempest_test_regex: ^neutron_tempest_plugin\.bgpvpn
466 network_api_extensions: *api_extensions
467 network_api_extensions_bgpvpn:
468 - bgpvpn
469 - bgpvpn-routes-control
470 devstack_localrc:
471 NETWORKING_BGPVPN_DRIVER: "BGPVPN:BaGPipe:networking_bgpvpn.neutron.services.service_drivers.bagpipe.bagpipe_v2.BaGPipeBGPVPNDriver:default"
472 BAGPIPE_DATAPLANE_DRIVER_IPVPN: "ovs"
473 BAGPIPE_BGP_PEERS: "-"
474 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_bgpvpn) | join(',') }}"
475 devstack_plugins:
476 networking-bgpvpn: https://git.openstack.org/openstack/networking-bgpvpn
477 networking-bagpipe: https://git.openstack.org/openstack/networking-bagpipe
478
479- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200480 name: neutron-tempest-plugin-dynamic-routing
481 parent: neutron-tempest-plugin-base
482 description: |
483 Perform setup common to all Neutron dynamic routing tempest tests
484 required-projects:
485 - openstack/neutron
486 - openstack/neutron-dynamic-routing
487 - openstack/os-ken
488 - openstack/tempest
489 pre-run: playbooks/dynamic-routing-pre-run.yaml
490 vars:
491 devstack_plugins:
492 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
493 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
494 network_api_extensions_common: *api_extensions
495 network_api_extensions_bgp:
496 - bgp
497 - bgp_dragent_scheduler
498 - bgp_4byte_asn
499 devstack_localrc:
500 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_bgp) | join(',') }}"
501 devstack_services:
502 neutron-dr: true
503 neutron-dr-agent: true
504 q-l3: true
505 tempest_concurrency: 1
506 tempest_test_regex: ^neutron_tempest_plugin\.neutron_dynamic_routing
507
508- job:
509 name: neutron-tempest-plugin-vpnaas
510 parent: neutron-tempest-plugin-base
511 timeout: 3900
512 required-projects:
513 - openstack/devstack-gate
514 - openstack/neutron
515 - openstack/neutron-vpnaas
516 - openstack/neutron-tempest-plugin
517 - openstack/tempest
518 vars:
519 tempest_test_regex: ^neutron_tempest_plugin\.vpnaas
520 devstack_plugins:
521 neutron-vpnaas: https://opendev.org/openstack/neutron-vpnaas.git
522 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
523 network_api_extensions_common: *api_extensions
524 network_api_extensions_vpnaas:
525 - vpnaas
526 devstack_localrc:
527 IPSEC_PACKAGE: strongswan
528 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_vpnaas) | join(',') }}"
Brian Haleyafb4bd72020-05-29 16:03:43 -0400529 irrelevant-files: *tempest-irrelevant-files