Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shweta Shrivastava
openairinterface5G
Commits
79210715
Commit
79210715
authored
Jul 09, 2020
by
Raphael Defosseux
Browse files
CI: fix when retrieving the DL Carrier Frequency in UE Run log
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
f5b81b4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
ci-scripts/main.py
View file @
79210715
...
...
@@ -2560,14 +2560,14 @@ class OaiCiTest():
logging
.
debug
(
'
\033
[94m'
+
mibMsg
+
'
\033
[0m'
)
except
Exception
as
e
:
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
:
try
:
freq
=
result
.
group
(
'carrier_frequency'
)
new_freq
=
re
.
sub
(
'/[0-9]+'
,
''
,
freq
)
float_freq
=
float
(
new_freq
)
/
1000000
HTMLSethtmlUEFailureMsg
(
HTMLGethtmlUEFailureMsg
()
+
'DL Freq: '
+
(
'%.1f'
%
float_freq
)
+
' MHz'
)
logging
.
debug
(
'
\033
[94m'
+
" DL Carrier Frequency is: "
+
freq
+
'
\033
[0m'
)
HTML
.
SethtmlUEFailureMsg
(
HTML
.
GethtmlUEFailureMsg
()
+
'DL Freq: '
+
(
'%.1f'
%
float_freq
)
+
' MHz'
)
logging
.
debug
(
'
\033
[94m'
+
" DL Carrier Frequency is: "
+
str
(
freq
)
+
'
\033
[0m'
)
except
Exception
as
e
:
logging
.
error
(
'
\033
[91m'
+
" DL Carrier Frequency not found"
+
'
\033
[0m'
)
result
=
re
.
search
(
"AllowedMeasBandwidth : (?P<allowed_bandwidth>\d{1,7})"
,
str
(
line
))
...
...
ci-scripts/xml_files/enb_ue_usrp210_band7_epc_start.xml
View file @
79210715
...
...
@@ -25,23 +25,10 @@
<htmlTabName>
EPC-Start
</htmlTabName>
<htmlTabIcon>
log-in
</htmlTabIcon>
<TestCaseRequestedList>
010101 090101
050101 060101 070101
</TestCaseRequestedList>
<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"
>
<class>
Initialize_HSS
</class>
<desc>
Initialize HSS
</desc>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment