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
ZhouShuya
OpenXG-RAN
Commits
438e2aee
Commit
438e2aee
authored
May 07, 2019
by
Boris Djalal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test
Signed-off-by:
Boris Djalal
<
boris.djalal@eurecom.fr
>
parent
ab310917
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
7 deletions
+3
-7
ci-scripts/main.py
ci-scripts/main.py
+0
-3
ci-scripts/xml_files/gnb_nr_ue_usrp_run.xml
ci-scripts/xml_files/gnb_nr_ue_usrp_run.xml
+1
-2
ci-scripts/xml_files/gnb_usrp_build.xml
ci-scripts/xml_files/gnb_usrp_build.xml
+1
-1
ci-scripts/xml_files/nr_ue_usrp_build.xml
ci-scripts/xml_files/nr_ue_usrp_build.xml
+1
-1
No files found.
ci-scripts/main.py
View file @
438e2aee
...
@@ -2311,10 +2311,8 @@ class SSHConnection():
...
@@ -2311,10 +2311,8 @@ class SSHConnection():
#self.command('source /etc/init.d/functions', '\$', 5)
#self.command('source /etc/init.d/functions', '\$', 5)
#use nohup instead of daemon
#use nohup instead of daemon
self
.
command
(
'echo '
+
self
.
eNBPassword
+
' | sudo -S daemon --name=enb'
+
str
(
self
.
eNB_instance
)
+
'_daemon --stop'
,
'\$'
,
5
)
self
.
command
(
'echo '
+
self
.
eNBPassword
+
' | sudo -S daemon --name=enb'
+
str
(
self
.
eNB_instance
)
+
'_daemon --stop'
,
'\$'
,
5
)
logging
.
debug
(
str
(
self
.
ssh
.
before
))
self
.
command
(
'rm -f my-lte-softmodem-run'
+
str
(
self
.
eNB_instance
)
+
'.sh'
,
'\$'
,
5
)
self
.
command
(
'rm -f my-lte-softmodem-run'
+
str
(
self
.
eNB_instance
)
+
'.sh'
,
'\$'
,
5
)
self
.
command
(
'echo '
+
self
.
eNBPassword
+
' | sudo -S killall --signal SIGINT -r .*-softmodem || true'
,
'\$'
,
5
)
self
.
command
(
'echo '
+
self
.
eNBPassword
+
' | sudo -S killall --signal SIGINT -r .*-softmodem || true'
,
'\$'
,
5
)
logging
.
debug
(
str
(
self
.
ssh
.
before
))
time
.
sleep
(
5
)
time
.
sleep
(
5
)
self
.
command
(
'stdbuf -o0 ps -aux | grep softmodem | grep -v grep'
,
'\$'
,
5
)
self
.
command
(
'stdbuf -o0 ps -aux | grep softmodem | grep -v grep'
,
'\$'
,
5
)
result
=
re
.
search
(
'-softmodem'
,
str
(
self
.
ssh
.
before
))
result
=
re
.
search
(
'-softmodem'
,
str
(
self
.
ssh
.
before
))
...
@@ -3124,7 +3122,6 @@ while len(argvs) > 1:
...
@@ -3124,7 +3122,6 @@ while len(argvs) > 1:
#if matchReg and mode is not None:
#if matchReg and mode is not None:
#print('Warning: the mode is defined in both xml file and command line')
#print('Warning: the mode is defined in both xml file and command line')
#print('ignoring the mode defined in the xml file')
#print('ignoring the mode defined in the xml file')
print
(
'mode: '
+
mode
)
mode
=
matchReg
.
group
(
1
)
mode
=
matchReg
.
group
(
1
)
elif
re
.
match
(
'^\-\-eNBIPAddress=(.+)$'
,
myArgv
,
re
.
IGNORECASE
):
elif
re
.
match
(
'^\-\-eNBIPAddress=(.+)$'
,
myArgv
,
re
.
IGNORECASE
):
matchReg
=
re
.
match
(
'^\-\-eNBIPAddress=(.+)$'
,
myArgv
,
re
.
IGNORECASE
)
matchReg
=
re
.
match
(
'^\-\-eNBIPAddress=(.+)$'
,
myArgv
,
re
.
IGNORECASE
)
...
...
ci-scripts/xml_files/gnb_nr_ue_usrp_run.xml
View file @
438e2aee
...
@@ -19,15 +19,14 @@
...
@@ -19,15 +19,14 @@
For more information about the OpenAirInterface (OAI) Software Alliance:
For more information about the OpenAirInterface (OAI) Software Alliance:
contact@openairinterface.org
contact@openairinterface.org
090101 000001 090102 000001 090108 090109
-->
-->
<testCaseList>
<testCaseList>
<htmlTabRef>
run OAI gNB and OAI NR UE USRP
</htmlTabRef>
<htmlTabRef>
run OAI gNB and OAI NR UE USRP
</htmlTabRef>
<htmlTabName>
run-OAI-gNB-NR-UE-USRP
</htmlTabName>
<htmlTabName>
run-OAI-gNB-NR-UE-USRP
</htmlTabName>
<htmlTabIcon>
tasks
</htmlTabIcon>
<htmlTabIcon>
tasks
</htmlTabIcon>
<TestCaseRequestedList>
<TestCaseRequestedList>
</TestCaseRequestedList>
090101 000001 090102 000001 090108 090109
090101 000001 090102 000001 090108 090109
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"090101"
>
<testCase
id=
"090101"
>
...
...
ci-scripts/xml_files/gnb_usrp_build.xml
View file @
438e2aee
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
-->
-->
<testCaseList>
<testCaseList>
<htmlTabRef>
build-tab
</htmlTabRef>
<htmlTabRef>
build-tab
</htmlTabRef>
<htmlTabName>
Build
</htmlTabName>
<htmlTabName>
Build
-gNB
</htmlTabName>
<htmlTabIcon>
wrench
</htmlTabIcon>
<htmlTabIcon>
wrench
</htmlTabIcon>
<TestCaseRequestedList>
<TestCaseRequestedList>
010101
010101
...
...
ci-scripts/xml_files/nr_ue_usrp_build.xml
View file @
438e2aee
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
-->
-->
<testCaseList>
<testCaseList>
<htmlTabRef>
build-tab
</htmlTabRef>
<htmlTabRef>
build-tab
</htmlTabRef>
<htmlTabName>
Build
</htmlTabName>
<htmlTabName>
Build
-NR-UE
</htmlTabName>
<htmlTabIcon>
wrench
</htmlTabIcon>
<htmlTabIcon>
wrench
</htmlTabIcon>
<TestCaseRequestedList>
<TestCaseRequestedList>
010102
010102
...
...
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