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
canghaiwuhen
OpenXG-RAN
Commits
4893729e
Commit
4893729e
authored
Jun 11, 2020
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: re-enabling multi-RRU build w/ ninja build
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
efee127a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
10 deletions
+14
-10
ci-scripts/ran.py
ci-scripts/ran.py
+7
-3
ci-scripts/xml_files/multi_rru_band38_build.xml
ci-scripts/xml_files/multi_rru_band38_build.xml
+6
-6
ci-scripts/xml_files/multi_rru_band38_test_10mhz_tm1.xml
ci-scripts/xml_files/multi_rru_band38_test_10mhz_tm1.xml
+1
-1
No files found.
ci-scripts/ran.py
View file @
4893729e
...
...
@@ -366,7 +366,7 @@ class RANManagement():
count
=
40
buildOAIprocess
=
True
while
(
count
>
0
)
and
buildOAIprocess
:
mySSH
.
command
(
'ps aux | grep --color=never build_ | grep -v grep'
,
'\$'
,
3
)
mySSH
.
command
(
'ps aux | grep --color=never build_ | grep -v grep'
,
'\$'
,
6
)
result
=
re
.
search
(
'build_oai'
,
mySSH
.
getBefore
())
if
result
is
None
:
buildOAIprocess
=
False
...
...
@@ -607,7 +607,11 @@ class RANManagement():
enbDidSync
=
True
time
.
sleep
(
10
)
if
enbDidSync
and
eNBinNoS1
:
rruCheck
=
False
result
=
re
.
search
(
'^rru|^du.band'
,
str
(
config_file
))
if
result
is
not
None
:
rruCheck
=
True
if
enbDidSync
and
eNBinNoS1
and
not
rruCheck
:
mySSH
.
command
(
'ifconfig oaitun_enb1'
,
'\$'
,
4
)
mySSH
.
command
(
'ifconfig oaitun_enb1'
,
'\$'
,
4
)
result
=
re
.
search
(
'inet addr:1|inet 1'
,
mySSH
.
getBefore
())
...
...
@@ -1031,7 +1035,7 @@ class RANManagement():
rruMsg
=
'Slave RRU DID NOT receive the RRU_frame_resynch command from RAU'
logging
.
debug
(
'
\u001B
[1;37;41m '
+
rruMsg
+
'
\u001B
[0m'
)
htmleNBFailureMsg
+=
rruMsg
+
'
\n
'
self
.
prematureExit
(
True
)
self
.
prematureExit
=
True
global_status
=
CONST
.
ENB_PROCESS_SLAVE_RRU_NOT_SYNCED
if
foundSegFault
:
logging
.
debug
(
'
\u001B
[1;37;41m '
+
nodeB_prefix
+
'NB ended with a Segmentation Fault!
\u001B
[0m'
)
...
...
ci-scripts/xml_files/multi_rru_band38_build.xml
View file @
4893729e
...
...
@@ -33,7 +33,7 @@
<testCase
id=
"010101"
>
<class>
Build_eNB
</class>
<desc>
Build RCC
</desc>
<Build_eNB_args>
-w USRP -c --eNB
</Build_eNB_args>
<Build_eNB_args>
-w USRP -c --eNB
--ninja
</Build_eNB_args>
<eNB_instance>
0
</eNB_instance>
<eNB_serverId>
0
</eNB_serverId>
<backgroundBuild>
True
</backgroundBuild>
...
...
@@ -42,7 +42,7 @@
<testCase
id=
"000101"
>
<class>
WaitEndBuild_eNB
</class>
<desc>
Wait for end of Build RCC
</desc>
<Build_eNB_args>
-w USRP -c --eNB
</Build_eNB_args>
<Build_eNB_args>
-w USRP -c --eNB
--ninja
</Build_eNB_args>
<eNB_instance>
0
</eNB_instance>
<eNB_serverId>
0
</eNB_serverId>
</testCase>
...
...
@@ -50,7 +50,7 @@
<testCase
id=
"010102"
>
<class>
Build_eNB
</class>
<desc>
Build Master RRU
</desc>
<Build_eNB_args>
-w USRP -c --eNB
</Build_eNB_args>
<Build_eNB_args>
-w USRP -c --eNB
--ninja
</Build_eNB_args>
<eNB_instance>
1
</eNB_instance>
<eNB_serverId>
1
</eNB_serverId>
<backgroundBuild>
True
</backgroundBuild>
...
...
@@ -59,7 +59,7 @@
<testCase
id=
"000102"
>
<class>
WaitEndBuild_eNB
</class>
<desc>
Wait for end of Build Master RRU
</desc>
<Build_eNB_args>
-w USRP -c --eNB
</Build_eNB_args>
<Build_eNB_args>
-w USRP -c --eNB
--ninja
</Build_eNB_args>
<eNB_instance>
1
</eNB_instance>
<eNB_serverId>
1
</eNB_serverId>
</testCase>
...
...
@@ -67,7 +67,7 @@
<testCase
id=
"010103"
>
<class>
Build_eNB
</class>
<desc>
Build Slave RRU
</desc>
<Build_eNB_args>
-w USRP -c --eNB
</Build_eNB_args>
<Build_eNB_args>
-w USRP -c --eNB
--ninja
</Build_eNB_args>
<eNB_instance>
2
</eNB_instance>
<eNB_serverId>
2
</eNB_serverId>
<backgroundBuild>
True
</backgroundBuild>
...
...
@@ -76,7 +76,7 @@
<testCase
id=
"000103"
>
<class>
WaitEndBuild_eNB
</class>
<desc>
Wait for end of Build Slave RRU
</desc>
<Build_eNB_args>
-w USRP -c --eNB
</Build_eNB_args>
<Build_eNB_args>
-w USRP -c --eNB
--ninja
</Build_eNB_args>
<eNB_instance>
2
</eNB_instance>
<eNB_serverId>
2
</eNB_serverId>
</testCase>
...
...
ci-scripts/xml_files/multi_rru_band38_test_10mhz_tm1.xml
View file @
4893729e
...
...
@@ -24,7 +24,7 @@
<htmlTabRef>
test-multi-rru-10
</htmlTabRef>
<htmlTabName>
Test-Multi-RRU-10MHz
</htmlTabName>
<htmlTabIcon>
tasks
</htmlTabIcon>
<repeatCount>
4
</repeatCount>
<repeatCount>
2
</repeatCount>
<TestCaseRequestedList>
030211 030212 030213
030111 030112 030113
...
...
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