blob: c6bbca8f4306779de1493112e824dec0f29594c7 [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
Slawek Kaplonski8988a012022-04-07 10:50:44 +02004 parent: neutron-tempest-plugin-base
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02005 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
yatinkarelb8e69d32022-09-13 17:48:00 +053029 tempest_concurrency: 4
Slawek Kaplonski8988a012022-04-07 10:50:44 +020030 tempest_test_regex: ^neutron_tempest_plugin\.api
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020031 # TODO(slaweq): find a way to put this list of extensions in
32 # neutron repository and keep it different per branch,
33 # then it could be removed from here
34 network_api_extensions_common: &api_extensions
35 - address-scope
36 - agent
37 - allowed-address-pairs
38 - auto-allocated-topology
39 - availability_zone
40 - binding
41 - default-subnetpools
42 - dhcp_agent_scheduler
43 - dns-domain-ports
44 - dns-integration
45 - empty-string-filtering
46 - expose-port-forwarding-in-fip
47 - ext-gw-mode
48 - external-net
49 - extra_dhcp_opt
50 - extraroute
51 - fip-port-details
52 - flavors
53 - floating-ip-port-forwarding
54 - ip-substring-filtering
55 - l3-flavors
56 - l3-ha
57 - l3_agent_scheduler
58 - logging
59 - metering
60 - multi-provider
61 - net-mtu
62 - net-mtu-writable
63 - network-ip-availability
64 - network_availability_zone
65 - pagination
66 - port-mac-address-regenerate
67 - port-security
68 - port-security-groups-filtering
69 - project-id
70 - provider
71 - qos
72 - qos-fip
73 - quotas
74 - quota_details
75 - rbac-policies
76 - router
77 - router_availability_zone
78 - security-group
79 - segment
80 - service-type
81 - sorting
82 - standard-attr-description
83 - standard-attr-revisions
84 - standard-attr-segment
85 - standard-attr-timestamp
86 - standard-attr-tag
87 - subnet_allocation
Slawek Kaplonskia5cdede2021-06-23 09:37:04 +020088 - subnet-service-types
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020089 - trunk
90 - trunk-details
91 network_api_extensions_tempest:
92 - dvr
93 devstack_localrc:
Slawek Kaplonskide203632020-11-05 14:34:10 +010094 NEUTRON_DEPLOY_MOD_WSGI: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020095 USE_PYTHON3: false
96 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
97 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +010098 Q_AGENT: openvswitch
99 Q_ML2_TENANT_NETWORK_TYPE: vxlan
100 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
101 ML2_L3_PLUGIN: router
102 devstack_local_conf:
103 post-config:
104 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
105 # devstack-tempest job will be switched to use lib/neutron instead of
106 # lib/neutron-legacy
107 /$NEUTRON_CORE_PLUGIN_CONF:
108 AGENT:
109 tunnel_types: gre,vxlan
110 ml2:
111 type_drivers: flat,geneve,vlan,gre,local,vxlan
112 test-config:
113 $TEMPEST_CONFIG:
114 neutron_plugin_options:
115 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200116 # NOTE(gmann): This job run on py2 for stable/rocky gate.
117 branches:
118 - stable/rocky
119
120- job:
121 name: neutron-tempest-plugin-api-rocky
122 nodeset: openstack-single-node-xenial
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200123 parent: neutron-tempest-plugin-base
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200124 description: |
125 This job run on py3 for other than stable/rocky gate
126 which is nothing but neutron-tempest-pluign master gate.
127 override-checkout: stable/rocky
128 required-projects: *required-projects-rocky
129 vars:
130 <<: *api_vars_rocky
131 devstack_localrc:
132 USE_PYTHON3: True
133 branches: ^(?!stable/rocky).*$
134
135- job:
136 name: neutron-tempest-plugin-scenario-openvswitch-rocky
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200137 parent: neutron-tempest-plugin-base
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200138 description: |
139 This job run on py2 for stable/rocky gate.
140 nodeset: openstack-single-node-xenial
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200141 timeout: 10000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200142 override-checkout: stable/rocky
143 required-projects: *required-projects-rocky
144 vars: &scenario_vars_rocky
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200145 tempest_test_regex: "\
146 (^neutron_tempest_plugin.scenario)|\
147 (^tempest.api.compute.servers.test_attach_interfaces)|\
148 (^tempest.api.compute.servers.test_multiple_create)"
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200149 devstack_services:
150 # Disable OVN services
151 br-ex-tcpdump: false
152 br-int-flows: false
153 ovn-controller: false
154 ovn-northd: false
155 ovs-vswitchd: false
156 ovsdb-server: false
157 q-ovn-metadata-agent: false
158 # Neutron services
159 q-agt: true
160 q-dhcp: true
161 q-l3: true
162 q-meta: true
163 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200164 network_api_extensions: *api_extensions
elajkat8bbd7432020-11-04 16:41:34 +0100165 network_available_features: &available_features
166 -
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200167 devstack_localrc:
168 USE_PYTHON3: false
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200169 Q_AGENT: openvswitch
170 Q_ML2_TENANT_NETWORK_TYPE: vxlan
171 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200172 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
173 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Slawek Kaplonski32cb9c72021-11-15 12:51:11 +0100174 # NOTE(slaweq) some tests are not running fine with ubuntu minimal on
175 # Rocky
176 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
177 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000178 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski32cb9c72021-11-15 12:51:11 +0100179 ADVANCED_INSTANCE_USER: ubuntu
180 CUSTOMIZE_IMAGE: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200181 devstack_local_conf:
182 post-config:
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200183 $NEUTRON_CONF:
184 DEFAULT:
185 enable_dvr: false
186 l3_ha: true
187 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
188 # devstack-tempest job will be switched to use lib/neutron instead of
189 # lib/neutron-legacy
190 /$NEUTRON_CORE_PLUGIN_CONF:
191 agent:
192 tunnel_types: vxlan,gre
193 ovs:
194 tunnel_bridge: br-tun
195 bridge_mappings: public:br-ex
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200196 $NEUTRON_L3_CONF:
197 DEFAULT:
198 # NOTE(slaweq): on Xenial keepalived don't knows this option yet
199 keepalived_use_no_track: False
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200200 test-config:
201 $TEMPEST_CONFIG:
202 network-feature-enabled:
203 available_features: "{{ network_available_features | join(',') }}"
204 neutron_plugin_options:
205 available_type_drivers: flat,vlan,local,vxlan
206 firewall_driver: openvswitch
Bernard Cafarelli800e9d42021-11-24 14:17:42 +0100207 # NOTE(bcafarel): filtering out unstable tests or tests with known
208 # issues in the used pinned version for this EM branch
209 tempest_black_regex: &rocky_tempest_exclude "\
210 (^neutron_tempest_plugin.scenario.admin.test_floatingip.FloatingIpTestCasesAdmin.test_two_vms_fips)|\
211 (^neutron_tempest_plugin.scenario.test_floatingip.FloatingIPQosTest.test_qos)|\
212 (^neutron_tempest_plugin.scenario.test_internal_dns.InternalDNSTest.test_dns_domain_and_name)|\
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200213 (^neutron_tempest_plugin.scenario.test_port_forwardings.PortForwardingTestJSON.test_port_forwarding_to_2_servers)|\
Bernard Cafarelli800e9d42021-11-24 14:17:42 +0100214 (^neutron_tempest_plugin.scenario.test_ports.PortsTest.test_previously_used_port)|\
215 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_ip_prefix)|\
216 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_multiple_ports_portrange_remote)|\
217 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_multiple_ports_secgroup_inheritance)|\
218 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_remote_group)|\
219 (^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_subport_connectivity)|\
220 (^tempest.api.compute.servers.test_attach_interfaces.AttachInterfacesTestJSON.test_reassign_port_between_servers)|\
221 (^tempest.api.compute.servers.test_attach_interfaces.AttachInterfacesUnderV243Test.test_add_remove_fixed_ip)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200222 branches:
223 - stable/rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200224 irrelevant-files: &openvswitch-scenario-irrelevant-files
225 - ^(test-|)requirements.txt$
226 - ^releasenotes/.*$
227 - ^doc/.*$
228 - ^setup.cfg$
229 - ^.*\.rst$
230 - ^neutron/locale/.*$
231 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530232 - ^neutron/tests/fullstack/.*
233 - ^neutron/tests/functional/.*
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200234 - ^tools/.*$
235 - ^tox.ini$
236 - ^neutron/agent/windows/.*$
237 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
238 - ^neutron/plugins/ml2/drivers/macvtap/.*$
239 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200240
241- job:
242 name: neutron-tempest-plugin-scenario-openvswitch-rocky
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200243 parent: neutron-tempest-plugin-openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200244 nodeset: openstack-single-node-xenial
245 description: |
246 This job run on py3 for other than stable/rocky gate
247 which is nothing but neutron-tempest-pluign master gate.
248 override-checkout: stable/rocky
249 required-projects: *required-projects-rocky
250 vars:
251 <<: *scenario_vars_rocky
252 devstack_localrc:
253 USE_PYTHON3: True
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000254 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200255 branches: ^(?!stable/rocky).*$
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200256 irrelevant-files: *openvswitch-scenario-irrelevant-files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200257
258- job:
259 name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid-rocky
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200260 parent: neutron-tempest-plugin-base
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200261 nodeset: openstack-single-node-xenial
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200262 timeout: 10000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200263 description: |
264 This job run on py2 for stable/rocky gate.
265 override-checkout: stable/rocky
266 required-projects: *required-projects-rocky
267 vars: &openvswitch_vars_rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200268 devstack_services:
269 # Disable OVN services
270 br-ex-tcpdump: false
271 br-int-flows: false
272 ovn-controller: false
273 ovn-northd: false
274 ovs-vswitchd: false
275 ovsdb-server: false
276 q-ovn-metadata-agent: false
277 # Neutron services
278 q-agt: true
279 q-dhcp: true
280 q-l3: true
281 q-meta: true
282 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200283 network_api_extensions: *api_extensions
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200284 network_available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200285 devstack_localrc:
286 USE_PYTHON3: false
287 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200288 Q_AGENT: openvswitch
289 Q_ML2_TENANT_NETWORK_TYPE: vxlan
290 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200291 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Slawek Kaplonski32cb9c72021-11-15 12:51:11 +0100292 # NOTE(slaweq) some tests are not running fine with ubuntu minimal on
293 # Rocky
294 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
295 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000296 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski32cb9c72021-11-15 12:51:11 +0100297 ADVANCED_INSTANCE_USER: ubuntu
298 CUSTOMIZE_IMAGE: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200299 devstack_local_conf:
300 post-config:
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200301 $NEUTRON_CONF:
302 DEFAULT:
303 enable_dvr: false
304 l3_ha: true
305 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
306 # devstack-tempest job will be switched to use lib/neutron instead of
307 # lib/neutron-legacy
308 /$NEUTRON_CORE_PLUGIN_CONF:
309 agent:
310 tunnel_types: vxlan,gre
311 ovs:
312 tunnel_bridge: br-tun
313 bridge_mappings: public:br-ex
314 securitygroup:
315 firewall_driver: iptables_hybrid
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200316 $NEUTRON_L3_CONF:
317 DEFAULT:
318 # NOTE(slaweq): on Xenial keepalived don't knows this option yet
319 keepalived_use_no_track: False
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200320 test-config:
321 $TEMPEST_CONFIG:
322 network-feature-enabled:
323 available_features: "{{ network_available_features | join(',') }}"
324 neutron_plugin_options:
325 available_type_drivers: flat,vlan,local,vxlan
326 firewall_driver: iptables_hybrid
Bernard Cafarelli800e9d42021-11-24 14:17:42 +0100327 tempest_black_regex: *rocky_tempest_exclude
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200328 branches:
329 - stable/rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200330 irrelevant-files: &iptables_hybrid_irrelevant_files
331 - ^(test-|)requirements.txt$
332 - ^releasenotes/.*$
333 - ^doc/.*$
334 - ^setup.cfg$
335 - ^.*\.rst$
336 - ^neutron/locale/.*$
337 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530338 - ^neutron/tests/fullstack/.*
339 - ^neutron/tests/functional/.*
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200340 - ^tools/.*$
341 - ^tox.ini$
342 - ^neutron/agent/linux/openvswitch_firewall/.*$
343 - ^neutron/agent/windows/.*$
344 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
345 - ^neutron/plugins/ml2/drivers/macvtap/.*$
346 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200347
348- job:
349 name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid-rocky
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200350 parent: neutron-tempest-plugin-base
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200351 nodeset: openstack-single-node-xenial
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200352 timeout: 10000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200353 description: |
354 This job run on py3 for other than stable/rocky gate
355 which is nothing but neutron-tempest-pluign master gate.
356 override-checkout: stable/rocky
357 required-projects: *required-projects-rocky
358 vars:
359 <<: *openvswitch_vars_rocky
360 devstack_localrc:
361 USE_PYTHON3: True
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000362 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200363 branches: ^(?!stable/rocky).*$
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200364 irrelevant-files: *iptables_hybrid_irrelevant_files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200365
366- job:
367 name: neutron-tempest-plugin-scenario-linuxbridge-rocky
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200368 parent: neutron-tempest-plugin-base
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200369 timeout: 10000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200370 description: |
371 This job run on py2 for stable/rocky gate.
372 nodeset: openstack-single-node-xenial
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200373 roles:
374 - zuul: openstack/neutron
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200375 override-checkout: stable/rocky
376 required-projects: *required-projects-rocky
377 vars: &linuxbridge_vars_rocky
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200378 tempest_test_regex: "\
379 (^neutron_tempest_plugin.scenario)|\
380 (^tempest.api.compute.servers.test_attach_interfaces)|\
381 (^tempest.api.compute.servers.test_multiple_create)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200382 network_api_extensions: *api_extensions
383 devstack_localrc:
384 USE_PYTHON3: false
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200385 Q_AGENT: linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200386 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
387 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Slawek Kaplonski32cb9c72021-11-15 12:51:11 +0100388 # NOTE(slaweq) some tests are not running fine with ubuntu minimal on
389 # Rocky
390 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
391 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000392 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski32cb9c72021-11-15 12:51:11 +0100393 ADVANCED_INSTANCE_USER: ubuntu
394 CUSTOMIZE_IMAGE: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200395 devstack_local_conf:
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200396 post-config:
397 $NEUTRON_CONF:
398 DEFAULT:
399 enable_dvr: false
400 AGENT:
401 debug_iptables_rules: true
402 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
403 # devstack-tempest job will be switched to use lib/neutron instead of
404 # lib/neutron-legacy
405 /$NEUTRON_CORE_PLUGIN_CONF:
406 ml2:
407 type_drivers: flat,vlan,local,vxlan
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200408 $NEUTRON_L3_CONF:
409 DEFAULT:
410 # NOTE(slaweq): on Xenial keepalived don't knows this option yet
411 keepalived_use_no_track: False
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200412 test-config:
413 # NOTE: ignores linux bridge's trunk delete on bound port test
414 # for rocky branch (as https://review.opendev.org/#/c/605589/
415 # fix will not apply for rocky branch)
416 $TEMPEST_CONFIG:
417 neutron_plugin_options:
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200418 available_type_drivers: flat,vlan,local,vxlan
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200419 q_agent: None
Bernard Cafarelli800e9d42021-11-24 14:17:42 +0100420 tempest_black_regex: *rocky_tempest_exclude
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200421 branches:
422 - stable/rocky
423
424- job:
425 name: neutron-tempest-plugin-scenario-linuxbridge-rocky
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200426 parent: neutron-tempest-plugin-base
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200427 nodeset: openstack-single-node-xenial
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200428 timeout: 10000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200429 description: |
430 This job run on py3 for other than stable/rocky gate
431 which is nothing but neutron-tempest-pluign master gate.
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200432 roles:
433 - zuul: openstack/neutron
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200434 override-checkout: stable/rocky
435 required-projects: *required-projects-rocky
436 vars:
437 <<: *linuxbridge_vars_rocky
438 devstack_localrc:
439 USE_PYTHON3: True
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200440 Q_AGENT: linuxbridge
441 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
442 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000443 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200444 branches: ^(?!stable/rocky).*$
445
446- job:
447 name: neutron-tempest-plugin-dvr-multinode-scenario-rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200448 parent: tempest-multinode-full
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200449 description: |
450 This job run on py2 for stable/rocky gate.
451 nodeset: openstack-two-node-xenial
452 override-checkout: stable/rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200453 roles:
454 - zuul: openstack/devstack
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200455 required-projects: *required-projects-rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200456 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
457 voting: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200458 vars: &multinode_scenario_vars_rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200459 tempest_concurrency: 4
460 tox_envlist: all
461 tempest_test_regex: ^neutron_tempest_plugin\.scenario
462 # NOTE(slaweq): in case of some tests, which requires advanced image,
463 # default test timeout set to 1200 seconds may be not enough if job is
464 # run on slow node
465 tempest_test_timeout: 2400
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200466 network_api_extensions_common: *api_extensions
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200467 network_api_extensions_dvr:
468 - dvr
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200469 devstack_localrc:
470 USE_PYTHON3: false
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200471 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
472 PHYSICAL_NETWORK: default
473 CIRROS_VERSION: 0.5.1
yatinkarel165e4092021-12-08 19:19:34 +0530474 DEFAULT_IMAGE_NAME: cirros-0.5.1-x86_64-uec
475 DEFAULT_IMAGE_FILE_NAME: cirros-0.5.1-x86_64-uec.tar.gz
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200476 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
477 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +0200478 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200479 ADVANCED_INSTANCE_USER: ubuntu
480 BUILD_TIMEOUT: 784
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200481 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200482 devstack_plugins:
483 neutron: https://opendev.org/openstack/neutron.git
484 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
485 tempest_plugins:
486 - neutron-tempest-plugin
487 devstack_services:
488 tls-proxy: false
489 tempest: true
490 neutron-dns: true
491 neutron-qos: true
492 neutron-segments: true
493 neutron-trunk: true
494 neutron-log: true
495 neutron-port-forwarding: true
496 # Cinder services
497 c-api: false
498 c-bak: false
499 c-sch: false
500 c-vol: false
501 cinder: false
502 # We don't need Swift to be run in the Neutron jobs
503 s-account: false
504 s-container: false
505 s-object: false
506 s-proxy: false
507 devstack_local_conf:
508 post-config:
509 $NEUTRON_CONF:
510 quotas:
511 quota_router: 100
512 quota_floatingip: 500
513 quota_security_group: 100
514 quota_security_group_rule: 1000
515 DEFAULT:
516 router_distributed: True
517 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
518 # devstack-tempest job will be switched to use lib/neutron instead of
519 # lib/neutron-legacy
520 "/$NEUTRON_CORE_PLUGIN_CONF":
521 ml2:
522 type_drivers: flat,geneve,vlan,gre,local,vxlan
523 mechanism_drivers: openvswitch,l2population
524 ml2_type_vlan:
525 network_vlan_ranges: foo:1:10
526 ml2_type_vxlan:
527 vni_ranges: 1:2000
528 ml2_type_gre:
529 tunnel_id_ranges: 1:1000
530 agent:
531 enable_distributed_routing: True
532 l2_population: True
533 tunnel_types: vxlan,gre
534 ovs:
535 tunnel_bridge: br-tun
536 bridge_mappings: public:br-ex
537 $NEUTRON_L3_CONF:
538 DEFAULT:
539 agent_mode: dvr_snat
540 agent:
541 availability_zone: nova
542 $NEUTRON_DHCP_CONF:
543 agent:
544 availability_zone: nova
545 "/etc/neutron/api-paste.ini":
546 "composite:neutronapi_v2_0":
547 use: "call:neutron.auth:pipeline_factory"
548 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
549 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
550 test-config:
551 $TEMPEST_CONFIG:
552 network-feature-enabled:
553 available_features: *available_features
554 neutron_plugin_options:
555 provider_vlans: foo,
556 agent_availability_zone: nova
557 image_is_advanced: true
558 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
559 l3_agent_mode: dvr_snat
560 firewall_driver: openvswitch
Bernard Cafarelli800e9d42021-11-24 14:17:42 +0100561 tempest_black_regex: *rocky_tempest_exclude
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200562 branches:
563 - stable/rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200564 group-vars: &multinode_scenario_group_vars_rocky
565 subnode:
566 devstack_services:
567 tls-proxy: false
568 q-agt: true
569 q-l3: true
570 q-meta: true
571 neutron-qos: true
572 neutron-trunk: true
573 neutron-log: true
574 neutron-port-forwarding: true
575 # Cinder services
576 c-bak: false
577 c-vol: false
578 # We don't need Swift to be run in the Neutron jobs
579 s-account: false
580 s-container: false
581 s-object: false
582 s-proxy: false
583 devstack_localrc:
584 USE_PYTHON3: true
585 devstack_local_conf:
586 post-config:
587 $NEUTRON_CONF:
588 DEFAULT:
589 router_distributed: True
590 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
591 # devstack-tempest job will be switched to use lib/neutron instead of
592 # lib/neutron-legacy
593 "/$NEUTRON_CORE_PLUGIN_CONF":
594 agent:
595 enable_distributed_routing: True
596 l2_population: True
597 tunnel_types: vxlan,gre
598 ovs:
599 tunnel_bridge: br-tun
600 bridge_mappings: public:br-ex
601 $NEUTRON_L3_CONF:
602 DEFAULT:
603 agent_mode: dvr_snat
604 agent:
605 availability_zone: nova
606 irrelevant-files: *openvswitch-scenario-irrelevant-files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200607
608- job:
609 name: neutron-tempest-plugin-dvr-multinode-scenario-rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200610 parent: tempest-multinode-full
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200611 nodeset: openstack-two-node-xenial
612 description: |
613 This job run on py3 for other than stable/rocky gate
614 which is nothing but neutron-tempest-pluign master gate.
615 override-checkout: stable/rocky
616 vars:
617 <<: *multinode_scenario_vars_rocky
618 devstack_localrc:
619 USE_PYTHON3: True
620 required-projects: *required-projects-rocky
621 group-vars:
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200622 <<: *multinode_scenario_group_vars_rocky
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200623 subnode:
624 devstack_localrc:
625 USE_PYTHON3: True
626 branches: ^(?!stable/rocky).*$
627
628- job:
629 name: neutron-tempest-plugin-designate-scenario-rocky
630 parent: neutron-tempest-plugin-designate-scenario
631 description: |
632 This job run on py2 for stable/rocky gate.
633 nodeset: openstack-single-node-xenial
634 override-checkout: stable/rocky
635 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200636 - openstack/neutron
637 - name: openstack/neutron-tempest-plugin
638 override-checkout: 0.9.0
639 - name: openstack/designate-tempest-plugin
640 override-checkout: 0.7.0
641 - openstack/tempest
642 vars: &designate_scenario_vars_rocky
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200643 network_api_extensions_common: *api_extensions
644 devstack_localrc:
645 USE_PYTHON3: false
646 TEMPEST_PLUGINS: '"/opt/stack/designate-tempest-plugin /opt/stack/neutron-tempest-plugin"'
Rodolfo Alonso Hernandezfeb7f942021-09-01 17:27:25 +0000647 ADVANCED_INSTANCE_TYPE: ds512M
Bernard Cafarelli800e9d42021-11-24 14:17:42 +0100648 # NOTE(bcafarel): filtering out unstable tests or tests with known
649 # issues in the used pinned version for this EM branch
650 tempest_black_regex: "(^neutron_tempest_plugin.scenario.test_dns_integration.DNSIntegrationAdminTests.test_port_on_special_network)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200651 branches:
652 - stable/rocky
653
654- job:
655 name: neutron-tempest-plugin-designate-scenario-rocky
656 parent: neutron-tempest-plugin-designate-scenario
657 nodeset: openstack-single-node-xenial
658 description: |
659 This job run on py3 for other than stable/rocky gate
660 which is nothing but neutron-tempest-plugin master gate.
661 override-checkout: stable/rocky
662 required-projects: *required-projects-rocky
663 vars:
664 <<: *designate_scenario_vars_rocky
665 devstack_localrc:
666 USE_PYTHON3: True
667 branches: ^(?!stable/rocky).*$