blob: 4043535afb494158df90cc153ed862c59c9902c8 [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
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200203 tempest_black_regex: "\
204 (^neutron_tempest_plugin.scenario.test_port_forwardings.PortForwardingTestJSON.test_port_forwarding_to_2_servers)|\
205 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_multiple_ports_portrange_remote)"
206 branches:
207 - stable/rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200208 irrelevant-files: &openvswitch-scenario-irrelevant-files
209 - ^(test-|)requirements.txt$
210 - ^releasenotes/.*$
211 - ^doc/.*$
212 - ^setup.cfg$
213 - ^.*\.rst$
214 - ^neutron/locale/.*$
215 - ^neutron/tests/unit/.*$
216 - ^tools/.*$
217 - ^tox.ini$
218 - ^neutron/agent/windows/.*$
219 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
220 - ^neutron/plugins/ml2/drivers/macvtap/.*$
221 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200222
223- job:
224 name: neutron-tempest-plugin-scenario-openvswitch-rocky
225 parent: neutron-tempest-plugin-scenario-openvswitch
226 nodeset: openstack-single-node-xenial
227 description: |
228 This job run on py3 for other than stable/rocky gate
229 which is nothing but neutron-tempest-pluign master gate.
230 override-checkout: stable/rocky
231 required-projects: *required-projects-rocky
232 vars:
233 <<: *scenario_vars_rocky
234 devstack_localrc:
235 USE_PYTHON3: True
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000236 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200237 branches: ^(?!stable/rocky).*$
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200238 irrelevant-files: *openvswitch-scenario-irrelevant-files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200239
240- job:
241 name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid-rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200242 parent: neutron-tempest-plugin-scenario
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200243 nodeset: openstack-single-node-xenial
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200244 timeout: 10000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200245 description: |
246 This job run on py2 for stable/rocky gate.
247 override-checkout: stable/rocky
248 required-projects: *required-projects-rocky
249 vars: &openvswitch_vars_rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200250 devstack_services:
251 # Disable OVN services
252 br-ex-tcpdump: false
253 br-int-flows: false
254 ovn-controller: false
255 ovn-northd: false
256 ovs-vswitchd: false
257 ovsdb-server: false
258 q-ovn-metadata-agent: false
259 # Neutron services
260 q-agt: true
261 q-dhcp: true
262 q-l3: true
263 q-meta: true
264 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200265 network_api_extensions: *api_extensions
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200266 network_available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200267 devstack_localrc:
268 USE_PYTHON3: false
269 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200270 Q_AGENT: openvswitch
271 Q_ML2_TENANT_NETWORK_TYPE: vxlan
272 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200273 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Slawek Kaplonski32cb9c72021-11-15 12:51:11 +0100274 # NOTE(slaweq) some tests are not running fine with ubuntu minimal on
275 # Rocky
276 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
277 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000278 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski32cb9c72021-11-15 12:51:11 +0100279 ADVANCED_INSTANCE_USER: ubuntu
280 CUSTOMIZE_IMAGE: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200281 devstack_local_conf:
282 post-config:
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200283 $NEUTRON_CONF:
284 DEFAULT:
285 enable_dvr: false
286 l3_ha: true
287 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
288 # devstack-tempest job will be switched to use lib/neutron instead of
289 # lib/neutron-legacy
290 /$NEUTRON_CORE_PLUGIN_CONF:
291 agent:
292 tunnel_types: vxlan,gre
293 ovs:
294 tunnel_bridge: br-tun
295 bridge_mappings: public:br-ex
296 securitygroup:
297 firewall_driver: iptables_hybrid
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200298 $NEUTRON_L3_CONF:
299 DEFAULT:
300 # NOTE(slaweq): on Xenial keepalived don't knows this option yet
301 keepalived_use_no_track: False
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200302 test-config:
303 $TEMPEST_CONFIG:
304 network-feature-enabled:
305 available_features: "{{ network_available_features | join(',') }}"
306 neutron_plugin_options:
307 available_type_drivers: flat,vlan,local,vxlan
308 firewall_driver: iptables_hybrid
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200309 # TODO(bcafarel): remove trunks subport_connectivity test from blacklist
310 # when bug https://bugs.launchpad.net/neutron/+bug/1838760 will be fixed
311 # NOTE(bcafarel): other are newer tests, unstable on rocky branch
312 tempest_black_regex: "\
313 (^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_subport_connectivity)|\
314 (^neutron_tempest_plugin.scenario.test_port_forwardings.PortForwardingTestJSON.test_port_forwarding_to_2_servers)|\
315 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_multiple_ports_portrange_remote)"
316 branches:
317 - stable/rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200318 irrelevant-files: &iptables_hybrid_irrelevant_files
319 - ^(test-|)requirements.txt$
320 - ^releasenotes/.*$
321 - ^doc/.*$
322 - ^setup.cfg$
323 - ^.*\.rst$
324 - ^neutron/locale/.*$
325 - ^neutron/tests/unit/.*$
326 - ^tools/.*$
327 - ^tox.ini$
328 - ^neutron/agent/linux/openvswitch_firewall/.*$
329 - ^neutron/agent/windows/.*$
330 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
331 - ^neutron/plugins/ml2/drivers/macvtap/.*$
332 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200333
334- job:
335 name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid-rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200336 parent: neutron-tempest-plugin-scenario
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200337 nodeset: openstack-single-node-xenial
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200338 timeout: 10000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200339 description: |
340 This job run on py3 for other than stable/rocky gate
341 which is nothing but neutron-tempest-pluign master gate.
342 override-checkout: stable/rocky
343 required-projects: *required-projects-rocky
344 vars:
345 <<: *openvswitch_vars_rocky
346 devstack_localrc:
347 USE_PYTHON3: True
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000348 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200349 branches: ^(?!stable/rocky).*$
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200350 irrelevant-files: *iptables_hybrid_irrelevant_files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200351
352- job:
353 name: neutron-tempest-plugin-scenario-linuxbridge-rocky
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200354 parent: neutron-tempest-plugin-scenario
355 timeout: 10000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200356 description: |
357 This job run on py2 for stable/rocky gate.
358 nodeset: openstack-single-node-xenial
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200359 roles:
360 - zuul: openstack/neutron
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200361 override-checkout: stable/rocky
362 required-projects: *required-projects-rocky
363 vars: &linuxbridge_vars_rocky
364 branch_override: stable/rocky
365 network_api_extensions: *api_extensions
366 devstack_localrc:
367 USE_PYTHON3: false
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200368 Q_AGENT: linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200369 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
370 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Slawek Kaplonski32cb9c72021-11-15 12:51:11 +0100371 # NOTE(slaweq) some tests are not running fine with ubuntu minimal on
372 # Rocky
373 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
374 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000375 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski32cb9c72021-11-15 12:51:11 +0100376 ADVANCED_INSTANCE_USER: ubuntu
377 CUSTOMIZE_IMAGE: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200378 devstack_local_conf:
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200379 post-config:
380 $NEUTRON_CONF:
381 DEFAULT:
382 enable_dvr: false
383 AGENT:
384 debug_iptables_rules: true
385 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
386 # devstack-tempest job will be switched to use lib/neutron instead of
387 # lib/neutron-legacy
388 /$NEUTRON_CORE_PLUGIN_CONF:
389 ml2:
390 type_drivers: flat,vlan,local,vxlan
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200391 $NEUTRON_L3_CONF:
392 DEFAULT:
393 # NOTE(slaweq): on Xenial keepalived don't knows this option yet
394 keepalived_use_no_track: False
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200395 test-config:
396 # NOTE: ignores linux bridge's trunk delete on bound port test
397 # for rocky branch (as https://review.opendev.org/#/c/605589/
398 # fix will not apply for rocky branch)
399 $TEMPEST_CONFIG:
400 neutron_plugin_options:
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200401 available_type_drivers: flat,vlan,local,vxlan
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200402 q_agent: None
403 # NOTE(bcafarel): newer tests, unstable on rocky branch
404 tempest_black_regex: "\
405 (^neutron_tempest_plugin.scenario.test_port_forwardings.PortForwardingTestJSON.test_port_forwarding_to_2_servers)|\
406 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_multiple_ports_portrange_remote)"
407 branches:
408 - stable/rocky
409
410- job:
411 name: neutron-tempest-plugin-scenario-linuxbridge-rocky
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200412 parent: neutron-tempest-plugin-scenario
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200413 nodeset: openstack-single-node-xenial
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200414 timeout: 10000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200415 description: |
416 This job run on py3 for other than stable/rocky gate
417 which is nothing but neutron-tempest-pluign master gate.
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200418 roles:
419 - zuul: openstack/neutron
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200420 override-checkout: stable/rocky
421 required-projects: *required-projects-rocky
422 vars:
423 <<: *linuxbridge_vars_rocky
424 devstack_localrc:
425 USE_PYTHON3: True
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200426 Q_AGENT: linuxbridge
427 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
428 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000429 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200430 branches: ^(?!stable/rocky).*$
431
432- job:
433 name: neutron-tempest-plugin-dvr-multinode-scenario-rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200434 parent: tempest-multinode-full
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200435 description: |
436 This job run on py2 for stable/rocky gate.
437 nodeset: openstack-two-node-xenial
438 override-checkout: stable/rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200439 roles:
440 - zuul: openstack/devstack
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200441 required-projects: *required-projects-rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200442 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
443 voting: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200444 vars: &multinode_scenario_vars_rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200445 tempest_concurrency: 4
446 tox_envlist: all
447 tempest_test_regex: ^neutron_tempest_plugin\.scenario
448 # NOTE(slaweq): in case of some tests, which requires advanced image,
449 # default test timeout set to 1200 seconds may be not enough if job is
450 # run on slow node
451 tempest_test_timeout: 2400
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200452 network_api_extensions_common: *api_extensions
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200453 network_api_extensions_dvr:
454 - dvr
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200455 devstack_localrc:
456 USE_PYTHON3: false
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200457 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
458 PHYSICAL_NETWORK: default
459 CIRROS_VERSION: 0.5.1
460 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
461 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +0200462 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200463 ADVANCED_INSTANCE_USER: ubuntu
464 BUILD_TIMEOUT: 784
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200465 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200466 devstack_plugins:
467 neutron: https://opendev.org/openstack/neutron.git
468 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
469 tempest_plugins:
470 - neutron-tempest-plugin
471 devstack_services:
472 tls-proxy: false
473 tempest: true
474 neutron-dns: true
475 neutron-qos: true
476 neutron-segments: true
477 neutron-trunk: true
478 neutron-log: true
479 neutron-port-forwarding: true
480 # Cinder services
481 c-api: false
482 c-bak: false
483 c-sch: false
484 c-vol: false
485 cinder: false
486 # We don't need Swift to be run in the Neutron jobs
487 s-account: false
488 s-container: false
489 s-object: false
490 s-proxy: false
491 devstack_local_conf:
492 post-config:
493 $NEUTRON_CONF:
494 quotas:
495 quota_router: 100
496 quota_floatingip: 500
497 quota_security_group: 100
498 quota_security_group_rule: 1000
499 DEFAULT:
500 router_distributed: True
501 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
502 # devstack-tempest job will be switched to use lib/neutron instead of
503 # lib/neutron-legacy
504 "/$NEUTRON_CORE_PLUGIN_CONF":
505 ml2:
506 type_drivers: flat,geneve,vlan,gre,local,vxlan
507 mechanism_drivers: openvswitch,l2population
508 ml2_type_vlan:
509 network_vlan_ranges: foo:1:10
510 ml2_type_vxlan:
511 vni_ranges: 1:2000
512 ml2_type_gre:
513 tunnel_id_ranges: 1:1000
514 agent:
515 enable_distributed_routing: True
516 l2_population: True
517 tunnel_types: vxlan,gre
518 ovs:
519 tunnel_bridge: br-tun
520 bridge_mappings: public:br-ex
521 $NEUTRON_L3_CONF:
522 DEFAULT:
523 agent_mode: dvr_snat
524 agent:
525 availability_zone: nova
526 $NEUTRON_DHCP_CONF:
527 agent:
528 availability_zone: nova
529 "/etc/neutron/api-paste.ini":
530 "composite:neutronapi_v2_0":
531 use: "call:neutron.auth:pipeline_factory"
532 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
533 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
534 test-config:
535 $TEMPEST_CONFIG:
536 network-feature-enabled:
537 available_features: *available_features
538 neutron_plugin_options:
539 provider_vlans: foo,
540 agent_availability_zone: nova
541 image_is_advanced: true
542 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
543 l3_agent_mode: dvr_snat
544 firewall_driver: openvswitch
545 branch_override: stable/rocky
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200546 # NOTE(bcafarel): newer tests, unstable on rocky branch
547 tempest_black_regex: "\
548 (^neutron_tempest_plugin.scenario.test_port_forwardings.PortForwardingTestJSON.test_port_forwarding_to_2_servers)|\
549 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_multiple_ports_portrange_remote)"
550 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
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200637 branches:
638 - stable/rocky
639
640- job:
641 name: neutron-tempest-plugin-designate-scenario-rocky
642 parent: neutron-tempest-plugin-designate-scenario
643 nodeset: openstack-single-node-xenial
644 description: |
645 This job run on py3 for other than stable/rocky gate
646 which is nothing but neutron-tempest-plugin master gate.
647 override-checkout: stable/rocky
648 required-projects: *required-projects-rocky
649 vars:
650 <<: *designate_scenario_vars_rocky
651 devstack_localrc:
652 USE_PYTHON3: True
653 branches: ^(?!stable/rocky).*$