d086058895
OVS tag v2.13.0 is not compatible with current used kernel on upstream Bionic Ubuntu kernel 4.15.0. This patch sticks to commit hash to unblock the gate. We can either change to newer 2.13 tag once released or better stop compiling OVS and use one packaged by Ubuntu. Run functional/fullstack tests with selected OVN and OVS versions Previously for functional tests OVS version was hardcoded - v2.12.0, and OVN was installed from OVS repository. After we merged OVN driver to Neutron tree we run both Neutron/OVS and Neutron/OVN functional tests in one job. This patch adds possibility to specify from which tag/branch OVS and OVN should be checkout. Change-Id: I83688031951b97bfe64f3aaa761ad7afc1d5ea55 Closes-Bug: #1883601 Closes-Bug: #1878160
75 lines
2.9 KiB
YAML
75 lines
2.9 KiB
YAML
- job:
|
|
name: neutron-functional
|
|
parent: devstack-minimal
|
|
description: Run neutron 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/.*$
|
|
- ^neutron/locale/.*$
|
|
- ^releasenotes/.*$
|
|
vars:
|
|
OVN_BRANCH: v20.03.0
|
|
# TODO(jlibosva): v2.13.0 is incompatible with kernel 4.15.0, sticking to commit hash until new v2.13 tag is created.
|
|
OVS_BRANCH: 51e9479da62edb04a5be47a7655de75c299b9fa1
|
|
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_install_siblings: false
|
|
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: neutron-fullstack
|
|
parent: neutron-functional
|
|
vars:
|
|
tox_envlist: dsvm-fullstack-gate
|
|
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-fullstack-logs': logs
|
|
|
|
- job:
|
|
name: neutron-fullstack-with-uwsgi
|
|
parent: neutron-fullstack
|
|
vars:
|
|
devstack_localrc:
|
|
NEUTRON_DEPLOY_MOD_WSGI: true
|
|
# Because this job uses neutron defined tox env (defined in base job),
|
|
# we need to set zuul_work_dir to neutron so that it can be used by
|
|
# other projects. Currently devstack run this job. Not setting this
|
|
# in base neutron-functional job as that is being used by neutron
|
|
# stadium projects where they need to use stadium project as working dir.
|
|
zuul_work_dir: src/opendev.org/openstack/neutron
|
|
|
|
- job:
|
|
name: neutron-functional-with-uwsgi
|
|
parent: neutron-functional
|
|
vars:
|
|
devstack_localrc:
|
|
NEUTRON_DEPLOY_MOD_WSGI: true
|
|
# Because this job uses neutron defined tox env (defined in base job),
|
|
# we need to set zuul_work_dir to neutron so that it can be used by
|
|
# other projects. Currently devstack run this job. Not setting this
|
|
# in base neutron-functional job as that is being used by neutron
|
|
# stadium projects where they need to use stadium project as working dir.
|
|
zuul_work_dir: src/opendev.org/openstack/neutron
|