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
Michael Black
OpenXG-RAN
Commits
c4963ed1
Commit
c4963ed1
authored
2 years ago
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: support cmd_prefix for OAI UE
parent
3e3dd824
Branches unavailable
2023.w22
2023.w21
2023.w20
2023.w19
2023.w18
2023.w18b
2023.w16
2023.w15
2023.w14
2023.w13
2023.w12
2023.w11
2023.w11b
2023.w10
2023.w10b
2023.w09
2023.w08
2023.w08b
2023.w07
2023.w06
2023.w05
2023.w03
No related merge requests found
Changes
3
Show 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():
...
@@ -193,6 +193,7 @@ class OaiCiTest():
self
.
expectedNbOfConnectedUEs
=
0
self
.
expectedNbOfConnectedUEs
=
0
self
.
ue_id
=
''
#used for module identification
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
.
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
):
def
BuildOAIUE
(
self
,
HTML
):
...
@@ -489,7 +490,7 @@ class OaiCiTest():
...
@@ -489,7 +490,7 @@ class OaiCiTest():
copyin_res
=
SSH
.
copyin
(
RAN
.
eNBIPAddress
,
RAN
.
eNBUserName
,
RAN
.
eNBPassword
,
RAN
.
eNBSourceCodePath
+
'/cmake_targets/reconfig.raw'
,
'.'
)
copyin_res
=
SSH
.
copyin
(
RAN
.
eNBIPAddress
,
RAN
.
eNBUserName
,
RAN
.
eNBPassword
,
RAN
.
eNBSourceCodePath
+
'/cmake_targets/reconfig.raw'
,
'.'
)
if
(
copyin_res
==
0
):
if
(
copyin_res
==
0
):
SSH
.
copyout
(
self
.
UEIPAddress
,
self
.
UEUserName
,
self
.
UEPassword
,
'./reconfig.raw'
,
self
.
UESourceCodePath
+
'/cmake_targets/ran_build/build'
)
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
(
'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
)
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'
self
.
UELogFile
=
'ue_'
+
self
.
testCase_id
+
'.log'
...
...
This diff is collapsed.
Click to expand it.
ci-scripts/main.py
View file @
c4963ed1
...
@@ -287,6 +287,8 @@ def GetParametersFromXML(action):
...
@@ -287,6 +287,8 @@ def GetParametersFromXML(action):
#CiTestObj.air_interface = 'ocp-enb'
#CiTestObj.air_interface = 'ocp-enb'
logging
.
error
(
'OCP UE -- NOT SUPPORTED'
)
logging
.
error
(
'OCP UE -- NOT SUPPORTED'
)
CiTestObj
.
cmd_prefix
=
test
.
findtext
(
'cmd_prefix'
)
or
""
elif
action
==
'Terminate_OAI_UE'
:
elif
action
==
'Terminate_OAI_UE'
:
UE_instance
=
test
.
findtext
(
'UE_instance'
)
UE_instance
=
test
.
findtext
(
'UE_instance'
)
if
(
UE_instance
is
None
):
if
(
UE_instance
is
None
):
...
...
This diff is collapsed.
Click to expand it.
ci-scripts/xml_files/fr1_sa_oaiue_n310.xml
View file @
c4963ed1
...
@@ -61,6 +61,7 @@
...
@@ -61,6 +61,7 @@
<eNB_Trace>
yes
</eNB_Trace>
<eNB_Trace>
yes
</eNB_Trace>
<eNB_Stats>
yes
</eNB_Stats>
<eNB_Stats>
yes
</eNB_Stats>
<USRP_IPAddress>
172.21.19.14
</USRP_IPAddress>
<USRP_IPAddress>
172.21.19.14
</USRP_IPAddress>
<cmd_prefix>
numactl --cpunodebind=netdev:ens2f0np0 --membind=netdev:ens2f0np0
</cmd_prefix>
</testCase>
</testCase>
<testCase
id=
"000001"
>
<testCase
id=
"000001"
>
...
...
This diff is collapsed.
Click to expand it.
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