fix tests stop deployment on provisioning

Fix test stop deployment on provisioning
Add logging of exception with traceback

Change-Id: Iab4696066eedc1aeab71824d18ac39bfe3bcfc1d
Closes-Bug: #1305797