Log traceback of test exception that's caught

Print traceback of original test exception. This
will help to understand on what step test fails.

Change-Id: Ia9a2f396d267141cfa164d11e4ebe1fecfee524b
Partial-Bug: #1389287
Merge "Log traceback of test exception that's caught" into stable/5.1