If a VM is unresponsive (login() raises an exception), log it. Signed-off-by: Michael Goldish <mgoldish@xxxxxxxxxx> --- client/tests/kvm/kvm_preprocessing.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/client/tests/kvm/kvm_preprocessing.py b/client/tests/kvm/kvm_preprocessing.py index 7b3b75b..f7d948c 100644 --- a/client/tests/kvm/kvm_preprocessing.py +++ b/client/tests/kvm/kvm_preprocessing.py @@ -337,7 +337,8 @@ def postprocess(test, params, env): try: session = vm.login() session.close() - except (kvm_utils.LoginError, kvm_vm.VMError): + except (kvm_utils.LoginError, kvm_vm.VMError), e: + logging.warn(e) vm.destroy(gracefully=False) # Kill all kvm_subprocess tail threads -- 1.7.3.4 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html