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