ci: Log failure to close any DUT

This commit is contained in:
Angus Gratton
2020-11-18 15:48:27 +11:00
parent d8082b7f39
commit 0aca88a6e9

View File

@ -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