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
常顺宇
OpenXG-RAN
Commits
ff31beac
Commit
ff31beac
authored
May 17, 2021
by
hardy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing test retry with different IP adresses assigned to module UE
parent
bee7e57b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
ci-scripts/cls_oaicitest.py
ci-scripts/cls_oaicitest.py
+4
-5
No files found.
ci-scripts/cls_oaicitest.py
View file @
ff31beac
...
@@ -392,7 +392,6 @@ class OaiCiTest():
...
@@ -392,7 +392,6 @@ class OaiCiTest():
status
=
Module_UE
.
GetModuleIPAddress
()
status
=
Module_UE
.
GetModuleIPAddress
()
if
status
==
0
:
if
status
==
0
:
HTML
.
CreateHtmlTestRow
(
Module_UE
.
UEIPAddress
,
'OK'
,
CONST
.
ALL_PROCESSES_OK
)
HTML
.
CreateHtmlTestRow
(
Module_UE
.
UEIPAddress
,
'OK'
,
CONST
.
ALL_PROCESSES_OK
)
self
.
UEIPAddresses
.
append
(
Module_UE
.
UEIPAddress
)
logging
.
debug
(
'UE IP addresss : '
+
Module_UE
.
UEIPAddress
)
logging
.
debug
(
'UE IP addresss : '
+
Module_UE
.
UEIPAddress
)
else
:
#status==-1 failed to retrieve IP address
else
:
#status==-1 failed to retrieve IP address
HTML
.
CreateHtmlTestRow
(
'N/A'
,
'KO'
,
CONST
.
UE_IP_ADDRESS_ISSUE
)
HTML
.
CreateHtmlTestRow
(
'N/A'
,
'KO'
,
CONST
.
UE_IP_ADDRESS_ISSUE
)
...
@@ -1732,10 +1731,10 @@ class OaiCiTest():
...
@@ -1732,10 +1731,10 @@ class OaiCiTest():
self
.
AutoTerminateUEandeNB
(
HTML
,
RAN
,
COTS_UE
,
EPC
)
self
.
AutoTerminateUEandeNB
(
HTML
,
RAN
,
COTS_UE
,
EPC
)
return
return
else
:
else
:
self
.
UEIPAddresses
=
[]
Module_UE
=
cls_module_ue
.
Module_UE
(
InfraUE
.
ci_ue_infra
[
self
.
ue_id
])
Module_UE
=
cls_module_ue
.
Module_UE
(
InfraUE
.
ci_ue_infra
[
self
.
ue_id
])
Module_UE
.
GetModuleIPAddress
()
Module_UE
.
GetModuleIPAddress
()
if
Module_UE
.
UEIPAddress
not
in
self
.
UEIPAddresses
:
self
.
UEIPAddresses
.
append
(
Module_UE
.
UEIPAddress
)
self
.
UEIPAddresses
.
append
(
Module_UE
.
UEIPAddress
)
logging
.
debug
(
self
.
UEIPAddresses
)
logging
.
debug
(
self
.
UEIPAddresses
)
multi_jobs
=
[]
multi_jobs
=
[]
i
=
0
i
=
0
...
@@ -2597,10 +2596,10 @@ class OaiCiTest():
...
@@ -2597,10 +2596,10 @@ class OaiCiTest():
self
.
AutoTerminateUEandeNB
(
HTML
,
RAN
,
COTS_UE
,
EPC
)
self
.
AutoTerminateUEandeNB
(
HTML
,
RAN
,
COTS_UE
,
EPC
)
return
return
else
:
#is a module
else
:
#is a module
self
.
UEIPAddresses
=
[]
Module_UE
=
cls_module_ue
.
Module_UE
(
InfraUE
.
ci_ue_infra
[
self
.
ue_id
])
Module_UE
=
cls_module_ue
.
Module_UE
(
InfraUE
.
ci_ue_infra
[
self
.
ue_id
])
Module_UE
.
GetModuleIPAddress
()
Module_UE
.
GetModuleIPAddress
()
if
Module_UE
.
UEIPAddress
not
in
self
.
UEIPAddresses
:
self
.
UEIPAddresses
.
append
(
Module_UE
.
UEIPAddress
)
self
.
UEIPAddresses
.
append
(
Module_UE
.
UEIPAddress
)
...
...
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