2018-01-10 23:22:00 +00:00
|
|
|
# See https://docs.openstack.org/infra/manual/drivers.html#naming-with-zuul-v3
|
|
|
|
# for job naming conventions.
|
2019-10-14 11:14:35 +00:00
|
|
|
|
2018-01-12 15:23:00 +00:00
|
|
|
- job:
|
2021-12-14 01:26:19 +00:00
|
|
|
name: nova-tox-functional-centos8-py36
|
|
|
|
parent: openstack-tox-functional-py36
|
2022-01-13 18:03:02 +00:00
|
|
|
nodeset: devstack-single-node-centos-8-stream
|
2018-01-12 15:23:00 +00:00
|
|
|
description: |
|
2019-10-14 11:14:35 +00:00
|
|
|
Run tox-based functional tests for the OpenStack Nova project
|
2021-12-14 01:26:19 +00:00
|
|
|
under cPython version 3.6 with Nova specific irrelevant-files list.
|
|
|
|
Uses tox with the ``functional-py36`` environment.
|
2019-05-07 18:28:40 +00:00
|
|
|
|
|
|
|
This job also provides a parent for other projects to run the nova
|
|
|
|
functional tests on their own changes.
|
Use external placement in functional tests
Adjust the fixtures used by the functional tests so they
use placement database and web fixtures defined by placement
code. To avoid making redundant changes, the solely placement-
related unit and functional tests are removed, but the placement
code itself is not (yet).
openstack-placement is required by the functional tests. It is not
added to test-requirements as we do not want unit tests to depend
on placement in any way, and we enforce this by not having placement
in the test env.
The concept of tox-siblings is used to ensure that the
placement requirement will be satisfied correctly if there is a
depends-on. To make this happen, the functional jobs defined in
.zuul.yaml are updated to require openstack/placement.
tox.ini has to be updated to use a envdir that is the same
name as job. Otherwise the tox siblings role in ansible cannot work.
The handling of the placement fixtures is moved out of nova/test.py
into the functional tests that actually use it because we do not
want unit tests (which get the base test class out of test.py) to
have anything to do with placement. This requires adjusting some
test files to use absolute import.
Similarly, a test of the comparison function for the api samples tests
is moved into functional, because it depends on placement functionality,
TestUpgradeCheckResourceProviders in unit.cmd.test_status is moved into
a new test file: nova/tests/functional/test_nova_status.py. This is done
because it requires the PlacementFixture, which is only available to
functional tests. A MonkeyPatch is required in the test to make sure that
the right context managers are used at the right time in the command
itself (otherwise some tables do no exist). In the test itself, to avoid
speaking directly to the placement database, which would require
manipulating the RequestContext objects, resource providers are now
created over the API.
Co-Authored-By: Balazs Gibizer <balazs.gibizer@ericsson.com>
Change-Id: Idaed39629095f86d24a54334c699a26c218c6593
2018-11-14 13:02:25 +00:00
|
|
|
required-projects:
|
2019-05-07 18:28:40 +00:00
|
|
|
# including nova here makes this job reusable by other projects
|
|
|
|
- openstack/nova
|
Use external placement in functional tests
Adjust the fixtures used by the functional tests so they
use placement database and web fixtures defined by placement
code. To avoid making redundant changes, the solely placement-
related unit and functional tests are removed, but the placement
code itself is not (yet).
openstack-placement is required by the functional tests. It is not
added to test-requirements as we do not want unit tests to depend
on placement in any way, and we enforce this by not having placement
in the test env.
The concept of tox-siblings is used to ensure that the
placement requirement will be satisfied correctly if there is a
depends-on. To make this happen, the functional jobs defined in
.zuul.yaml are updated to require openstack/placement.
tox.ini has to be updated to use a envdir that is the same
name as job. Otherwise the tox siblings role in ansible cannot work.
The handling of the placement fixtures is moved out of nova/test.py
into the functional tests that actually use it because we do not
want unit tests (which get the base test class out of test.py) to
have anything to do with placement. This requires adjusting some
test files to use absolute import.
Similarly, a test of the comparison function for the api samples tests
is moved into functional, because it depends on placement functionality,
TestUpgradeCheckResourceProviders in unit.cmd.test_status is moved into
a new test file: nova/tests/functional/test_nova_status.py. This is done
because it requires the PlacementFixture, which is only available to
functional tests. A MonkeyPatch is required in the test to make sure that
the right context managers are used at the right time in the command
itself (otherwise some tables do no exist). In the test itself, to avoid
speaking directly to the placement database, which would require
manipulating the RequestContext objects, resource providers are now
created over the API.
Co-Authored-By: Balazs Gibizer <balazs.gibizer@ericsson.com>
Change-Id: Idaed39629095f86d24a54334c699a26c218c6593
2018-11-14 13:02:25 +00:00
|
|
|
- openstack/placement
|
2018-06-28 16:41:09 +00:00
|
|
|
irrelevant-files: &functional-irrelevant-files
|
2018-01-12 15:23:00 +00:00
|
|
|
- ^.*\.rst$
|
|
|
|
- ^api-.*$
|
2019-10-08 16:43:59 +00:00
|
|
|
- ^doc/(source|test)/.*$
|
2018-01-12 15:23:00 +00:00
|
|
|
- ^nova/locale/.*$
|
|
|
|
- ^releasenotes/.*$
|
2021-12-14 01:26:19 +00:00
|
|
|
vars:
|
|
|
|
# explicitly stating the work dir makes this job reusable by other
|
|
|
|
# projects
|
|
|
|
zuul_work_dir: src/opendev.org/openstack/nova
|
|
|
|
bindep_profile: test py36
|
|
|
|
timeout: 3600
|
|
|
|
|
|
|
|
- job:
|
|
|
|
name: nova-tox-functional-py38
|
|
|
|
parent: openstack-tox-functional-py38
|
|
|
|
description: |
|
|
|
|
Run tox-based functional tests for the OpenStack Nova project
|
|
|
|
under cPython version 3.8 with Nova specific irrelevant-files list.
|
|
|
|
Uses tox with the ``functional-py38`` environment.
|
|
|
|
|
|
|
|
This job also provides a parent for other projects to run the nova
|
|
|
|
functional tests on their own changes.
|
|
|
|
required-projects:
|
|
|
|
# including nova here makes this job reusable by other projects
|
|
|
|
- openstack/nova
|
|
|
|
- openstack/placement
|
|
|
|
irrelevant-files: *functional-irrelevant-files
|
2018-12-12 22:46:35 +00:00
|
|
|
vars:
|
2019-05-03 22:22:58 +00:00
|
|
|
# explicitly stating the work dir makes this job reusable by other
|
|
|
|
# projects
|
|
|
|
zuul_work_dir: src/opendev.org/openstack/nova
|
2020-05-04 19:11:40 +00:00
|
|
|
bindep_profile: test py38
|
2018-12-12 22:46:35 +00:00
|
|
|
timeout: 3600
|
|
|
|
|
2020-11-02 10:54:36 +00:00
|
|
|
- job:
|
|
|
|
name: nova-tox-functional-py39
|
|
|
|
parent: openstack-tox-functional-py39
|
|
|
|
description: |
|
|
|
|
Run tox-based functional tests for the OpenStack Nova project
|
|
|
|
under cPython version 3.9 with Nova specific irrelevant-files list.
|
|
|
|
Uses tox with the ``functional-py39`` environment.
|
|
|
|
|
|
|
|
This job also provides a parent for other projects to run the nova
|
|
|
|
functional tests on their own changes.
|
|
|
|
required-projects:
|
|
|
|
# including nova here makes this job reusable by other projects
|
|
|
|
- openstack/nova
|
|
|
|
- openstack/placement
|
|
|
|
irrelevant-files: *functional-irrelevant-files
|
|
|
|
vars:
|
|
|
|
# explicitly stating the work dir makes this job reusable by other
|
|
|
|
# projects
|
|
|
|
zuul_work_dir: src/opendev.org/openstack/nova
|
|
|
|
bindep_profile: test py39
|
|
|
|
timeout: 3600
|
|
|
|
|
2021-06-16 11:00:19 +00:00
|
|
|
- job:
|
|
|
|
name: nova-tox-validate-backport
|
|
|
|
parent: openstack-tox
|
|
|
|
description: |
|
|
|
|
Determine whether a backport is ready to be merged by checking whether it
|
|
|
|
has already been merged to master or more recent stable branches.
|
|
|
|
|
|
|
|
Uses tox with the ``validate-backport`` environment.
|
|
|
|
vars:
|
|
|
|
tox_envlist: validate-backport
|
|
|
|
|
2018-03-23 21:40:59 +00:00
|
|
|
- job:
|
|
|
|
name: nova-live-migration
|
2020-03-06 11:00:49 +00:00
|
|
|
parent: tempest-multinode-full-py3
|
|
|
|
description: |
|
|
|
|
Run tempest live migration tests against local qcow2 ephemeral storage
|
|
|
|
and shared LVM/iSCSI cinder volumes.
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: &nova-base-irrelevant-files
|
|
|
|
- ^api-.*$
|
|
|
|
- ^(test-|)requirements.txt$
|
|
|
|
- ^.*\.rst$
|
|
|
|
- ^.git.*$
|
|
|
|
- ^doc/.*$
|
|
|
|
- ^nova/hacking/.*$
|
|
|
|
- ^nova/locale/.*$
|
|
|
|
- ^nova/policies/.*$
|
|
|
|
- ^nova/tests/.*$
|
|
|
|
- ^nova/test.py$
|
|
|
|
- ^releasenotes/.*$
|
|
|
|
- ^setup.cfg$
|
|
|
|
- ^tools/.*$
|
|
|
|
- ^tox.ini$
|
|
|
|
|
2020-03-06 11:00:49 +00:00
|
|
|
vars:
|
|
|
|
tox_envlist: all
|
|
|
|
tempest_test_regex: (^tempest\.api\.compute\.admin\.(test_live_migration|test_migration))
|
2021-02-16 13:58:51 +00:00
|
|
|
devstack_services:
|
|
|
|
neutron-trunk: true
|
2020-03-06 11:00:49 +00:00
|
|
|
devstack_local_conf:
|
|
|
|
test-config:
|
|
|
|
$TEMPEST_CONFIG:
|
|
|
|
compute-feature-enabled:
|
|
|
|
volume_backed_live_migration: true
|
|
|
|
block_migration_for_live_migration: true
|
2021-06-11 12:05:51 +00:00
|
|
|
# NOTE(lyarwood): Skip until bug #1931702 is resolved.
|
|
|
|
block_migrate_cinder_iscsi: false
|
2020-09-30 14:42:23 +00:00
|
|
|
post-run: playbooks/nova-live-migration/post-run.yaml
|
2020-03-06 11:00:49 +00:00
|
|
|
|
2021-11-09 20:14:57 +00:00
|
|
|
- job:
|
|
|
|
name: nova-ovs-hybrid-plug
|
|
|
|
parent: tempest-multinode-full-py3
|
|
|
|
description: |
|
|
|
|
Run move operations, reboot, and evacuation (via the same post-run hook
|
|
|
|
as the nova-live-migration job) tests with the OVS network backend and
|
|
|
|
the "iptables_hybrid" securitygroup firewall driver, aka "hybrid plug".
|
|
|
|
The external events interactions between Nova and Neutron in these
|
|
|
|
situations has historically been fragile. This job exercises them.
|
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
|
|
|
vars:
|
|
|
|
tox_envlist: all
|
|
|
|
tempest_test_regex: (^tempest\..*compute\..*(migration|resize|reboot).*)
|
|
|
|
devstack_localrc:
|
|
|
|
Q_AGENT: openvswitch
|
|
|
|
Q_ML2_TENANT_NETWORK_TYPE: vxlan
|
|
|
|
Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch,linuxbridge
|
|
|
|
ML2_L3_PLUGIN: router
|
|
|
|
devstack_services:
|
|
|
|
# Disable OVN services
|
|
|
|
br-ex-tcpdump: false
|
|
|
|
br-int-flows: false
|
|
|
|
ovn-controller: false
|
|
|
|
ovn-northd: false
|
|
|
|
q-ovn-metadata-agent: false
|
|
|
|
# Neutron services
|
|
|
|
q-agt: true
|
|
|
|
q-dhcp: true
|
|
|
|
q-l3: true
|
|
|
|
q-meta: true
|
|
|
|
devstack_local_conf:
|
|
|
|
post-config:
|
|
|
|
"/$NEUTRON_CORE_PLUGIN_CONF":
|
|
|
|
securitygroup:
|
|
|
|
firewall_driver: iptables_hybrid
|
|
|
|
group-vars:
|
|
|
|
subnode:
|
|
|
|
devstack_localrc:
|
|
|
|
Q_AGENT: openvswitch
|
|
|
|
Q_ML2_TENANT_NETWORK_TYPE: vxlan
|
|
|
|
Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch,linuxbridge
|
|
|
|
ML2_L3_PLUGIN: router
|
|
|
|
devstack_services:
|
|
|
|
# Disable OVN services
|
|
|
|
br-ex-tcpdump: false
|
|
|
|
br-int-flows: false
|
|
|
|
ovn-controller: false
|
|
|
|
ovn-northd: false
|
|
|
|
ovs-vswitchd: false
|
|
|
|
ovsdb-server: false
|
|
|
|
q-ovn-metadata-agent: false
|
|
|
|
# Neutron services
|
|
|
|
q-agt: true
|
|
|
|
devstack_local_conf:
|
|
|
|
post-config:
|
|
|
|
"/$NEUTRON_CORE_PLUGIN_CONF":
|
|
|
|
securitygroup:
|
|
|
|
firewall_driver: iptables_hybrid
|
|
|
|
post-run: playbooks/nova-live-migration/post-run.yaml
|
|
|
|
|
2020-12-24 11:07:18 +00:00
|
|
|
- job:
|
|
|
|
name: nova-live-migration-ceph
|
|
|
|
parent: devstack-plugin-ceph-multinode-tempest-py3
|
|
|
|
description: |
|
|
|
|
Run tempest live migration tests against ceph ephemeral storage and
|
|
|
|
cinder volumes.
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2020-12-24 11:07:18 +00:00
|
|
|
vars:
|
|
|
|
tox_envlist: all
|
|
|
|
tempest_test_regex: (^tempest\.api\.compute\.admin\.(test_live_migration|test_migration))
|
|
|
|
devstack_local_conf:
|
|
|
|
test-config:
|
|
|
|
$TEMPEST_CONFIG:
|
|
|
|
compute-feature-enabled:
|
|
|
|
volume_backed_live_migration: true
|
|
|
|
block_migration_for_live_migration: false
|
|
|
|
block_migrate_cinder_iscsi: false
|
|
|
|
post-run: playbooks/nova-live-migration/post-run.yaml
|
2020-03-06 11:00:49 +00:00
|
|
|
|
2018-01-10 23:22:00 +00:00
|
|
|
- job:
|
|
|
|
name: nova-lvm
|
2019-08-02 16:11:48 +00:00
|
|
|
parent: devstack-tempest
|
2018-01-10 23:22:00 +00:00
|
|
|
description: |
|
2018-05-17 15:23:13 +00:00
|
|
|
Run tempest compute API tests using LVM image backend. This only runs
|
|
|
|
against nova/virt/libvirt/* changes.
|
2019-10-14 11:14:35 +00:00
|
|
|
# Copy irrelevant-files from nova-dsvm-multinode-base and then exclude
|
|
|
|
# anything that is not in nova/virt/libvirt/* or nova/privsep/*.
|
2018-05-17 15:23:13 +00:00
|
|
|
irrelevant-files:
|
2019-08-02 16:11:48 +00:00
|
|
|
- ^(?!.zuul.yaml)(?!nova/virt/libvirt/)(?!nova/privsep/).*$
|
2018-10-31 08:37:35 +00:00
|
|
|
- ^api-.*$
|
2018-05-17 15:23:13 +00:00
|
|
|
- ^(test-|)requirements.txt$
|
|
|
|
- ^.*\.rst$
|
|
|
|
- ^.git.*$
|
|
|
|
- ^doc/.*$
|
|
|
|
- ^nova/hacking/.*$
|
|
|
|
- ^nova/locale/.*$
|
|
|
|
- ^nova/tests/.*$
|
2019-04-23 12:25:27 +00:00
|
|
|
- ^nova/test.py$
|
2018-05-17 15:23:13 +00:00
|
|
|
- ^releasenotes/.*$
|
|
|
|
- ^setup.cfg$
|
|
|
|
- ^tools/.*$
|
|
|
|
- ^tox.ini$
|
2019-08-02 16:11:48 +00:00
|
|
|
vars:
|
|
|
|
# We use the "all" environment for tempest_test_regex and
|
2021-02-10 23:02:43 +00:00
|
|
|
# tempest_exclude_regex.
|
2019-08-02 16:11:48 +00:00
|
|
|
tox_envlist: all
|
|
|
|
# Only run compute API tests.
|
|
|
|
tempest_test_regex: ^tempest\.api\.compute
|
|
|
|
# Skip slow tests.
|
2021-02-10 23:02:43 +00:00
|
|
|
tempest_exclude_regex: .*\[.*\bslow\b.*\]
|
2019-08-02 16:11:48 +00:00
|
|
|
devstack_local_conf:
|
|
|
|
test-config:
|
|
|
|
$TEMPEST_CONFIG:
|
|
|
|
compute-feature-enabled:
|
|
|
|
# NOTE(mriedem): resize of non-volume-backed lvm instances does
|
|
|
|
# not yet work (bug 1831657).
|
|
|
|
resize: false
|
|
|
|
cold_migration: false
|
|
|
|
devstack_localrc:
|
|
|
|
NOVA_BACKEND: LVM
|
|
|
|
# Do not waste time clearing volumes.
|
|
|
|
LVM_VOLUME_CLEAR: none
|
|
|
|
# Disable SSH validation in tests to save time.
|
|
|
|
TEMPEST_RUN_VALIDATION: false
|
2021-01-27 14:47:23 +00:00
|
|
|
# Increase the size of the swift loopback device to accommodate RAW
|
|
|
|
# snapshots from the LV based instance disks.
|
|
|
|
# See bug #1913451 for more details.
|
|
|
|
SWIFT_LOOPBACK_DISK_SIZE: 24G
|
2021-08-03 09:05:42 +00:00
|
|
|
# As above, increase the total image limit per tenant to 10G
|
|
|
|
GLANCE_LIMIT_IMAGE_SIZE_TOTAL: 10240
|
2019-08-02 17:13:07 +00:00
|
|
|
devstack_services:
|
|
|
|
# Disable non-essential services that we don't need for this job.
|
|
|
|
c-bak: false
|
2018-01-10 23:22:00 +00:00
|
|
|
|
2022-02-08 15:55:44 +00:00
|
|
|
- job:
|
|
|
|
name: nova-emulation
|
|
|
|
parent: devstack-tempest
|
|
|
|
description: |
|
|
|
|
Run compute tests using emulated AARCH64 architecture.
|
|
|
|
# NOTE(chateaulav): due to constraints with no IDE support for aarch64,
|
|
|
|
# tests have been limited to eliminate any items that are incompatible.
|
|
|
|
# This is to be re-evaluated as greater support is added and defined.
|
|
|
|
irrelevant-files:
|
|
|
|
- ^(?!.zuul.yaml)(?!nova/virt/libvirt/)(?!nova/objects/)(?!nova/scheduler/).*$
|
|
|
|
- ^api-.*$
|
|
|
|
- ^(test-|)requirements.txt$
|
|
|
|
- ^.*\.rst$
|
|
|
|
- ^.git.*$
|
|
|
|
- ^doc/.*$
|
|
|
|
- ^nova/hacking/.*$
|
|
|
|
- ^nova/locale/.*$
|
|
|
|
- ^nova/policies/.*$
|
|
|
|
- ^nova/tests/.*$
|
|
|
|
- ^nova/test.py$
|
|
|
|
- ^releasenotes/.*$
|
|
|
|
- ^setup.cfg$
|
|
|
|
- ^tools/.*$
|
|
|
|
- ^tox.ini$
|
|
|
|
vars:
|
|
|
|
tox_envlist: all
|
|
|
|
tempest_test_regex: ^tempest\.(api\.compute\.servers|scenario\.test_network_basic_ops)
|
|
|
|
tempest_exclude_regex: (^tempest\.(api\.compute\.servers\.(test_attach_interfaces.AttachInterfacesTestJSON.test_create_list_show_delete_interfaces_by_network_port|test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_attached_volume.*|test_list_.*|test_disk_config|test_server_rescue.*|test_server_actions\.ServerActionsTestJSON\.test_resize.*|test_device_tag.*))|.*\[.*\bslow\b.*\])
|
|
|
|
devstack_localrc:
|
|
|
|
FORCE_CONFIG_DRIVE=False
|
|
|
|
ADMIN_PASSWORD=emulation
|
|
|
|
DATABASE_PASSWORD=$ADMIN_PASSWORD
|
|
|
|
RABBIT_PASSWORD=$ADMIN_PASSWORD
|
|
|
|
SERVICE_PASSWORD=$ADMIN_PASSWORD
|
|
|
|
SWIFT_HASH=1234abcd
|
|
|
|
DOWNLOAD_DEFAULT_IMAGES=False
|
|
|
|
IMAGE_URLS="http://download.cirros-cloud.net/0.5.2/cirros-0.5.2-aarch64-disk.img"
|
|
|
|
DEFAULT_INSTANCE_TYPE=m1.micro
|
|
|
|
pre-run:
|
|
|
|
- playbooks/nova-emulation/pre.yaml
|
|
|
|
|
2021-06-16 11:00:19 +00:00
|
|
|
# TODO(lucasagomes): Move this job to ML2/OVN when QoS Minimum Bandwidth
|
2021-02-22 15:08:20 +00:00
|
|
|
# support is implemented.
|
|
|
|
# See: https://docs.openstack.org/neutron/latest/ovn/gaps.html
|
2018-02-06 22:09:28 +00:00
|
|
|
- job:
|
|
|
|
name: nova-next
|
2019-09-23 15:30:18 +00:00
|
|
|
parent: tempest-multinode-full-py3
|
2018-02-06 22:09:28 +00:00
|
|
|
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,
|
2017-10-18 18:28:54 +00:00
|
|
|
e.g. archive_deleted_rows. In Queens, this job started testing the
|
|
|
|
TLS console proxy code in the libvirt driver.
|
2019-02-12 22:44:54 +00:00
|
|
|
Starting in Stein, the job was changed to run with python 3 and enabled
|
|
|
|
volume multi-attach testing.
|
2019-05-29 17:46:13 +00:00
|
|
|
Starting in Train, the job enabled counting quota usage from placement.
|
2019-09-23 15:30:18 +00:00
|
|
|
Starting in Ussuri, the job was changed to multinode.
|
2021-02-11 15:35:18 +00:00
|
|
|
Starting in Wallaby, the job defaults to the q35 machine type.
|
2021-11-04 18:32:34 +00:00
|
|
|
Starting in Yoga, the job tests noVNC from source.
|
2019-03-06 15:12:26 +00:00
|
|
|
Runs all tempest compute API and most scenario tests concurrently.
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2019-07-10 21:27:10 +00:00
|
|
|
# Run post-tempest tests like for nova-manage commands.
|
|
|
|
post-run: playbooks/nova-next/post.yaml
|
2021-11-04 18:32:34 +00:00
|
|
|
required-projects:
|
|
|
|
- novnc/novnc
|
2019-07-10 21:27:10 +00:00
|
|
|
vars:
|
|
|
|
# We use the "all" environment for tempest_test_regex and
|
2021-02-10 23:02:43 +00:00
|
|
|
# tempest_exclude_regex.
|
2019-07-10 21:27:10 +00:00
|
|
|
tox_envlist: all
|
|
|
|
# Run all compute API tests and most scenario tests at the default
|
|
|
|
# concurrency (nproc/2 which is normally 4 in the gate).
|
|
|
|
tempest_test_regex: ^tempest\.(scenario|api\.compute)
|
|
|
|
# The tempest.scenario.test_network* tests are skipped because they
|
|
|
|
# (1) take a long time and (2) are already covered in the
|
|
|
|
# tempest-slow* job. If this regex gets more complicated use
|
2021-02-10 23:02:43 +00:00
|
|
|
# tempest_test_exclude_list.
|
2021-05-26 18:27:45 +00:00
|
|
|
# FIXME(lyarwood): The tempest.api.compute.admin.test_volume_swap tests
|
|
|
|
# are skipped until bug #1929710 is resolved.
|
2022-02-04 12:28:10 +00:00
|
|
|
tempest_exclude_regex: ^tempest\.(scenario\.test_network_(?!qos)|api\.compute\.admin\.test_volume_swap)|tempest.api.compute.servers.test_device_tagging.TaggedAttachmentsTest.test_tagged_attachment
|
2019-07-10 21:27:10 +00:00
|
|
|
devstack_local_conf:
|
|
|
|
post-config:
|
2019-07-25 17:33:38 +00:00
|
|
|
$NOVA_CPU_CONF:
|
2021-02-11 15:35:18 +00:00
|
|
|
libvirt:
|
|
|
|
# Increase the number of PCIe ports per instance given the q35
|
|
|
|
# machine type attaches more devices by default than pc
|
|
|
|
num_pcie_ports: 24
|
|
|
|
hw_machine_type: "x86_64=q35"
|
2019-07-10 21:27:10 +00:00
|
|
|
compute:
|
|
|
|
# Switch off the provider association refresh, which should
|
|
|
|
# reduce the number of placement calls in steady state. Added in
|
|
|
|
# Stein.
|
|
|
|
resource_provider_association_refresh: 0
|
2021-10-11 12:41:37 +00:00
|
|
|
workarounds:
|
|
|
|
# This wa is an improvement on hard reboot that cannot be turned
|
|
|
|
# on unconditionally. But we know that ml2/ovs sends plug time
|
|
|
|
# events so we can enable this in this ovs job for vnic_type
|
|
|
|
# normal
|
|
|
|
wait_for_vif_plugged_event_during_hard_reboot: normal
|
2019-07-25 17:33:38 +00:00
|
|
|
$NOVA_CONF:
|
2019-07-10 21:27:10 +00:00
|
|
|
quota:
|
|
|
|
# Added in Train.
|
|
|
|
count_usage_from_placement: True
|
|
|
|
scheduler:
|
|
|
|
# Added in Train.
|
|
|
|
query_placement_for_image_type_support: True
|
2019-07-09 14:05:31 +00:00
|
|
|
"/$NEUTRON_CORE_PLUGIN_CONF":
|
|
|
|
# Needed for QoS port heal allocation testing.
|
|
|
|
ovs:
|
|
|
|
bridge_mappings: public:br-ex
|
|
|
|
resource_provider_bandwidths: br-ex:1000000:1000000
|
2021-09-29 16:11:01 +00:00
|
|
|
resource_provider_packet_processing_without_direction: :100
|
2021-02-22 15:08:20 +00:00
|
|
|
AGENT:
|
|
|
|
tunnel_types: gre,vxlan
|
|
|
|
ml2:
|
|
|
|
type_drivers: flat,geneve,vlan,gre,local,vxlan
|
2019-12-03 20:09:38 +00:00
|
|
|
test-config:
|
|
|
|
$TEMPEST_CONFIG:
|
|
|
|
network-feature-enabled:
|
|
|
|
qos_placement_physnet: public
|
2021-09-29 16:11:01 +00:00
|
|
|
qos_min_bw_and_pps: True
|
2021-02-11 15:35:18 +00:00
|
|
|
compute-feature-enabled:
|
|
|
|
# The q35 machine type doesn't support an IDE bus
|
|
|
|
ide_bus: False
|
2021-05-06 00:46:17 +00:00
|
|
|
# Added in Yoga.
|
|
|
|
unified_limits: True
|
2021-02-22 15:08:20 +00:00
|
|
|
neutron_plugin_options:
|
|
|
|
available_type_drivers: flat,geneve,vlan,gre,local,vxlan
|
2019-07-10 21:27:10 +00:00
|
|
|
devstack_localrc:
|
2021-02-22 15:08:20 +00:00
|
|
|
Q_AGENT: openvswitch
|
|
|
|
Q_ML2_TENANT_NETWORK_TYPE: vxlan
|
|
|
|
Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch,linuxbridge
|
|
|
|
ML2_L3_PLUGIN: router
|
2019-07-10 21:27:10 +00:00
|
|
|
# Enable TLS between the noVNC proxy & compute nodes; this requires
|
|
|
|
# the tls-proxy service to be enabled. Added in Queens.
|
|
|
|
NOVA_CONSOLE_PROXY_COMPUTE_TLS: True
|
|
|
|
# Added in Stein.
|
|
|
|
ENABLE_VOLUME_MULTIATTACH: True
|
2019-11-21 13:27:22 +00:00
|
|
|
# Added in Ussuri.
|
|
|
|
FORCE_CONFIG_DRIVE: True
|
2021-11-04 18:32:34 +00:00
|
|
|
# Added in Yoga.
|
|
|
|
NOVNC_FROM_PACKAGE: False
|
2021-05-06 00:46:17 +00:00
|
|
|
NOVA_USE_UNIFIED_LIMITS: True
|
2019-07-10 21:27:10 +00:00
|
|
|
devstack_services:
|
2021-02-22 15:08:20 +00:00
|
|
|
# Disable OVN services
|
|
|
|
br-ex-tcpdump: false
|
|
|
|
br-int-flows: false
|
|
|
|
ovn-controller: false
|
|
|
|
ovn-northd: false
|
|
|
|
q-ovn-metadata-agent: false
|
|
|
|
# Neutron services
|
|
|
|
q-agt: true
|
|
|
|
q-dhcp: true
|
|
|
|
q-l3: true
|
|
|
|
q-meta: true
|
|
|
|
q-metering: true
|
2019-07-10 21:27:10 +00:00
|
|
|
tls-proxy: true
|
2019-07-09 14:05:31 +00:00
|
|
|
# neutron-* needed for QoS port heal allocation testing.
|
|
|
|
neutron-placement: true
|
|
|
|
neutron-qos: true
|
2019-07-24 13:18:57 +00:00
|
|
|
# Disable non-essential services that we don't need for this job.
|
|
|
|
c-bak: false
|
2019-07-09 14:05:31 +00:00
|
|
|
devstack_plugins:
|
|
|
|
# Needed for QoS port heal allocation testing.
|
|
|
|
neutron: https://opendev.org/openstack/neutron
|
2019-09-23 15:30:18 +00:00
|
|
|
group-vars:
|
|
|
|
subnode:
|
|
|
|
devstack_localrc:
|
2021-02-22 15:08:20 +00:00
|
|
|
Q_AGENT: openvswitch
|
|
|
|
Q_ML2_TENANT_NETWORK_TYPE: vxlan
|
|
|
|
Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch,linuxbridge
|
|
|
|
ML2_L3_PLUGIN: router
|
2019-09-23 15:30:18 +00:00
|
|
|
NOVA_CONSOLE_PROXY_COMPUTE_TLS: True
|
2019-11-21 13:27:22 +00:00
|
|
|
FORCE_CONFIG_DRIVE: True
|
2021-11-04 18:32:34 +00:00
|
|
|
# Added in Yoga.
|
|
|
|
NOVNC_FROM_PACKAGE: False
|
2019-09-23 15:30:18 +00:00
|
|
|
devstack_services:
|
2021-02-22 15:08:20 +00:00
|
|
|
# Disable OVN services
|
|
|
|
br-ex-tcpdump: false
|
|
|
|
br-int-flows: false
|
|
|
|
ovn-controller: false
|
|
|
|
ovn-northd: false
|
|
|
|
ovs-vswitchd: false
|
|
|
|
ovsdb-server: false
|
|
|
|
q-ovn-metadata-agent: false
|
|
|
|
# Neutron services
|
|
|
|
q-agt: true
|
2019-09-23 15:30:18 +00:00
|
|
|
tls-proxy: true
|
|
|
|
c-bak: false
|
2018-02-06 22:09:28 +00:00
|
|
|
|
2018-10-15 03:01:10 +00:00
|
|
|
- job:
|
2018-10-22 04:06:55 +00:00
|
|
|
name: nova-tempest-v2-api
|
2018-10-15 03:01:10 +00:00
|
|
|
parent: devstack-tempest
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
description: |
|
|
|
|
This job runs the Tempest compute tests against v2.0 endpoint.
|
|
|
|
Former names for this job was:
|
|
|
|
* legacy-tempest-dsvm-nova-v20-api
|
|
|
|
vars:
|
|
|
|
tox_envlist: all
|
|
|
|
tempest_test_regex: api.*compute
|
|
|
|
devstack_localrc:
|
|
|
|
TEMPEST_COMPUTE_TYPE: compute_legacy
|
|
|
|
|
2018-10-13 16:22:39 +00:00
|
|
|
- job:
|
|
|
|
name: nova-tempest-full-oslo.versionedobjects
|
2020-02-19 02:32:12 +00:00
|
|
|
parent: tempest-full-py3
|
2018-10-13 16:22:39 +00:00
|
|
|
description: |
|
|
|
|
Run test with git version of oslo.versionedobjects to check that
|
|
|
|
changes to nova will work with the next released version of
|
|
|
|
that library.
|
|
|
|
required-projects:
|
|
|
|
- openstack/oslo.versionedobjects
|
|
|
|
|
2019-02-28 20:10:24 +00:00
|
|
|
- job:
|
2019-08-29 08:27:23 +00:00
|
|
|
name: nova-grenade-multinode
|
2021-03-05 11:33:29 +00:00
|
|
|
parent: grenade-multinode
|
2019-02-28 20:10:24 +00:00
|
|
|
description: |
|
2021-03-05 11:33:29 +00:00
|
|
|
Run a multinode grenade job and run the smoke, cold and live migration
|
|
|
|
tests with the controller upgraded and the compute on the older release.
|
2019-08-29 08:27:23 +00:00
|
|
|
The former names for this job were "nova-grenade-live-migration" and
|
2019-02-28 20:10:24 +00:00
|
|
|
"legacy-grenade-dsvm-neutron-multinode-live-migration".
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2021-03-05 11:33:29 +00:00
|
|
|
vars:
|
|
|
|
devstack_local_conf:
|
|
|
|
test-config:
|
|
|
|
$TEMPEST_CONFIG:
|
|
|
|
compute-feature-enabled:
|
|
|
|
live_migration: true
|
|
|
|
volume_backed_live_migration: true
|
|
|
|
block_migration_for_live_migration: true
|
2021-06-11 12:05:51 +00:00
|
|
|
# NOTE(lyarwood): Skip until bug #1931702 is resolved.
|
|
|
|
block_migrate_cinder_iscsi: false
|
2021-03-05 11:33:29 +00:00
|
|
|
tox_envlist: all
|
|
|
|
tempest_test_regex: ((tempest\.(api\.compute|scenario)\..*smoke.*)|(^tempest\.api\.compute\.admin\.(test_live_migration|test_migration)))
|
2019-02-28 20:10:24 +00:00
|
|
|
|
2019-04-23 17:53:56 +00:00
|
|
|
- job:
|
|
|
|
name: nova-multi-cell
|
|
|
|
parent: tempest-multinode-full-py3
|
|
|
|
description: |
|
|
|
|
Multi-node python3 job which runs with two nodes and two non-cell0
|
|
|
|
cells. The compute on the controller runs in cell1 and the compute
|
|
|
|
on the subnode runs in cell2.
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2019-04-23 17:53:56 +00:00
|
|
|
vars:
|
|
|
|
# We use the "all" environment for tempest_test_regex and
|
2021-02-10 23:02:43 +00:00
|
|
|
# tempest_test_exclude_list.
|
2019-04-23 17:53:56 +00:00
|
|
|
tox_envlist: all
|
|
|
|
# Run compute API and scenario tests.
|
|
|
|
tempest_test_regex: ^tempest\.(scenario|(api\.compute))
|
2021-02-10 23:02:43 +00:00
|
|
|
tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/nova"].src_dir }}/devstack/nova-multi-cell-exclude-list.txt'
|
2019-04-23 17:53:56 +00:00
|
|
|
devstack_local_conf:
|
2019-05-01 15:24:27 +00:00
|
|
|
post-config:
|
|
|
|
$NOVA_CONF:
|
|
|
|
oslo_policy:
|
|
|
|
# The default policy file is policy.json but the
|
|
|
|
# setup-multi-cell-policy role will write to policy.yaml.
|
|
|
|
policy_file: policy.yaml
|
2019-04-23 17:53:56 +00:00
|
|
|
test-config:
|
|
|
|
$TEMPEST_CONFIG:
|
|
|
|
compute-feature-enabled:
|
2019-05-01 15:24:27 +00:00
|
|
|
# Enable cold migration for migrating across cells. Note that
|
|
|
|
# because NOVA_ALLOW_MOVE_TO_SAME_HOST=false, all cold migrations
|
|
|
|
# will move across cells.
|
|
|
|
cold_migration: true
|
2019-04-23 17:53:56 +00:00
|
|
|
devstack_services:
|
|
|
|
# Disable other non-essential services that we don't need for this job.
|
|
|
|
c-bak: false
|
|
|
|
devstack_localrc:
|
|
|
|
# Setup two non-cell0 cells (cell1 and cell2).
|
|
|
|
NOVA_NUM_CELLS: 2
|
2019-05-01 15:24:27 +00:00
|
|
|
# Disable resize to the same host so all resizes will move across
|
|
|
|
# cells.
|
|
|
|
NOVA_ALLOW_MOVE_TO_SAME_HOST: false
|
2019-04-23 17:53:56 +00:00
|
|
|
# We only have two computes and we don't yet support cross-cell live
|
|
|
|
# migration.
|
|
|
|
LIVE_MIGRATION_AVAILABLE: false
|
2021-02-11 23:58:51 +00:00
|
|
|
DEVSTACK_PARALLEL: True
|
2019-04-23 17:53:56 +00:00
|
|
|
group-vars:
|
|
|
|
peers:
|
|
|
|
devstack_localrc:
|
|
|
|
NOVA_ALLOW_MOVE_TO_SAME_HOST: true
|
|
|
|
LIVE_MIGRATION_AVAILABLE: false
|
|
|
|
subnode:
|
|
|
|
devstack_localrc:
|
|
|
|
# The subnode compute will get registered with cell2.
|
|
|
|
NOVA_CPU_CELL: 2
|
|
|
|
devstack_services:
|
|
|
|
# Disable other non-essential services that we don't need for this
|
|
|
|
# job.
|
|
|
|
c-bak: false
|
2019-05-01 15:24:27 +00:00
|
|
|
# Perform setup for the multi-cell environment. Note that this runs
|
|
|
|
# before devstack is setup on the controller host.
|
|
|
|
pre-run: playbooks/nova-multi-cell/pre.yaml
|
2019-04-23 17:53:56 +00:00
|
|
|
|
2019-08-02 14:56:11 +00:00
|
|
|
- job:
|
|
|
|
name: nova-osprofiler-redis
|
|
|
|
parent: tempest-smoke-py3-osprofiler-redis
|
|
|
|
description: |
|
|
|
|
Runs osprofiler with the Redis collector on a subset of compute-specific
|
|
|
|
tempest-full-py3 smoke tests.
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2019-08-02 14:56:11 +00:00
|
|
|
required-projects:
|
|
|
|
- openstack/nova
|
|
|
|
vars:
|
|
|
|
# We use the "all" environment for tempest_test_regex.
|
|
|
|
tox_envlist: all
|
|
|
|
# Run compute API and only the test_server_basic_ops scenario tests.
|
|
|
|
tempest_test_regex: ^tempest\.(scenario\.test_server_basic_ops|(api\.compute))
|
|
|
|
|
2020-06-08 19:33:59 +00:00
|
|
|
- job:
|
|
|
|
name: nova-ceph-multistore
|
|
|
|
parent: devstack-plugin-ceph-tempest-py3
|
|
|
|
description: |
|
|
|
|
Just like the normal ceph job, but with glance multistore
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2020-06-08 19:33:59 +00:00
|
|
|
required-projects:
|
|
|
|
- openstack/nova
|
|
|
|
pre-run:
|
|
|
|
- playbooks/ceph/glance-copy-policy.yaml
|
|
|
|
vars:
|
|
|
|
# NOTE(danms): These tests create an empty non-raw image, which nova
|
|
|
|
# will refuse because we set never_download_image_if_on_rbd in this job.
|
|
|
|
# Just skip these tests for this case.
|
|
|
|
devstack_localrc:
|
|
|
|
GLANCE_STANDALONE: True
|
|
|
|
GLANCE_USE_IMPORT_WORKFLOW: True
|
2021-02-11 23:58:51 +00:00
|
|
|
DEVSTACK_PARALLEL: True
|
2022-03-11 22:52:42 +00:00
|
|
|
# NOTE(danms): This job is pretty heavy as it is, so we disable some
|
|
|
|
# services that are not relevant to the nova-glance-ceph scenario
|
|
|
|
# that this job is intended to validate.
|
|
|
|
devstack_services:
|
|
|
|
c-bak: false
|
|
|
|
s-account: false
|
|
|
|
s-container: false
|
|
|
|
s-object: false
|
|
|
|
s-proxy: false
|
2020-06-08 19:33:59 +00:00
|
|
|
devstack_local_conf:
|
|
|
|
post-config:
|
|
|
|
$NOVA_CONF:
|
|
|
|
libvirt:
|
|
|
|
images_rbd_glance_store_name: robust
|
|
|
|
workarounds:
|
|
|
|
never_download_image_if_on_rbd: True
|
|
|
|
$GLANCE_API_CONF:
|
|
|
|
DEFAULT:
|
|
|
|
enabled_backends: "cheap:file, robust:rbd"
|
|
|
|
default_log_levels: "amqp=WARN, amqplib=WARN, boto=WARN, qpid=WARN, sqlalchemy=WARN, suds=INFO, oslo.messaging=INFO, oslo_messaging=INFO, iso8601=WARN, requests.packages.urllib3.connectionpool=WARN, urllib3.connectionpool=WARN, websocket=WARN, requests.packages.urllib3.util.retry=WARN, urllib3.util.retry=WARN, keystonemiddleware=WARN, routes.middleware=WARN, stevedore=WARN, taskflow=WARN, keystoneauth=WARN, oslo.cache=INFO, dogpile.core.dogpile=INFO, oslo_policy=DEBUG"
|
|
|
|
glance_store:
|
|
|
|
default_backend: cheap
|
|
|
|
stores: file, http, rbd
|
|
|
|
default_store: file
|
|
|
|
robust:
|
|
|
|
rbd_store_pool: images
|
|
|
|
rbd_store_user: glance
|
|
|
|
rbd_store_ceph_conf: /etc/ceph/ceph.conf
|
|
|
|
cheap:
|
|
|
|
filesystem_store_datadir: /opt/stack/data/glance/images/
|
|
|
|
os_glance_staging_store:
|
|
|
|
filesystem_store_datadir: /opt/stack/data/glance/os_glance_staging_store/
|
|
|
|
os_glance_tasks_store:
|
|
|
|
filesystem_store_datadir: /opt/stack/data/glance/os_glance_tasks_store/
|
|
|
|
$GLANCE_IMAGE_IMPORT_CONF:
|
|
|
|
image_import_opts:
|
|
|
|
image_import_plugins: "['image_conversion']"
|
|
|
|
image_conversion:
|
|
|
|
output_format: raw
|
|
|
|
|
2017-10-23 09:29:07 +00:00
|
|
|
- project:
|
2018-02-06 21:53:36 +00:00
|
|
|
# Please try to keep the list of job names sorted alphabetically.
|
2018-09-09 09:54:56 +00:00
|
|
|
templates:
|
2018-09-10 19:50:54 +00:00
|
|
|
- check-requirements
|
Replace "integrated-gate-py3" template with new "integrated-gate-compute"
tempest-full-py3 job run all services API and scenario tests (non slow)
and this job is part of Integrated-gate-py3 gate template which run on
multiple services (nova, neutron, cinder, glance, placement, swift, keystone)
check and gate pipeline.
Due to all services tests run in single tempest-full-py3 job, it has
been not so stable. Many times unrelated service test break other
project gate.
But not all those services are dependent of Nova. Dependent in term of
both way, not all services used by Nova or use Nova. Nova gate
does not need to run all those independent services tests. It can run only
Nova, Neutron, Cinder and Glance related tests.
Idea here is to make integrated-gate testing more stable without losing
the test coverage.
Tempest has new "integrated-gate-compute" template which will run only
Nova, Neutron, Cinder and Glance related tests[1].
This commit replaces the "integrated-gate-py3" template with new
"integrated-gate-compute".
ML discussion: http://lists.openstack.org/pipermail/openstack-discuss/2019-May/005871.html
[1] https://opendev.org/openstack/tempest/src/branch/master/.zuul.yaml#L594
Change-Id: I11dd1a94054ed29f70330906c1d95967b3de718c
2019-07-18 19:00:32 +00:00
|
|
|
- integrated-gate-compute
|
2018-09-10 19:50:54 +00:00
|
|
|
- openstack-cover-jobs
|
|
|
|
- openstack-lower-constraints-jobs
|
2022-03-11 09:54:50 +00:00
|
|
|
- openstack-python3-zed-jobs
|
|
|
|
- openstack-python3-zed-jobs-arm64
|
2018-09-09 09:54:56 +00:00
|
|
|
- periodic-stable-jobs
|
2018-09-10 19:50:54 +00:00
|
|
|
- publish-openstack-docs-pti
|
2018-09-09 09:55:57 +00:00
|
|
|
- release-notes-jobs-python3
|
2018-01-12 15:23:00 +00:00
|
|
|
check:
|
|
|
|
jobs:
|
2018-06-28 16:12:53 +00:00
|
|
|
# We define our own irrelevant-files so we don't run the job
|
|
|
|
# on things like nova docs-only changes.
|
2019-01-09 14:23:19 +00:00
|
|
|
- ironic-tempest-ipa-wholedisk-bios-agent_ipmitool-tinyipa:
|
2018-06-28 16:12:53 +00:00
|
|
|
voting: false
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2020-06-08 19:33:59 +00:00
|
|
|
- nova-ceph-multistore:
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2021-06-23 13:04:21 +00:00
|
|
|
- neutron-linuxbridge-tempest:
|
2018-09-29 20:21:58 +00:00
|
|
|
irrelevant-files:
|
|
|
|
# NOTE(mriedem): This job has its own irrelevant-files section
|
|
|
|
# so that we only run it on changes to networking and libvirt/vif
|
2020-09-05 17:35:06 +00:00
|
|
|
# code; we don't need to run this on all changes.
|
2018-09-29 20:21:58 +00:00
|
|
|
- ^(?!nova/network/.*)(?!nova/virt/libvirt/vif.py).*$
|
2018-03-23 21:40:59 +00:00
|
|
|
- nova-live-migration
|
2020-12-24 11:07:18 +00:00
|
|
|
- nova-live-migration-ceph
|
2018-05-17 15:23:13 +00:00
|
|
|
- nova-lvm
|
2019-04-23 17:53:56 +00:00
|
|
|
- nova-multi-cell
|
2018-02-06 22:09:28 +00:00
|
|
|
- nova-next
|
Revert "Revert resize: wait for events according to hybrid plug"
This reverts commit 7a7a223602ca5aa0aca8f65a6ab143f1d8f8ec1b.
That commit was added because - tl'dr - upon revert resize, Neutron
with the OVS backend and the iptables security group driver would send
us the network-vif-plugged event as soon as we updated the port
binding.
That behaviour has changed with commit 66c7f00e1d9. With that commit,
we started unplugging the vifs on the source compute host when doing a
resize. When reverting the resize, the vifs had to be re-plugged again,
regarldess of the networking backend in use. This renders commit
7a7a223602ca5aa0aca8f65a6ab143f1d8f8ec1b. pointless, and it can be
reverted.
Conflicts - most have to do with context around this commit's code:
nova/compute/manager.py
a2984b647a4 added provider_mappings to
_finish_revert_resize_network_migrate_finish()'s signature
750aef54b19 started using
_finish_revert_resize_network_migrate_finish() in
_finish_revert_snapshot_based_resize_at_source()
nova/network/model.py
8b33ac06445 added get_live_migration_plug_time_events() and
has_live_migration_plug_time_event()
7da94440db1 added has_port_with_allocation()
nova/objects/migration.py
f203da38387 added is_resize() and is_live_migration()
nova/tests/unit/compute/test_compute.py
a0e60feb3ec added request_spec to the test
nova/tests/unit/compute/test_compute_mgr.py
be278006a58 added unit tests below ours
nova/tests/unit/network/test_network_info.py
7da94440db1 (again) added tests for has_port_with_allocation()
nova/tests/unit/virt/libvirt/test_driver.py and
nova/virt/libvirt/driver.py are different in that attempting to
identify individual conflicts is a pointless exercise, as so much has
changed (mdev, vtmp, the recent wait for events during hard reboot
workaround config option, etc). They can be treated as
manual removal of any code that had to do with the bind-time events
logic (though guided by the conflict markers in git).
TODO(artom) There was a follow up commit,
78a08d44ea68b31e27ce344f452756886ad309bd, that added the migration
parameter to finish_revert_migration(). This is no longer needed, as
the migration was only used to obtain plug-time events. We'll have to
undo that as well.
Closes-bug: 1952003
Change-Id: I3cb39a9ec2c260f422b3c48122b9db512cdd799b
2021-11-26 19:36:09 +00:00
|
|
|
- nova-ovs-hybrid-plug
|
2021-06-16 11:00:19 +00:00
|
|
|
- nova-tox-validate-backport:
|
|
|
|
voting: false
|
2021-12-14 01:26:19 +00:00
|
|
|
- nova-tox-functional-centos8-py36
|
2020-05-04 19:11:40 +00:00
|
|
|
- nova-tox-functional-py38
|
2021-11-24 22:48:37 +00:00
|
|
|
- nova-tox-functional-py39
|
Replace "integrated-gate-py3" template with new "integrated-gate-compute"
tempest-full-py3 job run all services API and scenario tests (non slow)
and this job is part of Integrated-gate-py3 gate template which run on
multiple services (nova, neutron, cinder, glance, placement, swift, keystone)
check and gate pipeline.
Due to all services tests run in single tempest-full-py3 job, it has
been not so stable. Many times unrelated service test break other
project gate.
But not all those services are dependent of Nova. Dependent in term of
both way, not all services used by Nova or use Nova. Nova gate
does not need to run all those independent services tests. It can run only
Nova, Neutron, Cinder and Glance related tests.
Idea here is to make integrated-gate testing more stable without losing
the test coverage.
Tempest has new "integrated-gate-compute" template which will run only
Nova, Neutron, Cinder and Glance related tests[1].
This commit replaces the "integrated-gate-py3" template with new
"integrated-gate-compute".
ML discussion: http://lists.openstack.org/pipermail/openstack-discuss/2019-May/005871.html
[1] https://opendev.org/openstack/tempest/src/branch/master/.zuul.yaml#L594
Change-Id: I11dd1a94054ed29f70330906c1d95967b3de718c
2019-07-18 19:00:32 +00:00
|
|
|
- tempest-integrated-compute:
|
2022-02-08 15:55:44 +00:00
|
|
|
# NOTE(gmann): Policies changes do not need to run all the
|
|
|
|
# integration test jobs. Running only tempest and grenade
|
|
|
|
# common jobs will be enough along with nova functional
|
|
|
|
# and unit tests.
|
|
|
|
irrelevant-files: &policies-irrelevant-files
|
|
|
|
- ^api-.*$
|
|
|
|
- ^(test-|)requirements.txt$
|
|
|
|
- ^.*\.rst$
|
|
|
|
- ^.git.*$
|
|
|
|
- ^doc/.*$
|
|
|
|
- ^nova/hacking/.*$
|
|
|
|
- ^nova/locale/.*$
|
|
|
|
- ^nova/tests/.*$
|
|
|
|
- ^nova/test.py$
|
|
|
|
- ^releasenotes/.*$
|
|
|
|
- ^setup.cfg$
|
|
|
|
- ^tools/.*$
|
|
|
|
- ^tox.ini$
|
2022-02-28 17:36:08 +00:00
|
|
|
- grenade-skip-level:
|
|
|
|
irrelevant-files: *policies-irrelevant-files
|
2021-03-05 11:33:29 +00:00
|
|
|
- nova-grenade-multinode:
|
2020-02-11 22:40:33 +00:00
|
|
|
irrelevant-files: *policies-irrelevant-files
|
2019-07-20 17:41:04 +00:00
|
|
|
- tempest-ipv6-only:
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2020-03-10 13:54:47 +00:00
|
|
|
- openstacksdk-functional-devstack:
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2020-01-23 13:10:38 +00:00
|
|
|
- cyborg-tempest:
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2020-01-23 13:10:38 +00:00
|
|
|
voting: false
|
2020-08-17 18:09:47 +00:00
|
|
|
- barbican-tempest-plugin-simple-crypto:
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2020-05-22 13:02:27 +00:00
|
|
|
voting: false
|
2021-11-09 16:45:51 +00:00
|
|
|
- tempest-integrated-compute-centos-8-stream:
|
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2021-05-10 20:23:42 +00:00
|
|
|
- tempest-centos8-stream-fips:
|
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
|
|
|
voting: false
|
2018-01-12 15:23:00 +00:00
|
|
|
gate:
|
|
|
|
jobs:
|
2018-03-23 21:40:59 +00:00
|
|
|
- nova-live-migration
|
2020-12-24 11:07:18 +00:00
|
|
|
- nova-live-migration-ceph
|
2021-12-14 01:26:19 +00:00
|
|
|
- nova-tox-functional-centos8-py36
|
2020-05-04 19:11:40 +00:00
|
|
|
- nova-tox-functional-py38
|
2021-11-24 22:48:37 +00:00
|
|
|
- nova-tox-functional-py39
|
2019-08-03 12:45:03 +00:00
|
|
|
- nova-multi-cell
|
2018-09-10 19:50:54 +00:00
|
|
|
- nova-next
|
2021-06-16 11:00:19 +00:00
|
|
|
- nova-tox-validate-backport
|
2020-09-05 17:35:06 +00:00
|
|
|
- nova-ceph-multistore:
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2021-06-23 13:04:21 +00:00
|
|
|
- neutron-linuxbridge-tempest:
|
2020-09-05 17:35:06 +00:00
|
|
|
irrelevant-files:
|
|
|
|
# NOTE(mriedem): This job has its own irrelevant-files section
|
|
|
|
# so that we only run it on changes to networking and libvirt/vif
|
|
|
|
# code; we don't need to run this on all changes.
|
|
|
|
- ^(?!nova/network/.*)(?!nova/virt/libvirt/vif.py).*$
|
Replace "integrated-gate-py3" template with new "integrated-gate-compute"
tempest-full-py3 job run all services API and scenario tests (non slow)
and this job is part of Integrated-gate-py3 gate template which run on
multiple services (nova, neutron, cinder, glance, placement, swift, keystone)
check and gate pipeline.
Due to all services tests run in single tempest-full-py3 job, it has
been not so stable. Many times unrelated service test break other
project gate.
But not all those services are dependent of Nova. Dependent in term of
both way, not all services used by Nova or use Nova. Nova gate
does not need to run all those independent services tests. It can run only
Nova, Neutron, Cinder and Glance related tests.
Idea here is to make integrated-gate testing more stable without losing
the test coverage.
Tempest has new "integrated-gate-compute" template which will run only
Nova, Neutron, Cinder and Glance related tests[1].
This commit replaces the "integrated-gate-py3" template with new
"integrated-gate-compute".
ML discussion: http://lists.openstack.org/pipermail/openstack-discuss/2019-May/005871.html
[1] https://opendev.org/openstack/tempest/src/branch/master/.zuul.yaml#L594
Change-Id: I11dd1a94054ed29f70330906c1d95967b3de718c
2019-07-18 19:00:32 +00:00
|
|
|
- tempest-integrated-compute:
|
2022-02-08 15:55:44 +00:00
|
|
|
irrelevant-files: *policies-irrelevant-files
|
2021-03-05 11:33:29 +00:00
|
|
|
- nova-grenade-multinode:
|
2022-02-08 15:55:44 +00:00
|
|
|
irrelevant-files: *policies-irrelevant-files
|
2019-07-20 17:41:04 +00:00
|
|
|
- tempest-ipv6-only:
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2020-03-10 13:54:47 +00:00
|
|
|
- openstacksdk-functional-devstack:
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2021-11-09 16:45:51 +00:00
|
|
|
- tempest-integrated-compute-centos-8-stream:
|
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2022-03-10 18:21:50 +00:00
|
|
|
periodic-weekly:
|
|
|
|
jobs:
|
|
|
|
# Runs emulation feature functionality test less frequently due
|
|
|
|
# to being the initial release and experimental in nature.
|
|
|
|
- nova-emulation
|
2018-01-10 23:22:00 +00:00
|
|
|
experimental:
|
|
|
|
jobs:
|
2019-01-09 14:23:19 +00:00
|
|
|
- ironic-tempest-bfv:
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2019-01-09 14:23:19 +00:00
|
|
|
- ironic-tempest-ipa-wholedisk-direct-tinyipa-multinode:
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2019-12-17 23:28:15 +00:00
|
|
|
- devstack-plugin-nfs-tempest-full:
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2019-08-02 14:56:11 +00:00
|
|
|
- nova-osprofiler-redis
|
2018-10-12 08:07:19 +00:00
|
|
|
- tempest-pg-full:
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2018-10-13 16:22:39 +00:00
|
|
|
- nova-tempest-full-oslo.versionedobjects:
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2018-10-22 04:06:55 +00:00
|
|
|
- nova-tempest-v2-api:
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2021-06-23 13:04:21 +00:00
|
|
|
- neutron-ovs-tempest-dvr-ha-multinode-full:
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2021-06-23 13:04:21 +00:00
|
|
|
- neutron-ovs-tempest-iptables_hybrid:
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2018-09-10 19:50:54 +00:00
|
|
|
- os-vif-ovs:
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2020-01-06 14:02:04 +00:00
|
|
|
- devstack-platform-fedora-latest:
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2020-01-06 14:02:04 +00:00
|
|
|
- devstack-platform-fedora-latest-virt-preview:
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2020-07-27 12:57:22 +00:00
|
|
|
- devstack-plugin-ceph-compute-local-ephemeral:
|
2021-03-05 12:54:32 +00:00
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|
2021-09-01 07:26:04 +00:00
|
|
|
- devstack-tobiko-nova:
|
|
|
|
irrelevant-files: *nova-base-irrelevant-files
|