blob: 83b2f26fc34bde29554145f6293ba6693212deca [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
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000170 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200171 devstack_local_conf:
172 post-config:
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200173 $NEUTRON_CONF:
174 DEFAULT:
175 enable_dvr: false
176 l3_ha: true
177 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
178 # devstack-tempest job will be switched to use lib/neutron instead of
179 # lib/neutron-legacy
180 /$NEUTRON_CORE_PLUGIN_CONF:
181 agent:
182 tunnel_types: vxlan,gre
183 ovs:
184 tunnel_bridge: br-tun
185 bridge_mappings: public:br-ex
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200186 $NEUTRON_L3_CONF:
187 DEFAULT:
188 # NOTE(slaweq): on Xenial keepalived don't knows this option yet
189 keepalived_use_no_track: False
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200190 test-config:
191 $TEMPEST_CONFIG:
192 network-feature-enabled:
193 available_features: "{{ network_available_features | join(',') }}"
194 neutron_plugin_options:
195 available_type_drivers: flat,vlan,local,vxlan
196 firewall_driver: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200197 tempest_black_regex: "\
198 (^neutron_tempest_plugin.scenario.test_port_forwardings.PortForwardingTestJSON.test_port_forwarding_to_2_servers)|\
199 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_multiple_ports_portrange_remote)"
200 branches:
201 - stable/rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200202 irrelevant-files: &openvswitch-scenario-irrelevant-files
203 - ^(test-|)requirements.txt$
204 - ^releasenotes/.*$
205 - ^doc/.*$
206 - ^setup.cfg$
207 - ^.*\.rst$
208 - ^neutron/locale/.*$
209 - ^neutron/tests/unit/.*$
210 - ^tools/.*$
211 - ^tox.ini$
212 - ^neutron/agent/windows/.*$
213 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
214 - ^neutron/plugins/ml2/drivers/macvtap/.*$
215 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200216
217- job:
218 name: neutron-tempest-plugin-scenario-openvswitch-rocky
219 parent: neutron-tempest-plugin-scenario-openvswitch
220 nodeset: openstack-single-node-xenial
221 description: |
222 This job run on py3 for other than stable/rocky gate
223 which is nothing but neutron-tempest-pluign master gate.
224 override-checkout: stable/rocky
225 required-projects: *required-projects-rocky
226 vars:
227 <<: *scenario_vars_rocky
228 devstack_localrc:
229 USE_PYTHON3: True
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000230 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200231 branches: ^(?!stable/rocky).*$
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200232 irrelevant-files: *openvswitch-scenario-irrelevant-files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200233
234- job:
235 name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid-rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200236 parent: neutron-tempest-plugin-scenario
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200237 nodeset: openstack-single-node-xenial
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200238 timeout: 10000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200239 description: |
240 This job run on py2 for stable/rocky gate.
241 override-checkout: stable/rocky
242 required-projects: *required-projects-rocky
243 vars: &openvswitch_vars_rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200244 devstack_services:
245 # Disable OVN services
246 br-ex-tcpdump: false
247 br-int-flows: false
248 ovn-controller: false
249 ovn-northd: false
250 ovs-vswitchd: false
251 ovsdb-server: false
252 q-ovn-metadata-agent: false
253 # Neutron services
254 q-agt: true
255 q-dhcp: true
256 q-l3: true
257 q-meta: true
258 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200259 network_api_extensions: *api_extensions
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200260 network_available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200261 devstack_localrc:
262 USE_PYTHON3: false
263 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200264 Q_AGENT: openvswitch
265 Q_ML2_TENANT_NETWORK_TYPE: vxlan
266 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200267 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000268 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200269 devstack_local_conf:
270 post-config:
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200271 $NEUTRON_CONF:
272 DEFAULT:
273 enable_dvr: false
274 l3_ha: true
275 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
276 # devstack-tempest job will be switched to use lib/neutron instead of
277 # lib/neutron-legacy
278 /$NEUTRON_CORE_PLUGIN_CONF:
279 agent:
280 tunnel_types: vxlan,gre
281 ovs:
282 tunnel_bridge: br-tun
283 bridge_mappings: public:br-ex
284 securitygroup:
285 firewall_driver: iptables_hybrid
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200286 $NEUTRON_L3_CONF:
287 DEFAULT:
288 # NOTE(slaweq): on Xenial keepalived don't knows this option yet
289 keepalived_use_no_track: False
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200290 test-config:
291 $TEMPEST_CONFIG:
292 network-feature-enabled:
293 available_features: "{{ network_available_features | join(',') }}"
294 neutron_plugin_options:
295 available_type_drivers: flat,vlan,local,vxlan
296 firewall_driver: iptables_hybrid
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200297 # TODO(bcafarel): remove trunks subport_connectivity test from blacklist
298 # when bug https://bugs.launchpad.net/neutron/+bug/1838760 will be fixed
299 # NOTE(bcafarel): other are newer tests, unstable on rocky branch
300 tempest_black_regex: "\
301 (^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_subport_connectivity)|\
302 (^neutron_tempest_plugin.scenario.test_port_forwardings.PortForwardingTestJSON.test_port_forwarding_to_2_servers)|\
303 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_multiple_ports_portrange_remote)"
304 branches:
305 - stable/rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200306 irrelevant-files: &iptables_hybrid_irrelevant_files
307 - ^(test-|)requirements.txt$
308 - ^releasenotes/.*$
309 - ^doc/.*$
310 - ^setup.cfg$
311 - ^.*\.rst$
312 - ^neutron/locale/.*$
313 - ^neutron/tests/unit/.*$
314 - ^tools/.*$
315 - ^tox.ini$
316 - ^neutron/agent/linux/openvswitch_firewall/.*$
317 - ^neutron/agent/windows/.*$
318 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
319 - ^neutron/plugins/ml2/drivers/macvtap/.*$
320 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200321
322- job:
323 name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid-rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200324 parent: neutron-tempest-plugin-scenario
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200325 nodeset: openstack-single-node-xenial
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200326 timeout: 10000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200327 description: |
328 This job run on py3 for other than stable/rocky gate
329 which is nothing but neutron-tempest-pluign master gate.
330 override-checkout: stable/rocky
331 required-projects: *required-projects-rocky
332 vars:
333 <<: *openvswitch_vars_rocky
334 devstack_localrc:
335 USE_PYTHON3: True
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000336 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200337 branches: ^(?!stable/rocky).*$
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200338 irrelevant-files: *iptables_hybrid_irrelevant_files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200339
340- job:
341 name: neutron-tempest-plugin-scenario-linuxbridge-rocky
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200342 parent: neutron-tempest-plugin-scenario
343 timeout: 10000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200344 description: |
345 This job run on py2 for stable/rocky gate.
346 nodeset: openstack-single-node-xenial
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200347 roles:
348 - zuul: openstack/neutron
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200349 override-checkout: stable/rocky
350 required-projects: *required-projects-rocky
351 vars: &linuxbridge_vars_rocky
352 branch_override: stable/rocky
353 network_api_extensions: *api_extensions
354 devstack_localrc:
355 USE_PYTHON3: false
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200356 Q_AGENT: linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200357 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
358 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000359 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200360 devstack_local_conf:
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200361 post-config:
362 $NEUTRON_CONF:
363 DEFAULT:
364 enable_dvr: false
365 AGENT:
366 debug_iptables_rules: true
367 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
368 # devstack-tempest job will be switched to use lib/neutron instead of
369 # lib/neutron-legacy
370 /$NEUTRON_CORE_PLUGIN_CONF:
371 ml2:
372 type_drivers: flat,vlan,local,vxlan
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200373 $NEUTRON_L3_CONF:
374 DEFAULT:
375 # NOTE(slaweq): on Xenial keepalived don't knows this option yet
376 keepalived_use_no_track: False
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200377 test-config:
378 # NOTE: ignores linux bridge's trunk delete on bound port test
379 # for rocky branch (as https://review.opendev.org/#/c/605589/
380 # fix will not apply for rocky branch)
381 $TEMPEST_CONFIG:
382 neutron_plugin_options:
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200383 available_type_drivers: flat,vlan,local,vxlan
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200384 q_agent: None
385 # NOTE(bcafarel): newer tests, unstable on rocky branch
386 tempest_black_regex: "\
387 (^neutron_tempest_plugin.scenario.test_port_forwardings.PortForwardingTestJSON.test_port_forwarding_to_2_servers)|\
388 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_multiple_ports_portrange_remote)"
389 branches:
390 - stable/rocky
391
392- job:
393 name: neutron-tempest-plugin-scenario-linuxbridge-rocky
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200394 parent: neutron-tempest-plugin-scenario
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200395 nodeset: openstack-single-node-xenial
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200396 timeout: 10000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200397 description: |
398 This job run on py3 for other than stable/rocky gate
399 which is nothing but neutron-tempest-pluign master gate.
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200400 roles:
401 - zuul: openstack/neutron
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200402 override-checkout: stable/rocky
403 required-projects: *required-projects-rocky
404 vars:
405 <<: *linuxbridge_vars_rocky
406 devstack_localrc:
407 USE_PYTHON3: True
Slawek Kaplonskib1222e92020-10-15 11:35:35 +0200408 Q_AGENT: linuxbridge
409 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
410 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Rodolfo Alonso Hernandez0910d492021-08-26 08:52:40 +0000411 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200412 branches: ^(?!stable/rocky).*$
413
414- job:
415 name: neutron-tempest-plugin-dvr-multinode-scenario-rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200416 parent: tempest-multinode-full
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200417 description: |
418 This job run on py2 for stable/rocky gate.
419 nodeset: openstack-two-node-xenial
420 override-checkout: stable/rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200421 roles:
422 - zuul: openstack/devstack
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200423 required-projects: *required-projects-rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200424 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
425 voting: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200426 vars: &multinode_scenario_vars_rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200427 tempest_concurrency: 4
428 tox_envlist: all
429 tempest_test_regex: ^neutron_tempest_plugin\.scenario
430 # NOTE(slaweq): in case of some tests, which requires advanced image,
431 # default test timeout set to 1200 seconds may be not enough if job is
432 # run on slow node
433 tempest_test_timeout: 2400
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200434 network_api_extensions_common: *api_extensions
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200435 network_api_extensions_dvr:
436 - dvr
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200437 devstack_localrc:
438 USE_PYTHON3: false
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200439 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
440 PHYSICAL_NETWORK: default
441 CIRROS_VERSION: 0.5.1
442 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
443 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +0200444 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200445 ADVANCED_INSTANCE_USER: ubuntu
446 BUILD_TIMEOUT: 784
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200447 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200448 devstack_plugins:
449 neutron: https://opendev.org/openstack/neutron.git
450 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
451 tempest_plugins:
452 - neutron-tempest-plugin
453 devstack_services:
454 tls-proxy: false
455 tempest: true
456 neutron-dns: true
457 neutron-qos: true
458 neutron-segments: true
459 neutron-trunk: true
460 neutron-log: true
461 neutron-port-forwarding: true
462 # Cinder services
463 c-api: false
464 c-bak: false
465 c-sch: false
466 c-vol: false
467 cinder: false
468 # We don't need Swift to be run in the Neutron jobs
469 s-account: false
470 s-container: false
471 s-object: false
472 s-proxy: false
473 devstack_local_conf:
474 post-config:
475 $NEUTRON_CONF:
476 quotas:
477 quota_router: 100
478 quota_floatingip: 500
479 quota_security_group: 100
480 quota_security_group_rule: 1000
481 DEFAULT:
482 router_distributed: True
483 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
484 # devstack-tempest job will be switched to use lib/neutron instead of
485 # lib/neutron-legacy
486 "/$NEUTRON_CORE_PLUGIN_CONF":
487 ml2:
488 type_drivers: flat,geneve,vlan,gre,local,vxlan
489 mechanism_drivers: openvswitch,l2population
490 ml2_type_vlan:
491 network_vlan_ranges: foo:1:10
492 ml2_type_vxlan:
493 vni_ranges: 1:2000
494 ml2_type_gre:
495 tunnel_id_ranges: 1:1000
496 agent:
497 enable_distributed_routing: True
498 l2_population: True
499 tunnel_types: vxlan,gre
500 ovs:
501 tunnel_bridge: br-tun
502 bridge_mappings: public:br-ex
503 $NEUTRON_L3_CONF:
504 DEFAULT:
505 agent_mode: dvr_snat
506 agent:
507 availability_zone: nova
508 $NEUTRON_DHCP_CONF:
509 agent:
510 availability_zone: nova
511 "/etc/neutron/api-paste.ini":
512 "composite:neutronapi_v2_0":
513 use: "call:neutron.auth:pipeline_factory"
514 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
515 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
516 test-config:
517 $TEMPEST_CONFIG:
518 network-feature-enabled:
519 available_features: *available_features
520 neutron_plugin_options:
521 provider_vlans: foo,
522 agent_availability_zone: nova
523 image_is_advanced: true
524 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
525 l3_agent_mode: dvr_snat
526 firewall_driver: openvswitch
527 branch_override: stable/rocky
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200528 # NOTE(bcafarel): newer tests, unstable on rocky branch
529 tempest_black_regex: "\
530 (^neutron_tempest_plugin.scenario.test_port_forwardings.PortForwardingTestJSON.test_port_forwarding_to_2_servers)|\
531 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_multiple_ports_portrange_remote)"
532 branches:
533 - stable/rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200534 group-vars: &multinode_scenario_group_vars_rocky
535 subnode:
536 devstack_services:
537 tls-proxy: false
538 q-agt: true
539 q-l3: true
540 q-meta: true
541 neutron-qos: true
542 neutron-trunk: true
543 neutron-log: true
544 neutron-port-forwarding: true
545 # Cinder services
546 c-bak: false
547 c-vol: false
548 # We don't need Swift to be run in the Neutron jobs
549 s-account: false
550 s-container: false
551 s-object: false
552 s-proxy: false
553 devstack_localrc:
554 USE_PYTHON3: true
555 devstack_local_conf:
556 post-config:
557 $NEUTRON_CONF:
558 DEFAULT:
559 router_distributed: True
560 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
561 # devstack-tempest job will be switched to use lib/neutron instead of
562 # lib/neutron-legacy
563 "/$NEUTRON_CORE_PLUGIN_CONF":
564 agent:
565 enable_distributed_routing: True
566 l2_population: True
567 tunnel_types: vxlan,gre
568 ovs:
569 tunnel_bridge: br-tun
570 bridge_mappings: public:br-ex
571 $NEUTRON_L3_CONF:
572 DEFAULT:
573 agent_mode: dvr_snat
574 agent:
575 availability_zone: nova
576 irrelevant-files: *openvswitch-scenario-irrelevant-files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200577
578- job:
579 name: neutron-tempest-plugin-dvr-multinode-scenario-rocky
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200580 parent: tempest-multinode-full
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200581 nodeset: openstack-two-node-xenial
582 description: |
583 This job run on py3 for other than stable/rocky gate
584 which is nothing but neutron-tempest-pluign master gate.
585 override-checkout: stable/rocky
586 vars:
587 <<: *multinode_scenario_vars_rocky
588 devstack_localrc:
589 USE_PYTHON3: True
590 required-projects: *required-projects-rocky
591 group-vars:
Slawek Kaplonskia4cb8072021-04-16 15:33:29 +0200592 <<: *multinode_scenario_group_vars_rocky
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200593 subnode:
594 devstack_localrc:
595 USE_PYTHON3: True
596 branches: ^(?!stable/rocky).*$
597
598- job:
599 name: neutron-tempest-plugin-designate-scenario-rocky
600 parent: neutron-tempest-plugin-designate-scenario
601 description: |
602 This job run on py2 for stable/rocky gate.
603 nodeset: openstack-single-node-xenial
604 override-checkout: stable/rocky
605 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200606 - openstack/neutron
607 - name: openstack/neutron-tempest-plugin
608 override-checkout: 0.9.0
609 - name: openstack/designate-tempest-plugin
610 override-checkout: 0.7.0
611 - openstack/tempest
612 vars: &designate_scenario_vars_rocky
613 branch_override: stable/rocky
614 network_api_extensions_common: *api_extensions
615 devstack_localrc:
616 USE_PYTHON3: false
617 TEMPEST_PLUGINS: '"/opt/stack/designate-tempest-plugin /opt/stack/neutron-tempest-plugin"'
Rodolfo Alonso Hernandezfeb7f942021-09-01 17:27:25 +0000618 ADVANCED_INSTANCE_TYPE: ds512M
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200619 branches:
620 - stable/rocky
621
622- job:
623 name: neutron-tempest-plugin-designate-scenario-rocky
624 parent: neutron-tempest-plugin-designate-scenario
625 nodeset: openstack-single-node-xenial
626 description: |
627 This job run on py3 for other than stable/rocky gate
628 which is nothing but neutron-tempest-plugin master gate.
629 override-checkout: stable/rocky
630 required-projects: *required-projects-rocky
631 vars:
632 <<: *designate_scenario_vars_rocky
633 devstack_localrc:
634 USE_PYTHON3: True
635 branches: ^(?!stable/rocky).*$