96f3b37b43
neutron-fullstack-with-uwsgi and neutron-functional-with-uwsgi
jobs are run in devstack gate[1] also. On devstack side these jobs
are broken when migrated to zuulv3 and start using neutron defined
tox env. neutron gate is no issue as job find the tox env in neutron's
tox.ini but devstack does not.
We need to define the working dir to neutron so that any where
they are run they always look for the neutron's tox.ini for used
tox env.
Failure: https://review.opendev.org/#/c/577779/
[1] c3b58f5335/.zuul.yaml (L717)
Change-Id: I0cadebb45864a83dfba7b54c9f161d11611164db
72 lines
2.7 KiB
YAML
72 lines
2.7 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:
|
|
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
|