blob: ff94a819e6b2be266c1b00dd999ca6856af26410 [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:
8 - zuul: openstack-dev/devstack
9 required-projects:
10 - openstack-infra/devstack-gate
11 - 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
17 devstack_localrc:
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +020018 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Hongbin Lu54f55922018-07-12 19:05:39 +000019 NETWORK_API_EXTENSIONS: address-scope,agent,allowed-address-pairs,auto-allocated-topology,availability_zone,binding,default-subnetpools,dhcp_agent_scheduler,dns-domain-ports,dns-integration,dvr,empty-string-filtering,ext-gw-mode,external-net,extra_dhcp_opt,extraroute,filter-validation,fip-port-details,flavors,ip-substring-filtering,l3-flavors,l3-ha,l3_agent_scheduler,logging,metering,multi-provider,net-mtu,net-mtu-writable,network-ip-availability,network_availability_zone,pagination,port-security,project-id,provider,qos,qos-fip,quotas,quota_details,rbac-policies,router,router_availability_zone,security-group,port-mac-address-regenerate,port-security-groups-filtering,segment,service-type,sorting,standard-attr-description,standard-attr-revisions,standard-attr-segment,standard-attr-timestamp,standard-attr-tag,subnet_allocation,trunk,trunk-details
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010020 devstack_plugins:
21 neutron: git://git.openstack.org/openstack/neutron.git
22 neutron-tempest-plugin: git://git.openstack.org/openstack/neutron-tempest-plugin.git
23 devstack_services:
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +020024 tls-proxy: false
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010025 tempest: true
26 neutron-dns: true
27 neutron-qos: true
28 neutron-segments: true
29 neutron-trunk: true
30 devstack_local_conf:
31 post-config:
32 $NEUTRON_CONF:
33 QUOTAS:
34 quota_router: 100
35 quota_floatingip: 500
36 quota_security_group: 100
37 quota_security_group_rule: 1000
38 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
39 # devstack-tempest job will be switched to use lib/neutron instead of
40 # lib/neutron-legacy
Doug Hellmann12685c62018-08-29 17:37:50 -040041 /$NEUTRON_CORE_PLUGIN_CONF:
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010042 ml2:
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +020043 type_drivers: flat,geneve,vlan,gre,local,vxlan
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010044 ml2_type_vlan:
45 network_vlan_ranges: foo:1:10
46 ml2_type_vxlan:
47 vni_ranges: 1:2000
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +020048 ml2_type_gre:
49 tunnel_id_ranges: 1:1000
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010050 $NEUTRON_L3_CONF:
51 agent:
52 availability_zone: nova
53 $NEUTRON_DHCP_CONF:
54 agent:
55 availability_zone: nova
Doug Hellmann12685c62018-08-29 17:37:50 -040056 /etc/neutron/api-paste.ini:
57 composite:neutronapi_v2_0:
58 use: call:neutron.auth:pipeline_factory
59 noauth: cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0
60 keystone: cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010061 test-config:
62 $TEMPEST_CONFIG:
63 neutron_plugin_options:
64 provider_vlans: foo,
65 agent_availability_zone: nova
66 image_is_advanced: true
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +020067 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
Hongbin Lue2089622018-08-14 15:32:46 +000068 irrelevant-files: &tempest-irrelevant-files
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010069 - ^(test-|)requirements.txt$
70 - ^releasenotes/.*$
71 - ^doc/.*$
72 - ^setup.cfg$
73 - ^.*\.rst$
74 - ^neutron/locale/.*$
75 - ^neutron/tests/unit/.*$
76 - ^tools/.*$
77 - ^tox.ini$
78
79- job:
Chandan Kumara564cf32017-11-16 16:09:38 +053080 name: neutron-tempest-plugin-api
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +020081 parent: neutron-tempest-plugin
82 vars:
83 tempest_test_regex: ^neutron_tempest_plugin\.api
84 devstack_services:
85 neutron-log: true
86 devstack_local_conf:
87 post-config:
88 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
89 # devstack-tempest job will be switched to use lib/neutron instead of
90 # lib/neutron-legacy
Doug Hellmann12685c62018-08-29 17:37:50 -040091 /$NEUTRON_CORE_PLUGIN_CONF:
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +020092 AGENT:
93 tunnel_types: gre,vxlan
94 network_log:
95 local_output_log_base: /tmp/test_log.log
Chandan Kumara564cf32017-11-16 16:09:38 +053096
97- job:
Hongbin Lu9522a7e2018-04-18 19:18:43 +000098 name: neutron-tempest-plugin-api-queens
99 parent: neutron-tempest-plugin-api
100 override-checkout: stable/queens
101 vars:
102 branch_override: stable/queens
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200103 devstack_localrc:
104 # TODO(slaweq): find a way to put this list of extensions in
105 # neutron repository and keep it different per branch,
106 # then it could be removed from here
Doug Hellmann12685c62018-08-29 17:37:50 -0400107 NETWORK_API_EXTENSIONS: address-scope,agent,allowed-address-pairs,auto-allocated-topology,availability_zone,binding,default-subnetpools,dhcp_agent_scheduler,dns-domain-ports,dns-integration,dvr,ext-gw-mode,external-net,extra_dhcp_opt,extraroute,flavors,ip-substring-filtering,l3-flavors,l3-ha,l3_agent_scheduler,logging,metering,multi-provider,net-mtu,net-mtu-writable,network-ip-availability,network_availability_zone,pagination,port-security,project-id,provider,qos,quotas,quota_details,rbac-policies,router,router_availability_zone,security-group,segment,service-type,sorting,standard-attr-description,standard-attr-revisions,standard-attr-timestamp,standard-attr-tag,subnet_allocation,tag,tag-ext,trunk,trunk-details
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200108
109- job:
110 name: neutron-tempest-plugin-scenario
111 parent: neutron-tempest-plugin
112 abstract: true
113 description: |
Doug Hellmann12685c62018-08-29 17:37:50 -0400114 Perform setup common to all tempest scenario test jobs.
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200115 vars:
116 tempest_test_regex: ^neutron_tempest_plugin\.scenario
117 devstack_localrc:
Doug Hellmann12685c62018-08-29 17:37:50 -0400118 PHYSICAL_NETWORK: default
119 DOWNLOAD_DEFAULT_IMAGES: false
120 IMAGE_URLS: http://cloud-images.ubuntu.com/releases/16.04/release-20180622/ubuntu-16.04-server-cloudimg-amd64-disk1.img,
121 DEFAULT_INSTANCE_TYPE: ds512M
122 DEFAULT_INSTANCE_USER: ubuntu
123 BUILD_TIMEOUT: 784
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200124 devstack_services:
125 cinder: true
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000126
127- job:
Chandan Kumara564cf32017-11-16 16:09:38 +0530128 name: neutron-tempest-plugin-scenario-linuxbridge
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100129 parent: neutron-tempest-plugin-scenario
Chandan Kumara564cf32017-11-16 16:09:38 +0530130 timeout: 10000
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100131 vars:
132 devstack_localrc:
Doug Hellmann12685c62018-08-29 17:37:50 -0400133 Q_AGENT: linuxbridge
Hongbin Lu54f55922018-07-12 19:05:39 +0000134 NETWORK_API_EXTENSIONS: address-scope,agent,allowed-address-pairs,auto-allocated-topology,availability_zone,binding,default-subnetpools,dhcp_agent_scheduler,dns-domain-ports,dns-integration,ext-gw-mode,external-net,extra_dhcp_opt,extraroute,filter-validation,fip-port-details,flavors,ip-substring-filtering,l3-flavors,l3-ha,l3_agent_scheduler,logging,metering,multi-provider,net-mtu,net-mtu-writable,network-ip-availability,network_availability_zone,pagination,port-security,project-id,provider,qos,qos-fip,quotas,quota_details,rbac-policies,router,router_availability_zone,security-group,port-security-groups-filtering,segment,service-type,sorting,standard-attr-description,standard-attr-revisions,standard-attr-timestamp,standard-attr-tag,subnet_allocation,tag,tag-ext,trunk,trunk-details
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100135 devstack_local_conf:
136 post-config:
137 $NEUTRON_CONF:
138 DEFAULT:
139 enable_dvr: false
140 AGENT:
141 debug_iptables_rules: true
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200142 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
143 # devstack-tempest job will be switched to use lib/neutron instead of
144 # lib/neutron-legacy
Doug Hellmann12685c62018-08-29 17:37:50 -0400145 /$NEUTRON_CORE_PLUGIN_CONF:
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200146 ml2:
147 type_drivers: flat,vlan,local,vxlan
148 test-config:
149 $TEMPEST_CONFIG:
150 neutron_plugin_options:
151 available_type_drivers: flat,vlan,local,vxlan
Chandan Kumara564cf32017-11-16 16:09:38 +0530152
153- job:
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000154 name: neutron-tempest-plugin-scenario-linuxbridge-queens
155 parent: neutron-tempest-plugin-scenario-linuxbridge
156 override-checkout: stable/queens
157 vars:
158 branch_override: stable/queens
Hongbin Lu965b03d2018-04-25 22:32:30 +0000159 devstack_localrc:
Doug Hellmann12685c62018-08-29 17:37:50 -0400160 NETWORK_API_EXTENSIONS: address-scope,agent,allowed-address-pairs,auto-allocated-topology,availability_zone,binding,default-subnetpools,dhcp_agent_scheduler,dns-integration,ext-gw-mode,external-net,extra_dhcp_opt,extraroute,flavors,ip-substring-filtering,l3-flavors,l3-ha,l3_agent_scheduler,logging,metering,multi-provider,net-mtu,net-mtu-writable,network-ip-availability,network_availability_zone,pagination,port-security,project-id,provider,qos,qos-fip,quotas,quota_details,rbac-policies,router,router_availability_zone,security-group,port-security-groups-filtering,segment,service-type,sorting,standard-attr-description,standard-attr-revisions,standard-attr-timestamp,standard-attr-tag,subnet_allocation,tag,tag-ext,trunk,trunk-details
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000161
162- job:
Chandan Kumara564cf32017-11-16 16:09:38 +0530163 name: neutron-tempest-plugin-dvr-multinode-scenario
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200164 parent: tempest-multinode-full
165 description: |
166 Perform setup for Neutron tempest tests in multinode with DVR scenario
167 roles:
168 - zuul: openstack-dev/devstack
Chandan Kumara564cf32017-11-16 16:09:38 +0530169 required-projects:
170 - openstack-infra/devstack-gate
171 - openstack/neutron
172 - openstack/neutron-tempest-plugin
173 - openstack/tempest
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200174 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
Chandan Kumara564cf32017-11-16 16:09:38 +0530175 voting: false
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200176 vars:
177 tempest_concurrency: 4
178 tox_envlist: all
179 tempest_test_regex: ^neutron_tempest_plugin\.scenario
180 devstack_localrc:
181 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
182 NETWORK_API_EXTENSIONS: "address-scope,agent,allowed-address-pairs,auto-allocated-topology,availability_zone,binding,default-subnetpools,dhcp_agent_scheduler,dns-integration,dvr,empty-string-filtering,ext-gw-mode,external-net,extra_dhcp_opt,extraroute,fip-port-details,flavors,ip-substring-filtering,l3-flavors,l3-ha,l3_agent_scheduler,logging,metering,multi-provider,net-mtu,net-mtu-writable,network-ip-availability,network_availability_zone,pagination,port-security,project-id,provider,qos,qos-fip,quotas,quota_details,rbac-policies,router,router_availability_zone,security-group,port-security-groups-filtering,segment,service-type,sorting,standard-attr-description,standard-attr-revisions,standard-attr-segment,standard-attr-timestamp,standard-attr-tag,subnet_allocation,trunk,trunk-details"
183 PHYSICAL_NETWORK: default
184 DOWNLOAD_DEFAULT_IMAGES: false
185 IMAGE_URLS: http://cloud-images.ubuntu.com/releases/16.04/release-20180622/ubuntu-16.04-server-cloudimg-amd64-disk1.img,
186 DEFAULT_INSTANCE_TYPE: ds512M
187 DEFAULT_INSTANCE_USER: ubuntu
188 BUILD_TIMEOUT: 784
189 devstack_plugins:
190 neutron: git://git.openstack.org/openstack/neutron.git
191 neutron-tempest-plugin: git://git.openstack.org/openstack/neutron-tempest-plugin.git
192 devstack_services:
193 tls-proxy: false
194 tempest: true
195 neutron-dns: true
196 neutron-qos: true
197 neutron-segments: true
198 neutron-trunk: true
199 neutron-log: true
200 cinder: true
201 devstack_local_conf:
202 post-config:
203 $NEUTRON_CONF:
204 quotas:
205 quota_router: 100
206 quota_floatingip: 500
207 quota_security_group: 100
208 quota_security_group_rule: 1000
209 DEFAULT:
210 router_distributed: True
211 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
212 # devstack-tempest job will be switched to use lib/neutron instead of
213 # lib/neutron-legacy
214 "/$NEUTRON_CORE_PLUGIN_CONF":
215 ml2:
216 type_drivers: flat,geneve,vlan,gre,local,vxlan
217 mechanism_drivers: openvswitch,l2population
218 ml2_type_vlan:
219 network_vlan_ranges: foo:1:10
220 ml2_type_vxlan:
221 vni_ranges: 1:2000
222 ml2_type_gre:
223 tunnel_id_ranges: 1:1000
224 agent:
225 enable_distributed_routing: True
226 l2_population: True
227 tunnel_types: vxlan,gre
228 ovs:
229 tunnel_bridge: br-tun
230 bridge_mappings: public:br-ex
231 $NEUTRON_L3_CONF:
232 DEFAULT:
233 agent_mode: dvr_snat
234 agent:
235 availability_zone: nova
236 $NEUTRON_DHCP_CONF:
237 agent:
238 availability_zone: nova
239 "/etc/neutron/api-paste.ini":
240 "composite:neutronapi_v2_0":
241 use: "call:neutron.auth:pipeline_factory"
242 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
243 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
244 test-config:
245 $TEMPEST_CONFIG:
246 neutron_plugin_options:
247 provider_vlans: foo,
248 agent_availability_zone: nova
249 image_is_advanced: true
250 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
251 l3_agent_mode: dvr_snat
252 group-vars:
253 subnode:
254 devstack_services:
255 tls-proxy: false
256 q-agt: true
257 q-l3: true
258 q-meta: true
259 neutron-qos: true
260 neutron-trunk: true
261 neutron-log: true
262 devstack_local_conf:
263 post-config:
264 $NEUTRON_CONF:
265 DEFAULT:
266 router_distributed: True
267 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
268 # devstack-tempest job will be switched to use lib/neutron instead of
269 # lib/neutron-legacy
270 "/$NEUTRON_CORE_PLUGIN_CONF":
271 agent:
272 enable_distributed_routing: True
273 l2_population: True
274 tunnel_types: vxlan,gre
275 ovs:
276 tunnel_bridge: br-tun
277 bridge_mappings: public:br-ex
278 $NEUTRON_L3_CONF:
279 DEFAULT:
280 agent_mode: dvr_snat
281 agent:
282 availability_zone: nova
283 irrelevant-files: *tempest-irrelevant-files
Chandan Kumara564cf32017-11-16 16:09:38 +0530284
Jens Harbott860b46a2017-11-15 21:23:15 +0000285- job:
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000286 name: neutron-tempest-plugin-dvr-multinode-scenario-queens
287 parent: neutron-tempest-plugin-dvr-multinode-scenario
288 override-checkout: stable/queens
289 vars:
290 branch_override: stable/queens
291
292- job:
Jens Harbott860b46a2017-11-15 21:23:15 +0000293 name: neutron-tempest-plugin-designate-scenario
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100294 parent: neutron-tempest-plugin-scenario
Jens Harbott860b46a2017-11-15 21:23:15 +0000295 description: Neutron designate integration scenario
296 required-projects:
297 - openstack/designate
298 - openstack/designate-dashboard
299 - openstack/designate-tempest-plugin
Jens Harbott860b46a2017-11-15 21:23:15 +0000300 timeout: 3600
Jens Harbott860b46a2017-11-15 21:23:15 +0000301 vars:
302 devstack_localrc:
Doug Hellmann12685c62018-08-29 17:37:50 -0400303 TEMPEST_PLUGINS: '"/opt/stack/designate-tempest-plugin /opt/stack/neutron-tempest-plugin"'
Jens Harbott860b46a2017-11-15 21:23:15 +0000304 DESIGNATE_BACKEND_DRIVER: bind9
305 devstack_plugins:
306 designate: git://git.openstack.org/openstack/designate.git
Jens Harbott860b46a2017-11-15 21:23:15 +0000307 devstack_services:
James E. Blair24195802018-01-24 16:46:38 -0800308 cinder: false
309 designate: true
James E. Blair24195802018-01-24 16:46:38 -0800310 tempest_test_regex: ^neutron_tempest_plugin\.scenario\.test_dns_integration
Hongbin Lue2089622018-08-14 15:32:46 +0000311 irrelevant-files: *tempest-irrelevant-files
Jens Harbott860b46a2017-11-15 21:23:15 +0000312
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000313- job:
314 name: neutron-tempest-plugin-designate-scenario-queens
315 parent: neutron-tempest-plugin-designate-scenario
316 override-checkout: stable/queens
317 vars:
318 branch_override: stable/queens
319
Chandan Kumara564cf32017-11-16 16:09:38 +0530320- project-template:
321 name: neutron-tempest-plugin-jobs
322 check:
323 jobs:
324 - neutron-tempest-plugin-api
Jens Harbott860b46a2017-11-15 21:23:15 +0000325 - neutron-tempest-plugin-designate-scenario
Chandan Kumara564cf32017-11-16 16:09:38 +0530326 - neutron-tempest-plugin-dvr-multinode-scenario
327 - neutron-tempest-plugin-scenario-linuxbridge
Chandan Kumar17f53802018-03-14 18:15:47 +0530328 - build-openstack-sphinx-docs
Chandan Kumara564cf32017-11-16 16:09:38 +0530329 gate:
330 jobs:
331 - neutron-tempest-plugin-api
Sławek Kapłońskifbc4d612018-05-08 23:22:41 +0200332 - neutron-tempest-plugin-scenario-linuxbridge
Chandan Kumar17f53802018-03-14 18:15:47 +0530333 - build-openstack-sphinx-docs
Chandan Kumara564cf32017-11-16 16:09:38 +0530334
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000335- project-template:
Slawek Kaplonski0ec5acf2018-06-15 22:26:24 +0200336 name: neutron-tempest-plugin-jobs-queens
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000337 check:
338 jobs:
339 - neutron-tempest-plugin-api-queens
340 - neutron-tempest-plugin-designate-scenario-queens
341 - neutron-tempest-plugin-dvr-multinode-scenario-queens
342 - neutron-tempest-plugin-scenario-linuxbridge-queens
343 gate:
344 jobs:
345 - neutron-tempest-plugin-api-queens
346
Chandan Kumara564cf32017-11-16 16:09:38 +0530347- project:
Chandan Kumara564cf32017-11-16 16:09:38 +0530348 templates:
349 - neutron-tempest-plugin-jobs
Slawek Kaplonski0ec5acf2018-06-15 22:26:24 +0200350 - neutron-tempest-plugin-jobs-queens
Doug Hellmann12685c62018-08-29 17:37:50 -0400351 - check-requirements
352 - tempest-plugin-jobs
Brian Haley2cbb10e2018-09-13 09:20:03 -0600353 - release-notes-jobs-python3