Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhongxiao
OpenXG-RAN
Commits
c4963ed1
Commit
c4963ed1
authored
Dec 22, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: support cmd_prefix for OAI UE
parent
3e3dd824
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
ci-scripts/cls_oaicitest.py
ci-scripts/cls_oaicitest.py
+2
-1
ci-scripts/main.py
ci-scripts/main.py
+2
-0
ci-scripts/xml_files/fr1_sa_oaiue_n310.xml
ci-scripts/xml_files/fr1_sa_oaiue_n310.xml
+1
-0
No files found.
ci-scripts/cls_oaicitest.py
View file @
c4963ed1
...
...
@@ -193,6 +193,7 @@ class OaiCiTest():
self
.
expectedNbOfConnectedUEs
=
0
self
.
ue_id
=
''
#used for module identification
self
.
ue_trace
=
''
#used to enable QLog trace for Module UE, passed to Module UE object at InitializeUE()
self
.
cmd_prefix
=
''
# prefix before {lte,nr}-uesoftmodem
def
BuildOAIUE
(
self
,
HTML
):
...
...
@@ -489,7 +490,7 @@ class OaiCiTest():
copyin_res
=
SSH
.
copyin
(
RAN
.
eNBIPAddress
,
RAN
.
eNBUserName
,
RAN
.
eNBPassword
,
RAN
.
eNBSourceCodePath
+
'/cmake_targets/reconfig.raw'
,
'.'
)
if
(
copyin_res
==
0
):
SSH
.
copyout
(
self
.
UEIPAddress
,
self
.
UEUserName
,
self
.
UEPassword
,
'./reconfig.raw'
,
self
.
UESourceCodePath
+
'/cmake_targets/ran_build/build'
)
SSH
.
command
(
'echo "ulimit -c unlimited && ./'
+
self
.
air_interface
+
' '
+
self
.
Initialize_OAI_UE_args
+
'" > ./my-lte-uesoftmodem-run'
+
str
(
self
.
UE_instance
)
+
'
.sh'
,
'\$'
,
5
)
SSH
.
command
(
f'echo "ulimit -c unlimited &&
{
self
.
cmd_prefix
}
./
{
self
.
air_interface
}
{
self
.
Initialize_OAI_UE_args
}
" > ./my-lte-uesoftmodem-run
{
self
.
UE_instance
}
.sh'
,
'\$'
,
5
)
SSH
.
command
(
'chmod 775 ./my-lte-uesoftmodem-run'
+
str
(
self
.
UE_instance
)
+
'.sh'
,
'\$'
,
5
)
SSH
.
command
(
'echo '
+
self
.
UEPassword
+
' | sudo -S rm -Rf '
+
self
.
UESourceCodePath
+
'/cmake_targets/ue_'
+
self
.
testCase_id
+
'.log'
,
'\$'
,
5
)
self
.
UELogFile
=
'ue_'
+
self
.
testCase_id
+
'.log'
...
...
ci-scripts/main.py
View file @
c4963ed1
...
...
@@ -287,6 +287,8 @@ def GetParametersFromXML(action):
#CiTestObj.air_interface = 'ocp-enb'
logging
.
error
(
'OCP UE -- NOT SUPPORTED'
)
CiTestObj
.
cmd_prefix
=
test
.
findtext
(
'cmd_prefix'
)
or
""
elif
action
==
'Terminate_OAI_UE'
:
UE_instance
=
test
.
findtext
(
'UE_instance'
)
if
(
UE_instance
is
None
):
...
...
ci-scripts/xml_files/fr1_sa_oaiue_n310.xml
View file @
c4963ed1
...
...
@@ -61,6 +61,7 @@
<eNB_Trace>
yes
</eNB_Trace>
<eNB_Stats>
yes
</eNB_Stats>
<USRP_IPAddress>
172.21.19.14
</USRP_IPAddress>
<cmd_prefix>
numactl --cpunodebind=netdev:ens2f0np0 --membind=netdev:ens2f0np0
</cmd_prefix>
</testCase>
<testCase
id=
"000001"
>
...
...
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