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