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
8d871c3c
Commit
8d871c3c
authored
Feb 16, 2022
by
hardy
Committed by
Robert Schmidt
Feb 28, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add Detected UL Failure marker
parent
6fbfa3b0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
14 deletions
+18
-14
ci-scripts/ran.py
ci-scripts/ran.py
+18
-14
No files found.
ci-scripts/ran.py
View file @
8d871c3c
...
...
@@ -815,8 +815,8 @@ class RANManagement():
removing_ue
=
0
#count"X2AP-PDU"
x2ap_pdu
=
0
#
NSA
specific log markers
nsa_markers
=
{
'SgNBReleaseRequestAcknowledge'
:
[],
'FAILURE'
:
[],
'scgFailureInformationNR-r15'
:
[],
'SgNBReleaseRequest'
:
[]}
#
gnb
specific log markers
gnb_markers
=
{
'SgNBReleaseRequestAcknowledge'
:
[],
'FAILURE'
:
[],
'scgFailureInformationNR-r15'
:
[],
'SgNBReleaseRequest'
:
[],
'Detected UL Failure on PUSCH'
:
[]}
nodeB_prefix_found
=
False
RealTimeProcessingIssue
=
False
...
...
@@ -1008,11 +1008,11 @@ class RANManagement():
result
=
re
.
search
(
'X2AP-PDU'
,
str
(
line
))
if
result
is
not
None
:
x2ap_pdu
+=
1
#
nsa
markers logging
for
k
in
nsa
_markers
:
#
gnb
markers logging
for
k
in
gnb
_markers
:
result
=
re
.
search
(
k
,
line
)
if
result
is
not
None
:
nsa_markers
[
k
].
append
(
line_cnt
)
gnb_markers
[
k
].
append
(
line_cnt
)
enb_log_file
.
close
()
...
...
@@ -1096,19 +1096,23 @@ class RANManagement():
htmlMsg
=
statMsg
+
'
\n
'
logging
.
debug
(
statMsg
)
htmleNBFailureMsg
+=
htmlMsg
#
nsa
markers
#
gnb
markers
statMsg
=
'logfile line count = '
+
str
(
line_cnt
)
htmlMsg
=
statMsg
+
'
\n
'
logging
.
debug
(
statMsg
)
htmleNBFailureMsg
+=
htmlMsg
if
len
(
nsa
_markers
[
'SgNBReleaseRequestAcknowledge'
])
!=
0
:
statMsg
=
'SgNBReleaseRequestAcknowledge = '
+
str
(
len
(
nsa_markers
[
'SgNBReleaseRequestAcknowledge'
]))
+
' occurences , starting line '
+
str
(
nsa
_markers
[
'SgNBReleaseRequestAcknowledge'
][
0
])
if
len
(
gnb
_markers
[
'SgNBReleaseRequestAcknowledge'
])
!=
0
:
statMsg
=
'SgNBReleaseRequestAcknowledge = '
+
str
(
len
(
gnb_markers
[
'SgNBReleaseRequestAcknowledge'
]))
+
' occurences , starting line '
+
str
(
gnb
_markers
[
'SgNBReleaseRequestAcknowledge'
][
0
])
else
:
statMsg
=
'SgNBReleaseRequestAcknowledge = '
+
str
(
len
(
nsa_markers
[
'SgNBReleaseRequestAcknowledge'
]))
+
' occurences'
statMsg
=
'SgNBReleaseRequestAcknowledge = '
+
str
(
len
(
gnb_markers
[
'SgNBReleaseRequestAcknowledge'
]))
+
' occurences'
htmlMsg
=
statMsg
+
'
\n
'
logging
.
debug
(
statMsg
)
htmleNBFailureMsg
+=
htmlMsg
statMsg
=
'FAILURE = '
+
str
(
len
(
gnb_markers
[
'FAILURE'
]))
+
' occurences'
htmlMsg
=
statMsg
+
'
\n
'
logging
.
debug
(
statMsg
)
htmleNBFailureMsg
+=
htmlMsg
statMsg
=
'
FAILURE = '
+
str
(
len
(
nsa_markers
[
'FAILURE
'
]))
+
' occurences'
statMsg
=
'
Detected UL Failure on PUSCH = '
+
str
(
len
(
gnb_markers
[
'Detected UL Failure on PUSCH
'
]))
+
' occurences'
htmlMsg
=
statMsg
+
'
\n
'
logging
.
debug
(
statMsg
)
htmleNBFailureMsg
+=
htmlMsg
...
...
@@ -1158,14 +1162,14 @@ class RANManagement():
htmlMsg
=
statMsg
+
'
\n
'
logging
.
debug
(
statMsg
)
htmleNBFailureMsg
+=
htmlMsg
if
len
(
nsa
_markers
[
'SgNBReleaseRequest'
])
!=
0
:
statMsg
=
'SgNBReleaseRequest = '
+
str
(
len
(
nsa_markers
[
'SgNBReleaseRequest'
]))
+
' occurences , starting line '
+
str
(
nsa
_markers
[
'SgNBReleaseRequest'
][
0
])
if
len
(
gnb
_markers
[
'SgNBReleaseRequest'
])
!=
0
:
statMsg
=
'SgNBReleaseRequest = '
+
str
(
len
(
gnb_markers
[
'SgNBReleaseRequest'
]))
+
' occurences , starting line '
+
str
(
gnb
_markers
[
'SgNBReleaseRequest'
][
0
])
else
:
statMsg
=
'SgNBReleaseRequest = '
+
str
(
len
(
nsa
_markers
[
'SgNBReleaseRequest'
]))
+
' occurences'
statMsg
=
'SgNBReleaseRequest = '
+
str
(
len
(
gnb
_markers
[
'SgNBReleaseRequest'
]))
+
' occurences'
htmlMsg
=
statMsg
+
'
\n
'
logging
.
debug
(
statMsg
)
htmleNBFailureMsg
+=
htmlMsg
statMsg
=
'scgFailureInformationNR-r15 = '
+
str
(
len
(
nsa
_markers
[
'scgFailureInformationNR-r15'
]))
+
' occurences'
statMsg
=
'scgFailureInformationNR-r15 = '
+
str
(
len
(
gnb
_markers
[
'scgFailureInformationNR-r15'
]))
+
' occurences'
htmlMsg
=
statMsg
+
'
\n
'
logging
.
debug
(
statMsg
)
htmleNBFailureMsg
+=
htmlMsg
...
...
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