diff --git a/cmake_targets/autotests/core.py b/cmake_targets/autotests/core.py index 8881781144ddf2acd61bac0fd5942c53a33b4093..ee534382077332b69b53cd140c7ad7e1a2a3a194 100644 --- a/cmake_targets/autotests/core.py +++ b/cmake_targets/autotests/core.py @@ -240,8 +240,9 @@ class core: # print rsp if (rsp.find(expect) == -1): return 'OK' - - raise log.err(self.failed(command, expect,debug)) + else: + print "command = " + cmd + "expect = " + expect + "rsp = " + rsp + raise log.err(self.failed(command, expect,debug)) # **************************send_wait************************* diff --git a/cmake_targets/autotests/openair.py b/cmake_targets/autotests/openair.py index e8d07ba1e1f1c36ce623a515da32366a2afc766b..8427735c61876fff0f2ecf7195131218262d1f49 100644 --- a/cmake_targets/autotests/openair.py +++ b/cmake_targets/autotests/openair.py @@ -111,8 +111,8 @@ class openair(core): error = error + ' In function: ' + sys._getframe().f_code.co_name + ': *** Caught exception: ' + str(e.__class__) + " : " + str( e) error = error + traceback.format_exc() print error - print "Retrying again in 60 seconds" - time.sleep(60) + print "Retrying again in 1 seconds" + time.sleep(1) #sys.exit(1) def connect2(self, username, password, prompt='$'): diff --git a/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py b/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py index ae25013f52cda113300db1223a663580fba1119c..aa041360b7efd4afbe4c323551da3de029f3c3ac 100755 --- a/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py +++ b/cmake_targets/autotests/tools/configure_cots_bandrich_ue.py @@ -127,7 +127,7 @@ def start_ue () : ip = IPRoute() idx = ip.link_lookup(ifname=iface)[0] os.system ('route add 192.172.0.1 ppp0') - os.system ('ping -c 5 192.172.0.1') + os.system ('ping 192.172.0.1') break except Exception, e: error = ' Interface ' + iface + 'does not exist...'