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
lizhongxiao
OpenXG-RAN
Commits
3a55cff7
Commit
3a55cff7
authored
Mar 02, 2022
by
hardy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix indexing for rt stats detection
parent
6146f44b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ci-scripts/ran.py
ci-scripts/ran.py
+2
-2
No files found.
ci-scripts/ran.py
View file @
3a55cff7
...
...
@@ -1136,8 +1136,8 @@ class RANManagement():
self
.
datalog_rt_stats
=
datalog_rt_stats
#check if there is a fail => will render the test as failed
for
k
in
datalog_rt_stats
[
'Data'
]:
if
float
(
datalog_rt_stats
[
'Data'
][
k
][
2
])
>
datalog_rt_stats
[
'Threshold'
][
k
]:
#condition for fail : avg/ref is greater than the fixed threshold
logging
.
debug
(
'
\u001B
[1;30;43m datalog_rt_stats metric '
+
k
+
'='
+
datalog_rt_stats
[
'Data'
][
k
][
2
]
+
' > threshold '
+
str
(
datalog_rt_stats
[
'Threshold'
][
k
])
+
'
\u001B
[0m'
)
if
float
(
datalog_rt_stats
[
'Data'
][
k
][
3
])
>
datalog_rt_stats
[
'Threshold'
][
k
]:
#condition for fail : avg/ref is greater than the fixed threshold
logging
.
debug
(
'
\u001B
[1;30;43m datalog_rt_stats metric '
+
k
+
'='
+
datalog_rt_stats
[
'Data'
][
k
][
3
]
+
' > threshold '
+
str
(
datalog_rt_stats
[
'Threshold'
][
k
])
+
'
\u001B
[0m'
)
RealTimeProcessingIssue
=
True
else
:
statMsg
=
'No real time stats found in the log file
\n
'
...
...
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