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
wangjie
OpenXG-RAN
Commits
13aa9975
Commit
13aa9975
authored
Dec 02, 2020
by
Remi Hardy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fr1 test update (func + log)
parent
b768e32e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
13 deletions
+40
-13
ci-scripts/build_fr1_template.yaml
ci-scripts/build_fr1_template.yaml
+2
-2
ci-scripts/ran.py
ci-scripts/ran.py
+13
-1
ci-scripts/xml_files/fr1_ran_ue_proc.xml
ci-scripts/xml_files/fr1_ran_ue_proc.xml
+25
-10
No files found.
ci-scripts/build_fr1_template.yaml
View file @
13aa9975
ranRepository
:
https://gitlab.eurecom.fr/oai/openairinterface5g.git
ranRepository
:
https://gitlab.eurecom.fr/oai/openairinterface5g.git
ranBranch
:
BRANCH_NAME
ranBranch
:
ci-deploy-docker-compose
ranCommitID
:
COMMIT_ID
ranCommitID
:
2d6fea51b33b0543ccc2bf3dd63265ff26994af1
ranAllowMerge
:
'
true'
ranAllowMerge
:
'
true'
ranTargetBranch
:
develop
ranTargetBranch
:
develop
...
...
ci-scripts/ran.py
View file @
13aa9975
...
@@ -885,6 +885,8 @@ class RANManagement():
...
@@ -885,6 +885,8 @@ class RANManagement():
NSA_RAPROC_PUSCH_check
=
0
NSA_RAPROC_PUSCH_check
=
0
#dlsch and ulsch statistics (dictionary)
#dlsch and ulsch statistics (dictionary)
dlsch_ulsch_stats
=
{}
dlsch_ulsch_stats
=
{}
#count L1 thread not ready msg
L1_thread_not_ready_cnt
=
0
for
line
in
enb_log_file
.
readlines
():
for
line
in
enb_log_file
.
readlines
():
# Runtime statistics
# Runtime statistics
...
@@ -1050,6 +1052,10 @@ class RANManagement():
...
@@ -1050,6 +1052,10 @@ class RANManagement():
if
result
is
not
None
:
if
result
is
not
None
:
#remove 1- all useless char before relevant info (ulsch or dlsch) 2- trailing char
#remove 1- all useless char before relevant info (ulsch or dlsch) 2- trailing char
dlsch_ulsch_stats
[
k
]
=
re
.
sub
(
r'^.*\]\s+'
,
r''
,
line
.
rstrip
())
dlsch_ulsch_stats
[
k
]
=
re
.
sub
(
r'^.*\]\s+'
,
r''
,
line
.
rstrip
())
#count L1 thread not ready msg
result
=
re
.
search
(
'\[PHY\]\s+L1_thread isn
\'
t ready'
,
str
(
line
))
if
result
is
not
None
:
L1_thread_not_ready_cnt
+=
1
enb_log_file
.
close
()
enb_log_file
.
close
()
logging
.
debug
(
' File analysis completed'
)
logging
.
debug
(
' File analysis completed'
)
if
(
self
.
air_interface
[
self
.
eNB_instance
]
==
'lte-softmodem'
)
or
(
self
.
air_interface
[
self
.
eNB_instance
]
==
'ocp-enb'
):
if
(
self
.
air_interface
[
self
.
eNB_instance
]
==
'lte-softmodem'
)
or
(
self
.
air_interface
[
self
.
eNB_instance
]
==
'ocp-enb'
):
...
@@ -1079,6 +1085,12 @@ class RANManagement():
...
@@ -1079,6 +1085,12 @@ class RANManagement():
htmlMsg
=
statMsg
+
'
\n
'
htmlMsg
=
statMsg
+
'
\n
'
logging
.
debug
(
statMsg
)
logging
.
debug
(
statMsg
)
htmleNBFailureMsg
+=
htmlMsg
htmleNBFailureMsg
+=
htmlMsg
#L1 thread not ready log
if
L1_thread_not_ready_cnt
!=
0
:
statMsg
=
'[PHY] L1 thread is not ready msg count = '
+
str
(
L1_thread_not_ready_cnt
)
htmlMsg
=
statMsg
+
'
\n
'
logging
.
debug
(
statMsg
)
htmleNBFailureMsg
+=
htmlMsg
#ulsch and dlsch statistics
#ulsch and dlsch statistics
if
len
(
dlsch_ulsch_stats
)
!=
0
:
#check if dictionary is not empty
if
len
(
dlsch_ulsch_stats
)
!=
0
:
#check if dictionary is not empty
statMsg
=
''
statMsg
=
''
...
...
ci-scripts/xml_files/fr1_ran_ue_proc.xml
View file @
13aa9975
...
@@ -33,7 +33,10 @@
...
@@ -33,7 +33,10 @@
050000
050000
050001
050001
050002
050002
050003
050002
000001
060000
060001
000001
000001
010002
010002
000001
000001
...
@@ -93,29 +96,41 @@
...
@@ -93,29 +96,41 @@
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
Ping: 20pings in 20sec
</desc>
<desc>
Ping: 20pings in 20sec
</desc>
<ping_args>
-c 20
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
0
</ping_packetloss_threshold>
<ping_packetloss_threshold>
9
0
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"050001"
>
<testCase
id=
"050001"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
Ping: 5pings in 1sec
</desc>
<desc>
Ping: 5pings in 1sec
</desc>
<ping_args>
-c 5 -i 0.2
</ping_args>
<ping_args>
-c 5 -i 0.2
</ping_args>
<ping_packetloss_threshold>
0
</ping_packetloss_threshold>
<ping_packetloss_threshold>
9
0
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"050002"
>
<testCase
id=
"050002"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
Ping: 100pings in 20sec
</desc>
<desc>
Ping: 100pings in 20sec
</desc>
<ping_args>
-c 100 -i 0.2
</ping_args>
<ping_args>
-c 100 -i 0.2
</ping_args>
<ping_packetloss_threshold>
0
</ping_packetloss_threshold>
<ping_packetloss_threshold>
90
</ping_packetloss_threshold>
</testCase>
<testCase
id=
"060000"
>
<class>
Iperf
</class>
<desc>
iperf (DL/10Kbps/UDP)(30 sec)(single-ue profile)
</desc>
<iperf_args>
-u -b 10K -t 30 -i 1
</iperf_args>
<iperf_packetloss_threshold>
90
</iperf_packetloss_threshold>
<iperf_profile>
single-ue
</iperf_profile>
</testCase>
<testCase
id=
"060001"
>
<class>
Iperf
</class>
<desc>
iperf (UL/10Kbps/UDP)(30 sec)(single-ue profile)
</desc>
<iperf_args>
-u -b 10K -t 30 -i 1 -R
</iperf_args>
<iperf_packetloss_threshold>
90
</iperf_packetloss_threshold>
<iperf_profile>
single-ue
</iperf_profile>
</testCase>
</testCase>
<testCase
id=
"050003"
>
$
<class>
Ping
</class>
$
<desc>
Ping: 100pings in 20sec size 1000
</desc>
$
<ping_args>
-c 100 -i 0.2 -s 1000
</ping_args>
$
<ping_packetloss_threshold>
0
</ping_packetloss_threshold>
$
</testCase>
$
<testCase
id=
"070000"
>
<testCase
id=
"070000"
>
<class>
Terminate_eNB
</class>
<class>
Terminate_eNB
</class>
...
...
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