Chandan Kumar | a564cf3 | 2017-11-16 16:09:38 +0530 | [diff] [blame] | 1 | - job: |
Sławek Kapłoński | df70bc8 | 2018-05-15 17:39:08 +0200 | [diff] [blame] | 2 | name: neutron-tempest-plugin |
Sławek Kapłoński | 36cc7ec | 2018-03-14 10:17:48 +0100 | [diff] [blame] | 3 | parent: devstack-tempest |
| 4 | abstract: true |
| 5 | description: | |
Doug Hellmann | 12685c6 | 2018-08-29 17:37:50 -0400 | [diff] [blame] | 6 | Perform setup common to all Neutron tempest tests |
Sławek Kapłoński | 36cc7ec | 2018-03-14 10:17:48 +0100 | [diff] [blame] | 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: |
Sławek Kapłoński | 36cc7ec | 2018-03-14 10:17:48 +0100 | [diff] [blame] | 15 | tempest_concurrency: 4 |
| 16 | tox_envlist: all |
| 17 | devstack_localrc: |
Sławek Kapłoński | df70bc8 | 2018-05-15 17:39:08 +0200 | [diff] [blame] | 18 | TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin |
Hongbin Lu | 54f5592 | 2018-07-12 19:05:39 +0000 | [diff] [blame] | 19 | 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ński | 36cc7ec | 2018-03-14 10:17:48 +0100 | [diff] [blame] | 20 | 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ński | df70bc8 | 2018-05-15 17:39:08 +0200 | [diff] [blame] | 24 | tls-proxy: false |
Sławek Kapłoński | 36cc7ec | 2018-03-14 10:17:48 +0100 | [diff] [blame] | 25 | 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 Hellmann | 12685c6 | 2018-08-29 17:37:50 -0400 | [diff] [blame] | 41 | /$NEUTRON_CORE_PLUGIN_CONF: |
Sławek Kapłoński | 36cc7ec | 2018-03-14 10:17:48 +0100 | [diff] [blame] | 42 | ml2: |
Sławek Kapłoński | df70bc8 | 2018-05-15 17:39:08 +0200 | [diff] [blame] | 43 | type_drivers: flat,geneve,vlan,gre,local,vxlan |
Sławek Kapłoński | 36cc7ec | 2018-03-14 10:17:48 +0100 | [diff] [blame] | 44 | ml2_type_vlan: |
| 45 | network_vlan_ranges: foo:1:10 |
| 46 | ml2_type_vxlan: |
| 47 | vni_ranges: 1:2000 |
Sławek Kapłoński | df70bc8 | 2018-05-15 17:39:08 +0200 | [diff] [blame] | 48 | ml2_type_gre: |
| 49 | tunnel_id_ranges: 1:1000 |
Sławek Kapłoński | 36cc7ec | 2018-03-14 10:17:48 +0100 | [diff] [blame] | 50 | $NEUTRON_L3_CONF: |
| 51 | agent: |
| 52 | availability_zone: nova |
| 53 | $NEUTRON_DHCP_CONF: |
| 54 | agent: |
| 55 | availability_zone: nova |
Doug Hellmann | 12685c6 | 2018-08-29 17:37:50 -0400 | [diff] [blame] | 56 | /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ński | 36cc7ec | 2018-03-14 10:17:48 +0100 | [diff] [blame] | 61 | 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ński | df70bc8 | 2018-05-15 17:39:08 +0200 | [diff] [blame] | 67 | available_type_drivers: flat,geneve,vlan,gre,local,vxlan |
Hongbin Lu | e208962 | 2018-08-14 15:32:46 +0000 | [diff] [blame] | 68 | irrelevant-files: &tempest-irrelevant-files |
Sławek Kapłoński | 36cc7ec | 2018-03-14 10:17:48 +0100 | [diff] [blame] | 69 | - ^(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 Kumar | a564cf3 | 2017-11-16 16:09:38 +0530 | [diff] [blame] | 80 | name: neutron-tempest-plugin-api |
Sławek Kapłoński | df70bc8 | 2018-05-15 17:39:08 +0200 | [diff] [blame] | 81 | 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 Hellmann | 12685c6 | 2018-08-29 17:37:50 -0400 | [diff] [blame] | 91 | /$NEUTRON_CORE_PLUGIN_CONF: |
Sławek Kapłoński | df70bc8 | 2018-05-15 17:39:08 +0200 | [diff] [blame] | 92 | AGENT: |
| 93 | tunnel_types: gre,vxlan |
| 94 | network_log: |
| 95 | local_output_log_base: /tmp/test_log.log |
Chandan Kumar | a564cf3 | 2017-11-16 16:09:38 +0530 | [diff] [blame] | 96 | |
| 97 | - job: |
Hongbin Lu | 9522a7e | 2018-04-18 19:18:43 +0000 | [diff] [blame] | 98 | 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ński | df70bc8 | 2018-05-15 17:39:08 +0200 | [diff] [blame] | 103 | 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 Hellmann | 12685c6 | 2018-08-29 17:37:50 -0400 | [diff] [blame] | 107 | 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ński | df70bc8 | 2018-05-15 17:39:08 +0200 | [diff] [blame] | 108 | |
| 109 | - job: |
| 110 | name: neutron-tempest-plugin-scenario |
| 111 | parent: neutron-tempest-plugin |
| 112 | abstract: true |
| 113 | description: | |
Doug Hellmann | 12685c6 | 2018-08-29 17:37:50 -0400 | [diff] [blame] | 114 | Perform setup common to all tempest scenario test jobs. |
Sławek Kapłoński | df70bc8 | 2018-05-15 17:39:08 +0200 | [diff] [blame] | 115 | vars: |
| 116 | tempest_test_regex: ^neutron_tempest_plugin\.scenario |
| 117 | devstack_localrc: |
Doug Hellmann | 12685c6 | 2018-08-29 17:37:50 -0400 | [diff] [blame] | 118 | 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ński | df70bc8 | 2018-05-15 17:39:08 +0200 | [diff] [blame] | 124 | devstack_services: |
| 125 | cinder: true |
Hongbin Lu | 9522a7e | 2018-04-18 19:18:43 +0000 | [diff] [blame] | 126 | |
| 127 | - job: |
Chandan Kumar | a564cf3 | 2017-11-16 16:09:38 +0530 | [diff] [blame] | 128 | name: neutron-tempest-plugin-scenario-linuxbridge |
Sławek Kapłoński | 36cc7ec | 2018-03-14 10:17:48 +0100 | [diff] [blame] | 129 | parent: neutron-tempest-plugin-scenario |
Chandan Kumar | a564cf3 | 2017-11-16 16:09:38 +0530 | [diff] [blame] | 130 | timeout: 10000 |
Sławek Kapłoński | 36cc7ec | 2018-03-14 10:17:48 +0100 | [diff] [blame] | 131 | vars: |
| 132 | devstack_localrc: |
Doug Hellmann | 12685c6 | 2018-08-29 17:37:50 -0400 | [diff] [blame] | 133 | Q_AGENT: linuxbridge |
Hongbin Lu | 54f5592 | 2018-07-12 19:05:39 +0000 | [diff] [blame] | 134 | 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ński | 36cc7ec | 2018-03-14 10:17:48 +0100 | [diff] [blame] | 135 | 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ński | df70bc8 | 2018-05-15 17:39:08 +0200 | [diff] [blame] | 142 | # 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 Hellmann | 12685c6 | 2018-08-29 17:37:50 -0400 | [diff] [blame] | 145 | /$NEUTRON_CORE_PLUGIN_CONF: |
Sławek Kapłoński | df70bc8 | 2018-05-15 17:39:08 +0200 | [diff] [blame] | 146 | 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 Kumar | a564cf3 | 2017-11-16 16:09:38 +0530 | [diff] [blame] | 152 | |
| 153 | - job: |
Hongbin Lu | 9522a7e | 2018-04-18 19:18:43 +0000 | [diff] [blame] | 154 | 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 Lu | 965b03d | 2018-04-25 22:32:30 +0000 | [diff] [blame] | 159 | devstack_localrc: |
Doug Hellmann | 12685c6 | 2018-08-29 17:37:50 -0400 | [diff] [blame] | 160 | 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 Lu | 9522a7e | 2018-04-18 19:18:43 +0000 | [diff] [blame] | 161 | |
| 162 | - job: |
Chandan Kumar | a564cf3 | 2017-11-16 16:09:38 +0530 | [diff] [blame] | 163 | name: neutron-tempest-plugin-dvr-multinode-scenario |
| 164 | parent: legacy-dsvm-base-multinode |
| 165 | run: playbooks/neutron-tempest-plugin-dvr-multinode-scenario/run.yaml |
| 166 | post-run: playbooks/neutron-tempest-plugin-dvr-multinode-scenario/post.yaml |
| 167 | nodeset: legacy-ubuntu-xenial-2-node |
| 168 | timeout: 10800 |
| 169 | required-projects: |
| 170 | - openstack-infra/devstack-gate |
| 171 | - openstack/neutron |
| 172 | - openstack/neutron-tempest-plugin |
| 173 | - openstack/tempest |
Hongbin Lu | e208962 | 2018-08-14 15:32:46 +0000 | [diff] [blame] | 174 | irrelevant-files: *tempest-irrelevant-files |
Chandan Kumar | a564cf3 | 2017-11-16 16:09:38 +0530 | [diff] [blame] | 175 | voting: false |
| 176 | |
Jens Harbott | 860b46a | 2017-11-15 21:23:15 +0000 | [diff] [blame] | 177 | - job: |
Hongbin Lu | 9522a7e | 2018-04-18 19:18:43 +0000 | [diff] [blame] | 178 | name: neutron-tempest-plugin-dvr-multinode-scenario-queens |
| 179 | parent: neutron-tempest-plugin-dvr-multinode-scenario |
| 180 | override-checkout: stable/queens |
| 181 | vars: |
| 182 | branch_override: stable/queens |
| 183 | |
| 184 | - job: |
Jens Harbott | 860b46a | 2017-11-15 21:23:15 +0000 | [diff] [blame] | 185 | name: neutron-tempest-plugin-designate-scenario |
Sławek Kapłoński | 36cc7ec | 2018-03-14 10:17:48 +0100 | [diff] [blame] | 186 | parent: neutron-tempest-plugin-scenario |
Jens Harbott | 860b46a | 2017-11-15 21:23:15 +0000 | [diff] [blame] | 187 | description: Neutron designate integration scenario |
| 188 | required-projects: |
| 189 | - openstack/designate |
| 190 | - openstack/designate-dashboard |
| 191 | - openstack/designate-tempest-plugin |
Jens Harbott | 860b46a | 2017-11-15 21:23:15 +0000 | [diff] [blame] | 192 | timeout: 3600 |
Jens Harbott | 860b46a | 2017-11-15 21:23:15 +0000 | [diff] [blame] | 193 | vars: |
| 194 | devstack_localrc: |
Doug Hellmann | 12685c6 | 2018-08-29 17:37:50 -0400 | [diff] [blame] | 195 | TEMPEST_PLUGINS: '"/opt/stack/designate-tempest-plugin /opt/stack/neutron-tempest-plugin"' |
Jens Harbott | 860b46a | 2017-11-15 21:23:15 +0000 | [diff] [blame] | 196 | DESIGNATE_BACKEND_DRIVER: bind9 |
| 197 | devstack_plugins: |
| 198 | designate: git://git.openstack.org/openstack/designate.git |
Jens Harbott | 860b46a | 2017-11-15 21:23:15 +0000 | [diff] [blame] | 199 | devstack_services: |
James E. Blair | 2419580 | 2018-01-24 16:46:38 -0800 | [diff] [blame] | 200 | cinder: false |
| 201 | designate: true |
James E. Blair | 2419580 | 2018-01-24 16:46:38 -0800 | [diff] [blame] | 202 | tempest_test_regex: ^neutron_tempest_plugin\.scenario\.test_dns_integration |
Hongbin Lu | e208962 | 2018-08-14 15:32:46 +0000 | [diff] [blame] | 203 | irrelevant-files: *tempest-irrelevant-files |
Jens Harbott | 860b46a | 2017-11-15 21:23:15 +0000 | [diff] [blame] | 204 | |
Hongbin Lu | 9522a7e | 2018-04-18 19:18:43 +0000 | [diff] [blame] | 205 | - job: |
| 206 | name: neutron-tempest-plugin-designate-scenario-queens |
| 207 | parent: neutron-tempest-plugin-designate-scenario |
| 208 | override-checkout: stable/queens |
| 209 | vars: |
| 210 | branch_override: stable/queens |
| 211 | |
Chandan Kumar | a564cf3 | 2017-11-16 16:09:38 +0530 | [diff] [blame] | 212 | - project-template: |
| 213 | name: neutron-tempest-plugin-jobs |
| 214 | check: |
| 215 | jobs: |
| 216 | - neutron-tempest-plugin-api |
Jens Harbott | 860b46a | 2017-11-15 21:23:15 +0000 | [diff] [blame] | 217 | - neutron-tempest-plugin-designate-scenario |
Chandan Kumar | a564cf3 | 2017-11-16 16:09:38 +0530 | [diff] [blame] | 218 | - neutron-tempest-plugin-dvr-multinode-scenario |
| 219 | - neutron-tempest-plugin-scenario-linuxbridge |
Chandan Kumar | 17f5380 | 2018-03-14 18:15:47 +0530 | [diff] [blame] | 220 | - build-openstack-sphinx-docs |
Chandan Kumar | a564cf3 | 2017-11-16 16:09:38 +0530 | [diff] [blame] | 221 | gate: |
| 222 | jobs: |
| 223 | - neutron-tempest-plugin-api |
Sławek Kapłoński | fbc4d61 | 2018-05-08 23:22:41 +0200 | [diff] [blame] | 224 | - neutron-tempest-plugin-scenario-linuxbridge |
Chandan Kumar | 17f5380 | 2018-03-14 18:15:47 +0530 | [diff] [blame] | 225 | - build-openstack-sphinx-docs |
Chandan Kumar | a564cf3 | 2017-11-16 16:09:38 +0530 | [diff] [blame] | 226 | |
Hongbin Lu | 9522a7e | 2018-04-18 19:18:43 +0000 | [diff] [blame] | 227 | - project-template: |
Slawek Kaplonski | 0ec5acf | 2018-06-15 22:26:24 +0200 | [diff] [blame] | 228 | name: neutron-tempest-plugin-jobs-queens |
Hongbin Lu | 9522a7e | 2018-04-18 19:18:43 +0000 | [diff] [blame] | 229 | check: |
| 230 | jobs: |
| 231 | - neutron-tempest-plugin-api-queens |
| 232 | - neutron-tempest-plugin-designate-scenario-queens |
| 233 | - neutron-tempest-plugin-dvr-multinode-scenario-queens |
| 234 | - neutron-tempest-plugin-scenario-linuxbridge-queens |
| 235 | gate: |
| 236 | jobs: |
| 237 | - neutron-tempest-plugin-api-queens |
| 238 | |
Chandan Kumar | a564cf3 | 2017-11-16 16:09:38 +0530 | [diff] [blame] | 239 | - project: |
Chandan Kumar | a564cf3 | 2017-11-16 16:09:38 +0530 | [diff] [blame] | 240 | templates: |
| 241 | - neutron-tempest-plugin-jobs |
Slawek Kaplonski | 0ec5acf | 2018-06-15 22:26:24 +0200 | [diff] [blame] | 242 | - neutron-tempest-plugin-jobs-queens |
Doug Hellmann | 12685c6 | 2018-08-29 17:37:50 -0400 | [diff] [blame] | 243 | - check-requirements |
| 244 | - tempest-plugin-jobs |
Brian Haley | 2cbb10e | 2018-09-13 09:20:03 -0600 | [diff] [blame] | 245 | - release-notes-jobs-python3 |