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
9eaafdac
Commit
9eaafdac
authored
Jul 21, 2020
by
Remi Hardy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP fr1 set up
parent
d91b8380
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
17 deletions
+14
-17
ci-scripts/cls_cots_ue.py
ci-scripts/cls_cots_ue.py
+2
-2
ci-scripts/ran.py
ci-scripts/ran.py
+2
-1
ci-scripts/xml_files/fr1_multi_node_build.xml
ci-scripts/xml_files/fr1_multi_node_build.xml
+8
-12
ci-scripts/xml_files/fr1_toggle_cots_ue.xml
ci-scripts/xml_files/fr1_toggle_cots_ue.xml
+2
-2
No files found.
ci-scripts/cls_cots_ue.py
View file @
9eaafdac
...
...
@@ -78,8 +78,8 @@ class CotsUe:
current_state
=
self
.
Check_Airplane
()
retry
+=
1
if
current_state
!=
target_state
:
print
(
"ATTENTION : Could not toggle to : "
+
target_state_str
)
print
(
"Current state is : "
+
str
(
current_state
))
logging
.
error
(
"ATTENTION : Could not toggle to : "
+
target_state_str
)
logging
.
error
(
"Current state is : "
+
str
(
current_state
))
else
:
print
(
"Airplane mode is already "
+
target_state_str
)
mySSH
.
command
(
'sudo ./adb kill-server'
,
'$'
,
5
)
...
...
ci-scripts/ran.py
View file @
9eaafdac
...
...
@@ -431,7 +431,8 @@ class RANManagement():
os
.
remove
(
'./tmp_build'
+
testcaseId
+
'.zip'
)
mySSH
.
open
(
self
.
eNBIPAddress
,
self
.
eNBUserName
,
self
.
eNBPassword
)
mySSH
.
command
(
'cd '
+
self
.
eNBSourceCodePath
+
'/cmake_targets'
,
'\$'
,
5
)
mySSH
.
command
(
'unzip -qq -DD tmp_build'
+
testcaseId
+
'.zip'
,
'\$'
,
5
)
#-qq quiet / -u update orcreate files
mySSH
.
command
(
'unzip -u -qq -DD tmp_build'
+
testcaseId
+
'.zip'
,
'\$'
,
5
)
mySSH
.
command
(
'rm -f tmp_build'
+
testcaseId
+
'.zip'
,
'\$'
,
5
)
mySSH
.
close
()
else
:
...
...
ci-scripts/xml_files/fr1_multi_node_build.xml
View file @
9eaafdac
...
...
@@ -25,41 +25,37 @@
<htmlTabName>
Build
</htmlTabName>
<htmlTabIcon>
wrench
</htmlTabIcon>
<TestCaseRequestedList>
0
10101 0101
02
000
101 000102
0
00001 0000
02
000
003 000004
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"0
101
01"
>
<testCase
id=
"0
000
01"
>
<class>
Build_eNB
</class>
<desc>
Build eNB
</desc>
<Build_eNB_args>
-w USRP -c --eNB
--ninja
</Build_eNB_args>
<Build_eNB_args>
-w USRP -c --eNB
</Build_eNB_args>
<eNB_instance>
0
</eNB_instance>
<eNB_serverId>
0
</eNB_serverId>
<backgroundBuild>
True
</backgroundBuild>
</testCase>
<testCase
id=
"000
101
"
>
<testCase
id=
"000
002
"
>
<class>
WaitEndBuild_eNB
</class>
<desc>
Wait for end of Build eNB
</desc>
<Build_eNB_args>
-w USRP -c --eNB --ninja
</Build_eNB_args>
<eNB_instance>
0
</eNB_instance>
<eNB_serverId>
0
</eNB_serverId>
</testCase>
<testCase
id=
"0
10102
"
>
<testCase
id=
"0
00003
"
>
<class>
Build_eNB
</class>
<desc>
Build gNB
</desc>
<Build_eNB_args>
-w USRP -c --gNB
--ninja
</Build_eNB_args>
<Build_eNB_args>
-w USRP -c --gNB
</Build_eNB_args>
<eNB_instance>
1
</eNB_instance>
<eNB_serverId>
1
</eNB_serverId>
<backgroundBuild>
True
</backgroundBuild>
</testCase>
<testCase
id=
"000
102
"
>
<testCase
id=
"000
004
"
>
<class>
WaitEndBuild_eNB
</class>
<desc>
Wait for end of Build gNB
</desc>
<Build_eNB_args>
-w USRP -c --gNB --ninja
</Build_eNB_args>
<eNB_instance>
1
</eNB_instance>
<eNB_serverId>
1
</eNB_serverId>
</testCase>
...
...
ci-scripts/xml_files/fr1_toggle_cots_ue.xml
View file @
9eaafdac
...
...
@@ -25,11 +25,11 @@
<htmlTabName>
Airplane
</htmlTabName>
<htmlTabIcon>
tasks
</htmlTabIcon>
<TestCaseRequestedList>
010
101
010
000
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"010
101
"
>
<testCase
id=
"010
000
"
>
<class>
COTS_UE_Airplane
</class>
<desc>
Toggle COTS Airplane mode ON
</desc>
<cots_ue_airplane_args>
ON
</cots_ue_airplane_args>
...
...
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