blob: df8d6355db3a151bed45639805f9cac9e197ae49 [file] [log] [blame]
Chandan Kumara564cf32017-11-16 16:09:38 +05301- job:
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +02002 name: neutron-tempest-plugin
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +01003 parent: devstack-tempest
4 abstract: true
5 description: |
Doug Hellmann12685c62018-08-29 17:37:50 -04006 Perform setup common to all Neutron tempest tests
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +01007 roles:
OpenDev Sysadminseae7a372019-04-19 19:43:58 +00008 - zuul: openstack/devstack
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +01009 required-projects:
OpenDev Sysadminseae7a372019-04-19 19:43:58 +000010 - openstack/devstack-gate
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010011 - openstack/neutron
12 - openstack/neutron-tempest-plugin
13 - openstack/tempest
14 vars:
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010015 tempest_concurrency: 4
16 tox_envlist: all
Hongbin Lub8fbe0c2018-11-22 21:31:59 +000017 network_api_extensions_common: &api_extensions_master
18 - address-scope
19 - agent
20 - allowed-address-pairs
21 - auto-allocated-topology
22 - availability_zone
23 - binding
24 - default-subnetpools
25 - dhcp_agent_scheduler
26 - dns-domain-ports
27 - dns-integration
28 - empty-string-filtering
Slawek Kaplonski003fcae2019-05-26 22:38:35 +020029 - expose-port-forwarding-in-fip
Hongbin Lub8fbe0c2018-11-22 21:31:59 +000030 - ext-gw-mode
31 - external-net
32 - extra_dhcp_opt
33 - extraroute
34 - filter-validation
35 - fip-port-details
36 - flavors
Slawek Kaplonski003fcae2019-05-26 22:38:35 +020037 - floating-ip-port-forwarding
Hongbin Lub8fbe0c2018-11-22 21:31:59 +000038 - floatingip-pools
39 - ip-substring-filtering
40 - l3-flavors
41 - l3-ha
42 - l3_agent_scheduler
43 - logging
44 - metering
45 - multi-provider
46 - net-mtu
47 - net-mtu-writable
48 - network-ip-availability
49 - network_availability_zone
Kailun Qineaaf9782018-12-20 04:45:01 +080050 - network-segment-range
Hongbin Lub8fbe0c2018-11-22 21:31:59 +000051 - pagination
Lajos Katona2f904652018-08-23 14:04:56 +020052 - port-resource-request
Hongbin Lub8fbe0c2018-11-22 21:31:59 +000053 - port-mac-address-regenerate
54 - port-security
55 - port-security-groups-filtering
56 - project-id
57 - provider
58 - qos
59 - qos-bw-minimum-ingress
60 - qos-fip
61 - quotas
62 - quota_details
63 - rbac-policies
Doug Wiegley5b85ad82019-02-06 13:51:03 -070064 - rbac-security-groups
Hongbin Lub8fbe0c2018-11-22 21:31:59 +000065 - router
66 - router_availability_zone
67 - security-group
68 - segment
69 - service-type
70 - sorting
71 - standard-attr-description
72 - standard-attr-revisions
73 - standard-attr-segment
74 - standard-attr-tag
75 - standard-attr-timestamp
76 - subnet_allocation
77 - trunk
78 - trunk-details
79 - uplink-status-propagation
80 network_api_extensions_tempest:
81 - dvr
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010082 devstack_localrc:
Slawek Kaplonski1582f712018-12-02 12:07:57 +010083 USE_PYTHON3: true
Hongbin Lub8fbe0c2018-11-22 21:31:59 +000084 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010085 devstack_plugins:
OpenDev Sysadminseae7a372019-04-19 19:43:58 +000086 neutron: https://opendev.org/openstack/neutron.git
87 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
Slawek Kaplonski52b1b952019-04-01 08:42:04 +020088 tempest_plugins:
89 - neutron-tempest-plugin
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010090 devstack_services:
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +020091 tls-proxy: false
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010092 tempest: true
93 neutron-dns: true
94 neutron-qos: true
95 neutron-segments: true
96 neutron-trunk: true
Hongbin Lu5da73332018-07-27 22:34:59 +000097 neutron-uplink-status-propagation: true
Kailun Qineaaf9782018-12-20 04:45:01 +080098 neutron-network-segment-range: true
Slawek Kaplonski003fcae2019-05-26 22:38:35 +020099 neutron-port-forwarding: true
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100100 devstack_local_conf:
101 post-config:
102 $NEUTRON_CONF:
103 QUOTAS:
104 quota_router: 100
105 quota_floatingip: 500
106 quota_security_group: 100
107 quota_security_group_rule: 1000
108 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
109 # devstack-tempest job will be switched to use lib/neutron instead of
110 # lib/neutron-legacy
Doug Hellmann12685c62018-08-29 17:37:50 -0400111 /$NEUTRON_CORE_PLUGIN_CONF:
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100112 ml2:
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200113 type_drivers: flat,geneve,vlan,gre,local,vxlan
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100114 ml2_type_vlan:
115 network_vlan_ranges: foo:1:10
116 ml2_type_vxlan:
117 vni_ranges: 1:2000
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200118 ml2_type_gre:
119 tunnel_id_ranges: 1:1000
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100120 $NEUTRON_L3_CONF:
121 agent:
122 availability_zone: nova
123 $NEUTRON_DHCP_CONF:
124 agent:
125 availability_zone: nova
Doug Hellmann12685c62018-08-29 17:37:50 -0400126 /etc/neutron/api-paste.ini:
127 composite:neutronapi_v2_0:
128 use: call:neutron.auth:pipeline_factory
129 noauth: cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0
130 keystone: cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100131 test-config:
132 $TEMPEST_CONFIG:
133 neutron_plugin_options:
134 provider_vlans: foo,
135 agent_availability_zone: nova
136 image_is_advanced: true
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200137 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
Lajos Katona2f904652018-08-23 14:04:56 +0200138 provider_net_base_segm_id: 1
Hongbin Lue2089622018-08-14 15:32:46 +0000139 irrelevant-files: &tempest-irrelevant-files
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100140 - ^(test-|)requirements.txt$
141 - ^releasenotes/.*$
142 - ^doc/.*$
143 - ^setup.cfg$
144 - ^.*\.rst$
145 - ^neutron/locale/.*$
146 - ^neutron/tests/unit/.*$
147 - ^tools/.*$
148 - ^tox.ini$
149
150- job:
Chandan Kumara564cf32017-11-16 16:09:38 +0530151 name: neutron-tempest-plugin-api
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200152 parent: neutron-tempest-plugin
153 vars:
154 tempest_test_regex: ^neutron_tempest_plugin\.api
155 devstack_services:
156 neutron-log: true
157 devstack_local_conf:
158 post-config:
159 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
160 # devstack-tempest job will be switched to use lib/neutron instead of
161 # lib/neutron-legacy
Doug Hellmann12685c62018-08-29 17:37:50 -0400162 /$NEUTRON_CORE_PLUGIN_CONF:
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200163 AGENT:
164 tunnel_types: gre,vxlan
165 network_log:
166 local_output_log_base: /tmp/test_log.log
Chandan Kumara564cf32017-11-16 16:09:38 +0530167
168- job:
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000169 name: neutron-tempest-plugin-api-queens
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100170 nodeset: openstack-single-node-xenial
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000171 parent: neutron-tempest-plugin-api
172 override-checkout: stable/queens
173 vars:
174 branch_override: stable/queens
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000175 # TODO(slaweq): find a way to put this list of extensions in
176 # neutron repository and keep it different per branch,
177 # then it could be removed from here
178 network_api_extensions_common: &api_extensions_queens
179 - address-scope
180 - agent
181 - allowed-address-pairs
182 - auto-allocated-topology
183 - availability_zone
184 - binding
185 - default-subnetpools
186 - dhcp_agent_scheduler
187 - dns-domain-ports
188 - dns-integration
189 - ext-gw-mode
190 - external-net
191 - extra_dhcp_opt
192 - extraroute
193 - flavors
194 - ip-substring-filtering
195 - l3-flavors
196 - l3-ha
197 - l3_agent_scheduler
198 - logging
199 - metering
200 - multi-provider
201 - net-mtu
202 - net-mtu-writable
203 - network-ip-availability
204 - network_availability_zone
205 - pagination
206 - port-security
207 - project-id
208 - provider
209 - qos
210 - qos-fip
211 - quotas
212 - quota_details
213 - rbac-policies
214 - router
215 - router_availability_zone
216 - security-group
217 - segment
218 - service-type
219 - sorting
220 - standard-attr-description
221 - standard-attr-revisions
222 - standard-attr-timestamp
223 - standard-attr-tag
224 - subnet_allocation
225 - trunk
226 - trunk-details
227 network_api_extensions_tempest:
228 - dvr
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200229 devstack_localrc:
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100230 USE_PYTHON3: false
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000231 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200232 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200233
234- job:
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200235 name: neutron-tempest-plugin-api-stein
236 parent: neutron-tempest-plugin-api
237 override-checkout: stable/stein
238 vars:
239 branch_override: stable/stein
240 # TODO(slaweq): find a way to put this list of extensions in
241 # neutron repository and keep it different per branch,
242 # then it could be removed from here
243 network_api_extensions_common: &api_extensions_stein
244 - address-scope
245 - agent
246 - allowed-address-pairs
247 - auto-allocated-topology
248 - availability_zone
249 - binding
250 - default-subnetpools
251 - dhcp_agent_scheduler
252 - dns-domain-ports
253 - dns-integration
254 - empty-string-filtering
Slawek Kaplonski003fcae2019-05-26 22:38:35 +0200255 - expose-port-forwarding-in-fip
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200256 - ext-gw-mode
257 - external-net
258 - extra_dhcp_opt
259 - extraroute
260 - filter-validation
261 - fip-port-details
262 - flavors
263 - floatingip-pools
Slawek Kaplonski003fcae2019-05-26 22:38:35 +0200264 - floating-ip-port-forwarding
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200265 - ip-substring-filtering
266 - l3-flavors
267 - l3-ha
268 - l3_agent_scheduler
269 - logging
270 - metering
271 - multi-provider
272 - net-mtu
273 - net-mtu-writable
274 - network-ip-availability
275 - network_availability_zone
276 - network-segment-range
277 - pagination
278 - port-resource-request
279 - port-mac-address-regenerate
280 - port-security
281 - port-security-groups-filtering
282 - project-id
283 - provider
284 - qos
285 - qos-bw-minimum-ingress
286 - qos-fip
287 - quotas
288 - quota_details
289 - rbac-policies
290 - rbac-security-groups
291 - router
292 - router_availability_zone
293 - security-group
294 - segment
295 - service-type
296 - sorting
297 - standard-attr-description
298 - standard-attr-revisions
299 - standard-attr-segment
300 - standard-attr-tag
301 - standard-attr-timestamp
302 - subnet_allocation
303 - trunk
304 - trunk-details
305 - uplink-status-propagation
306 network_api_extensions_tempest:
307 - dvr
308 devstack_localrc:
309 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
310
311- job:
Hongbin Lub600bea2018-08-23 02:49:48 +0000312 name: neutron-tempest-plugin-api-rocky
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100313 nodeset: openstack-single-node-xenial
Hongbin Lub600bea2018-08-23 02:49:48 +0000314 parent: neutron-tempest-plugin-api
315 override-checkout: stable/rocky
316 vars:
317 branch_override: stable/rocky
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000318 # TODO(slaweq): find a way to put this list of extensions in
319 # neutron repository and keep it different per branch,
320 # then it could be removed from here
321 network_api_extensions_common: &api_extensions_rocky
322 - address-scope
323 - agent
324 - allowed-address-pairs
325 - auto-allocated-topology
326 - availability_zone
327 - binding
328 - default-subnetpools
329 - dhcp_agent_scheduler
330 - dns-domain-ports
331 - dns-integration
332 - empty-string-filtering
Slawek Kaplonski003fcae2019-05-26 22:38:35 +0200333 - expose-port-forwarding-in-fip
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000334 - ext-gw-mode
335 - external-net
336 - extra_dhcp_opt
337 - extraroute
338 - fip-port-details
339 - flavors
Slawek Kaplonski003fcae2019-05-26 22:38:35 +0200340 - floating-ip-port-forwarding
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000341 - ip-substring-filtering
342 - l3-flavors
343 - l3-ha
344 - l3_agent_scheduler
345 - logging
346 - metering
347 - multi-provider
348 - net-mtu
349 - net-mtu-writable
350 - network-ip-availability
351 - network_availability_zone
352 - pagination
353 - port-mac-address-regenerate
354 - port-security
355 - port-security-groups-filtering
356 - project-id
357 - provider
358 - qos
359 - qos-fip
360 - quotas
361 - quota_details
362 - rbac-policies
363 - router
364 - router_availability_zone
365 - security-group
366 - segment
367 - service-type
368 - sorting
369 - standard-attr-description
370 - standard-attr-revisions
371 - standard-attr-segment
372 - standard-attr-timestamp
373 - standard-attr-tag
374 - subnet_allocation
375 - trunk
376 - trunk-details
377 network_api_extensions_tempest:
378 - dvr
Hongbin Lub600bea2018-08-23 02:49:48 +0000379 devstack_localrc:
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100380 USE_PYTHON3: false
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000381 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200382 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Hongbin Lub600bea2018-08-23 02:49:48 +0000383
384- job:
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200385 name: neutron-tempest-plugin-scenario
386 parent: neutron-tempest-plugin
387 abstract: true
388 description: |
Doug Hellmann12685c62018-08-29 17:37:50 -0400389 Perform setup common to all tempest scenario test jobs.
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200390 vars:
391 tempest_test_regex: ^neutron_tempest_plugin\.scenario
392 devstack_localrc:
Doug Hellmann12685c62018-08-29 17:37:50 -0400393 PHYSICAL_NETWORK: default
394 DOWNLOAD_DEFAULT_IMAGES: false
LIU Yulong1c95d622019-06-16 10:36:56 +0800395 IMAGE_URLS: "http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-i386-disk.img,https://cloud-images.ubuntu.com/releases/xenial/release/ubuntu-16.04-server-cloudimg-amd64-disk1.img"
Slawek Kaplonskida17f002018-10-11 18:35:23 +0200396 DEFAULT_IMAGE_NAME: cirros-0.3.4-i386-disk
397 ADVANCED_IMAGE_NAME: ubuntu-16.04-server-cloudimg-amd64-disk1
398 ADVANCED_INSTANCE_TYPE: ds512M
399 ADVANCED_INSTANCE_USER: ubuntu
Doug Hellmann12685c62018-08-29 17:37:50 -0400400 BUILD_TIMEOUT: 784
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200401 devstack_services:
402 cinder: true
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000403
404- job:
Slawek Kaplonskie5b43502019-07-14 22:31:16 +0200405 name: neutron-tempest-plugin-scenario-openvswitch
406 parent: neutron-tempest-plugin-scenario
407 timeout: 10000
408 vars:
409 network_api_extensions: *api_extensions_master
410 devstack_localrc:
411 Q_AGENT: openvswitch
412 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
413 devstack_local_conf:
414 post-config:
415 $NEUTRON_CONF:
416 DEFAULT:
417 enable_dvr: false
418 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
419 # devstack-tempest job will be switched to use lib/neutron instead of
420 # lib/neutron-legacy
421 /$NEUTRON_CORE_PLUGIN_CONF:
422 agent:
423 tunnel_types: vxlan,gre
424 ovs:
425 tunnel_bridge: br-tun
426 bridge_mappings: public:br-ex
427 test-config:
428 $TEMPEST_CONFIG:
429 neutron_plugin_options:
430 available_type_drivers: flat,vlan,local,vxlan
431
432- job:
433 name: neutron-tempest-plugin-scenario-openvswitch-queens
434 parent: neutron-tempest-plugin-scenario-openvswitch
435 nodeset: openstack-single-node-xenial
436 override-checkout: stable/queens
437 vars:
438 branch_override: stable/queens
439 network_api_extensions: *api_extensions_queens
440 # TODO(slaweq): remove trunks subport_connectivity test from blacklist
441 # when bug https://bugs.launchpad.net/neutron/+bug/1838760 will be fixed
442 tempest_black_regex: "(^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_subport_connectivity)"
443 devstack_localrc:
444 USE_PYTHON3: false
445 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
446 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
447
448- job:
449 name: neutron-tempest-plugin-scenario-openvswitch-rocky
450 parent: neutron-tempest-plugin-scenario-openvswitch
451 nodeset: openstack-single-node-xenial
452 override-checkout: stable/rocky
453 vars:
454 branch_override: stable/rocky
455 network_api_extensions: *api_extensions_rocky
456 devstack_localrc:
457 USE_PYTHON3: false
458 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
459 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
460
461- job:
462 name: neutron-tempest-plugin-scenario-openvswitch-stein
463 parent: neutron-tempest-plugin-scenario-openvswitch
464 override-checkout: stable/stein
465 vars:
466 branch_override: stable/stein
467 network_api_extensions: *api_extensions_stein
468 devstack_localrc:
469 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
470
471- job:
Chandan Kumara564cf32017-11-16 16:09:38 +0530472 name: neutron-tempest-plugin-scenario-linuxbridge
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100473 parent: neutron-tempest-plugin-scenario
Chandan Kumara564cf32017-11-16 16:09:38 +0530474 timeout: 10000
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100475 vars:
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000476 network_api_extensions: *api_extensions_master
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100477 devstack_localrc:
Doug Hellmann12685c62018-08-29 17:37:50 -0400478 Q_AGENT: linuxbridge
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000479 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100480 devstack_local_conf:
481 post-config:
482 $NEUTRON_CONF:
483 DEFAULT:
484 enable_dvr: false
485 AGENT:
486 debug_iptables_rules: true
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200487 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
488 # devstack-tempest job will be switched to use lib/neutron instead of
489 # lib/neutron-legacy
Doug Hellmann12685c62018-08-29 17:37:50 -0400490 /$NEUTRON_CORE_PLUGIN_CONF:
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200491 ml2:
492 type_drivers: flat,vlan,local,vxlan
493 test-config:
494 $TEMPEST_CONFIG:
495 neutron_plugin_options:
496 available_type_drivers: flat,vlan,local,vxlan
Huifeng Le1c9f40b2018-11-07 01:14:21 +0800497 q_agent: linuxbridge
Chandan Kumara564cf32017-11-16 16:09:38 +0530498
499- job:
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000500 name: neutron-tempest-plugin-scenario-linuxbridge-queens
501 parent: neutron-tempest-plugin-scenario-linuxbridge
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100502 nodeset: openstack-single-node-xenial
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000503 override-checkout: stable/queens
504 vars:
505 branch_override: stable/queens
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000506 network_api_extensions: *api_extensions_queens
Hongbin Lu965b03d2018-04-25 22:32:30 +0000507 devstack_localrc:
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100508 USE_PYTHON3: false
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000509 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200510 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Huifeng Le1c9f40b2018-11-07 01:14:21 +0800511 devstack_local_conf:
512 test-config:
513 # NOTE: ignores linux bridge's trunk delete on bound port test
OpenDev Sysadminseae7a372019-04-19 19:43:58 +0000514 # for queens branch (as https://review.opendev.org/#/c/605589/
Huifeng Le1c9f40b2018-11-07 01:14:21 +0800515 # fix will not apply for queens branch)
516 $TEMPEST_CONFIG:
517 neutron_plugin_options:
518 q_agent: None
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000519
520- job:
Hongbin Lub600bea2018-08-23 02:49:48 +0000521 name: neutron-tempest-plugin-scenario-linuxbridge-rocky
522 parent: neutron-tempest-plugin-scenario-linuxbridge
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100523 nodeset: openstack-single-node-xenial
Hongbin Lub600bea2018-08-23 02:49:48 +0000524 override-checkout: stable/rocky
525 vars:
526 branch_override: stable/rocky
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000527 network_api_extensions: *api_extensions_rocky
Hongbin Lub600bea2018-08-23 02:49:48 +0000528 devstack_localrc:
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100529 USE_PYTHON3: false
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000530 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200531 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Huifeng Le1c9f40b2018-11-07 01:14:21 +0800532 devstack_local_conf:
533 test-config:
534 # NOTE: ignores linux bridge's trunk delete on bound port test
OpenDev Sysadminseae7a372019-04-19 19:43:58 +0000535 # for rocky branch (as https://review.opendev.org/#/c/605589/
Huifeng Le1c9f40b2018-11-07 01:14:21 +0800536 # fix will not apply for rocky branch)
537 $TEMPEST_CONFIG:
538 neutron_plugin_options:
539 q_agent: None
Hongbin Lub600bea2018-08-23 02:49:48 +0000540
541- job:
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200542 name: neutron-tempest-plugin-scenario-linuxbridge-stein
543 parent: neutron-tempest-plugin-scenario-linuxbridge
544 override-checkout: stable/stein
545 vars:
546 branch_override: stable/stein
547 network_api_extensions: *api_extensions_stein
548 devstack_localrc:
549 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
550
551- job:
Chandan Kumara564cf32017-11-16 16:09:38 +0530552 name: neutron-tempest-plugin-dvr-multinode-scenario
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200553 parent: tempest-multinode-full
554 description: |
555 Perform setup for Neutron tempest tests in multinode with DVR scenario
556 roles:
OpenDev Sysadminseae7a372019-04-19 19:43:58 +0000557 - zuul: openstack/devstack
Chandan Kumara564cf32017-11-16 16:09:38 +0530558 required-projects:
OpenDev Sysadminseae7a372019-04-19 19:43:58 +0000559 - openstack/devstack-gate
Chandan Kumara564cf32017-11-16 16:09:38 +0530560 - openstack/neutron
561 - openstack/neutron-tempest-plugin
562 - openstack/tempest
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200563 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
Chandan Kumara564cf32017-11-16 16:09:38 +0530564 voting: false
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200565 vars:
566 tempest_concurrency: 4
567 tox_envlist: all
568 tempest_test_regex: ^neutron_tempest_plugin\.scenario
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000569 network_api_extensions_common: *api_extensions_master
570 network_api_extensions_dvr:
571 - dvr
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200572 devstack_localrc:
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100573 USE_PYTHON3: true
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000574 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200575 PHYSICAL_NETWORK: default
576 DOWNLOAD_DEFAULT_IMAGES: false
LIU Yulong1c95d622019-06-16 10:36:56 +0800577 IMAGE_URLS: "http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-i386-disk.img,https://cloud-images.ubuntu.com/releases/xenial/release/ubuntu-16.04-server-cloudimg-amd64-disk1.img"
Slawek Kaplonskida17f002018-10-11 18:35:23 +0200578 DEFAULT_IMAGE_NAME: cirros-0.3.4-i386-disk
579 ADVANCED_IMAGE_NAME: ubuntu-16.04-server-cloudimg-amd64-disk1
580 ADVANCED_INSTANCE_TYPE: ds512M
581 ADVANCED_INSTANCE_USER: ubuntu
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200582 BUILD_TIMEOUT: 784
583 devstack_plugins:
OpenDev Sysadminseae7a372019-04-19 19:43:58 +0000584 neutron: https://opendev.org/openstack/neutron.git
585 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200586 tempest_plugins:
587 - neutron-tempest-plugin
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200588 devstack_services:
589 tls-proxy: false
590 tempest: true
591 neutron-dns: true
592 neutron-qos: true
593 neutron-segments: true
594 neutron-trunk: true
595 neutron-log: true
Slawek Kaplonski13903aa2019-06-02 14:31:47 +0200596 neutron-port-forwarding: true
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200597 cinder: true
598 devstack_local_conf:
599 post-config:
600 $NEUTRON_CONF:
601 quotas:
602 quota_router: 100
603 quota_floatingip: 500
604 quota_security_group: 100
605 quota_security_group_rule: 1000
606 DEFAULT:
607 router_distributed: True
608 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
609 # devstack-tempest job will be switched to use lib/neutron instead of
610 # lib/neutron-legacy
611 "/$NEUTRON_CORE_PLUGIN_CONF":
612 ml2:
613 type_drivers: flat,geneve,vlan,gre,local,vxlan
614 mechanism_drivers: openvswitch,l2population
615 ml2_type_vlan:
616 network_vlan_ranges: foo:1:10
617 ml2_type_vxlan:
618 vni_ranges: 1:2000
619 ml2_type_gre:
620 tunnel_id_ranges: 1:1000
621 agent:
622 enable_distributed_routing: True
623 l2_population: True
624 tunnel_types: vxlan,gre
625 ovs:
626 tunnel_bridge: br-tun
627 bridge_mappings: public:br-ex
628 $NEUTRON_L3_CONF:
629 DEFAULT:
630 agent_mode: dvr_snat
631 agent:
632 availability_zone: nova
633 $NEUTRON_DHCP_CONF:
634 agent:
635 availability_zone: nova
636 "/etc/neutron/api-paste.ini":
637 "composite:neutronapi_v2_0":
638 use: "call:neutron.auth:pipeline_factory"
639 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
640 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
641 test-config:
642 $TEMPEST_CONFIG:
643 neutron_plugin_options:
644 provider_vlans: foo,
645 agent_availability_zone: nova
646 image_is_advanced: true
647 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
648 l3_agent_mode: dvr_snat
649 group-vars:
650 subnode:
651 devstack_services:
652 tls-proxy: false
653 q-agt: true
654 q-l3: true
655 q-meta: true
656 neutron-qos: true
657 neutron-trunk: true
658 neutron-log: true
Slawek Kaplonski13903aa2019-06-02 14:31:47 +0200659 neutron-port-forwarding: true
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200660 devstack_local_conf:
661 post-config:
662 $NEUTRON_CONF:
663 DEFAULT:
664 router_distributed: True
665 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
666 # devstack-tempest job will be switched to use lib/neutron instead of
667 # lib/neutron-legacy
668 "/$NEUTRON_CORE_PLUGIN_CONF":
669 agent:
670 enable_distributed_routing: True
671 l2_population: True
672 tunnel_types: vxlan,gre
673 ovs:
674 tunnel_bridge: br-tun
675 bridge_mappings: public:br-ex
676 $NEUTRON_L3_CONF:
677 DEFAULT:
678 agent_mode: dvr_snat
679 agent:
680 availability_zone: nova
681 irrelevant-files: *tempest-irrelevant-files
Chandan Kumara564cf32017-11-16 16:09:38 +0530682
Jens Harbott860b46a2017-11-15 21:23:15 +0000683- job:
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000684 name: neutron-tempest-plugin-dvr-multinode-scenario-queens
685 parent: neutron-tempest-plugin-dvr-multinode-scenario
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100686 nodeset: openstack-two-node-xenial
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000687 override-checkout: stable/queens
688 vars:
689 branch_override: stable/queens
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100690 devstack_localrc:
691 USE_PYTHON3: false
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200692 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000693
694- job:
Hongbin Lub600bea2018-08-23 02:49:48 +0000695 name: neutron-tempest-plugin-dvr-multinode-scenario-rocky
696 parent: neutron-tempest-plugin-dvr-multinode-scenario
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100697 nodeset: openstack-two-node-xenial
Hongbin Lub600bea2018-08-23 02:49:48 +0000698 override-checkout: stable/rocky
699 vars:
700 branch_override: stable/rocky
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100701 devstack_localrc:
702 USE_PYTHON3: false
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200703 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Hongbin Lub600bea2018-08-23 02:49:48 +0000704
705- job:
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200706 name: neutron-tempest-plugin-dvr-multinode-scenario-stein
707 parent: neutron-tempest-plugin-dvr-multinode-scenario
708 override-checkout: stable/stein
709 vars:
710 branch_override: stable/stein
711
712- job:
Jens Harbott860b46a2017-11-15 21:23:15 +0000713 name: neutron-tempest-plugin-designate-scenario
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100714 parent: neutron-tempest-plugin-scenario
Jens Harbott860b46a2017-11-15 21:23:15 +0000715 description: Neutron designate integration scenario
716 required-projects:
717 - openstack/designate
718 - openstack/designate-dashboard
719 - openstack/designate-tempest-plugin
Jens Harbott860b46a2017-11-15 21:23:15 +0000720 timeout: 3600
Jens Harbott860b46a2017-11-15 21:23:15 +0000721 vars:
722 devstack_localrc:
723 DESIGNATE_BACKEND_DRIVER: bind9
Slawek Kaplonskida17f002018-10-11 18:35:23 +0200724 DOWNLOAD_DEFAULT_IMAGES: false
725 IMAGE_URLS: http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-i386-disk.img,
726 # In this job advanced image is not needed, so it's name should be
727 # empty
728 ADVANCED_IMAGE_NAME: ""
Jens Harbott860b46a2017-11-15 21:23:15 +0000729 devstack_plugins:
OpenDev Sysadminseae7a372019-04-19 19:43:58 +0000730 designate: https://opendev.org/openstack/designate.git
Jens Harbott860b46a2017-11-15 21:23:15 +0000731 devstack_services:
James E. Blair24195802018-01-24 16:46:38 -0800732 cinder: false
733 designate: true
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200734 tempest_plugins:
735 - designate-tempest-plugin
736 - neutron-tempest-plugin
James E. Blair24195802018-01-24 16:46:38 -0800737 tempest_test_regex: ^neutron_tempest_plugin\.scenario\.test_dns_integration
Hongbin Lue2089622018-08-14 15:32:46 +0000738 irrelevant-files: *tempest-irrelevant-files
Jens Harbott860b46a2017-11-15 21:23:15 +0000739
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000740- job:
741 name: neutron-tempest-plugin-designate-scenario-queens
742 parent: neutron-tempest-plugin-designate-scenario
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100743 nodeset: openstack-single-node-xenial
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000744 override-checkout: stable/queens
745 vars:
746 branch_override: stable/queens
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100747 devstack_localrc:
748 USE_PYTHON3: false
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200749 TEMPEST_PLUGINS: '"/opt/stack/designate-tempest-plugin /opt/stack/neutron-tempest-plugin"'
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000750
Hongbin Lub600bea2018-08-23 02:49:48 +0000751- job:
752 name: neutron-tempest-plugin-designate-scenario-rocky
753 parent: neutron-tempest-plugin-designate-scenario
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100754 nodeset: openstack-single-node-xenial
Hongbin Lub600bea2018-08-23 02:49:48 +0000755 override-checkout: stable/rocky
756 vars:
757 branch_override: stable/rocky
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100758 devstack_localrc:
759 USE_PYTHON3: false
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200760 TEMPEST_PLUGINS: '"/opt/stack/designate-tempest-plugin /opt/stack/neutron-tempest-plugin"'
Hongbin Lub600bea2018-08-23 02:49:48 +0000761
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200762- job:
763 name: neutron-tempest-plugin-designate-scenario-stein
764 parent: neutron-tempest-plugin-designate-scenario
765 override-checkout: stable/stein
766 vars:
767 branch_override: stable/stein
768
Bernard Cafarelli1a987ec2019-04-16 16:42:10 +0200769- job:
770 name: neutron-tempest-plugin-sfc
771 parent: neutron-tempest-plugin
772 timeout: 10800
773 required-projects:
774 - openstack/devstack-gate
775 - openstack/networking-sfc
776 - openstack/neutron
777 - openstack/neutron-tempest-plugin
778 - openstack/tempest
779 vars:
780 tempest_test_regex: ^neutron_tempest_plugin\.sfc
781 tox_envlist: all-plugin
782 devstack_plugins:
783 networking-sfc: https://opendev.org/openstack/networking-sfc
784 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
785 network_api_extensions_sfc:
786 - flow_classifier
787 - sfc
788 devstack_localrc:
789 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_sfc) | join(',') }}"
790 files:
791 - ^neutron_tempest_plugin/sfc/.*$
792
Slawek Kaplonski8dd49aa2019-04-16 14:47:07 +0200793- job:
794 name: neutron-tempest-plugin-bgpvpn-bagpipe
795 parent: neutron-tempest-plugin
796 required-projects:
797 - openstack/networking-bagpipe
798 - openstack/networking-bgpvpn
799 vars:
800 tempest_test_regex: ^neutron_tempest_plugin\.bgpvpn
801 network_api_extensions: *api_extensions_master
802 network_api_extensions_bgpvpn:
803 - bgpvpn
804 - bgpvpn-routes-control
805 devstack_localrc:
806 NETWORKING_BGPVPN_DRIVER: "BGPVPN:BaGPipe:networking_bgpvpn.neutron.services.service_drivers.bagpipe.bagpipe_v2.BaGPipeBGPVPNDriver:default"
807 BAGPIPE_DATAPLANE_DRIVER_IPVPN: "ovs"
808 BAGPIPE_BGP_PEERS: "-"
809 USE_PYTHON3: false
810 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_bgpvpn) | join(',') }}"
811 devstack_plugins:
812 networking-bgpvpn: https://git.openstack.org/openstack/networking-bgpvpn
813 networking-bagpipe: https://git.openstack.org/openstack/networking-bagpipe
814
Nate Johnston1d36a202019-03-15 15:01:21 -0400815- job:
816 name: neutron-tempest-plugin-fwaas
817 parent: neutron-tempest-plugin
818 timeout: 10800
819 required-projects:
820 - openstack/devstack-gate
821 - openstack/neutron-fwaas
822 - openstack/neutron
823 - openstack/neutron-tempest-plugin
824 - openstack/tempest
825 vars:
826 tempest_test_regex: ^neutron_tempest_plugin\.fwaas
827 tox_envlist: all-plugin
828 devstack_plugins:
829 neutron-fwaas: https://opendev.org/openstack/neutron-fwaas.git
830 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
831 network_api_extensions_common: *api_extensions_master
832 network_api_extensions_fwaas:
833 - fwaas_v2
834 devstack_localrc:
835 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_fwaas) | join(',') }}"
836 files:
837 - ^neutron_tempest_plugin/fwaas/.*$
838
Chandan Kumara564cf32017-11-16 16:09:38 +0530839- project-template:
840 name: neutron-tempest-plugin-jobs
841 check:
842 jobs:
843 - neutron-tempest-plugin-api
Jens Harbott860b46a2017-11-15 21:23:15 +0000844 - neutron-tempest-plugin-designate-scenario
Chandan Kumara564cf32017-11-16 16:09:38 +0530845 - neutron-tempest-plugin-dvr-multinode-scenario
846 - neutron-tempest-plugin-scenario-linuxbridge
Slawek Kaplonskie5b43502019-07-14 22:31:16 +0200847 - neutron-tempest-plugin-scenario-openvswitch
Chandan Kumara564cf32017-11-16 16:09:38 +0530848 gate:
849 jobs:
850 - neutron-tempest-plugin-api
Sławek Kapłońskifbc4d612018-05-08 23:22:41 +0200851 - neutron-tempest-plugin-scenario-linuxbridge
Slawek Kaplonskie5b43502019-07-14 22:31:16 +0200852 - neutron-tempest-plugin-scenario-openvswitch
Chandan Kumara564cf32017-11-16 16:09:38 +0530853
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000854- project-template:
Slawek Kaplonski0ec5acf2018-06-15 22:26:24 +0200855 name: neutron-tempest-plugin-jobs-queens
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000856 check:
857 jobs:
858 - neutron-tempest-plugin-api-queens
859 - neutron-tempest-plugin-designate-scenario-queens
860 - neutron-tempest-plugin-dvr-multinode-scenario-queens
861 - neutron-tempest-plugin-scenario-linuxbridge-queens
Slawek Kaplonskie5b43502019-07-14 22:31:16 +0200862 - neutron-tempest-plugin-scenario-openvswitch-queens
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000863 gate:
864 jobs:
865 - neutron-tempest-plugin-api-queens
866
Hongbin Lub600bea2018-08-23 02:49:48 +0000867- project-template:
868 name: neutron-tempest-plugin-jobs-rocky
869 check:
870 jobs:
871 - neutron-tempest-plugin-api-rocky
872 - neutron-tempest-plugin-designate-scenario-rocky
873 - neutron-tempest-plugin-dvr-multinode-scenario-rocky
874 - neutron-tempest-plugin-scenario-linuxbridge-rocky
Slawek Kaplonskie5b43502019-07-14 22:31:16 +0200875 - neutron-tempest-plugin-scenario-openvswitch-rocky
Hongbin Lub600bea2018-08-23 02:49:48 +0000876 gate:
877 jobs:
878 - neutron-tempest-plugin-api-rocky
879
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200880- project-template:
881 name: neutron-tempest-plugin-jobs-stein
882 check:
883 jobs:
884 - neutron-tempest-plugin-api-stein
885 - neutron-tempest-plugin-designate-scenario-stein
886 - neutron-tempest-plugin-dvr-multinode-scenario-stein
887 - neutron-tempest-plugin-scenario-linuxbridge-stein
Slawek Kaplonskie5b43502019-07-14 22:31:16 +0200888 - neutron-tempest-plugin-scenario-openvswitch-stein
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200889 gate:
890 jobs:
891 - neutron-tempest-plugin-api-stein
892
Chandan Kumara564cf32017-11-16 16:09:38 +0530893- project:
Chandan Kumara564cf32017-11-16 16:09:38 +0530894 templates:
Andreas Jaeger46a0ae22019-05-19 09:34:23 +0200895 - build-openstack-docs-pti
Chandan Kumara564cf32017-11-16 16:09:38 +0530896 - neutron-tempest-plugin-jobs
Slawek Kaplonski0ec5acf2018-06-15 22:26:24 +0200897 - neutron-tempest-plugin-jobs-queens
Hongbin Lub600bea2018-08-23 02:49:48 +0000898 - neutron-tempest-plugin-jobs-rocky
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200899 - neutron-tempest-plugin-jobs-stein
Doug Hellmann12685c62018-08-29 17:37:50 -0400900 - check-requirements
901 - tempest-plugin-jobs
Brian Haley2cbb10e2018-09-13 09:20:03 -0600902 - release-notes-jobs-python3
Bernard Cafarelli1a987ec2019-04-16 16:42:10 +0200903 check:
904 jobs:
905 - neutron-tempest-plugin-sfc
Slawek Kaplonskif40b4942019-05-29 08:53:33 +0200906 - neutron-tempest-plugin-bgpvpn-bagpipe
Nate Johnston1d36a202019-03-15 15:01:21 -0400907 - neutron-tempest-plugin-fwaas
Slawek Kaplonskif40b4942019-05-29 08:53:33 +0200908 gate:
909 jobs:
910 - neutron-tempest-plugin-bgpvpn-bagpipe
Nate Johnston1d36a202019-03-15 15:01:21 -0400911 - neutron-tempest-plugin-fwaas