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
a08d78d7
Commit
a08d78d7
authored
2 years ago
by
Robert Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
Correctly show proxy build info
parent
c139204c
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
,
!1646
Add 4G L2simulator test
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ci-scripts/cls_containerize.py
+19
-0
19 additions, 0 deletions
ci-scripts/cls_containerize.py
with
19 additions
and
0 deletions
ci-scripts/cls_containerize.py
+
19
−
0
View file @
a08d78d7
...
@@ -532,6 +532,25 @@ class Containerize():
...
@@ -532,6 +532,25 @@ class Containerize():
# don't delete such that we might recover the zips
# don't delete such that we might recover the zips
#mySSH.command('rm -f build_log_' + self.testCase_id + '.zip','\$', 5)
#mySSH.command('rm -f build_log_' + self.testCase_id + '.zip','\$', 5)
# we do not analyze the logs (we assume the proxy builds fine at this stage),
# but need to have the following information to correctly display the HTML
files
=
{}
errorandwarnings
=
{}
errorandwarnings
[
'
errors
'
]
=
0
errorandwarnings
[
'
warnings
'
]
=
0
errorandwarnings
[
'
status
'
]
=
True
files
[
'
Target Image Creation
'
]
=
errorandwarnings
self
.
collectInfo
[
'
proxy
'
]
=
files
mySSH
.
command
(
'
docker image inspect --format=
\'
Size = {{.Size}} bytes
\'
proxy:
'
+
tag
,
'
\$
'
,
5
)
result
=
re
.
search
(
'
Size *= *(?P<size>[0-9\-]+) *bytes
'
,
mySSH
.
getBefore
())
if
result
is
not
None
:
imageSize
=
float
(
result
.
group
(
'
size
'
))
/
1000000
logging
.
debug
(
'
\u001B
[1m proxy size is
'
+
(
'
%.0f
'
%
imageSize
)
+
'
Mbytes
\u001B
[0m
'
)
self
.
allImagesSize
[
'
proxy
'
]
=
str
(
round
(
imageSize
,
1
))
+
'
Mbytes
'
else
:
logging
.
debug
(
'
proxy size is unknown
'
)
self
.
allImagesSize
[
'
proxy
'
]
=
'
unknown
'
# Cleaning any created tmp volume
# Cleaning any created tmp volume
mySSH
.
command
(
self
.
cli
+
'
volume prune --force || true
'
,
'
\$
'
,
15
)
mySSH
.
command
(
self
.
cli
+
'
volume prune --force || true
'
,
'
\$
'
,
15
)
mySSH
.
close
()
mySSH
.
close
()
...
...
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