Skip to content

Commit

Permalink
Merge pull request #5952 from hholoubk/XXX-19787-swtpm_setup-failure-…
Browse files Browse the repository at this point in the history
…added-logging

Added better logging of VM start error
  • Loading branch information
chloerh authored Oct 25, 2024
2 parents 0dd08fd + c47ddc1 commit a3d659f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libvirt/tests/src/libvirt_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,11 +492,11 @@ def run_scale_test():
lxc_hook()

except virt_vm.VMStartError as e:
logging.info(str(e))
if start_error:
logging.info(str(e))
pass
else:
test.fail('VM Failed to start for some reason!')
test.fail(f"VM Failed to start: {str(e)}")
else:
if start_error:
test.fail('VM started unexpected')
Expand Down

0 comments on commit a3d659f

Please sign in to comment.