CI: fix when retrieving the DL Carrier Frequency in UE Run log
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
+3
-3
@@ -2560,14 +2560,14 @@ class OaiCiTest():
|
|||||||
logging.debug('\033[94m' + mibMsg + '\033[0m')
|
logging.debug('\033[94m' + mibMsg + '\033[0m')
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.error('\033[91m' + "SIB5 InterFreqCarrierFreq element not found" + '\033[0m')
|
logging.error('\033[91m' + "SIB5 InterFreqCarrierFreq element not found" + '\033[0m')
|
||||||
result = re.search("DL Carrier Frequency/ARFCN : (?P<carrier_frequency>\d{1,15}/\d{1,4})", str(line))
|
result = re.search("DL Carrier Frequency/ARFCN : \-*(?P<carrier_frequency>\d{1,15}/\d{1,4})", str(line))
|
||||||
if result is not None:
|
if result is not None:
|
||||||
try:
|
try:
|
||||||
freq = result.group('carrier_frequency')
|
freq = result.group('carrier_frequency')
|
||||||
new_freq = re.sub('/[0-9]+','',freq)
|
new_freq = re.sub('/[0-9]+','',freq)
|
||||||
float_freq = float(new_freq) / 1000000
|
float_freq = float(new_freq) / 1000000
|
||||||
HTMLSethtmlUEFailureMsg(HTMLGethtmlUEFailureMsg() + 'DL Freq: ' + ('%.1f' % float_freq) + ' MHz')
|
HTML.SethtmlUEFailureMsg(HTML.GethtmlUEFailureMsg() + 'DL Freq: ' + ('%.1f' % float_freq) + ' MHz')
|
||||||
logging.debug('\033[94m' + " DL Carrier Frequency is: " + freq + '\033[0m')
|
logging.debug('\033[94m' + " DL Carrier Frequency is: " + str(freq) + '\033[0m')
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.error('\033[91m' + " DL Carrier Frequency not found" + '\033[0m')
|
logging.error('\033[91m' + " DL Carrier Frequency not found" + '\033[0m')
|
||||||
result = re.search("AllowedMeasBandwidth : (?P<allowed_bandwidth>\d{1,7})", str(line))
|
result = re.search("AllowedMeasBandwidth : (?P<allowed_bandwidth>\d{1,7})", str(line))
|
||||||
|
|||||||
@@ -25,23 +25,10 @@
|
|||||||
<htmlTabName>EPC-Start</htmlTabName>
|
<htmlTabName>EPC-Start</htmlTabName>
|
||||||
<htmlTabIcon>log-in</htmlTabIcon>
|
<htmlTabIcon>log-in</htmlTabIcon>
|
||||||
<TestCaseRequestedList>
|
<TestCaseRequestedList>
|
||||||
010101 090101
|
|
||||||
050101 060101 070101
|
050101 060101 070101
|
||||||
</TestCaseRequestedList>
|
</TestCaseRequestedList>
|
||||||
<TestCaseExclusionList></TestCaseExclusionList>
|
<TestCaseExclusionList></TestCaseExclusionList>
|
||||||
|
|
||||||
<testCase id="010101">
|
|
||||||
<class>Build_eNB</class>
|
|
||||||
<desc>Build eNB (USRP)</desc>
|
|
||||||
<Build_eNB_args>-w USRP -c --eNB</Build_eNB_args>
|
|
||||||
</testCase>
|
|
||||||
|
|
||||||
<testCase id="090101">
|
|
||||||
<class>Build_OAI_UE</class>
|
|
||||||
<desc>Build OAI UE</desc>
|
|
||||||
<Build_OAI_UE_args>-w USRP --UE</Build_OAI_UE_args>
|
|
||||||
</testCase>
|
|
||||||
|
|
||||||
<testCase id="050101">
|
<testCase id="050101">
|
||||||
<class>Initialize_HSS</class>
|
<class>Initialize_HSS</class>
|
||||||
<desc>Initialize HSS</desc>
|
<desc>Initialize HSS</desc>
|
||||||
|
|||||||
Reference in New Issue
Block a user