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
7acc966b
Commit
7acc966b
authored
Apr 26, 2021
by
Mohammed Ismail
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: logs delay fix
Signed-off-by:
Mohammed Ismail
<
mohammed.ismail@openairinterface.org
>
parent
92b19e2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
ci-scripts/cls_physim1.py
ci-scripts/cls_physim1.py
+5
-6
No files found.
ci-scripts/cls_physim1.py
View file @
7acc966b
...
...
@@ -200,18 +200,17 @@ class PhySim:
# Waiting to complete the running test
count
=
0
isFinished
=
False
t
estCompleteCount
=
0
t
mpPodNames
=
podNames
while
(
count
<
25
and
isFinished
==
False
):
time
.
sleep
(
58
)
for
podName
in
p
odNames
:
for
podName
in
tmpP
odNames
:
mySSH
.
command
(
f'oc logs --tail=1
{
podName
}
2>&1'
,
'\$'
,
6
)
if
mySSH
.
getBefore
().
count
(
'Finished'
)
!=
0
:
t
estCompleteCount
+=
1
time
.
sleep
(
1
)
if
testCompleteCount
==
12
:
t
mpPodNames
.
remove
(
podName
)
time
.
sleep
(
2
)
if
not
tmpPodNames
:
isFinished
=
True
count
+=
1
testCompleteCount
=
0
if
isFinished
:
logging
.
debug
(
'
\u001B
[1m PhySim test is Complete
\u001B
[0m'
)
...
...
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