nova/nova/tests/functional/libvirt
Stephen Finucane 8ffaac4932 tests: Add reproducer for bug #1879878
When one resizes a pinned instance, the instance claims host CPUs for
pinning purposes on the destination. However, the host CPUs on the
source are not immediately relinquished. Rather, they are held by the
migration record, to handle the event that the resize is reverted. It is
only when one confirms this resize that the old cores are finally
relinquished.

It appears there is a potential race between the resource tracker's
periodic task and the freeing of these resources, resulting in attempts
to unpin host cores that have already been unpinned. This test
highlights that bug pending a fix.

Change-Id: Ie092628ac71eb87c9dfa7220255a2953ada9e04d
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Related-Bug: #1879878
(cherry picked from commit 10f0a42de1)
2020-09-11 17:23:07 +01:00
..
__init__.py tests: introduce a NUMAServersTest class 2015-04-16 11:43:53 -04:00
base.py libvirt: Don't delete disks on shared storage during evacuate 2020-06-10 00:05:07 +00:00
integrated_helpers.py Extract new base class for provider usage functional tests 2019-08-21 15:06:20 +01:00
test_evacuate.py libvirt: Don't delete disks on shared storage during evacuate 2020-06-10 00:05:07 +00:00
test_numa_servers.py tests: Add reproducer for bug #1879878 2020-09-11 17:23:07 +01:00
test_pci_sriov_servers.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_report_cpu_traits.py libvirt: Use domain capabilities to get supported device models 2020-03-24 17:28:09 +00:00
test_reshape.py Functional test with pGPUs 2020-04-09 17:54:31 +02:00
test_rt_servers.py functional: Add '_create_server' helper 2020-01-20 14:32:43 +00:00
test_shared_resource_provider.py functional: Add '_create_server' helper 2020-01-20 14:32:43 +00:00
test_vgpu.py Allocate mdevs when resizing or reverting resize 2020-04-20 14:48:16 +02:00
test_vpmem.py functional: Add '_create_server' helper 2020-01-20 14:32:43 +00:00