8988a01a96
That way we will run our API tests on the ML2/{OVS,OVN,Linuxbridge} deployments which will give us slightly better coverage in some cases as some API extensions may be available only with some specific backends (see NDPProxy for example, which isn't available on the ML2/OVN case). This will also allow us to drop neutron-tempest-plugin-api job and having less jobs with same or better coverage is always good thing :) Change-Id: Ie34e89636c56783000b4d72a479c23d8d1295002
280 lines
11 KiB
YAML
280 lines
11 KiB
YAML
- job:
|
|
name: neutron-tempest-plugin-api-queens
|
|
nodeset: openstack-single-node-xenial
|
|
parent: neutron-tempest-plugin-base
|
|
override-checkout: stable/queens
|
|
required-projects:
|
|
- openstack/neutron
|
|
- name: openstack/neutron-tempest-plugin
|
|
override-checkout: 0.3.0
|
|
- openstack/tempest
|
|
vars:
|
|
devstack_services:
|
|
# Disable OVN services
|
|
br-ex-tcpdump: false
|
|
br-int-flows: false
|
|
ovn-controller: false
|
|
ovn-northd: false
|
|
ovs-vswitchd: false
|
|
ovsdb-server: false
|
|
q-ovn-metadata-agent: false
|
|
# Neutron services
|
|
q-agt: true
|
|
q-dhcp: true
|
|
q-l3: true
|
|
q-meta: true
|
|
q-metering: true
|
|
branch_override: stable/queens
|
|
tempest_test_regex: ^neutron_tempest_plugin\.api
|
|
# TODO(slaweq): find a way to put this list of extensions in
|
|
# neutron repository and keep it different per branch,
|
|
# then it could be removed from here
|
|
network_api_extensions_common: &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
|
|
- 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
|
|
- segment
|
|
- service-type
|
|
- sorting
|
|
- standard-attr-description
|
|
- standard-attr-revisions
|
|
- standard-attr-timestamp
|
|
- standard-attr-tag
|
|
- subnet_allocation
|
|
- subnet-service-types
|
|
- trunk
|
|
- trunk-details
|
|
network_api_extensions_tempest:
|
|
- dvr
|
|
network_available_features: &available_features
|
|
-
|
|
devstack_localrc:
|
|
NEUTRON_DEPLOY_MOD_WSGI: false
|
|
USE_PYTHON3: false
|
|
CIRROS_VERSION: 0.3.5
|
|
DEFAULT_IMAGE_NAME: cirros-0.3.5-x86_64-uec
|
|
DEFAULT_IMAGE_FILE_NAME: cirros-0.3.5-x86_64-uec.tar.gz
|
|
NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
|
|
TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
|
|
Q_AGENT: openvswitch
|
|
Q_ML2_TENANT_NETWORK_TYPE: vxlan
|
|
Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
|
|
ML2_L3_PLUGIN: router
|
|
devstack_local_conf:
|
|
post-config:
|
|
# NOTE(slaweq): We can get rid of this hardcoded absolute path when
|
|
# devstack-tempest job will be switched to use lib/neutron instead of
|
|
# lib/neutron-legacy
|
|
/$NEUTRON_CORE_PLUGIN_CONF:
|
|
AGENT:
|
|
tunnel_types: gre,vxlan
|
|
ml2:
|
|
type_drivers: flat,geneve,vlan,gre,local,vxlan
|
|
test-config:
|
|
$TEMPEST_CONFIG:
|
|
neutron_plugin_options:
|
|
available_type_drivers: flat,geneve,vlan,gre,local,vxlan
|
|
|
|
|
|
|
|
- job:
|
|
name: neutron-tempest-plugin-scenario-openvswitch-queens
|
|
parent: neutron-tempest-plugin-openvswitch
|
|
nodeset: openstack-single-node-xenial
|
|
override-checkout: stable/queens
|
|
required-projects:
|
|
- openstack/neutron
|
|
- name: openstack/neutron-tempest-plugin
|
|
override-checkout: 0.3.0
|
|
- openstack/tempest
|
|
vars:
|
|
branch_override: stable/queens
|
|
tempest_test_regex: "\
|
|
(^neutron_tempest_plugin.scenario)|\
|
|
(^tempest.api.compute.servers.test_attach_interfaces)|\
|
|
(^tempest.api.compute.servers.test_multiple_create)"
|
|
network_api_extensions: *api_extensions
|
|
network_available_features: *available_features
|
|
devstack_local_conf:
|
|
post-config:
|
|
$NEUTRON_L3_CONF:
|
|
DEFAULT:
|
|
# NOTE(slaweq): on Xenial keepalived don't knows this option yet
|
|
keepalived_use_no_track: False
|
|
# TODO(slaweq): remove trunks subport_connectivity test from blacklist
|
|
# when bug https://bugs.launchpad.net/neutron/+bug/1838760 will be fixed
|
|
# NOTE(bcafarel): remove DNS test as queens pinned version does not have
|
|
# fix for https://bugs.launchpad.net/neutron/+bug/1826419
|
|
tempest_black_regex: "\
|
|
(^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_subport_connectivity)|\
|
|
(^neutron_tempest_plugin.scenario.test_internal_dns.InternalDNSTest.test_dns_domain_and_name)"
|
|
devstack_localrc:
|
|
USE_PYTHON3: false
|
|
CIRROS_VERSION: 0.3.5
|
|
DEFAULT_IMAGE_NAME: cirros-0.3.5-x86_64-uec
|
|
DEFAULT_IMAGE_FILE_NAME: cirros-0.3.5-x86_64-uec.tar.gz
|
|
NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
|
|
TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
|
|
# NOTE(slaweq) some tests are not running fine with ubuntu minimal on
|
|
# Queens
|
|
IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
|
|
ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
|
|
ADVANCED_INSTANCE_TYPE: ds512M
|
|
ADVANCED_INSTANCE_USER: ubuntu
|
|
CUSTOMIZE_IMAGE: false
|
|
|
|
- job:
|
|
name: neutron-tempest-plugin-scenario-linuxbridge-queens
|
|
parent: neutron-tempest-plugin-base
|
|
nodeset: openstack-single-node-xenial
|
|
timeout: 10000
|
|
roles:
|
|
- zuul: openstack/neutron
|
|
override-checkout: stable/queens
|
|
required-projects:
|
|
- openstack/neutron
|
|
- name: openstack/neutron-tempest-plugin
|
|
override-checkout: 0.3.0
|
|
- openstack/tempest
|
|
vars:
|
|
branch_override: stable/queens
|
|
tempest_test_regex: "\
|
|
(^neutron_tempest_plugin.scenario)|\
|
|
(^tempest.api.compute.servers.test_attach_interfaces)|\
|
|
(^tempest.api.compute.servers.test_multiple_create)"
|
|
network_api_extensions: *api_extensions
|
|
network_available_features: *available_features
|
|
# NOTE(bcafarel): remove DNS test as queens pinned version does not have
|
|
# fix for https://bugs.launchpad.net/neutron/+bug/1826419
|
|
tempest_black_regex: "\
|
|
(^neutron_tempest_plugin.scenario.test_internal_dns.InternalDNSTest.test_dns_domain_and_name)"
|
|
devstack_localrc:
|
|
USE_PYTHON3: false
|
|
CIRROS_VERSION: 0.3.5
|
|
DEFAULT_IMAGE_NAME: cirros-0.3.5-x86_64-uec
|
|
DEFAULT_IMAGE_FILE_NAME: cirros-0.3.5-x86_64-uec.tar.gz
|
|
Q_AGENT: linuxbridge
|
|
NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
|
|
TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
|
|
# NOTE(slaweq) some tests are not running fine with ubuntu minimal on
|
|
# Queens
|
|
IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
|
|
ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
|
|
ADVANCED_INSTANCE_TYPE: ds512M
|
|
ADVANCED_INSTANCE_USER: ubuntu
|
|
CUSTOMIZE_IMAGE: false
|
|
devstack_local_conf:
|
|
post-config:
|
|
$NEUTRON_CONF:
|
|
DEFAULT:
|
|
enable_dvr: false
|
|
AGENT:
|
|
debug_iptables_rules: true
|
|
# NOTE(slaweq): We can get rid of this hardcoded absolute path when
|
|
# devstack-tempest job will be switched to use lib/neutron instead of
|
|
# lib/neutron-legacy
|
|
/$NEUTRON_CORE_PLUGIN_CONF:
|
|
ml2:
|
|
type_drivers: flat,vlan,local,vxlan
|
|
$NEUTRON_L3_CONF:
|
|
DEFAULT:
|
|
# NOTE(slaweq): on Xenial keepalived don't knows this option yet
|
|
keepalived_use_no_track: False
|
|
test-config:
|
|
# NOTE: ignores linux bridge's trunk delete on bound port test
|
|
# for rocky branch (as https://review.opendev.org/#/c/605589/
|
|
# fix will not apply for rocky branch)
|
|
$TEMPEST_CONFIG:
|
|
neutron_plugin_options:
|
|
available_type_drivers: flat,vlan,local,vxlan
|
|
q_agent: None
|
|
|
|
- job:
|
|
name: neutron-tempest-plugin-dvr-multinode-scenario-queens
|
|
parent: neutron-tempest-plugin-dvr-multinode-scenario
|
|
nodeset: openstack-two-node-xenial
|
|
override-checkout: stable/queens
|
|
required-projects:
|
|
- openstack/neutron
|
|
- name: openstack/neutron-tempest-plugin
|
|
override-checkout: 0.3.0
|
|
- openstack/tempest
|
|
vars:
|
|
branch_override: stable/queens
|
|
network_api_extensions_common: *api_extensions
|
|
# TODO(slaweq): remove trunks subport_connectivity test from blacklist
|
|
# when bug https://bugs.launchpad.net/neutron/+bug/1838760 will be fixed
|
|
# NOTE(bcafarel): remove DNS test as queens pinned version does not have
|
|
# fix for https://bugs.launchpad.net/neutron/+bug/1826419
|
|
tempest_black_regex: "\
|
|
(^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_subport_connectivity)|\
|
|
(^neutron_tempest_plugin.scenario.test_internal_dns.InternalDNSTest.test_dns_domain_and_name)"
|
|
devstack_localrc:
|
|
USE_PYTHON3: false
|
|
CIRROS_VERSION: 0.3.5
|
|
DEFAULT_IMAGE_NAME: cirros-0.3.5-x86_64-uec
|
|
DEFAULT_IMAGE_FILE_NAME: cirros-0.3.5-x86_64-uec.tar.gz
|
|
TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
|
|
|
|
- job:
|
|
name: neutron-tempest-plugin-designate-scenario-queens
|
|
parent: neutron-tempest-plugin-designate-scenario
|
|
nodeset: openstack-single-node-xenial
|
|
override-checkout: stable/queens
|
|
required-projects:
|
|
- openstack/neutron
|
|
- name: openstack/neutron-tempest-plugin
|
|
override-checkout: 0.3.0
|
|
- name: openstack/designate-tempest-plugin
|
|
override-checkout: 0.7.0
|
|
- openstack/tempest
|
|
vars:
|
|
branch_override: stable/queens
|
|
network_api_extensions_common: *api_extensions
|
|
# NOTE(bcafarel): remove DNS test as queens pinned version does not have
|
|
# fix for https://bugs.launchpad.net/neutron/+bug/1826419
|
|
tempest_black_regex: "\
|
|
(^neutron_tempest_plugin.scenario.test_internal_dns.InternalDNSTest.test_dns_domain_and_name)"
|
|
devstack_localrc:
|
|
USE_PYTHON3: false
|
|
CIRROS_VERSION: 0.3.5
|
|
DEFAULT_IMAGE_NAME: cirros-0.3.5-x86_64-uec
|
|
DEFAULT_IMAGE_FILE_NAME: cirros-0.3.5-x86_64-uec.tar.gz
|
|
TEMPEST_PLUGINS: '"/opt/stack/designate-tempest-plugin /opt/stack/neutron-tempest-plugin"'
|
|
ADVANCED_INSTANCE_TYPE: ds512M
|