Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oai
openairinterface5G
Commits
5cadafc1
Commit
5cadafc1
authored
2 years ago
by
Robert Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
CI: check for final 'Bye.' message
parent
6f40b619
No related branches found
No related tags found
3 merge requests
!1757
Draft: Use pMAX value in configuration file, instead of hardcoded '23' in asn1_msg.c
,
!1667
integration_2022_wk33
,
!1562
Correctly handle SIGINT/stop signal in nr-softmodem
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ci-scripts/constants.py
+1
-0
1 addition, 0 deletions
ci-scripts/constants.py
ci-scripts/ran.py
+14
-0
14 additions, 0 deletions
ci-scripts/ran.py
with
15 additions
and
0 deletions
ci-scripts/constants.py
+
1
−
0
View file @
5cadafc1
...
...
@@ -46,6 +46,7 @@ ENB_PROCESS_NOLOGFILE_TO_ANALYZE = -14
ENB_PROCESS_SLAVE_RRU_NOT_SYNCED
=
-
15
ENB_REAL_TIME_PROCESSING_ISSUE
=
-
16
ENB_RETX_ISSUE
=
-
17
ENB_SHUTDOWN_NO_BYE
=
-
18
HSS_PROCESS_FAILED
=
-
2
HSS_PROCESS_OK
=
+
2
MME_PROCESS_FAILED
=
-
3
...
...
This diff is collapsed.
Click to expand it.
ci-scripts/ran.py
+
14
−
0
View file @
5cadafc1
...
...
@@ -812,6 +812,7 @@ class RANManagement():
ULRetxIssue
=
False
nrRrcRcfgComplete
=
0
harqFeedbackPast
=
0
showedByeMsg
=
False
# last line is Bye. -> stopped properly
line_cnt
=
0
#log file line counter
for
line
in
enb_log_file
.
readlines
():
...
...
@@ -1024,6 +1025,12 @@ class RANManagement():
if
result
is
not
None
:
gnb_markers
[
k
].
append
(
line_cnt
)
# check whether e/gNB log finishes with "Bye." message
# Note that it is "=" not "|=" so not only is the regex
# asking for EOF (\Z) but we also only retain the last
# line's result
showedByeMsg
=
re
.
search
(
r
'
^Bye.\n\Z
'
,
str
(
line
),
re
.
MULTILINE
)
is
not
None
enb_log_file
.
close
()
...
...
@@ -1208,6 +1215,13 @@ class RANManagement():
logging
.
debug
(
'
No real time stats found in the log file
'
)
htmleNBFailureMsg
+=
statMsg
if
not
showedByeMsg
:
logging
.
debug
(
'
\u001B
[1;37;41m
'
+
nodeB_prefix
+
'
NB did not show
"
Bye.
"
message at end, it likely did not stop properly!
\u001B
[0m
'
)
htmleNBFailureMsg
+=
'
No Bye. message found, did not stop properly
\n
'
global_status
=
CONST
.
ENB_SHUTDOWN_NO_BYE
else
:
logging
.
debug
(
'"
Bye.
"
message found at end.
'
)
else
:
#Removing UE log
statMsg
=
'
[MAC] Removing UE msg count =
'
+
str
(
removing_ue
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment