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
promise
OpenXG-RAN
Commits
670ca687
Commit
670ca687
authored
Sep 25, 2020
by
hardy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logging debug data from initializeUE
parent
8ccf3208
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ci-scripts/cls_oaicitest.py
ci-scripts/cls_oaicitest.py
+4
-0
No files found.
ci-scripts/cls_oaicitest.py
View file @
670ca687
...
@@ -280,6 +280,7 @@ class OaiCiTest():
...
@@ -280,6 +280,7 @@ class OaiCiTest():
#RH quick add-on to integrate cots control defined by yaml
#RH quick add-on to integrate cots control defined by yaml
#if device_id exists in yaml dictionary, we execute the new procedure defined in cots_ue class
#if device_id exists in yaml dictionary, we execute the new procedure defined in cots_ue class
#otherwise we use the legacy procedure
#otherwise we use the legacy procedure
logging
.
debug
(
'Device id '
+
str
(
device_id
)
+
', in COTS UE dict : '
,
str
(
COTS_UE
.
Check_Exists
(
device_id
)))
if
COTS_UE
.
Check_Exists
(
device_id
):
if
COTS_UE
.
Check_Exists
(
device_id
):
#switch device to Airplane mode ON (ie Radio OFF)
#switch device to Airplane mode ON (ie Radio OFF)
COTS_UE
.
Set_Airplane
(
device_id
,
'ON'
)
COTS_UE
.
Set_Airplane
(
device_id
,
'ON'
)
...
@@ -1115,6 +1116,9 @@ class OaiCiTest():
...
@@ -1115,6 +1116,9 @@ class OaiCiTest():
if
self
.
ADBCentralized
:
if
self
.
ADBCentralized
:
SSH
.
command
(
'adb devices'
,
'\$'
,
15
)
SSH
.
command
(
'adb devices'
,
'\$'
,
15
)
self
.
UEDevices
=
re
.
findall
(
"
\\\\
r
\\\\
n([A-Za-z0-9]+)
\\\\
tdevice"
,
SSH
.
getBefore
())
self
.
UEDevices
=
re
.
findall
(
"
\\\\
r
\\\\
n([A-Za-z0-9]+)
\\\\
tdevice"
,
SSH
.
getBefore
())
#report number and id of devices found
msg
=
"UEDevices found by GetAllUEDevices : "
+
" "
.
join
(
self
.
UEDevices
)
logging
.
debug
(
msg
)
SSH
.
close
()
SSH
.
close
()
else
:
else
:
if
(
os
.
path
.
isfile
(
'./phones_list.txt'
)):
if
(
os
.
path
.
isfile
(
'./phones_list.txt'
)):
...
...
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