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
52442573
Commit
52442573
authored
Apr 12, 2021
by
Mohammed Ismail
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: syntax fix
Signed-off-by:
Mohammed Ismail
<
mohammed.ismail@openairinterface.org
>
parent
20cd80c1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
47 deletions
+47
-47
ci-scripts/cls_physim1.py
ci-scripts/cls_physim1.py
+46
-46
ci-scripts/main.py
ci-scripts/main.py
+1
-1
No files found.
ci-scripts/cls_physim1.py
View file @
52442573
...
...
@@ -136,7 +136,7 @@ class PhySim:
isRunning
=
False
while
(
isRunning
==
False
):
mySSH
.
command
(
'oc get pods -l app.kubernetes.io/instance=physim'
,
'\$'
,
6
)
if
mySSH
.
getBefore
().
count
(
'Running'
)
==
12
if
mySSH
.
getBefore
().
count
(
'Running'
)
==
12
:
logging
.
debug
(
'
\u001B
[1m Running the physim test Scenarios
\u001B
[0m'
)
isRunning
=
True
podNames
=
re
.
findall
(
'oai[\S\d\w]+'
,
mySSH
.
getBefore
())
...
...
@@ -164,7 +164,7 @@ class PhySim:
mySSH
.
command
(
'mv log/* '
+
'physim_test_log_'
+
self
.
testCase_id
,
'\$'
,
5
)
# UnDeploy the physical simulator pods
mySSH
.
command
(
'helm uninstall physim'
,
'\$'
,
10
)
if
mySSH
.
getBefore
().
count
(
'release "physim" uninstalled'
)
!=
0
if
mySSH
.
getBefore
().
count
(
'release "physim" uninstalled'
)
!=
0
:
logging
.
debug
(
'
\u001B
[1m UnDeployed PhySim Successfully on OC Cluster
\u001B
[0m'
)
else
:
logging
.
debug
(
'
\u001B
[1m Failed to UnDeploy PhySim on OC Cluster
\u001B
[0m'
)
...
...
ci-scripts/main.py
View file @
52442573
...
...
@@ -391,7 +391,7 @@ ldpc=cls_physim.PhySim() #create an instance for LDPC test using GPU or CPU b
#-----------------------------------------------------------
import
args_parse
py_param_file_present
,
py_params
,
mode
=
args_parse
.
ArgsParse
(
sys
.
argv
,
CiTestObj
,
RAN
,
HTML
,
EPC
,
ldpc
,
CONTAINERS
,
HELP
,
SCA
)
py_param_file_present
,
py_params
,
mode
=
args_parse
.
ArgsParse
(
sys
.
argv
,
CiTestObj
,
RAN
,
HTML
,
EPC
,
ldpc
,
CONTAINERS
,
HELP
,
SCA
,
PHYSIM
)
...
...
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