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
zzha zzha
OpenXG-RAN
Commits
4d85beae
Commit
4d85beae
authored
Aug 23, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename CI Run_PhySim to Run_LDPCTest
parent
90d4868a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
27 deletions
+34
-27
ci-scripts/cls_physim.py
ci-scripts/cls_physim.py
+3
-3
ci-scripts/main.py
ci-scripts/main.py
+10
-3
ci-scripts/xml_class_list.yml
ci-scripts/xml_class_list.yml
+1
-1
ci-scripts/xml_files/ldpc_gpu_test.xml
ci-scripts/xml_files/ldpc_gpu_test.xml
+20
-20
No files found.
ci-scripts/cls_physim.py
View file @
4d85beae
...
@@ -64,7 +64,7 @@ class PhySim:
...
@@ -64,7 +64,7 @@ class PhySim:
#PRIVATE Methods
#PRIVATE Methods
#-----------------
#-----------------
def
__CheckResults_
PhySim
(
self
,
HTML
,
CONST
,
testcase_id
):
def
__CheckResults_
LDPCTest
(
self
,
HTML
,
CONST
,
testcase_id
):
mySSH
=
sshconnection
.
SSHConnection
()
mySSH
=
sshconnection
.
SSHConnection
()
mySSH
.
open
(
self
.
eNBIpAddr
,
self
.
eNBUserName
,
self
.
eNBPassWord
)
mySSH
.
open
(
self
.
eNBIpAddr
,
self
.
eNBUserName
,
self
.
eNBPassWord
)
#retrieve run log file and store it locally$
#retrieve run log file and store it locally$
...
@@ -173,7 +173,7 @@ class PhySim:
...
@@ -173,7 +173,7 @@ class PhySim:
return
lHTML
return
lHTML
def
Run_
PhySim
(
self
,
htmlObj
,
constObj
,
testcase_id
):
def
Run_
LDPCTest
(
self
,
htmlObj
,
constObj
,
testcase_id
):
#create run logs folder locally
#create run logs folder locally
os
.
system
(
'mkdir -p ./'
+
self
.
__runLogPath
)
os
.
system
(
'mkdir -p ./'
+
self
.
__runLogPath
)
#log file is tc_<testcase_id>.log remotely
#log file is tc_<testcase_id>.log remotely
...
@@ -187,5 +187,5 @@ class PhySim:
...
@@ -187,5 +187,5 @@ class PhySim:
mySSH
.
close
()
mySSH
.
close
()
#return updated HTML to main
#return updated HTML to main
lHTML
=
cls_oai_html
.
HTMLManagement
()
lHTML
=
cls_oai_html
.
HTMLManagement
()
lHTML
=
self
.
__CheckResults_
PhySim
(
htmlObj
,
constObj
,
testcase_id
)
lHTML
=
self
.
__CheckResults_
LDPCTest
(
htmlObj
,
constObj
,
testcase_id
)
return
lHTML
return
lHTML
ci-scripts/main.py
View file @
4d85beae
...
@@ -457,9 +457,14 @@ def GetParametersFromXML(action):
...
@@ -457,9 +457,14 @@ def GetParametersFromXML(action):
if
(
string_field
is
not
None
):
if
(
string_field
is
not
None
):
CONTAINERS
.
testSvrId
=
string_field
CONTAINERS
.
testSvrId
=
string_field
el
se
:
# ie action == 'Run_PhySim
':
el
if
action
==
'Run_LDPCTest
'
:
ldpc
.
runargs
=
test
.
findtext
(
'physim_run_args'
)
ldpc
.
runargs
=
test
.
findtext
(
'physim_run_args'
)
else
:
logging
.
error
(
f"unknown action
{
action
}
, abort"
)
exit
(
1
)
#check if given test is in list
#check if given test is in list
#it is in list if one of the strings in 'list' is at the beginning of 'test'
#it is in list if one of the strings in 'list' is at the beginning of 'test'
...
@@ -914,8 +919,10 @@ elif re.match('^TesteNB$', mode, re.IGNORECASE) or re.match('^TestUE$', mode, re
...
@@ -914,8 +919,10 @@ elif re.match('^TesteNB$', mode, re.IGNORECASE) or re.match('^TestUE$', mode, re
HTML
=
ldpc
.
Build_PhySim
(
HTML
,
CONST
)
HTML
=
ldpc
.
Build_PhySim
(
HTML
,
CONST
)
if
ldpc
.
exitStatus
==
1
:
if
ldpc
.
exitStatus
==
1
:
RAN
.
prematureExit
=
True
RAN
.
prematureExit
=
True
elif
action
==
'Run_PhySim'
:
elif
action
==
'Run_LDPCTest'
:
HTML
=
ldpc
.
Run_PhySim
(
HTML
,
CONST
,
id
)
HTML
=
ldpc
.
Run_LDPCTest
(
HTML
,
CONST
,
id
)
if
ldpc
.
exitStatus
==
1
:
RAN
.
prematureExit
=
True
elif
action
==
'Build_Image'
:
elif
action
==
'Build_Image'
:
CONTAINERS
.
BuildImage
(
HTML
)
CONTAINERS
.
BuildImage
(
HTML
)
elif
action
==
'Build_Proxy'
:
elif
action
==
'Build_Proxy'
:
...
...
ci-scripts/xml_class_list.yml
View file @
4d85beae
-
Build_Proxy
-
Build_Proxy
-
Build_PhySim
-
Build_PhySim
-
Run_
PhySim
-
Run_
LDPCTest
-
Build_eNB
-
Build_eNB
-
WaitEndBuild_eNB
-
WaitEndBuild_eNB
-
Initialize_eNB
-
Initialize_eNB
...
...
ci-scripts/xml_files/ldpc_gpu_test.xml
View file @
4d85beae
...
@@ -30,121 +30,121 @@
...
@@ -30,121 +30,121 @@
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"000002"
>
<testCase
id=
"000002"
>
<class>
Run_
PhySim
</class>
<class>
Run_
LDPCTest
</class>
<desc>
Run LDPC Test with CPU
</desc>
<desc>
Run LDPC Test with CPU
</desc>
<physim_run_args>
-l 3872 -s10 -n100
</physim_run_args>
<physim_run_args>
-l 3872 -s10 -n100
</physim_run_args>
</testCase>
</testCase>
<testCase
id=
"000003"
>
<testCase
id=
"000003"
>
<class>
Run_
PhySim
</class>
<class>
Run_
LDPCTest
</class>
<desc>
Run LDPC Test with GPU
</desc>
<desc>
Run LDPC Test with GPU
</desc>
<physim_run_args>
-l 3872 -s10 -n100 -G 1
</physim_run_args>
<physim_run_args>
-l 3872 -s10 -n100 -G 1
</physim_run_args>
</testCase>
</testCase>
<testCase
id=
"000004"
>
<testCase
id=
"000004"
>
<class>
Run_
PhySim
</class>
<class>
Run_
LDPCTest
</class>
<desc>
Run LDPC Test with CPU
</desc>
<desc>
Run LDPC Test with CPU
</desc>
<physim_run_args>
-l 4224 -s10 -n100
</physim_run_args>
<physim_run_args>
-l 4224 -s10 -n100
</physim_run_args>
</testCase>
</testCase>
<testCase
id=
"000005"
>
<testCase
id=
"000005"
>
<class>
Run_
PhySim
</class>
<class>
Run_
LDPCTest
</class>
<desc>
Run LDPC Test with GPU
</desc>
<desc>
Run LDPC Test with GPU
</desc>
<physim_run_args>
-l 4224 -s10 -n100 -G 1
</physim_run_args>
<physim_run_args>
-l 4224 -s10 -n100 -G 1
</physim_run_args>
</testCase>
</testCase>
<testCase
id=
"000006"
>
<testCase
id=
"000006"
>
<class>
Run_
PhySim
</class>
<class>
Run_
LDPCTest
</class>
<desc>
Run LDPC Test with CPU
</desc>
<desc>
Run LDPC Test with CPU
</desc>
<physim_run_args>
-l 4576 -s10 -n100
</physim_run_args>
<physim_run_args>
-l 4576 -s10 -n100
</physim_run_args>
</testCase>
</testCase>
<testCase
id=
"000007"
>
<testCase
id=
"000007"
>
<class>
Run_
PhySim
</class>
<class>
Run_
LDPCTest
</class>
<desc>
Run LDPC Test with GPU
</desc>
<desc>
Run LDPC Test with GPU
</desc>
<physim_run_args>
-l 4576 -s10 -n100 -G 1
</physim_run_args>
<physim_run_args>
-l 4576 -s10 -n100 -G 1
</physim_run_args>
</testCase>
</testCase>
<testCase
id=
"000008"
>
<testCase
id=
"000008"
>
<class>
Run_
PhySim
</class>
<class>
Run_
LDPCTest
</class>
<desc>
Run LDPC Test with CPU
</desc>
<desc>
Run LDPC Test with CPU
</desc>
<physim_run_args>
-l 4928 -s10 -n100
</physim_run_args>
<physim_run_args>
-l 4928 -s10 -n100
</physim_run_args>
</testCase>
</testCase>
<testCase
id=
"000009"
>
<testCase
id=
"000009"
>
<class>
Run_
PhySim
</class>
<class>
Run_
LDPCTest
</class>
<desc>
Run LDPC Test with GPU
</desc>
<desc>
Run LDPC Test with GPU
</desc>
<physim_run_args>
-l 4928 -s10 -n100 -G 1
</physim_run_args>
<physim_run_args>
-l 4928 -s10 -n100 -G 1
</physim_run_args>
</testCase>
</testCase>
<testCase
id=
"000010"
>
<testCase
id=
"000010"
>
<class>
Run_
PhySim
</class>
<class>
Run_
LDPCTest
</class>
<desc>
Run LDPC Test with CPU
</desc>
<desc>
Run LDPC Test with CPU
</desc>
<physim_run_args>
-l 5280 -s10 -n100
</physim_run_args>
<physim_run_args>
-l 5280 -s10 -n100
</physim_run_args>
</testCase>
</testCase>
<testCase
id=
"000011"
>
<testCase
id=
"000011"
>
<class>
Run_
PhySim
</class>
<class>
Run_
LDPCTest
</class>
<desc>
Run LDPC Test with GPU
</desc>
<desc>
Run LDPC Test with GPU
</desc>
<physim_run_args>
-l 5280 -s10 -n100 -G 1
</physim_run_args>
<physim_run_args>
-l 5280 -s10 -n100 -G 1
</physim_run_args>
</testCase>
</testCase>
<testCase
id=
"000012"
>
<testCase
id=
"000012"
>
<class>
Run_
PhySim
</class>
<class>
Run_
LDPCTest
</class>
<desc>
Run LDPC Test with CPU
</desc>
<desc>
Run LDPC Test with CPU
</desc>
<physim_run_args>
-l 5632 -s10 -n100
</physim_run_args>
<physim_run_args>
-l 5632 -s10 -n100
</physim_run_args>
</testCase>
</testCase>
<testCase
id=
"000013"
>
<testCase
id=
"000013"
>
<class>
Run_
PhySim
</class>
<class>
Run_
LDPCTest
</class>
<desc>
Run LDPC Test with GPU
</desc>
<desc>
Run LDPC Test with GPU
</desc>
<physim_run_args>
-l 5632 -s10 -n100 -G 1
</physim_run_args>
<physim_run_args>
-l 5632 -s10 -n100 -G 1
</physim_run_args>
</testCase>
</testCase>
<testCase
id=
"000014"
>
<testCase
id=
"000014"
>
<class>
Run_
PhySim
</class>
<class>
Run_
LDPCTest
</class>
<desc>
Run LDPC Test with CPU
</desc>
<desc>
Run LDPC Test with CPU
</desc>
<physim_run_args>
-l 6336 -s10 -n100
</physim_run_args>
<physim_run_args>
-l 6336 -s10 -n100
</physim_run_args>
</testCase>
</testCase>
<testCase
id=
"000015"
>
<testCase
id=
"000015"
>
<class>
Run_
PhySim
</class>
<class>
Run_
LDPCTest
</class>
<desc>
Run LDPC Test with GPU
</desc>
<desc>
Run LDPC Test with GPU
</desc>
<physim_run_args>
-l 6336 -s10 -n100 -G 1
</physim_run_args>
<physim_run_args>
-l 6336 -s10 -n100 -G 1
</physim_run_args>
</testCase>
</testCase>
<testCase
id=
"000016"
>
<testCase
id=
"000016"
>
<class>
Run_
PhySim
</class>
<class>
Run_
LDPCTest
</class>
<desc>
Run LDPC Test with CPU
</desc>
<desc>
Run LDPC Test with CPU
</desc>
<physim_run_args>
-l 7040 -s10 -n100
</physim_run_args>
<physim_run_args>
-l 7040 -s10 -n100
</physim_run_args>
</testCase>
</testCase>
<testCase
id=
"000017"
>
<testCase
id=
"000017"
>
<class>
Run_
PhySim
</class>
<class>
Run_
LDPCTest
</class>
<desc>
Run LDPC Test with GPU
</desc>
<desc>
Run LDPC Test with GPU
</desc>
<physim_run_args>
-l 7040 -s10 -n100 -G 1
</physim_run_args>
<physim_run_args>
-l 7040 -s10 -n100 -G 1
</physim_run_args>
</testCase>
</testCase>
<testCase
id=
"000018"
>
<testCase
id=
"000018"
>
<class>
Run_
PhySim
</class>
<class>
Run_
LDPCTest
</class>
<desc>
Run LDPC Test with CPU
</desc>
<desc>
Run LDPC Test with CPU
</desc>
<physim_run_args>
-l 7744 -s10 -n100
</physim_run_args>
<physim_run_args>
-l 7744 -s10 -n100
</physim_run_args>
</testCase>
</testCase>
<testCase
id=
"000019"
>
<testCase
id=
"000019"
>
<class>
Run_
PhySim
</class>
<class>
Run_
LDPCTest
</class>
<desc>
Run LDPC Test with GPU
</desc>
<desc>
Run LDPC Test with GPU
</desc>
<physim_run_args>
-l 7744 -s10 -n100 -G 1
</physim_run_args>
<physim_run_args>
-l 7744 -s10 -n100 -G 1
</physim_run_args>
</testCase>
</testCase>
<testCase
id=
"000020"
>
<testCase
id=
"000020"
>
<class>
Run_
PhySim
</class>
<class>
Run_
LDPCTest
</class>
<desc>
Run LDPC Test with CPU
</desc>
<desc>
Run LDPC Test with CPU
</desc>
<physim_run_args>
-l 8448 -s10 -n100
</physim_run_args>
<physim_run_args>
-l 8448 -s10 -n100
</physim_run_args>
</testCase>
</testCase>
<testCase
id=
"000021"
>
<testCase
id=
"000021"
>
<class>
Run_
PhySim
</class>
<class>
Run_
LDPCTest
</class>
<desc>
Run LDPC Test with GPU
</desc>
<desc>
Run LDPC Test with GPU
</desc>
<physim_run_args>
-l 8448 -s10 -n100 -G 1
</physim_run_args>
<physim_run_args>
-l 8448 -s10 -n100 -G 1
</physim_run_args>
</testCase>
</testCase>
...
...
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