Commit 268aa87c authored by Raphael Defosseux's avatar Raphael Defosseux

[CI] fix typo and few tunings

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent adb29da8
...@@ -711,7 +711,7 @@ class OaiCiTest(): ...@@ -711,7 +711,7 @@ class OaiCiTest():
HTML.CreateHtmlTestRowQueue('N/A', 'KO', 1, html_queue) HTML.CreateHtmlTestRowQueue('N/A', 'KO', 1, html_queue)
self.AutoTerminateUEandeNB(HTML,RAN,COTS_UE,EPC) self.AutoTerminateUEandeNB(HTML,RAN,COTS_UE,EPC)
def PingCatM(self,HTML,RAN,EPC,COTS_UE,EPC): def PingCatM(self,HTML,RAN,EPC,COTS_UE):
if EPC.IPAddress == '' or EPC.UserName == '' or EPC.Password == '' or EPC.SourceCodePath == '': if EPC.IPAddress == '' or EPC.UserName == '' or EPC.Password == '' or EPC.SourceCodePath == '':
HELP.GenericHelp(CONST.Version) HELP.GenericHelp(CONST.Version)
sys.exit('Insufficient Parameter') sys.exit('Insufficient Parameter')
...@@ -1238,6 +1238,8 @@ class OaiCiTest(): ...@@ -1238,6 +1238,8 @@ class OaiCiTest():
if lDataConnectionState == 3: if lDataConnectionState == 3:
dataConnectionState = 'Data State: SUSPENDED' dataConnectionState = 'Data State: SUSPENDED'
result = re.search('mDataConnectionReason=(?P<dataConnectionReason>[0-9a-zA-Z_]+)', SSH.getBefore()) result = re.search('mDataConnectionReason=(?P<dataConnectionReason>[0-9a-zA-Z_]+)', SSH.getBefore())
time.sleep(1)
SSH.close()
dataConnectionReason = 'Data Reason: UNKNOWN' dataConnectionReason = 'Data Reason: UNKNOWN'
if result is not None: if result is not None:
dataConnectionReason = 'Data Reason: ' + result.group('dataConnectionReason') dataConnectionReason = 'Data Reason: ' + result.group('dataConnectionReason')
...@@ -1251,7 +1253,6 @@ class OaiCiTest(): ...@@ -1251,7 +1253,6 @@ class OaiCiTest():
qMsg = serviceState + '\n' + dataConnectionState + '\n' + dataConnectionReason qMsg = serviceState + '\n' + dataConnectionState + '\n' + dataConnectionReason
statusQueue.put(qMsg) statusQueue.put(qMsg)
lock.release() lock.release()
SSH.close()
except: except:
os.kill(os.getppid(),signal.SIGUSR1) os.kill(os.getppid(),signal.SIGUSR1)
......
...@@ -27,7 +27,7 @@ services: ...@@ -27,7 +27,7 @@ services:
FLEXRAN_ENABLED: 'no' FLEXRAN_ENABLED: 'no'
FLEXRAN_INTERFACE_NAME: eth0 FLEXRAN_INTERFACE_NAME: eth0
FLEXRAN_IPV4_ADDRESS: CI_FLEXRAN_CTL_IP_ADDR FLEXRAN_IPV4_ADDRESS: CI_FLEXRAN_CTL_IP_ADDR
USE_ADDITIONAL_OPTIONS: '--RUs.[0].max_rxgain 118 --RUs.[0].max_pdschReferenceSignalPower -27 --eNBs.[0].component_carriers.[0].pucch_p0_Nominal -96' USE_ADDITIONAL_OPTIONS: '--RUs.[0].max_rxgain 115 --RUs.[0].max_pdschReferenceSignalPower -27 --eNBs.[0].component_carriers.[0].pucch_p0_Nominal -96'
volumes: volumes:
- /dev:/dev - /dev:/dev
networks: networks:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment