From 3c6468a7f31b5226559121bf2583bb57f7172066 Mon Sep 17 00:00:00 2001 From: Janusz Dziedzic Date: Sun, 10 Jan 2021 16:50:47 +0100 Subject: [PATCH] tests: remotehost: Add missed select import Signed-off-by: Janusz Dziedzic --- tests/hwsim/remotehost.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/hwsim/remotehost.py b/tests/hwsim/remotehost.py index 60ad9792f..9df3d8075 100644 --- a/tests/hwsim/remotehost.py +++ b/tests/hwsim/remotehost.py @@ -9,6 +9,8 @@ import subprocess import threading import tempfile import os +import traceback +import select logger = logging.getLogger() @@ -207,6 +209,7 @@ class Host(): if not self.pending(proc.stdout, timeout=remaining): break except: + logger.debug(traceback.format_exc()) pass return None