![Matt Riedemann](/assets/img/avatar_default.png)
ironic-tempest-dsvm-ipa-wholedisk-bios-agent_ipmitool-tinyipa is defined in the ironic repo but nova uses it because it's defined in the project-config repo with it's own irrelevant-files list. Due to a recent change in zuul [1], the definition from project-config overrides the irrelevant-files from the job definition in ironic and results in us running this job on things like docs-only changes in nova, which is not awesome. This change moves the job usage in-tree from project-config and updates the irrelevant-files list to match nova-dsvm-base. Since project-config is branchless, we'll have to backport this in-tree change to nova's stable branches to continue running this job on nova stable branches once the override is removed from project-config. [1] http://lists.openstack.org/pipermail/openstack-dev/2018-June/131304.html Change-Id: I9435fe84c8dc8a6f35ffb195ddbf71ca34edb242 Closes-Bug: #1776981
212 lines
6.6 KiB
YAML
212 lines
6.6 KiB
YAML
# See https://docs.openstack.org/infra/manual/drivers.html#naming-with-zuul-v3
|
|
# for job naming conventions.
|
|
- job:
|
|
name: nova-dsvm-base
|
|
parent: legacy-dsvm-base
|
|
description: |
|
|
The base job definition for nova devstack/tempest jobs.
|
|
Contains common configuration.
|
|
timeout: 10800
|
|
required-projects:
|
|
- openstack-infra/devstack-gate
|
|
- openstack/nova
|
|
- openstack/tempest
|
|
irrelevant-files:
|
|
- ^(placement-)?api-.*$
|
|
- ^(test-|)requirements.txt$
|
|
- ^.*\.rst$
|
|
- ^.git.*$
|
|
- ^doc/.*$
|
|
- ^nova/hacking/.*$
|
|
- ^nova/locale/.*$
|
|
- ^nova/tests/.*$
|
|
- ^releasenotes/.*$
|
|
- ^setup.cfg$
|
|
- ^tests-py3.txt$
|
|
- ^tools/.*$
|
|
- ^tox.ini$
|
|
|
|
- job:
|
|
name: nova-dsvm-multinode-base
|
|
parent: legacy-dsvm-base-multinode
|
|
description: |
|
|
Base job for multinode nova devstack/tempest jobs.
|
|
Will setup firewall rules on all the nodes allowing them to talk to
|
|
each other.
|
|
timeout: 10800
|
|
required-projects:
|
|
- openstack-infra/devstack-gate
|
|
- openstack/nova
|
|
- openstack/tempest
|
|
irrelevant-files:
|
|
- ^(placement-)?api-.*$
|
|
- ^(test-|)requirements.txt$
|
|
- ^.*\.rst$
|
|
- ^.git.*$
|
|
- ^doc/.*$
|
|
- ^nova/hacking/.*$
|
|
- ^nova/locale/.*$
|
|
- ^nova/tests/(?!live_migration).*$
|
|
- ^releasenotes/.*$
|
|
- ^setup.cfg$
|
|
- ^tests-py3.txt$
|
|
- ^tools/.*$
|
|
- ^tox.ini$
|
|
nodeset: legacy-ubuntu-xenial-2-node
|
|
|
|
- job:
|
|
name: nova-tox-functional
|
|
parent: openstack-tox
|
|
description: |
|
|
Run tox-based functional tests for the OpenStack Nova project with Nova
|
|
specific irrelevant-files list. Uses tox with the ``functional``
|
|
environment.
|
|
irrelevant-files:
|
|
- ^.*\.rst$
|
|
- ^api-.*$
|
|
- ^doc/source/.*$
|
|
- ^nova/locale/.*$
|
|
- ^placement-api-ref/.*$
|
|
- ^releasenotes/.*$
|
|
vars:
|
|
tox_envlist: functional
|
|
timeout: 3600
|
|
|
|
- job:
|
|
name: nova-tox-functional-py35
|
|
parent: openstack-tox
|
|
description: |
|
|
Run tox-based functional tests for the OpenStack Nova project
|
|
under cPython version 3.5. with Nova specific irrelevant-files list.
|
|
Uses tox with the ``functional-py35`` environment.
|
|
irrelevant-files:
|
|
- ^.*\.rst$
|
|
- ^api-.*$
|
|
- ^doc/source/.*$
|
|
- ^nova/locale/.*$
|
|
- ^placement-api-ref/.*$
|
|
- ^releasenotes/.*$
|
|
vars:
|
|
tox_envlist: functional-py35
|
|
timeout: 3600
|
|
|
|
- job:
|
|
name: nova-caching-scheduler
|
|
parent: nova-dsvm-base
|
|
description: |
|
|
Run non-slow Tempest API and scenario tests using the CachingScheduler.
|
|
run: playbooks/legacy/nova-caching-scheduler/run.yaml
|
|
post-run: playbooks/legacy/nova-caching-scheduler/post.yaml
|
|
|
|
- job:
|
|
name: nova-cells-v1
|
|
parent: nova-dsvm-base
|
|
run: playbooks/legacy/nova-cells-v1/run.yaml
|
|
post-run: playbooks/legacy/nova-cells-v1/post.yaml
|
|
|
|
- job:
|
|
name: nova-live-migration
|
|
parent: nova-dsvm-multinode-base
|
|
run: playbooks/legacy/nova-live-migration/run.yaml
|
|
post-run: playbooks/legacy/nova-live-migration/post.yaml
|
|
|
|
- job:
|
|
name: nova-lvm
|
|
parent: nova-dsvm-base
|
|
description: |
|
|
Run tempest compute API tests using LVM image backend. This only runs
|
|
against nova/virt/libvirt/* changes.
|
|
run: playbooks/legacy/nova-lvm/run.yaml
|
|
post-run: playbooks/legacy/nova-lvm/post.yaml
|
|
# Copy irrelevant-files from nova-dsvm-base and then exclude anything
|
|
# that is not in the nova/virt/libvirt/* tree (besides the actual zuul
|
|
# playbook and tempest rc files so this can be self-testing).
|
|
irrelevant-files:
|
|
- ^(?!.zuul.yaml)(?!playbooks/legacy/nova-lvm/)(?!devstack/tempest-dsvm-lvm-rc)(?!nova/virt/libvirt/).*$
|
|
- ^(placement-)?api-.*$
|
|
- ^(test-|)requirements.txt$
|
|
- ^.*\.rst$
|
|
- ^.git.*$
|
|
- ^doc/.*$
|
|
- ^nova/hacking/.*$
|
|
- ^nova/locale/.*$
|
|
- ^nova/tests/.*$
|
|
- ^releasenotes/.*$
|
|
- ^setup.cfg$
|
|
- ^tests-py3.txt$
|
|
- ^tools/.*$
|
|
- ^tox.ini$
|
|
# TODO(mriedem): Make this voting and gating once bug 1771700 is fixed
|
|
# and we've had enough runs to feel comfortable with this setup.
|
|
voting: false
|
|
|
|
- job:
|
|
name: nova-multiattach
|
|
parent: nova-dsvm-base
|
|
description: |
|
|
Run tempest integration tests with volume multiattach support enabled.
|
|
This job will only work starting with Queens.
|
|
It uses the default Cinder volume type in devstack (lvm) and the
|
|
default compute driver in devstack (libvirt).
|
|
run: playbooks/legacy/nova-multiattach/run.yaml
|
|
post-run: playbooks/legacy/nova-multiattach/post.yaml
|
|
|
|
- job:
|
|
name: nova-next
|
|
parent: nova-dsvm-base
|
|
description: |
|
|
This job was added in Newton when placement and cellsv2
|
|
were optional. Placement and cellsv2 are required starting in Ocata. In
|
|
Pike, the service user token functionality was added. This job is also
|
|
unique in that it runs the post_test_hook from the nova repo, which runs
|
|
post-test scripts to ensure those scripts are still working,
|
|
e.g. archive_deleted_rows. In Queens, this job started testing the
|
|
TLS console proxy code in the libvirt driver.
|
|
run: playbooks/legacy/nova-next/run.yaml
|
|
post-run: playbooks/legacy/nova-next/post.yaml
|
|
|
|
- project:
|
|
# Please try to keep the list of job names sorted alphabetically.
|
|
check:
|
|
jobs:
|
|
# We define our own irrelevant-files so we don't run the job
|
|
# on things like nova docs-only changes.
|
|
- ironic-tempest-dsvm-ipa-wholedisk-bios-agent_ipmitool-tinyipa:
|
|
voting: false
|
|
# This irrelevant-files list should match nova-dsvm-base.
|
|
# TODO(mriedem): Define a node anchor to deduplicate this.
|
|
irrelevant-files:
|
|
- ^(placement-)?api-.*$
|
|
- ^(test-|)requirements.txt$
|
|
- ^.*\.rst$
|
|
- ^.git.*$
|
|
- ^doc/.*$
|
|
- ^nova/hacking/.*$
|
|
- ^nova/locale/.*$
|
|
- ^nova/tests/.*$
|
|
- ^releasenotes/.*$
|
|
- ^setup.cfg$
|
|
- ^tests-py3.txt$
|
|
- ^tools/.*$
|
|
- ^tox.ini$
|
|
- nova-cells-v1
|
|
- nova-live-migration
|
|
- nova-lvm
|
|
- nova-multiattach
|
|
- nova-next
|
|
- nova-tox-functional
|
|
- nova-tox-functional-py35
|
|
- openstack-tox-lower-constraints
|
|
gate:
|
|
jobs:
|
|
- nova-cells-v1
|
|
- nova-live-migration
|
|
- nova-multiattach
|
|
- nova-next
|
|
- nova-tox-functional
|
|
- nova-tox-functional-py35
|
|
- openstack-tox-lower-constraints
|
|
experimental:
|
|
jobs:
|
|
- nova-caching-scheduler
|