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
spbro
OpenXG-RAN
Commits
7a169947
Commit
7a169947
authored
Feb 07, 2021
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'oairu' of
https://gitlab.eurecom.fr/oai/openairinterface5g
into oairu
parents
008f9060
b3341ed1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
12 deletions
+16
-12
ci-scripts/ran.py
ci-scripts/ran.py
+9
-5
ci-scripts/reportTestLocally.sh
ci-scripts/reportTestLocally.sh
+2
-2
ci-scripts/xml_files/multi_rru_band38_build.xml
ci-scripts/xml_files/multi_rru_band38_build.xml
+5
-5
No files found.
ci-scripts/ran.py
View file @
7a169947
...
@@ -127,6 +127,10 @@ class RANManagement():
...
@@ -127,6 +127,10 @@ class RANManagement():
result
=
re
.
search
(
'--eNBocp'
,
self
.
Build_eNB_args
)
result
=
re
.
search
(
'--eNBocp'
,
self
.
Build_eNB_args
)
if
result
is
not
None
:
if
result
is
not
None
:
self
.
air_interface
[
self
.
eNB_instance
]
=
'ocp-enb'
self
.
air_interface
[
self
.
eNB_instance
]
=
'ocp-enb'
else
:
result
=
re
.
search
(
'--RU'
,
self
.
Build_eNB_args
)
if
result
is
not
None
:
self
.
air_interface
[
self
.
eNB_instance
]
=
'oairu'
else
:
else
:
result
=
re
.
search
(
'--gNB'
,
self
.
Build_eNB_args
)
result
=
re
.
search
(
'--gNB'
,
self
.
Build_eNB_args
)
if
result
is
not
None
:
if
result
is
not
None
:
...
@@ -293,7 +297,7 @@ class RANManagement():
...
@@ -293,7 +297,7 @@ class RANManagement():
mySSH
.
open
(
self
.
eNBIPAddress
,
self
.
eNBUserName
,
self
.
eNBPassword
)
mySSH
.
open
(
self
.
eNBIPAddress
,
self
.
eNBUserName
,
self
.
eNBPassword
)
mySSH
.
command
(
'cd '
+
self
.
eNBSourceCodePath
+
'/cmake_targets'
,
'\$'
,
5
)
mySSH
.
command
(
'cd '
+
self
.
eNBSourceCodePath
+
'/cmake_targets'
,
'\$'
,
5
)
#-qq quiet / -u update orcreate files
#-qq quiet / -u update orcreate files
mySSH
.
command
(
'unzip -u -qq -DD tmp_build'
+
testcaseId
+
'.zip'
,
'\$'
,
5
)
mySSH
.
command
(
'unzip -
o -
u -qq -DD tmp_build'
+
testcaseId
+
'.zip'
,
'\$'
,
5
)
mySSH
.
command
(
'rm -f tmp_build'
+
testcaseId
+
'.zip'
,
'\$'
,
5
)
mySSH
.
command
(
'rm -f tmp_build'
+
testcaseId
+
'.zip'
,
'\$'
,
5
)
mySSH
.
close
()
mySSH
.
close
()
else
:
else
:
...
...
ci-scripts/reportTestLocally.sh
View file @
7a169947
...
@@ -309,14 +309,14 @@ function report_test {
...
@@ -309,14 +309,14 @@ function report_test {
NB_ENB_GOT_SYNC
=
`
egrep
-c
"got sync"
$ENB_LOG
`
NB_ENB_GOT_SYNC
=
`
egrep
-c
"got sync"
$ENB_LOG
`
NB_UE_GOT_SYNC
=
`
egrep
-c
"got sync"
$UE_LOG
`
NB_UE_GOT_SYNC
=
`
egrep
-c
"got sync"
$UE_LOG
`
NB_ENB_SYNCED_WITH_UE
=
`
egrep
-c
"got UE capabilities for UE"
$ENB_LOG
`
NB_ENB_SYNCED_WITH_UE
=
`
egrep
-c
"got UE capabilities for UE"
$ENB_LOG
`
if
[
$NB_ENB_GOT_SYNC
-
eq
1
]
&&
[
$NB_UE_GOT_SYNC
-eq
2
]
&&
[
$NB_ENB_SYNCED_WITH_UE
-eq
1
]
if
[
$NB_ENB_GOT_SYNC
-
gt
0
]
&&
[
$NB_UE_GOT_SYNC
-eq
2
]
&&
[
$NB_ENB_SYNCED_WITH_UE
-eq
1
]
then
then
echo
" <td bgcolor =
\"
green
\"
>OK</td>"
>>
./test_simulator_results.html
echo
" <td bgcolor =
\"
green
\"
>OK</td>"
>>
./test_simulator_results.html
else
else
echo
" <td bgcolor =
\"
red
\"
>KO</td>"
>>
./test_simulator_results.html
echo
" <td bgcolor =
\"
red
\"
>KO</td>"
>>
./test_simulator_results.html
fi
fi
echo
" <td><pre>"
>>
./test_simulator_results.html
echo
" <td><pre>"
>>
./test_simulator_results.html
if
[
$NB_ENB_GOT_SYNC
-
eq
1
]
if
[
$NB_ENB_GOT_SYNC
-
gt
0
]
then
then
echo
"<font color =
\"
blue
\"
>- eNB --> got sync</font>"
>>
./test_simulator_results.html
echo
"<font color =
\"
blue
\"
>- eNB --> got sync</font>"
>>
./test_simulator_results.html
else
else
...
...
ci-scripts/xml_files/multi_rru_band38_build.xml
View file @
7a169947
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
<htmlTabIcon>
wrench
</htmlTabIcon>
<htmlTabIcon>
wrench
</htmlTabIcon>
<TestCaseRequestedList>
<TestCaseRequestedList>
010101 010102 010103
010101 010102 010103
00010
1 000102 000103
00010
2 000103 000101
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
<testCase
id=
"010102"
>
<testCase
id=
"010102"
>
<class>
Build_eNB
</class>
<class>
Build_eNB
</class>
<desc>
Build Master RRU
</desc>
<desc>
Build Master RRU
</desc>
<Build_eNB_args>
-w USRP -c --
eNB
--ninja
</Build_eNB_args>
<Build_eNB_args>
-w USRP -c --
RU
--ninja
</Build_eNB_args>
<eNB_instance>
1
</eNB_instance>
<eNB_instance>
1
</eNB_instance>
<eNB_serverId>
1
</eNB_serverId>
<eNB_serverId>
1
</eNB_serverId>
<backgroundBuild>
True
</backgroundBuild>
<backgroundBuild>
True
</backgroundBuild>
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
<testCase
id=
"000102"
>
<testCase
id=
"000102"
>
<class>
WaitEndBuild_eNB
</class>
<class>
WaitEndBuild_eNB
</class>
<desc>
Wait for end of Build Master RRU
</desc>
<desc>
Wait for end of Build Master RRU
</desc>
<Build_eNB_args>
-w USRP -c --
eNB
--ninja
</Build_eNB_args>
<Build_eNB_args>
-w USRP -c --
RU
--ninja
</Build_eNB_args>
<eNB_instance>
1
</eNB_instance>
<eNB_instance>
1
</eNB_instance>
<eNB_serverId>
1
</eNB_serverId>
<eNB_serverId>
1
</eNB_serverId>
</testCase>
</testCase>
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
<testCase
id=
"010103"
>
<testCase
id=
"010103"
>
<class>
Build_eNB
</class>
<class>
Build_eNB
</class>
<desc>
Build Slave RRU
</desc>
<desc>
Build Slave RRU
</desc>
<Build_eNB_args>
-w USRP -c --
eNB
--ninja
</Build_eNB_args>
<Build_eNB_args>
-w USRP -c --
RU
--ninja
</Build_eNB_args>
<eNB_instance>
2
</eNB_instance>
<eNB_instance>
2
</eNB_instance>
<eNB_serverId>
2
</eNB_serverId>
<eNB_serverId>
2
</eNB_serverId>
<backgroundBuild>
True
</backgroundBuild>
<backgroundBuild>
True
</backgroundBuild>
...
@@ -76,7 +76,7 @@
...
@@ -76,7 +76,7 @@
<testCase
id=
"000103"
>
<testCase
id=
"000103"
>
<class>
WaitEndBuild_eNB
</class>
<class>
WaitEndBuild_eNB
</class>
<desc>
Wait for end of Build Slave RRU
</desc>
<desc>
Wait for end of Build Slave RRU
</desc>
<Build_eNB_args>
-w USRP -c --
eNB
--ninja
</Build_eNB_args>
<Build_eNB_args>
-w USRP -c --
RU
--ninja
</Build_eNB_args>
<eNB_instance>
2
</eNB_instance>
<eNB_instance>
2
</eNB_instance>
<eNB_serverId>
2
</eNB_serverId>
<eNB_serverId>
2
</eNB_serverId>
</testCase>
</testCase>
...
...
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