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
f75e107d
Commit
f75e107d
authored
Oct 16, 2024
by
Jaroslava Fiedlerova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: remove unused Run_NRulsimTest
parent
220d851d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
42 deletions
+1
-42
ci-scripts/cls_physim.py
ci-scripts/cls_physim.py
+0
-38
ci-scripts/main.py
ci-scripts/main.py
+1
-3
ci-scripts/xml_class_list.yml
ci-scripts/xml_class_list.yml
+0
-1
No files found.
ci-scripts/cls_physim.py
View file @
f75e107d
...
...
@@ -123,33 +123,6 @@ class PhySim:
HTML
.
CreateHtmlTestRowQueue
(
self
.
runargs
,
'KO'
,
[
info
+
'
\n
'
+
error_msg
])
return
success
def
__CheckResults_NRulsimTest
(
self
,
HTML
,
CONST
,
testcase_id
):
#retrieve run log file and store it locally
mySSH
=
sshconnection
.
SSHConnection
()
filename
=
self
.
__workSpacePath
+
self
.
__runLogFile
ret
=
mySSH
.
copyin
(
self
.
eNBIpAddr
,
self
.
eNBUserName
,
self
.
eNBPassWord
,
filename
,
'.'
)
if
ret
!=
0
:
error_msg
=
f'could not recover test result file
{
filename
}
'
logging
.
error
(
error_msg
)
HTML
.
CreateHtmlTestRowQueue
(
"could not recover results"
,
'KO'
,
[
error_msg
])
return
False
PUSCH_OK
=
False
with
open
(
self
.
__runLogFile
)
as
f
:
PUSCH_OK
=
'PUSCH test OK'
in
f
.
read
()
# once parsed move the local logfile to its folder for tidiness
os
.
system
(
f'mv
{
self
.
__runLogFile
}
{
self
.
__runLogPath
}
/.'
)
#updating the HTML with results
if
PUSCH_OK
:
HTML
.
CreateHtmlTestRowQueue
(
self
.
runargs
,
'OK'
,
1
,
[
"succeeded"
])
else
:
error_msg
=
'error: no "PUSCH test OK"'
logging
.
error
(
error_msg
)
HTML
.
CreateHtmlTestRowQueue
(
self
.
runargs
,
'KO'
,
1
,
[
error_msg
])
return
PUSCH_OK
def
__CheckBuild_PhySim
(
self
,
HTML
,
CONST
):
self
.
__workSpacePath
=
self
.
eNBSourceCodePath
+
'/cmake_targets/'
mySSH
=
sshconnection
.
SSHConnection
()
...
...
@@ -249,14 +222,3 @@ class PhySim:
mySSH
.
run
(
f'sudo
{
self
.
__workSpacePath
}
ran_build/build/
{
self
.
runsim
}
{
self
.
runargs
}
>
{
self
.
__workSpacePath
}{
self
.
__runLogFile
}
2>&1'
)
mySSH
.
close
()
return
self
.
__CheckResults_LDPCt2Test
(
htmlObj
,
constObj
,
testcase_id
)
def
Run_NRulsimTest
(
self
,
htmlObj
,
constObj
,
testcase_id
):
self
.
__workSpacePath
=
self
.
eNBSourceCodePath
+
'/cmake_targets/'
os
.
system
(
f'mkdir -p ./
{
self
.
__runLogPath
}
'
)
self
.
__runLogFile
=
f'physim_
{
testcase_id
}
.log'
mySSH
=
sshconnection
.
SSHConnection
()
mySSH
.
open
(
self
.
eNBIpAddr
,
self
.
eNBUserName
,
self
.
eNBPassWord
)
mySSH
.
command
(
f'cd
{
self
.
__workSpacePath
}
'
,
'\$'
,
5
)
mySSH
.
command
(
f'sudo
{
self
.
__workSpacePath
}
ran_build/build/nr_ulsim
{
self
.
runargs
}
>
{
self
.
__runLogFile
}
2>&1'
,
'\$'
,
30
)
mySSH
.
close
()
return
self
.
__CheckResults_NRulsimTest
(
htmlObj
,
constObj
,
testcase_id
)
ci-scripts/main.py
View file @
f75e107d
...
...
@@ -377,14 +377,12 @@ def ExecuteActionWithParam(action):
elif
action
==
'Create_Workspace'
:
success
=
CONTAINERS
.
Create_Workspace
(
HTML
)
elif
action
==
'Run_CUDATest'
or
action
==
'Run_
NRulsimTest'
or
action
==
'Run_
T2Test'
:
elif
action
==
'Run_CUDATest'
or
action
==
'Run_T2Test'
:
ldpc
.
runargs
=
test
.
findtext
(
'physim_run_args'
)
ldpc
.
runsim
=
test
.
findtext
(
'physim_run'
)
ldpc
.
timethrs
=
test
.
findtext
(
'physim_time_threshold'
)
if
action
==
'Run_CUDATest'
:
success
=
ldpc
.
Run_CUDATest
(
HTML
,
CONST
,
id
)
elif
action
==
'Run_NRulsimTest'
:
success
=
ldpc
.
Run_NRulsimTest
(
HTML
,
CONST
,
id
)
elif
action
==
'Run_T2Test'
:
success
=
ldpc
.
Run_T2Test
(
HTML
,
CONST
,
id
)
...
...
ci-scripts/xml_class_list.yml
View file @
f75e107d
...
...
@@ -4,7 +4,6 @@
-
Build_PhySim
-
Run_CUDATest
-
Run_T2Test
-
Run_NRulsimTest
-
Build_eNB
-
Initialize_eNB
-
Terminate_eNB
...
...
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