ci: Log failure to close any DUT

This commit is contained in:
Angus Gratton 2020-11-18 15:48:27 +11:00
parent 857b34cfd8
commit 2f196cface

View File

@ -18,6 +18,7 @@ import threading
import functools
import netifaces
import traceback
from . import EnvConfig
@ -184,6 +185,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