From 37838803dbdd042ac43c8cb860b67b5e4422978f Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Wed, 18 Nov 2020 15:48:27 +1100 Subject: [PATCH] ci: Log failure to close any DUT --- tools/ci/python_packages/tiny_test_fw/Env.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/ci/python_packages/tiny_test_fw/Env.py b/tools/ci/python_packages/tiny_test_fw/Env.py index d54535351e..90d84e3405 100644 --- a/tools/ci/python_packages/tiny_test_fw/Env.py +++ b/tools/ci/python_packages/tiny_test_fw/Env.py @@ -18,6 +18,7 @@ import threading import functools import netifaces +import traceback from . import EnvConfig @@ -190,6 +191,7 @@ class Env(object): dut.print_debug_info() dut.close() except Exception as e: + traceback.print_exc() dut_close_errors.append(e) self.allocated_duts = dict() return dut_close_errors