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
06bbea7f
Commit
06bbea7f
authored
3 years ago
by
Robert Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
CI: Check for correct files
parent
d02a65c8
No related branches found
No related tags found
4 merge requests
!1757
Draft: Use pMAX value in configuration file, instead of hardcoded '23' in asn1_msg.c
,
!1493
fix DL arq errors in UE
,
!1402
integration_2022_wk03_b
,
!1390
WIP: various CI improvements
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ci-scripts/ran.py
+5
-6
5 additions, 6 deletions
ci-scripts/ran.py
with
5 additions
and
6 deletions
ci-scripts/ran.py
+
5
−
6
View file @
06bbea7f
...
@@ -1021,12 +1021,9 @@ class RANManagement():
...
@@ -1021,12 +1021,9 @@ class RANManagement():
datalog_rt_stats
=
yaml
.
load
(
f
,
Loader
=
yaml
.
FullLoader
)
datalog_rt_stats
=
yaml
.
load
(
f
,
Loader
=
yaml
.
FullLoader
)
rt_keys
=
datalog_rt_stats
[
'
Ref
'
]
#we use the keys from the Ref field
rt_keys
=
datalog_rt_stats
[
'
Ref
'
]
#we use the keys from the Ref field
if
(
os
.
path
.
isfile
(
'
./nrL1_stats.log
'
))
and
(
os
.
path
.
isfile
(
'
./nrL1_stats.log
'
)):
if
os
.
path
.
isfile
(
'
./nrL1_stats.log
'
)
and
os
.
path
.
isfile
(
'
./nrMAC_stats.log
'
):
stat_files_present
=
True
# don't use CI-nrL1_stats.log, as this will increase the processing time for
else
:
# no reason, we just need the last occurence
stat_files_present
=
False
logging
.
debug
(
"
NR Stats files for RT analysis not found
"
)
if
stat_files_present
:
nrL1_stats
=
open
(
'
./nrL1_stats.log
'
,
'
r
'
)
nrL1_stats
=
open
(
'
./nrL1_stats.log
'
,
'
r
'
)
nrMAC_stats
=
open
(
'
./nrMAC_stats.log
'
,
'
r
'
)
nrMAC_stats
=
open
(
'
./nrMAC_stats.log
'
,
'
r
'
)
for
line
in
nrL1_stats
.
readlines
():
for
line
in
nrL1_stats
.
readlines
():
...
@@ -1047,6 +1044,8 @@ class RANManagement():
...
@@ -1047,6 +1044,8 @@ class RANManagement():
real_time_stats
[
k
]
=
tmp
.
group
(
1
)
real_time_stats
[
k
]
=
tmp
.
group
(
1
)
nrL1_stats
.
close
()
nrL1_stats
.
close
()
nrMAC_stats
.
close
()
nrMAC_stats
.
close
()
else
:
logging
.
debug
(
"
NR Stats files for RT analysis not found
"
)
#stdout log file and stat log files analysis completed
#stdout log file and stat log files analysis completed
logging
.
debug
(
'
File analysis (stdout, stats) completed
'
)
logging
.
debug
(
'
File analysis (stdout, stats) completed
'
)
...
...
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