Skip to content
Merged
Changes from 1 commit
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
8 changes: 8 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,14 @@ def microvm_factory(request, record_property, results_dir, netns_factory):
uvm.flush_metrics()
except: # pylint: disable=bare-except
pass

try:
uvm.snapshot_full(
mem_path="post_failure.mem", vmstate_path="post_failure.vmstate"
)
except: # pylint: disable=bare-except
pass

uvm_data = results_dir / uvm.id
uvm_data.mkdir()
uvm_data.joinpath("host-dmesg.log").write_text(
Expand Down