From 0aca88a6e90efb6c4602cad4c23d72502b0cd671 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/tiny-test-fw/Env.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/tiny-test-fw/Env.py b/tools/tiny-test-fw/Env.py index 3622ba3824..eeef3a67c2 100644 --- a/tools/tiny-test-fw/Env.py +++ b/tools/tiny-test-fw/Env.py @@ -18,6 +18,7 @@ import threading import functools import netifaces +import traceback import EnvConfig @@ -180,6 +181,7 @@ class Env(object): try: dut.close() except Exception as e: + traceback.print_exc() dut_close_errors.append(e) self.allocated_duts = dict() return dut_close_errors