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
75b271a8
Commit
75b271a8
authored
Jun 22, 2020
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: adding more error messages to HTML report
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
ce068727
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
ci-scripts/ran.py
ci-scripts/ran.py
+16
-0
No files found.
ci-scripts/ran.py
View file @
75b271a8
...
@@ -807,6 +807,8 @@ class RANManagement():
...
@@ -807,6 +807,8 @@ class RANManagement():
uciStatMsgCount
=
0
uciStatMsgCount
=
0
pdcpFailure
=
0
pdcpFailure
=
0
ulschFailure
=
0
ulschFailure
=
0
ulschAllocateCCEerror
=
0
uplinkSegmentsAborted
=
0
ulschReceiveOK
=
0
ulschReceiveOK
=
0
gnbRxTxWakeUpFailure
=
0
gnbRxTxWakeUpFailure
=
0
cdrxActivationMessageCount
=
0
cdrxActivationMessageCount
=
0
...
@@ -925,6 +927,12 @@ class RANManagement():
...
@@ -925,6 +927,12 @@ class RANManagement():
result
=
re
.
search
(
'ULSCH in error in round|ULSCH 0 in error'
,
str
(
line
))
result
=
re
.
search
(
'ULSCH in error in round|ULSCH 0 in error'
,
str
(
line
))
if
result
is
not
None
:
if
result
is
not
None
:
ulschFailure
+=
1
ulschFailure
+=
1
result
=
re
.
search
(
'ERROR ALLOCATING CCEs'
,
str
(
line
))
if
result
is
not
None
:
ulschAllocateCCEerror
+=
1
result
=
re
.
search
(
'uplink segment error.*aborted [1-9] segments'
,
str
(
line
))
if
result
is
not
None
:
uplinkSegmentsAborted
+=
1
result
=
re
.
search
(
'ULSCH received ok'
,
str
(
line
))
result
=
re
.
search
(
'ULSCH received ok'
,
str
(
line
))
if
result
is
not
None
:
if
result
is
not
None
:
ulschReceiveOK
+=
1
ulschReceiveOK
+=
1
...
@@ -968,6 +976,14 @@ class RANManagement():
...
@@ -968,6 +976,14 @@ class RANManagement():
statMsg
=
nodeB_prefix
+
'NB showed '
+
str
(
ulschFailure
)
+
' "ULSCH in error in round" message(s)'
statMsg
=
nodeB_prefix
+
'NB showed '
+
str
(
ulschFailure
)
+
' "ULSCH in error in round" message(s)'
logging
.
debug
(
'
\u001B
[1;30;43m '
+
statMsg
+
'
\u001B
[0m'
)
logging
.
debug
(
'
\u001B
[1;30;43m '
+
statMsg
+
'
\u001B
[0m'
)
htmleNBFailureMsg
+=
statMsg
+
'
\n
'
htmleNBFailureMsg
+=
statMsg
+
'
\n
'
if
ulschAllocateCCEerror
>
0
:
statMsg
=
nodeB_prefix
+
'NB showed '
+
str
(
ulschAllocateCCEerror
)
+
' "eNB_dlsch_ulsch_scheduler(); ERROR ALLOCATING CCEs" message(s)'
logging
.
debug
(
'
\u001B
[1;30;43m '
+
statMsg
+
'
\u001B
[0m'
)
htmleNBFailureMsg
+=
statMsg
+
'
\n
'
if
uplinkSegmentsAborted
>
0
:
statMsg
=
nodeB_prefix
+
'NB showed '
+
str
(
uplinkSegmentsAborted
)
+
' "uplink segment error 0/2, aborted * segments" message(s)'
logging
.
debug
(
'
\u001B
[1;30;43m '
+
statMsg
+
'
\u001B
[0m'
)
htmleNBFailureMsg
+=
statMsg
+
'
\n
'
if
dropNotEnoughRBs
>
0
:
if
dropNotEnoughRBs
>
0
:
statMsg
=
'eNB showed '
+
str
(
dropNotEnoughRBs
)
+
' "dropping, not enough RBs" message(s)'
statMsg
=
'eNB showed '
+
str
(
dropNotEnoughRBs
)
+
' "dropping, not enough RBs" message(s)'
logging
.
debug
(
'
\u001B
[1;30;43m '
+
statMsg
+
'
\u001B
[0m'
)
logging
.
debug
(
'
\u001B
[1;30;43m '
+
statMsg
+
'
\u001B
[0m'
)
...
...
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