Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions test/machineslib.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,13 +494,6 @@ def stop_all() -> None:
else:
m.execute("systemctl reset-failed libvirtd; systemctl try-restart libvirtd")

# user libvirtd instance tends to SIGABRT with "Failed to find user record for uid .." on shutdown
# during cleanup so make sure that there are no leftover user processes that bleed into the next test
self.addCleanup(m.execute, """
pkill -u admin || true;
while [ -n "$(pgrep -au admin | grep -v 'systemd --user')" ]; do sleep 0.5; done
""")

# FIXME: report downstream; AppArmor noisily denies some operations, but they are not required for us
self.allow_journal_messages(r'.* type=1400 .* apparmor="DENIED" operation="capable" profile="\S*libvirtd.* capname="sys_rawio".*') # noqa: E501
# AppArmor doesn't like the non-standard path for our storage pools
Expand Down