Since [1], some cirros images have been deleted from the CI cache. It
could happen that using cirros images not cached, that implies to
download them, could fail. Any version not cached should be replaced by
its closer image version.
[1]https://review.opendev.org/c/openstack/project-config/+/873735
Conflicts:
zuul.d/tempest-multinode.yaml
Related-Bug: #2039586
Change-Id: I683b822becee6b2828eeed04a87d573caa9a76aa
(cherry picked from commit d9596fd18f)
382 lines
12 KiB
YAML
382 lines
12 KiB
YAML
- job:
|
|
name: neutron-tempest-dvr-ha-multinode-full
|
|
parent: tempest-multinode-full-py3
|
|
timeout: 10800
|
|
roles:
|
|
- zuul: openstack/neutron-tempest-plugin
|
|
required-projects:
|
|
- openstack/neutron
|
|
- openstack/tempest
|
|
pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
|
|
irrelevant-files: &openvswitch-irrelevant-files
|
|
- ^(test-|)requirements.txt$
|
|
- ^releasenotes/.*$
|
|
- ^doc/.*$
|
|
- ^setup.cfg$
|
|
- ^.*\.rst$
|
|
- ^neutron/locale/.*$
|
|
- ^neutron/tests/.*$
|
|
- ^tools/.*$
|
|
- ^tox.ini$
|
|
- ^neutron/agent/ovn/.*$
|
|
- ^neutron/agent/windows/.*$
|
|
- ^neutron/plugins/ml2/drivers/linuxbridge/.*$
|
|
- ^neutron/plugins/ml2/drivers/macvtap/.*$
|
|
- ^neutron/plugins/ml2/drivers/mech_sriov/.*$
|
|
- ^neutron/plugins/ml2/drivers/ovn/.*$
|
|
- ^neutron/services/ovn_l3/.*$
|
|
- ^neutron/services/logapi/drivers/ovn/.*$
|
|
- ^neutron/services/portforwarding/drivers/ovn/.*$
|
|
- ^neutron/services/qos/drivers/linuxbridge/.*$
|
|
- ^neutron/services/qos/drivers/ovn/.*$
|
|
- ^neutron/services/trunk/drivers/linuxbridge/.*$
|
|
- ^neutron/services/trunk/drivers/ovn/.*$
|
|
- ^neutron/cmd/ovn/.*$
|
|
- ^neutron/common/ovn/.*$
|
|
- ^vagrant/.*$
|
|
- ^zuul.d/(?!(project)).*\.yaml
|
|
voting: false
|
|
vars:
|
|
tox_envlist: integrated-network
|
|
devstack_localrc:
|
|
CIRROS_VERSION: 0.5.2
|
|
DEFAULT_IMAGE_NAME: cirros-0.5.2-x86_64-uec
|
|
DEFAULT_IMAGE_FILE_NAME: cirros-0.5.2-x86_64-uec.tar.gz
|
|
devstack_services:
|
|
br-ex-tcpdump: true
|
|
br-int-flows: true
|
|
# Cinder services
|
|
c-api: false
|
|
c-bak: false
|
|
c-sch: false
|
|
c-vol: false
|
|
cinder: false
|
|
# Swift services
|
|
s-account: false
|
|
s-container: false
|
|
s-object: false
|
|
s-proxy: false
|
|
devstack_plugins:
|
|
neutron: https://opendev.org/openstack/neutron.git
|
|
devstack_local_conf:
|
|
post-config:
|
|
$NEUTRON_CONF:
|
|
DEFAULT:
|
|
router_distributed: True
|
|
l3_ha: 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:
|
|
mechanism_drivers: openvswitch,l2population
|
|
agent:
|
|
enable_distributed_routing: True
|
|
l2_population: True
|
|
tunnel_types: vxlan
|
|
arp_responder: True
|
|
ovs:
|
|
tunnel_bridge: br-tun
|
|
bridge_mappings: public:br-ex
|
|
$NEUTRON_L3_CONF:
|
|
DEFAULT:
|
|
agent_mode: dvr_snat
|
|
agent:
|
|
availability_zone: nova
|
|
$NEUTRON_DHCP_CONF:
|
|
agent:
|
|
availability_zone: nova
|
|
group-vars:
|
|
subnode:
|
|
devstack_plugins:
|
|
neutron: https://opendev.org/openstack/neutron.git
|
|
devstack_services:
|
|
q-agt: true
|
|
q-l3: true
|
|
q-meta: true
|
|
br-ex-tcpdump: true
|
|
br-int-flows: true
|
|
# Cinder services
|
|
c-api: false
|
|
c-bak: false
|
|
c-sch: false
|
|
c-vol: false
|
|
cinder: false
|
|
# Swift services
|
|
s-account: false
|
|
s-container: false
|
|
s-object: false
|
|
s-proxy: false
|
|
devstack_local_conf:
|
|
post-config:
|
|
$NEUTRON_CONF:
|
|
DEFAULT:
|
|
router_distributed: 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":
|
|
agent:
|
|
enable_distributed_routing: True
|
|
l2_population: True
|
|
tunnel_types: vxlan
|
|
arp_responder: True
|
|
ovs:
|
|
tunnel_bridge: br-tun
|
|
bridge_mappings: public:br-ex
|
|
resource_provider_bandwidths: br-ex:1000000:1000000
|
|
$NEUTRON_L3_CONF:
|
|
DEFAULT:
|
|
agent_mode: dvr_snat
|
|
agent:
|
|
availability_zone: nova
|
|
|
|
- job:
|
|
name: neutron-tempest-multinode-full-py3
|
|
parent: tempest-multinode-full-py3
|
|
timeout: 10800
|
|
irrelevant-files: *openvswitch-irrelevant-files
|
|
vars:
|
|
tox_envlist: integrated-network
|
|
devstack_localrc:
|
|
CIRROS_VERSION: 0.5.2
|
|
DEFAULT_IMAGE_NAME: cirros-0.5.2-x86_64-uec
|
|
DEFAULT_IMAGE_FILE_NAME: cirros-0.5.2-x86_64-uec.tar.gz
|
|
devstack_plugins:
|
|
neutron: https://opendev.org/openstack/neutron.git
|
|
devstack_services:
|
|
br-ex-tcpdump: true
|
|
br-int-flows: true
|
|
# Cinder services
|
|
c-api: false
|
|
c-bak: false
|
|
c-sch: false
|
|
c-vol: false
|
|
cinder: false
|
|
# Swift services
|
|
s-account: false
|
|
s-container: false
|
|
s-object: false
|
|
s-proxy: false
|
|
devstack_local_conf:
|
|
post-config:
|
|
$NEUTRON_CONF:
|
|
nova:
|
|
live_migration_events: True
|
|
group-vars:
|
|
subnode:
|
|
devstack_services:
|
|
# Cinder services
|
|
c-bak: false
|
|
c-vol: false
|
|
|
|
- job:
|
|
name: neutron-tempest-slow-py3
|
|
parent: tempest-slow-py3
|
|
timeout: 10800
|
|
irrelevant-files: *openvswitch-irrelevant-files
|
|
vars:
|
|
devstack_plugins:
|
|
neutron: https://opendev.org/openstack/neutron.git
|
|
devstack_localrc:
|
|
CIRROS_VERSION: 0.5.2
|
|
DEFAULT_IMAGE_NAME: cirros-0.5.2-x86_64-uec
|
|
DEFAULT_IMAGE_FILE_NAME: cirros-0.5.2-x86_64-uec.tar.gz
|
|
devstack_services:
|
|
br-ex-tcpdump: true
|
|
br-int-flows: true
|
|
# Cinder services
|
|
c-api: false
|
|
c-bak: false
|
|
c-sch: false
|
|
c-vol: false
|
|
cinder: false
|
|
# Swift services
|
|
s-account: false
|
|
s-container: false
|
|
s-object: false
|
|
s-proxy: false
|
|
group-vars:
|
|
subnode:
|
|
devstack_services:
|
|
# Cinder services
|
|
c-bak: false
|
|
c-vol: false
|
|
|
|
- job:
|
|
name: neutron-ovn-multinode-base
|
|
description: Base multinode job for devstack/tempest to test Neutron with ovn driver.
|
|
abstract: true
|
|
parent: tempest-multinode-full-py3
|
|
timeout: 10800
|
|
required-projects:
|
|
- openstack/neutron
|
|
- openstack/neutron-tempest-plugin
|
|
- openstack/tempest
|
|
irrelevant-files:
|
|
- ^(test-|)requirements.txt$
|
|
- ^releasenotes/.*$
|
|
- ^doc/.*$
|
|
- ^setup.cfg$
|
|
- ^.*\.rst$
|
|
- ^neutron/locale/.*$
|
|
- ^neutron/tests/.*$
|
|
- ^tools/.*$
|
|
- ^tox.ini$
|
|
- ^neutron/agent/dhcp/.*$
|
|
- ^neutron/agent/l2/.*$
|
|
- ^neutron/agent/l3/.*$
|
|
- ^neutron/agent/metadata/.*$
|
|
- ^neutron/agent/windows/.*$
|
|
- ^neutron/agent/dhcp_agent.py
|
|
- ^neutron/agent/l3_agent.py
|
|
- ^neutron/agent/metadata_agent.py
|
|
- ^neutron/agent/resource_cache.py
|
|
- ^neutron/agent/rpc.py
|
|
- ^neutron/agent/securitygroup_rpc.py
|
|
- ^neutron/plugins/ml2/drivers/linuxbridge/.*$
|
|
- ^neutron/plugins/ml2/drivers/openvswitch/.*$
|
|
- ^neutron/plugins/ml2/drivers/macvtap/.*$
|
|
- ^neutron/plugins/ml2/drivers/mech_sriov/.*$
|
|
- ^neutron/services/qos/drivers/linuxbridge/.*$
|
|
- ^neutron/services/qos/drivers/openvswitch/.*$
|
|
- ^neutron/services/trunk/drivers/linuxbridge/.*$
|
|
- ^neutron/services/trunk/drivers/openvswitch/.*$
|
|
- ^neutron/scheduler/.*$
|
|
- ^zuul.d/(?!(project)).*\.yaml
|
|
roles:
|
|
- zuul: zuul/zuul-jobs
|
|
- zuul: openstack/neutron-tempest-plugin
|
|
pre-run: playbooks/prepare-ovn-multinode.yaml
|
|
vars:
|
|
devstack_local_conf:
|
|
test-config:
|
|
$TEMPEST_CONFIG:
|
|
neutron_plugin_options:
|
|
is_igmp_snooping_enabled: True
|
|
post-config:
|
|
"/$NEUTRON_CORE_PLUGIN_CONF":
|
|
ovn:
|
|
enable_distributed_floating_ip: True
|
|
devstack_localrc:
|
|
CIRROS_VERSION: 0.5.2
|
|
DEFAULT_IMAGE_NAME: cirros-0.5.2-x86_64-uec
|
|
DEFAULT_IMAGE_FILE_NAME: cirros-0.5.2-x86_64-uec.tar.gz
|
|
Q_AGENT: ovn
|
|
ML2_L3_PLUGIN: ovn-router,trunk
|
|
Q_ML2_PLUGIN_MECHANISM_DRIVERS: ovn,logger
|
|
Q_ML2_TENANT_NETWORK_TYPE: geneve
|
|
Q_USE_PROVIDERNET_FOR_PUBLIC: true
|
|
PHYSICAL_NETWORK: public
|
|
ENABLE_CHASSIS_AS_GW: true
|
|
OVN_L3_CREATE_PUBLIC_NETWORK: true
|
|
OVN_DBS_LOG_LEVEL: dbg
|
|
BUILD_TIMEOUT: 784
|
|
ENABLE_TLS: True
|
|
OVN_IGMP_SNOOPING_ENABLE: True
|
|
devstack_plugins:
|
|
neutron: https://opendev.org/openstack/neutron
|
|
neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
|
|
zuul_copy_output:
|
|
'/var/log/ovn': 'logs'
|
|
'/var/log/openvswitch': 'logs'
|
|
'/var/lib/ovn': 'logs'
|
|
extensions_to_txt:
|
|
db: true
|
|
devstack_services:
|
|
etcd: false
|
|
br-ex-tcpdump: true
|
|
br-int-flows: true
|
|
q-ovn-metadata-agent: true
|
|
ovn-controller: true
|
|
ovn-northd: true
|
|
ovs-vswitchd: true
|
|
ovsdb-server: true
|
|
placement-api: true
|
|
q-svc: true
|
|
q-agt: false
|
|
q-dhcp: false
|
|
q-l3: false
|
|
q-meta: false
|
|
q-metering: false
|
|
q-dns: true
|
|
# Cinder services
|
|
c-api: false
|
|
c-bak: false
|
|
c-sch: false
|
|
c-vol: false
|
|
cinder: false
|
|
# When running python3 Swift should be disabled for now
|
|
s-account: false
|
|
s-container: false
|
|
s-object: false
|
|
s-proxy: false
|
|
tls-proxy: true
|
|
q-qos: true
|
|
neutron-segments: True
|
|
q-port-forwarding: true
|
|
# NOTE(slaweq): disable dstat until bug
|
|
# https://bugs.launchpad.net/ubuntu/+source/dstat/+bug/1866619 will be
|
|
# fixed
|
|
dstat: false
|
|
group-vars:
|
|
subnode:
|
|
devstack_services:
|
|
br-ex-tcpdump: true
|
|
br-int-flows: true
|
|
ovn-controller: true
|
|
ovn-northd: false
|
|
ovs-vswitchd: true
|
|
ovsdb-server: true
|
|
# NOTE(slaweq): it's just to check if this will force devstack to
|
|
# configure neutron and ML2 plugin on subnodes
|
|
q-fake: true
|
|
q-svc: false
|
|
q-agt: false
|
|
q-dhcp: false
|
|
q-l3: false
|
|
q-meta: false
|
|
q-metering: false
|
|
q-ovn-metadata-agent: true
|
|
tls-proxy: true
|
|
# NOTE(slaweq): disable dstat until bug
|
|
# https://bugs.launchpad.net/ubuntu/+source/dstat/+bug/1866619 will be
|
|
# fixed
|
|
dstat: false
|
|
# Cinder services
|
|
c-bak: false
|
|
c-vol: false
|
|
devstack_localrc:
|
|
Q_AGENT: ovn
|
|
Q_ML2_PLUGIN_MECHANISM_DRIVERS: ovn,logger
|
|
Q_ML2_TENANT_NETWORK_TYPE: geneve
|
|
Q_USE_PROVIDERNET_FOR_PUBLIC: true
|
|
PHYSICAL_NETWORK: public
|
|
ENABLE_CHASSIS_AS_GW: false
|
|
OVN_DBS_LOG_LEVEL: dbg
|
|
USE_PYTHON3: True
|
|
ENABLE_TLS: True
|
|
|
|
|
|
- job:
|
|
name: neutron-ovn-tempest-slow
|
|
parent: neutron-ovn-multinode-base
|
|
vars:
|
|
tox_envlist: slow-serial
|
|
tempest_test_regex: ""
|
|
# TODO(slaweq): remove tests from
|
|
# tempest.scenario.test_network_v6.TestGettingAddress module from
|
|
# prohibit list when bug https://bugs.launchpad.net/neutron/+bug/1863577
|
|
# will be fixed
|
|
# TODO(mjozefcz): The test test_port_security_macspoofing_port
|
|
# and related bug https://bugs.launchpad.net/tempest/+bug/1728886
|
|
# are fixed in Core-OVN, but tempest-slow job uses stable release of
|
|
# core OVN now and thats why it is still failing in this job.
|
|
# Remove this prohibit list when OVN 20.06 will be releaseed and consumed.
|
|
# In addition: on next PTG we will discuss the rules of running specific
|
|
# jobs with OVN master and OVN release branches. Please consider
|
|
# specyfing explicitely the version of OVN in tempest-slow jobs.
|
|
tempest_exclude_regex: "\
|
|
(?:tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_port_security_macspoofing_port)|\
|
|
(^tempest.scenario.test_network_v6.TestGettingAddress)"
|