Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
lizhongxiao
OpenXG UE
Commits
bef9c0b7
Commit
bef9c0b7
authored
Jun 22, 2021
by
Remi Hardy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix AutoTerminate
parent
429c2a98
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
9 deletions
+6
-9
ci-scripts/cls_oaicitest.py
ci-scripts/cls_oaicitest.py
+5
-9
ci-scripts/xml_files/fr1_nsa_quectel_attach_detach.xml
ci-scripts/xml_files/fr1_nsa_quectel_attach_detach.xml
+1
-0
No files found.
ci-scripts/cls_oaicitest.py
View file @
bef9c0b7
...
@@ -3126,7 +3126,10 @@ class OaiCiTest():
...
@@ -3126,7 +3126,10 @@ class OaiCiTest():
Module_UE
.
DisableTrace
()
Module_UE
.
DisableTrace
()
Module_UE
.
DisableCM
()
Module_UE
.
DisableCM
()
archive_destination
=
Module_UE
.
LogCollect
()
archive_destination
=
Module_UE
.
LogCollect
()
if
Module_UE
.
ue_trace
==
'yes'
:
HTML
.
CreateHtmlTestRow
(
'QLog at : '
+
archive_destination
,
'OK'
,
CONST
.
ALL_PROCESSES_OK
)
HTML
.
CreateHtmlTestRow
(
'QLog at : '
+
archive_destination
,
'OK'
,
CONST
.
ALL_PROCESSES_OK
)
else
:
HTML
.
CreateHtmlTestRow
(
'QLog trace is disabled'
,
'OK'
,
CONST
.
ALL_PROCESSES_OK
)
def
TerminateOAIUE
(
self
,
HTML
,
RAN
,
COTS_UE
,
EPC
,
InfraUE
):
def
TerminateOAIUE
(
self
,
HTML
,
RAN
,
COTS_UE
,
EPC
,
InfraUE
):
SSH
=
sshconnection
.
SSHConnection
()
SSH
=
sshconnection
.
SSHConnection
()
...
@@ -3183,20 +3186,13 @@ class OaiCiTest():
...
@@ -3183,20 +3186,13 @@ class OaiCiTest():
HTML
.
CreateHtmlTestRow
(
'N/A'
,
'OK'
,
CONST
.
ALL_PROCESSES_OK
)
HTML
.
CreateHtmlTestRow
(
'N/A'
,
'OK'
,
CONST
.
ALL_PROCESSES_OK
)
def
AutoTerminateUEandeNB
(
self
,
HTML
,
RAN
,
COTS_UE
,
EPC
,
InfraUE
):
def
AutoTerminateUEandeNB
(
self
,
HTML
,
RAN
,
COTS_UE
,
EPC
,
InfraUE
):
if
self
.
ue_id
!=
''
:
Module_UE
=
cls_module_ue
.
Module_UE
(
InfraUE
.
ci_ue_infra
[
self
.
ue_id
])
Module_UE
.
Command
(
"detach"
)
Module_UE
.
DisableTrace
()
Module_UE
.
DisableCM
()
archive_destination
=
Module_UE
.
LogCollect
()
HTML
.
CreateHtmlTestRow
(
'QLog at : '
+
archive_destination
,
'OK'
,
CONST
.
ALL_PROCESSES_OK
)
if
(
self
.
ADBIPAddress
!=
'none'
):
if
(
self
.
ADBIPAddress
!=
'none'
):
self
.
testCase_id
=
'AUTO-KILL-UE'
self
.
testCase_id
=
'AUTO-KILL-UE'
HTML
.
testCase_id
=
self
.
testCase_id
HTML
.
testCase_id
=
self
.
testCase_id
self
.
desc
=
'Automatic Termination of UE'
self
.
desc
=
'Automatic Termination of UE'
HTML
.
desc
=
'Automatic Termination of UE'
HTML
.
desc
=
'Automatic Termination of UE'
self
.
ShowTestID
()
self
.
ShowTestID
()
self
.
TerminateUE
(
HTML
,
COTS_UE
)
self
.
TerminateUE
(
HTML
,
COTS_UE
,
InfraUE
,
self
.
ue_trace
)
if
(
self
.
Initialize_OAI_UE_args
!=
''
):
if
(
self
.
Initialize_OAI_UE_args
!=
''
):
self
.
testCase_id
=
'AUTO-KILL-OAI-UE'
self
.
testCase_id
=
'AUTO-KILL-OAI-UE'
HTML
.
testCase_id
=
self
.
testCase_id
HTML
.
testCase_id
=
self
.
testCase_id
...
...
ci-scripts/xml_files/fr1_nsa_quectel_attach_detach.xml
View file @
bef9c0b7
...
@@ -55,6 +55,7 @@
...
@@ -55,6 +55,7 @@
<class>
Initialize_UE
</class>
<class>
Initialize_UE
</class>
<desc>
Initialize Quectel
</desc>
<desc>
Initialize Quectel
</desc>
<id>
idefix
</id>
<id>
idefix
</id>
<UE_Trace>
yes
</UE_Trace>
</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