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
Michael Black
OpenXG-RAN
Commits
9112b8fb
Commit
9112b8fb
authored
Jun 24, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: Match arbitrary number of UEs for HARQ stats
parent
81deaaa0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
18 deletions
+13
-18
ci-scripts/ran.py
ci-scripts/ran.py
+13
-18
No files found.
ci-scripts/ran.py
View file @
9112b8fb
...
...
@@ -978,26 +978,21 @@ class RANManagement():
result
=
re
.
search
(
'\[gNB [0-9]+\]\[RAPROC\] PUSCH with TC_RNTI 0x[0-9a-fA-F]+ received correctly, adding UE MAC Context RNTI 0x[0-9a-fA-F]+'
,
str
(
line
))
if
result
is
not
None
:
NSA_RAPROC_PUSCH_check
=
1
#dlsch and ulsch statistics
#keys below are the markers we are loooking for, loop over this keys list
#everytime these markers are found in the log file, the previous ones are overwritten in the dict
#eventually we record and print only the last occurence
keys
=
{
'UE ID'
,
'dlsch_rounds'
,
'dlsch_total_bytes'
,
'ulsch_rounds'
,
'ulsch_total_bytes_scheduled'
}
# Collect information on UE DLSCH and ULSCH statistics
keys
=
{
'dlsch_rounds'
,
'dlsch_total_bytes'
,
'ulsch_rounds'
,
'ulsch_total_bytes_scheduled'
}
for
k
in
keys
:
result
=
re
.
search
(
k
,
line
)
if
result
is
not
None
:
ue_prefix
=
'ue0'
ue_res
=
re
.
search
(
'UE ID 1|UE 1:'
,
line
)
if
ue_res
is
not
None
:
ue_prefix
=
'ue1'
ue_res
=
re
.
search
(
'UE ID 2|UE 2:'
,
line
)
if
ue_res
is
not
None
:
ue_prefix
=
'ue2'
ue_res
=
re
.
search
(
'UE ID 3|UE 3:'
,
line
)
if
ue_res
is
not
None
:
ue_prefix
=
'ue3'
#remove 1- all useless char before relevant info (ulsch or dlsch) 2- trailing char
dlsch_ulsch_stats
[
ue_prefix
+
k
]
=
re
.
sub
(
r'^.*\]\s+'
,
r''
,
line
.
rstrip
())
if
result
is
None
:
continue
result
=
re
.
search
(
'UE (?:RNTI )?([0-9a-f]{4})'
,
line
)
if
result
is
None
:
logging
.
error
(
f'did not find RNTI while matching key
{
k
}
'
)
continue
rnti
=
result
.
group
(
1
)
#remove 1- all useless char before relevant info (ulsch or dlsch) 2- trailing char
dlsch_ulsch_stats
[
rnti
+
k
]
=
re
.
sub
(
r'^.*\]\s+'
,
r''
,
line
.
rstrip
())
result
=
re
.
search
(
'Received NR_RRCReconfigurationComplete from UE'
,
str
(
line
))
if
result
is
not
None
:
...
...
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