Procházet zdrojové kódy

ci: Log failure to close any DUT

Angus Gratton před 5 roky
rodič
revize
65fb2ead1a
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      tools/ci/python_packages/tiny_test_fw/Env.py

+ 2 - 0
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):
             try:
                 dut.close()
             except Exception as e:
+                traceback.print_exc()
                 dut_close_errors.append(e)
         self.allocated_duts = dict()
         return dut_close_errors