From 670ca6877ebf623c76d521964f40d1fbbf78c23f Mon Sep 17 00:00:00 2001 From: hardy Date: Fri, 25 Sep 2020 11:32:08 +0200 Subject: [PATCH] logging debug data from initializeUE --- ci-scripts/cls_oaicitest.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci-scripts/cls_oaicitest.py b/ci-scripts/cls_oaicitest.py index 829fa01e87..5d40789dbc 100644 --- a/ci-scripts/cls_oaicitest.py +++ b/ci-scripts/cls_oaicitest.py @@ -280,6 +280,7 @@ class OaiCiTest(): #RH quick add-on to integrate cots control defined by yaml #if device_id exists in yaml dictionary, we execute the new procedure defined in cots_ue class #otherwise we use the legacy procedure + logging.debug('Device id ' + str(device_id) + ', in COTS UE dict : ',str(COTS_UE.Check_Exists(device_id))) if COTS_UE.Check_Exists(device_id): #switch device to Airplane mode ON (ie Radio OFF) COTS_UE.Set_Airplane(device_id, 'ON') @@ -1115,6 +1116,9 @@ class OaiCiTest(): if self.ADBCentralized: SSH.command('adb devices', '\$', 15) self.UEDevices = re.findall("\\\\r\\\\n([A-Za-z0-9]+)\\\\tdevice",SSH.getBefore()) + #report number and id of devices found + msg = "UEDevices found by GetAllUEDevices : " + " ".join(self.UEDevices) + logging.debug(msg) SSH.close() else: if (os.path.isfile('./phones_list.txt')):