From fea3c34b5816be0e638ce1962c19d616b289de72 Mon Sep 17 00:00:00 2001 From: Rohit Gupta Date: Thu, 22 Sep 2016 16:03:11 +0200 Subject: [PATCH 1/2] minor fix to UE logging for test setup --- .../autotests/tools/configure_cots_sony_experia_m4_ue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake_targets/autotests/tools/configure_cots_sony_experia_m4_ue.py b/cmake_targets/autotests/tools/configure_cots_sony_experia_m4_ue.py index c136067a61..46ee33e97a 100755 --- a/cmake_targets/autotests/tools/configure_cots_sony_experia_m4_ue.py +++ b/cmake_targets/autotests/tools/configure_cots_sony_experia_m4_ue.py @@ -73,7 +73,7 @@ def start_ue () : time.sleep ( 2) #Now we check if ppp0 interface is up and running try: - cmd = 'sudo adb -s ' + device_id + ' shell netcfg |grep 192.' + cmd = 'sudo adb -s ' + device_id + ' shell netcfg |grep UP' status, out = commands.getstatusoutput(cmd) if (out == '') : print "Waiting for UE to connect and get IP Address..." From 23822ea203e00f2100fa41c7ee3084ec55b884fe Mon Sep 17 00:00:00 2001 From: Rohit Gupta Date: Thu, 22 Sep 2016 18:55:14 +0200 Subject: [PATCH 2/2] send SIGINT before processes are killed in test setup --- cmake_targets/autotests/run_exec_lte-softmodem_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake_targets/autotests/run_exec_lte-softmodem_tests.py b/cmake_targets/autotests/run_exec_lte-softmodem_tests.py index eed2fffb77..50ff6451f8 100755 --- a/cmake_targets/autotests/run_exec_lte-softmodem_tests.py +++ b/cmake_targets/autotests/run_exec_lte-softmodem_tests.py @@ -313,7 +313,7 @@ def SSHSessionWrapper(machine, username, key_file, password, logdir_remote, logd # \param CleanUpAluLteBox program to terminate AlU Bell Labs LTE Box # \param ExmimoRfStop String to stop EXMIMO card (specified in test_case_list.xml) def cleanOldPrograms(oai, programList, CleanUpAluLteBox, ExmimoRfStop, logdir, logdirOAI5GRepo): - cmd = 'sudo -E killall -9 -q -r ' + programList + cmd = 'sudo -E killall -s INT -q -r ' + programList + ' ; sleep 5 ; sudo -E killall -9 -q -r ' + programList result = oai.send(cmd, True) print "Killing old programs..." + result programArray = programList.split()