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
ZhouShuya
OpenXG-RAN
Commits
71978e71
Commit
71978e71
authored
Jul 31, 2018
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: hotfix -- no waiting for got sync
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
621b7393
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
ci-scripts/main.py
ci-scripts/main.py
+3
-2
No files found.
ci-scripts/main.py
View file @
71978e71
...
@@ -263,8 +263,9 @@ class SSHConnection():
...
@@ -263,8 +263,9 @@ class SSHConnection():
loopCounter
=
loopCounter
-
1
loopCounter
=
loopCounter
-
1
if
(
loopCounter
==
0
):
if
(
loopCounter
==
0
):
doLoop
=
False
doLoop
=
False
logging
.
debug
(
'
\u001B
[1;37;41m Starting eNB Failed -- taking too much time
\u001B
[0m'
)
logging
.
debug
(
'
\u001B
[1;37;43m eNB logging system did not show got sync! See with attach later
\u001B
[0m'
)
sys
.
exit
(
1
)
# Not getting got sync is bypassed for the moment
#sys.exit(1)
self
.
command
(
'stdbuf -o0 cat enb_'
+
SSH
.
testCase_id
+
'.log'
,
'\$'
,
10
)
self
.
command
(
'stdbuf -o0 cat enb_'
+
SSH
.
testCase_id
+
'.log'
,
'\$'
,
10
)
result
=
re
.
search
(
'got sync'
,
str
(
self
.
ssh
.
before
))
result
=
re
.
search
(
'got sync'
,
str
(
self
.
ssh
.
before
))
if
result
is
None
:
if
result
is
None
:
...
...
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