Log any exceptions in vm_test.py

Change-Id: I29627670cbe80e501734231ff6901b404fdb5244
Merge "Log any exceptions in vm_test.py"