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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
92b19e2d
Commit
92b19e2d
authored
Apr 25, 2021
by
Mohammed Ismail
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: fix on true negative result
Signed-off-by:
Mohammed Ismail
<
mohammed.ismail@openairinterface.org
>
parent
d2360457
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
ci-scripts/cls_physim1.py
ci-scripts/cls_physim1.py
+5
-1
No files found.
ci-scripts/cls_physim1.py
View file @
92b19e2d
...
...
@@ -58,7 +58,7 @@ class PhySim:
self
.
testResult
=
{}
self
.
testCount
=
[
0
,
0
,
0
]
self
.
testSummary
=
{}
self
.
exitStatus
=
0
self
.
testStatus
=
False
#-----------------$
#PUBLIC Methods$
...
...
@@ -236,6 +236,8 @@ class PhySim:
mySSH
.
command
(
'oc logout'
,
'\$'
,
6
)
mySSH
.
close
()
self
.
AnalyzeLogFile_phySim
(
HTML
)
if
self
.
testStatus
==
False
:
sys
.
exit
(
-
1
)
def
AnalyzeLogFile_phySim
(
self
,
HTML
):
lIpAddr
=
self
.
eNBIPAddress
...
...
@@ -281,6 +283,8 @@ class PhySim:
self
.
testSummary
[
'Nbtests'
]
=
self
.
testCount
[
0
]
self
.
testSummary
[
'Nbpass'
]
=
self
.
testCount
[
1
]
self
.
testSummary
[
'Nbfail'
]
=
self
.
testCount
[
2
]
if
self
.
testSummary
[
'Nbfail'
]
==
0
:
self
.
testStatus
=
True
HTML
.
CreateHtmlTestRow
(
'N/A'
,
'OK'
,
CONST
.
ALL_PROCESSES_OK
)
HTML
.
CreateHtmlTestRowPhySimTestResult
(
self
.
testSummary
,
self
.
testResult
)
logging
.
info
(
'
\u001B
[1m Physical Simulator Pass
\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