ovn-octavia-provider/zuul.d/base.yaml
Maciej Józefczyk 5cebb58c1d Make ovn-octavia-provider-v2-dsvm-scenario voting
We still have scenario tests failing and it needs further work
in Octavia tempest plugin [1] and Core-OVN [2].
However, scenario tests are not the only ones that we expect to pass, so
for now ignore those test cases:

octavia_tempest_plugin.tests.scenario.v2.test_traffic_ops.TrafficOperationsScenarioTest.test_basic_traffic
octavia_tempest_plugin.tests.scenario.v2.test_traffic_ops.TrafficOperationsScenarioTest.test_basic_udp_traffic

and set this job to voting.

[1] https://review.opendev.org/#/c/714004/
[2] https://bugs.launchpad.net/neutron/+bug/1871239

Change-Id: I388438133e9028e7805aba017334d94a11aeda5f
2020-04-21 12:11:26 +02:00

136 lines
4.5 KiB
YAML

- job:
name: ovn-octavia-provider-functional
parent: devstack-minimal
description: Run OVN Octavia provider functional tests
timeout: 7800
required-projects:
- opendev.org/openstack/devstack
- openstack/neutron
- openstack/requirements
roles:
- zuul: openstack/devstack
pre-run: playbooks/configure_functional_job.yaml
run: playbooks/run_functional_job.yaml
post-run: playbooks/post_functional_job.yaml
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
vars:
devstack_services:
# Ignore any default set by devstack. Emit a "disable_all_services".
base: false
devstack_localrc:
INSTALL_TESTONLY_PACKAGES: true
DATABASE_PASSWORD: stackdb
tox_envlist: dsvm-functional
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/openstack/requirements/upper-constraints.txt'
zuul_copy_output:
# We need to copy directory with logs to have it in job artifacts also,
# /opt/stack/logs is default logs directory defined in neutron's
# tox.ini file
'{{ devstack_base_dir }}/logs/dsvm-functional-logs': logs
- job:
name: ovn-octavia-provider-dsvm-base
parent: devstack-tempest
timeout: 7800
required-projects:
- openstack/devstack-gate
- openstack/neutron
- openstack/octavia
- openstack/octavia-lib
- openstack/octavia-tempest-plugin
- openstack/python-octaviaclient
- openstack/ovn-octavia-provider
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
vars:
devstack_localrc:
Q_AGENT: ovn
Q_ML2_PLUGIN_MECHANISM_DRIVERS: ovn,logger
Q_ML2_PLUGIN_TYPE_DRIVERS: local,flat,vlan,geneve
Q_ML2_TENANT_NETWORK_TYPE: geneve
USE_PYTHON3: True
TEMPEST_PLUGINS: '/opt/stack/octavia-tempest-plugin'
OCTAVIA_NODE: api
DISABLE_AMP_IMAGE_BUILD: true
OVN_L3_CREATE_PUBLIC_NETWORK: true
Q_USE_PROVIDERNET_FOR_PUBLIC: true
PHYSICAL_NETWORK: public
ENABLE_CHASSIS_AS_GW: true
OVN_DBS_LOG_LEVEL: dbg
devstack_local_conf:
post-config:
$OCTAVIA_CONF:
api_settings:
enabled_provider_drivers: 'ovn:OVN provider driver'
default_provider_driver: 'ovn'
test-config:
"$TEMPEST_CONFIG":
load_balancer:
provider: 'ovn'
test_with_ipv6: False
enable_security_groups: True
loadbalancer-feature-enabled:
health_monitor_enabled: False
pool_algorithms_enabled: False
l7_protocol_enabled: False
l4_protocol: "TCP"
session_persistence_enabled: False
devstack_services:
c-bak: false
ceilometer-acentral: false
ceilometer-acompute: false
ceilometer-alarm-evaluator: false
ceilometer-alarm-notifier: false
ceilometer-anotification: false
ceilometer-api: false
ceilometer-collector: false
c-sch: false
c-api: false
c-vol: false
cinder: false
q-svc: true
q-dns: true
q-dhcp: false
q-agt: false
q-meta: false
q-l3: false
ovn-northd: true
ovn-controller: true
q-ovn-metadata-agent: true
octavia: true
o-api: true
o-da: true
o-hk: true
o-cw: false
o-hm: false
swift: false
s-account: false
s-container: false
s-object: false
s-proxy: false
tempest: true
etcd: false
devstack_plugins:
neutron: https://opendev.org/openstack/neutron.git
octavia: https://opendev.org/openstack/octavia.git
octavia-tempest-plugin: https://opendev.org/openstack/octavia-tempest-plugin.git
ovn-octavia-provider: https://opendev.org/openstack/ovn-octavia-provider
- job:
name: ovn-octavia-provider-v2-dsvm-scenario
parent: ovn-octavia-provider-dsvm-base
vars:
tempest_test_regex: ^octavia_tempest_plugin.tests.scenario.v2
tempest_black_regex: "\
(^octavia_tempest_plugin.tests.scenario.v2.test_traffic_ops.TrafficOperationsScenarioTest.test_basic_traffic)|\
(^octavia_tempest_plugin.tests.scenario.v2.test_traffic_ops.TrafficOperationsScenarioTest.test_basic_udp_traffic)"
tempest_concurrency: 2
tox_envlist: all