blob: 62e57bfc611f1d2e71b7431b01cf26bdfc496da1 [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
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020029 branch_override: stable/rocky
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 branch_override: stable/rocky
165 network_api_extensions: *api_extensions
elajkat8bbd7432020-11-04 16:41:34 +0100166 network_available_features: &available_features
167 -
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200168 devstack_localrc:
169 USE_PYTHON3: false
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200170 Q_AGENT: openvswitch
171 Q_ML2_TENANT_NETWORK_TYPE: vxlan
172 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200173 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
174 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Slawek Kaplonski32cb9c72021-11-15 12:51:11 +0100175 # NOTE(slaweq) some tests are not running fine with ubuntu minimal on
176 # Rocky
177 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
178 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000179 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski32cb9c72021-11-15 12:51:11 +0100180 ADVANCED_INSTANCE_USER: ubuntu
181 CUSTOMIZE_IMAGE: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200182 devstack_local_conf:
183 post-config:
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200184 $NEUTRON_CONF:
185 DEFAULT:
186 enable_dvr: false
187 l3_ha: true
188 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
189 # devstack-tempest job will be switched to use lib/neutron instead of
190 # lib/neutron-legacy
191 /$NEUTRON_CORE_PLUGIN_CONF:
192 agent:
193 tunnel_types: vxlan,gre
194 ovs:
195 tunnel_bridge: br-tun
196 bridge_mappings: public:br-ex
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200197 $NEUTRON_L3_CONF:
198 DEFAULT:
199 # NOTE(slaweq): on Xenial keepalived don't knows this option yet
200 keepalived_use_no_track: False
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200201 test-config:
202 $TEMPEST_CONFIG:
203 network-feature-enabled:
204 available_features: "{{ network_available_features | join(',') }}"
205 neutron_plugin_options:
206 available_type_drivers: flat,vlan,local,vxlan
207 firewall_driver: openvswitch
Bernard Cafarelli800e9d42021-11-24 14:17:42 +0100208 # NOTE(bcafarel): filtering out unstable tests or tests with known
209 # issues in the used pinned version for this EM branch
210 tempest_black_regex: &rocky_tempest_exclude "\
211 (^neutron_tempest_plugin.scenario.admin.test_floatingip.FloatingIpTestCasesAdmin.test_two_vms_fips)|\
212 (^neutron_tempest_plugin.scenario.test_floatingip.FloatingIPQosTest.test_qos)|\
213 (^neutron_tempest_plugin.scenario.test_internal_dns.InternalDNSTest.test_dns_domain_and_name)|\
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200214 (^neutron_tempest_plugin.scenario.test_port_forwardings.PortForwardingTestJSON.test_port_forwarding_to_2_servers)|\
Bernard Cafarelli800e9d42021-11-24 14:17:42 +0100215 (^neutron_tempest_plugin.scenario.test_ports.PortsTest.test_previously_used_port)|\
216 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_ip_prefix)|\
217 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_multiple_ports_portrange_remote)|\
218 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_multiple_ports_secgroup_inheritance)|\
219 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_remote_group)|\
220 (^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_subport_connectivity)|\
221 (^tempest.api.compute.servers.test_attach_interfaces.AttachInterfacesTestJSON.test_reassign_port_between_servers)|\
222 (^tempest.api.compute.servers.test_attach_interfaces.AttachInterfacesUnderV243Test.test_add_remove_fixed_ip)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200223 branches:
224 - stable/rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200225 irrelevant-files: &openvswitch-scenario-irrelevant-files
226 - ^(test-|)requirements.txt$
227 - ^releasenotes/.*$
228 - ^doc/.*$
229 - ^setup.cfg$
230 - ^.*\.rst$
231 - ^neutron/locale/.*$
232 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530233 - ^neutron/tests/fullstack/.*
234 - ^neutron/tests/functional/.*
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200235 - ^tools/.*$
236 - ^tox.ini$
237 - ^neutron/agent/windows/.*$
238 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
239 - ^neutron/plugins/ml2/drivers/macvtap/.*$
240 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200241
242- job:
243 name: neutron-tempest-plugin-scenario-openvswitch-rocky
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200244 parent: neutron-tempest-plugin-openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200245 nodeset: openstack-single-node-xenial
246 description: |
247 This job run on py3 for other than stable/rocky gate
248 which is nothing but neutron-tempest-pluign master gate.
249 override-checkout: stable/rocky
250 required-projects: *required-projects-rocky
251 vars:
252 <<: *scenario_vars_rocky
253 devstack_localrc:
254 USE_PYTHON3: True
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000255 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200256 branches: ^(?!stable/rocky).*$
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200257 irrelevant-files: *openvswitch-scenario-irrelevant-files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200258
259- job:
260 name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid-rocky
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200261 parent: neutron-tempest-plugin-base
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200262 nodeset: openstack-single-node-xenial
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200263 timeout: 10000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200264 description: |
265 This job run on py2 for stable/rocky gate.
266 override-checkout: stable/rocky
267 required-projects: *required-projects-rocky
268 vars: &openvswitch_vars_rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200269 devstack_services:
270 # Disable OVN services
271 br-ex-tcpdump: false
272 br-int-flows: false
273 ovn-controller: false
274 ovn-northd: false
275 ovs-vswitchd: false
276 ovsdb-server: false
277 q-ovn-metadata-agent: false
278 # Neutron services
279 q-agt: true
280 q-dhcp: true
281 q-l3: true
282 q-meta: true
283 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200284 network_api_extensions: *api_extensions
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200285 network_available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200286 devstack_localrc:
287 USE_PYTHON3: false
288 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200289 Q_AGENT: openvswitch
290 Q_ML2_TENANT_NETWORK_TYPE: vxlan
291 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200292 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Slawek Kaplonski32cb9c72021-11-15 12:51:11 +0100293 # NOTE(slaweq) some tests are not running fine with ubuntu minimal on
294 # Rocky
295 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
296 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000297 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski32cb9c72021-11-15 12:51:11 +0100298 ADVANCED_INSTANCE_USER: ubuntu
299 CUSTOMIZE_IMAGE: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200300 devstack_local_conf:
301 post-config:
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200302 $NEUTRON_CONF:
303 DEFAULT:
304 enable_dvr: false
305 l3_ha: true
306 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
307 # devstack-tempest job will be switched to use lib/neutron instead of
308 # lib/neutron-legacy
309 /$NEUTRON_CORE_PLUGIN_CONF:
310 agent:
311 tunnel_types: vxlan,gre
312 ovs:
313 tunnel_bridge: br-tun
314 bridge_mappings: public:br-ex
315 securitygroup:
316 firewall_driver: iptables_hybrid
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200317 $NEUTRON_L3_CONF:
318 DEFAULT:
319 # NOTE(slaweq): on Xenial keepalived don't knows this option yet
320 keepalived_use_no_track: False
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200321 test-config:
322 $TEMPEST_CONFIG:
323 network-feature-enabled:
324 available_features: "{{ network_available_features | join(',') }}"
325 neutron_plugin_options:
326 available_type_drivers: flat,vlan,local,vxlan
327 firewall_driver: iptables_hybrid
Bernard Cafarelli800e9d42021-11-24 14:17:42 +0100328 tempest_black_regex: *rocky_tempest_exclude
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200329 branches:
330 - stable/rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200331 irrelevant-files: &iptables_hybrid_irrelevant_files
332 - ^(test-|)requirements.txt$
333 - ^releasenotes/.*$
334 - ^doc/.*$
335 - ^setup.cfg$
336 - ^.*\.rst$
337 - ^neutron/locale/.*$
338 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530339 - ^neutron/tests/fullstack/.*
340 - ^neutron/tests/functional/.*
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200341 - ^tools/.*$
342 - ^tox.ini$
343 - ^neutron/agent/linux/openvswitch_firewall/.*$
344 - ^neutron/agent/windows/.*$
345 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
346 - ^neutron/plugins/ml2/drivers/macvtap/.*$
347 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200348
349- job:
350 name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid-rocky
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200351 parent: neutron-tempest-plugin-base
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200352 nodeset: openstack-single-node-xenial
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200353 timeout: 10000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200354 description: |
355 This job run on py3 for other than stable/rocky gate
356 which is nothing but neutron-tempest-pluign master gate.
357 override-checkout: stable/rocky
358 required-projects: *required-projects-rocky
359 vars:
360 <<: *openvswitch_vars_rocky
361 devstack_localrc:
362 USE_PYTHON3: True
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000363 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200364 branches: ^(?!stable/rocky).*$
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200365 irrelevant-files: *iptables_hybrid_irrelevant_files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200366
367- job:
368 name: neutron-tempest-plugin-scenario-linuxbridge-rocky
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200369 parent: neutron-tempest-plugin-base
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200370 timeout: 10000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200371 description: |
372 This job run on py2 for stable/rocky gate.
373 nodeset: openstack-single-node-xenial
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200374 roles:
375 - zuul: openstack/neutron
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200376 override-checkout: stable/rocky
377 required-projects: *required-projects-rocky
378 vars: &linuxbridge_vars_rocky
379 branch_override: stable/rocky
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200380 tempest_test_regex: "\
381 (^neutron_tempest_plugin.scenario)|\
382 (^tempest.api.compute.servers.test_attach_interfaces)|\
383 (^tempest.api.compute.servers.test_multiple_create)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200384 network_api_extensions: *api_extensions
385 devstack_localrc:
386 USE_PYTHON3: false
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200387 Q_AGENT: linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200388 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
389 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Slawek Kaplonski32cb9c72021-11-15 12:51:11 +0100390 # NOTE(slaweq) some tests are not running fine with ubuntu minimal on
391 # Rocky
392 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
393 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000394 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski32cb9c72021-11-15 12:51:11 +0100395 ADVANCED_INSTANCE_USER: ubuntu
396 CUSTOMIZE_IMAGE: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200397 devstack_local_conf:
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200398 post-config:
399 $NEUTRON_CONF:
400 DEFAULT:
401 enable_dvr: false
402 AGENT:
403 debug_iptables_rules: true
404 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
405 # devstack-tempest job will be switched to use lib/neutron instead of
406 # lib/neutron-legacy
407 /$NEUTRON_CORE_PLUGIN_CONF:
408 ml2:
409 type_drivers: flat,vlan,local,vxlan
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200410 $NEUTRON_L3_CONF:
411 DEFAULT:
412 # NOTE(slaweq): on Xenial keepalived don't knows this option yet
413 keepalived_use_no_track: False
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200414 test-config:
415 # NOTE: ignores linux bridge's trunk delete on bound port test
416 # for rocky branch (as https://review.opendev.org/#/c/605589/
417 # fix will not apply for rocky branch)
418 $TEMPEST_CONFIG:
419 neutron_plugin_options:
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200420 available_type_drivers: flat,vlan,local,vxlan
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200421 q_agent: None
Bernard Cafarelli800e9d42021-11-24 14:17:42 +0100422 tempest_black_regex: *rocky_tempest_exclude
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200423 branches:
424 - stable/rocky
425
426- job:
427 name: neutron-tempest-plugin-scenario-linuxbridge-rocky
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200428 parent: neutron-tempest-plugin-base
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200429 nodeset: openstack-single-node-xenial
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200430 timeout: 10000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200431 description: |
432 This job run on py3 for other than stable/rocky gate
433 which is nothing but neutron-tempest-pluign master gate.
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200434 roles:
435 - zuul: openstack/neutron
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200436 override-checkout: stable/rocky
437 required-projects: *required-projects-rocky
438 vars:
439 <<: *linuxbridge_vars_rocky
440 devstack_localrc:
441 USE_PYTHON3: True
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200442 Q_AGENT: linuxbridge
443 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
444 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000445 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200446 branches: ^(?!stable/rocky).*$
447
448- job:
449 name: neutron-tempest-plugin-dvr-multinode-scenario-rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200450 parent: tempest-multinode-full
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200451 description: |
452 This job run on py2 for stable/rocky gate.
453 nodeset: openstack-two-node-xenial
454 override-checkout: stable/rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200455 roles:
456 - zuul: openstack/devstack
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200457 required-projects: *required-projects-rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200458 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
459 voting: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200460 vars: &multinode_scenario_vars_rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200461 tempest_concurrency: 4
462 tox_envlist: all
463 tempest_test_regex: ^neutron_tempest_plugin\.scenario
464 # NOTE(slaweq): in case of some tests, which requires advanced image,
465 # default test timeout set to 1200 seconds may be not enough if job is
466 # run on slow node
467 tempest_test_timeout: 2400
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200468 network_api_extensions_common: *api_extensions
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200469 network_api_extensions_dvr:
470 - dvr
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200471 devstack_localrc:
472 USE_PYTHON3: false
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200473 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
474 PHYSICAL_NETWORK: default
475 CIRROS_VERSION: 0.5.1
yatinkarel165e4092021-12-08 19:19:34 +0530476 DEFAULT_IMAGE_NAME: cirros-0.5.1-x86_64-uec
477 DEFAULT_IMAGE_FILE_NAME: cirros-0.5.1-x86_64-uec.tar.gz
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200478 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
479 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +0200480 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200481 ADVANCED_INSTANCE_USER: ubuntu
482 BUILD_TIMEOUT: 784
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200483 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200484 devstack_plugins:
485 neutron: https://opendev.org/openstack/neutron.git
486 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
487 tempest_plugins:
488 - neutron-tempest-plugin
489 devstack_services:
490 tls-proxy: false
491 tempest: true
492 neutron-dns: true
493 neutron-qos: true
494 neutron-segments: true
495 neutron-trunk: true
496 neutron-log: true
497 neutron-port-forwarding: true
498 # Cinder services
499 c-api: false
500 c-bak: false
501 c-sch: false
502 c-vol: false
503 cinder: false
504 # We don't need Swift to be run in the Neutron jobs
505 s-account: false
506 s-container: false
507 s-object: false
508 s-proxy: false
509 devstack_local_conf:
510 post-config:
511 $NEUTRON_CONF:
512 quotas:
513 quota_router: 100
514 quota_floatingip: 500
515 quota_security_group: 100
516 quota_security_group_rule: 1000
517 DEFAULT:
518 router_distributed: True
519 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
520 # devstack-tempest job will be switched to use lib/neutron instead of
521 # lib/neutron-legacy
522 "/$NEUTRON_CORE_PLUGIN_CONF":
523 ml2:
524 type_drivers: flat,geneve,vlan,gre,local,vxlan
525 mechanism_drivers: openvswitch,l2population
526 ml2_type_vlan:
527 network_vlan_ranges: foo:1:10
528 ml2_type_vxlan:
529 vni_ranges: 1:2000
530 ml2_type_gre:
531 tunnel_id_ranges: 1:1000
532 agent:
533 enable_distributed_routing: True
534 l2_population: True
535 tunnel_types: vxlan,gre
536 ovs:
537 tunnel_bridge: br-tun
538 bridge_mappings: public:br-ex
539 $NEUTRON_L3_CONF:
540 DEFAULT:
541 agent_mode: dvr_snat
542 agent:
543 availability_zone: nova
544 $NEUTRON_DHCP_CONF:
545 agent:
546 availability_zone: nova
547 "/etc/neutron/api-paste.ini":
548 "composite:neutronapi_v2_0":
549 use: "call:neutron.auth:pipeline_factory"
550 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
551 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
552 test-config:
553 $TEMPEST_CONFIG:
554 network-feature-enabled:
555 available_features: *available_features
556 neutron_plugin_options:
557 provider_vlans: foo,
558 agent_availability_zone: nova
559 image_is_advanced: true
560 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
561 l3_agent_mode: dvr_snat
562 firewall_driver: openvswitch
563 branch_override: stable/rocky
Bernard Cafarelli800e9d42021-11-24 14:17:42 +0100564 tempest_black_regex: *rocky_tempest_exclude
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200565 branches:
566 - stable/rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200567 group-vars: &multinode_scenario_group_vars_rocky
568 subnode:
569 devstack_services:
570 tls-proxy: false
571 q-agt: true
572 q-l3: true
573 q-meta: true
574 neutron-qos: true
575 neutron-trunk: true
576 neutron-log: true
577 neutron-port-forwarding: true
578 # Cinder services
579 c-bak: false
580 c-vol: false
581 # We don't need Swift to be run in the Neutron jobs
582 s-account: false
583 s-container: false
584 s-object: false
585 s-proxy: false
586 devstack_localrc:
587 USE_PYTHON3: true
588 devstack_local_conf:
589 post-config:
590 $NEUTRON_CONF:
591 DEFAULT:
592 router_distributed: True
593 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
594 # devstack-tempest job will be switched to use lib/neutron instead of
595 # lib/neutron-legacy
596 "/$NEUTRON_CORE_PLUGIN_CONF":
597 agent:
598 enable_distributed_routing: True
599 l2_population: True
600 tunnel_types: vxlan,gre
601 ovs:
602 tunnel_bridge: br-tun
603 bridge_mappings: public:br-ex
604 $NEUTRON_L3_CONF:
605 DEFAULT:
606 agent_mode: dvr_snat
607 agent:
608 availability_zone: nova
609 irrelevant-files: *openvswitch-scenario-irrelevant-files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200610
611- job:
612 name: neutron-tempest-plugin-dvr-multinode-scenario-rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200613 parent: tempest-multinode-full
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200614 nodeset: openstack-two-node-xenial
615 description: |
616 This job run on py3 for other than stable/rocky gate
617 which is nothing but neutron-tempest-pluign master gate.
618 override-checkout: stable/rocky
619 vars:
620 <<: *multinode_scenario_vars_rocky
621 devstack_localrc:
622 USE_PYTHON3: True
623 required-projects: *required-projects-rocky
624 group-vars:
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200625 <<: *multinode_scenario_group_vars_rocky
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200626 subnode:
627 devstack_localrc:
628 USE_PYTHON3: True
629 branches: ^(?!stable/rocky).*$
630
631- job:
632 name: neutron-tempest-plugin-designate-scenario-rocky
633 parent: neutron-tempest-plugin-designate-scenario
634 description: |
635 This job run on py2 for stable/rocky gate.
636 nodeset: openstack-single-node-xenial
637 override-checkout: stable/rocky
638 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200639 - openstack/neutron
640 - name: openstack/neutron-tempest-plugin
641 override-checkout: 0.9.0
642 - name: openstack/designate-tempest-plugin
643 override-checkout: 0.7.0
644 - openstack/tempest
645 vars: &designate_scenario_vars_rocky
646 branch_override: stable/rocky
647 network_api_extensions_common: *api_extensions
648 devstack_localrc:
649 USE_PYTHON3: false
650 TEMPEST_PLUGINS: '"/opt/stack/designate-tempest-plugin /opt/stack/neutron-tempest-plugin"'
Rodolfo Alonso Hernandezfeb7f942021-09-01 17:27:25 +0000651 ADVANCED_INSTANCE_TYPE: ds512M
Bernard Cafarelli800e9d42021-11-24 14:17:42 +0100652 # NOTE(bcafarel): filtering out unstable tests or tests with known
653 # issues in the used pinned version for this EM branch
654 tempest_black_regex: "(^neutron_tempest_plugin.scenario.test_dns_integration.DNSIntegrationAdminTests.test_port_on_special_network)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200655 branches:
656 - stable/rocky
657
658- job:
659 name: neutron-tempest-plugin-designate-scenario-rocky
660 parent: neutron-tempest-plugin-designate-scenario
661 nodeset: openstack-single-node-xenial
662 description: |
663 This job run on py3 for other than stable/rocky gate
664 which is nothing but neutron-tempest-plugin master gate.
665 override-checkout: stable/rocky
666 required-projects: *required-projects-rocky
667 vars:
668 <<: *designate_scenario_vars_rocky
669 devstack_localrc:
670 USE_PYTHON3: True
671 branches: ^(?!stable/rocky).*$