blob: 636327ee67a2cfdeee13b63ef22b37839a6c649c [file] [log] [blame]
Chandan Kumara564cf32017-11-16 16:09:38 +05301- job:
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +01002 name: neutron-tempest-plugin-scenario
3 parent: devstack-tempest
4 abstract: true
5 description: |
6 Perform setup common to all tempest scenario test jobs.
7 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:
15 tempest_test_regex: ^neutron_tempest_plugin\.scenario
16 tempest_concurrency: 4
17 tox_envlist: all
18 devstack_localrc:
19 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
20 PHYSICAL_NETWORK: default
21 DOWNLOAD_DEFAULT_IMAGES: false
22 IMAGE_URLS: "http://cloud-images.ubuntu.com/releases/16.04/release-20170113/ubuntu-16.04-server-cloudimg-amd64-disk1.img,"
23 DEFAULT_INSTANCE_TYPE: ds512M
24 DEFAULT_INSTANCE_USER: ubuntu
25 BUILD_TIMEOUT: 784
26 devstack_plugins:
27 neutron: git://git.openstack.org/openstack/neutron.git
28 neutron-tempest-plugin: git://git.openstack.org/openstack/neutron-tempest-plugin.git
29 devstack_services:
30 cinder: true
31 tempest: true
32 neutron-dns: true
33 neutron-qos: true
34 neutron-segments: true
35 neutron-trunk: true
36 devstack_local_conf:
37 post-config:
38 $NEUTRON_CONF:
39 QUOTAS:
40 quota_router: 100
41 quota_floatingip: 500
42 quota_security_group: 100
43 quota_security_group_rule: 1000
44 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
45 # devstack-tempest job will be switched to use lib/neutron instead of
46 # lib/neutron-legacy
47 "/$NEUTRON_CORE_PLUGIN_CONF":
48 ml2:
49 type_drivers: flat,vlan,local,vxlan
50 ml2_type_vlan:
51 network_vlan_ranges: foo:1:10
52 ml2_type_vxlan:
53 vni_ranges: 1:2000
54 $NEUTRON_L3_CONF:
55 agent:
56 availability_zone: nova
57 $NEUTRON_DHCP_CONF:
58 agent:
59 availability_zone: nova
60 "/etc/neutron/api-paste.ini":
61 "composite:neutronapi_v2_0":
62 use: "call:neutron.auth:pipeline_factory"
63 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
64 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
65 test-config:
66 $TEMPEST_CONFIG:
67 neutron_plugin_options:
68 provider_vlans: foo,
69 agent_availability_zone: nova
70 image_is_advanced: true
71 available_type_drivers: flat,vlan,local,vxlan
72 irrelevant-files:
73 - ^(test-|)requirements.txt$
74 - ^releasenotes/.*$
75 - ^doc/.*$
76 - ^setup.cfg$
77 - ^.*\.rst$
78 - ^neutron/locale/.*$
79 - ^neutron/tests/unit/.*$
80 - ^tools/.*$
81 - ^tox.ini$
82
83- job:
Chandan Kumara564cf32017-11-16 16:09:38 +053084 name: neutron-tempest-plugin-api
85 parent: legacy-dsvm-base
86 run: playbooks/neutron-tempest-plugin-api/run.yaml
87 post-run: playbooks/neutron-tempest-plugin-api/post.yaml
88 timeout: 10000
89 required-projects:
90 - openstack-infra/devstack-gate
91 - openstack/neutron
92 - openstack/neutron-tempest-plugin
93 - openstack/tempest
94 irrelevant-files:
95 - ^(test-|)requirements.txt$
96 - ^releasenotes/.*$
Ihar Hrachyshka5b6db5e2017-11-27 15:05:21 -080097 - ^doc/.*$
Chandan Kumara564cf32017-11-16 16:09:38 +053098 - ^setup.cfg$
Dongcan Yeda3fabd2018-02-12 14:37:17 +000099 - ^.*\.rst$
100 - ^neutron/locale/.*$
101 - ^neutron/tests/unit/.*$
102 - ^tools/.*$
103 - ^tox.ini$
Chandan Kumara564cf32017-11-16 16:09:38 +0530104
105- job:
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000106 name: neutron-tempest-plugin-api-queens
107 parent: neutron-tempest-plugin-api
108 override-checkout: stable/queens
109 vars:
110 branch_override: stable/queens
111
112- job:
Chandan Kumara564cf32017-11-16 16:09:38 +0530113 name: neutron-tempest-plugin-scenario-linuxbridge
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100114 parent: neutron-tempest-plugin-scenario
Chandan Kumara564cf32017-11-16 16:09:38 +0530115 timeout: 10000
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100116 vars:
117 devstack_localrc:
Sławek Kapłoński00d59bf2018-04-15 10:26:28 +0200118 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"
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100119 Q_AGENT: linuxbridge
120 devstack_local_conf:
121 post-config:
122 $NEUTRON_CONF:
123 DEFAULT:
124 enable_dvr: false
125 AGENT:
126 debug_iptables_rules: true
Chandan Kumara564cf32017-11-16 16:09:38 +0530127
128- job:
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000129 name: neutron-tempest-plugin-scenario-linuxbridge-queens
130 parent: neutron-tempest-plugin-scenario-linuxbridge
131 override-checkout: stable/queens
132 vars:
133 branch_override: stable/queens
134
135- job:
Chandan Kumara564cf32017-11-16 16:09:38 +0530136 name: neutron-tempest-plugin-dvr-multinode-scenario
137 parent: legacy-dsvm-base-multinode
138 run: playbooks/neutron-tempest-plugin-dvr-multinode-scenario/run.yaml
139 post-run: playbooks/neutron-tempest-plugin-dvr-multinode-scenario/post.yaml
140 nodeset: legacy-ubuntu-xenial-2-node
141 timeout: 10800
142 required-projects:
143 - openstack-infra/devstack-gate
144 - openstack/neutron
145 - openstack/neutron-tempest-plugin
146 - openstack/tempest
147 irrelevant-files:
148 - ^(test-|)requirements.txt$
149 - ^releasenotes/.*$
Ihar Hrachyshka5b6db5e2017-11-27 15:05:21 -0800150 - ^doc/.*$
Chandan Kumara564cf32017-11-16 16:09:38 +0530151 - ^setup.cfg$
Dongcan Yeda3fabd2018-02-12 14:37:17 +0000152 - ^.*\.rst$
153 - ^neutron/locale/.*$
154 - ^neutron/tests/unit/.*$
155 - ^tools/.*$
156 - ^tox.ini$
Chandan Kumara564cf32017-11-16 16:09:38 +0530157 voting: false
158
Jens Harbott860b46a2017-11-15 21:23:15 +0000159- job:
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000160 name: neutron-tempest-plugin-dvr-multinode-scenario-queens
161 parent: neutron-tempest-plugin-dvr-multinode-scenario
162 override-checkout: stable/queens
163 vars:
164 branch_override: stable/queens
165
166- job:
Jens Harbott860b46a2017-11-15 21:23:15 +0000167 name: neutron-tempest-plugin-designate-scenario
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100168 parent: neutron-tempest-plugin-scenario
Jens Harbott860b46a2017-11-15 21:23:15 +0000169 description: Neutron designate integration scenario
170 required-projects:
171 - openstack/designate
172 - openstack/designate-dashboard
173 - openstack/designate-tempest-plugin
Jens Harbott860b46a2017-11-15 21:23:15 +0000174 timeout: 3600
Jens Harbott860b46a2017-11-15 21:23:15 +0000175 vars:
176 devstack_localrc:
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100177 TEMPEST_PLUGINS: '"/opt/stack/designate-tempest-plugin
178 /opt/stack/neutron-tempest-plugin"'
Jens Harbott860b46a2017-11-15 21:23:15 +0000179 DESIGNATE_BACKEND_DRIVER: bind9
180 devstack_plugins:
181 designate: git://git.openstack.org/openstack/designate.git
Jens Harbott860b46a2017-11-15 21:23:15 +0000182 devstack_services:
James E. Blair24195802018-01-24 16:46:38 -0800183 cinder: false
184 designate: true
James E. Blair24195802018-01-24 16:46:38 -0800185 tempest_test_regex: ^neutron_tempest_plugin\.scenario\.test_dns_integration
Jens Harbott860b46a2017-11-15 21:23:15 +0000186 irrelevant-files:
187 - ^(test-|)requirements.txt$
188 - ^releasenotes/.*$
189 - ^setup.cfg$
190 voting: false
191
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000192- job:
193 name: neutron-tempest-plugin-designate-scenario-queens
194 parent: neutron-tempest-plugin-designate-scenario
195 override-checkout: stable/queens
196 vars:
197 branch_override: stable/queens
198
Chandan Kumara564cf32017-11-16 16:09:38 +0530199- project-template:
200 name: neutron-tempest-plugin-jobs
201 check:
202 jobs:
203 - neutron-tempest-plugin-api
Jens Harbott860b46a2017-11-15 21:23:15 +0000204 - neutron-tempest-plugin-designate-scenario
Chandan Kumara564cf32017-11-16 16:09:38 +0530205 - neutron-tempest-plugin-dvr-multinode-scenario
206 - neutron-tempest-plugin-scenario-linuxbridge
Chandan Kumar17f53802018-03-14 18:15:47 +0530207 - build-openstack-sphinx-docs
Chandan Kumara564cf32017-11-16 16:09:38 +0530208 gate:
209 jobs:
210 - neutron-tempest-plugin-api
Chandan Kumar17f53802018-03-14 18:15:47 +0530211 - build-openstack-sphinx-docs
Chandan Kumara564cf32017-11-16 16:09:38 +0530212
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000213- project-template:
214 name: neutron-tempest-plugin-jobs-stable
215 check:
216 jobs:
217 - neutron-tempest-plugin-api-queens
218 - neutron-tempest-plugin-designate-scenario-queens
219 - neutron-tempest-plugin-dvr-multinode-scenario-queens
220 - neutron-tempest-plugin-scenario-linuxbridge-queens
221 gate:
222 jobs:
223 - neutron-tempest-plugin-api-queens
224
Chandan Kumara564cf32017-11-16 16:09:38 +0530225- project:
Chandan Kumara564cf32017-11-16 16:09:38 +0530226 templates:
227 - neutron-tempest-plugin-jobs
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000228 - neutron-tempest-plugin-jobs-stable