Add logging to find test cases leaking libvirt threads
We see functional test failures due to leaked libvirt event handling
thread weaking up after its original test finished and importing
libvirt. If it happens when the libvirt package import is poisoned then
the currently executing test will fail. This patch logs the name of the
test case that leaked the libvirt event handling thread.
Reviewed: https:/ /review. opendev. org/c/openstack /nova/+ /872975 /opendev. org/openstack/ nova/commit/ 1778a9c589cf24e 17b44f556680b17 af9577df11
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 1778a9c589cf24e 17b44f556680b17 af9577df11
Author: Sylvain Bauza <email address hidden>
Date: Tue Feb 7 16:30:59 2023 +0100
Add logging to find test cases leaking libvirt threads
We see functional test failures due to leaked libvirt event handling
thread weaking up after its original test finished and importing
libvirt. If it happens when the libvirt package import is poisoned then
the currently executing test will fail. This patch logs the name of the
test case that leaked the libvirt event handling thread.
We will revert his before RC1.
Change-Id: I3146e9afb41105 6d004fc118ccfa3 1126a3c6b15
Related-Bug: #1946339