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
lizhongxiao
OpenXG-RAN
Commits
925b4dea
Commit
925b4dea
authored
Jun 14, 2023
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(ci): adding one FDD scenario
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
33569628
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
194 additions
and
12 deletions
+194
-12
ci-scripts/cls_containerize.py
ci-scripts/cls_containerize.py
+1
-3
ci-scripts/ran.py
ci-scripts/ran.py
+1
-1
ci-scripts/xml_files/container_lte_b200_fdd_05Mhz_tm1_if4_5.xml
...ipts/xml_files/container_lte_b200_fdd_05Mhz_tm1_if4_5.xml
+184
-0
ci-scripts/xml_files/container_lte_b200_fdd_05Mhz_tm1_no_rrc_activity.xml
...iles/container_lte_b200_fdd_05Mhz_tm1_no_rrc_activity.xml
+2
-2
ci-scripts/xml_files/container_lte_b200_fdd_10Mhz_tm1.xml
ci-scripts/xml_files/container_lte_b200_fdd_10Mhz_tm1.xml
+2
-2
ci-scripts/xml_files/container_lte_b200_fdd_10Mhz_tm1_cdrx.xml
...ripts/xml_files/container_lte_b200_fdd_10Mhz_tm1_cdrx.xml
+2
-2
ci-scripts/xml_files/container_lte_b200_fdd_20Mhz_tm1.xml
ci-scripts/xml_files/container_lte_b200_fdd_20Mhz_tm1.xml
+2
-2
No files found.
ci-scripts/cls_containerize.py
View file @
925b4dea
...
@@ -842,8 +842,6 @@ class Containerize():
...
@@ -842,8 +842,6 @@ class Containerize():
for
image
in
imagesList
:
for
image
in
imagesList
:
imageTag
=
ImageTagToUse
(
image
,
self
.
ranCommitID
,
self
.
ranBranch
,
self
.
ranAllowMerge
)
imageTag
=
ImageTagToUse
(
image
,
self
.
ranCommitID
,
self
.
ranBranch
,
self
.
ranAllowMerge
)
mySSH
.
command
(
f'sed -i -e "s#image:
{
image
}
:latest#image: oai-ci/
{
imageTag
}
#" ci-docker-compose.yml'
,
'\$'
,
2
)
mySSH
.
command
(
f'sed -i -e "s#image:
{
image
}
:latest#image: oai-ci/
{
imageTag
}
#" ci-docker-compose.yml'
,
'\$'
,
2
)
localMmeIpAddr
=
EPC
.
MmeIPAddress
mySSH
.
command
(
'sed -i -e "s/CI_MME_IP_ADDR/'
+
localMmeIpAddr
+
'/" ci-docker-compose.yml'
,
'\$'
,
2
)
# Currently support only one
# Currently support only one
svcName
=
self
.
services
[
self
.
eNB_instance
]
svcName
=
self
.
services
[
self
.
eNB_instance
]
...
@@ -903,7 +901,7 @@ class Containerize():
...
@@ -903,7 +901,7 @@ class Containerize():
cnt
=
0
cnt
=
0
while
(
cnt
<
20
):
while
(
cnt
<
20
):
mySSH
.
command
(
'docker logs '
+
containerName
+
' | egrep --text --color=never -i "wait|sync|Starting"'
,
'\$'
,
30
)
mySSH
.
command
(
'docker logs '
+
containerName
+
' | egrep --text --color=never -i "wait|sync|Starting"'
,
'\$'
,
30
)
result
=
re
.
search
(
'got sync|Starting F1AP at CU'
,
mySSH
.
getBefore
())
result
=
re
.
search
(
'got sync|Starting F1AP at CU
|Waiting for RUs to be configured
'
,
mySSH
.
getBefore
())
if
result
is
None
:
if
result
is
None
:
time
.
sleep
(
6
)
time
.
sleep
(
6
)
cnt
+=
1
cnt
+=
1
...
...
ci-scripts/ran.py
View file @
925b4dea
...
@@ -895,7 +895,7 @@ class RANManagement():
...
@@ -895,7 +895,7 @@ class RANManagement():
htmleNBFailureMsg
+=
'<span class="glyphicon glyphicon-ok-circle"></span> Command line option(s) correctly applied <span class="glyphicon glyphicon-arrow-right"></span> '
+
self
.
eNBOptions
[
int
(
self
.
eNB_instance
)]
+
'
\n\n
'
htmleNBFailureMsg
+=
'<span class="glyphicon glyphicon-ok-circle"></span> Command line option(s) correctly applied <span class="glyphicon glyphicon-arrow-right"></span> '
+
self
.
eNBOptions
[
int
(
self
.
eNB_instance
)]
+
'
\n\n
'
else
:
else
:
htmleNBFailureMsg
+=
'<span class="glyphicon glyphicon-ban-circle"></span> Command line option(s) NOT applied <span class="glyphicon glyphicon-arrow-right"></span> '
+
self
.
eNBOptions
[
int
(
self
.
eNB_instance
)]
+
'
\n\n
'
htmleNBFailureMsg
+=
'<span class="glyphicon glyphicon-ban-circle"></span> Command line option(s) NOT applied <span class="glyphicon glyphicon-arrow-right"></span> '
+
self
.
eNBOptions
[
int
(
self
.
eNB_instance
)]
+
'
\n\n
'
result
=
re
.
search
(
'Exiting OAI softmodem'
,
str
(
line
))
result
=
re
.
search
(
'Exiting OAI softmodem
|Caught SIGTERM, shutting down
'
,
str
(
line
))
if
result
is
not
None
:
if
result
is
not
None
:
exitSignalReceived
=
True
exitSignalReceived
=
True
result
=
re
.
search
(
'[Ss]egmentation [Ff]ault'
,
str
(
line
))
result
=
re
.
search
(
'[Ss]egmentation [Ff]ault'
,
str
(
line
))
...
...
ci-scripts/xml_files/container_lte_b200_fdd_05Mhz_tm1_if4_5.xml
0 → 100644
View file @
925b4dea
<!--
Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The OpenAirInterface Software Alliance licenses this file to You under
the OAI Public License, Version 1.1 (the "License"); you may not use this file
except in compliance with the License.
You may obtain a copy of the License at
http://www.openairinterface.org/?page_id=698
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
For more information about the OpenAirInterface (OAI) Software Alliance:
contact@openairinterface.org
-->
<testCaseList>
<htmlTabRef>
test-fdd-05-tm1-if4-5
</htmlTabRef>
<htmlTabName>
Test-FDD-05MHz-TM1-IF4.5
</htmlTabName>
<htmlTabIcon>
tasks
</htmlTabIcon>
<TestCaseRequestedList>
100000
111110
300000
040101
030131 030132
040301 040531 040633 040634 040636 040671 040672 040673 040401 040201
030231
200000
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"111110"
>
<class>
Pull_Local_Registry
</class>
<desc>
Pull Images from Local Registry
</desc>
<test_svr_id>
0
</test_svr_id>
<images_to_pull>
oai-enb
</images_to_pull>
</testCase>
<testCase
id=
"100000"
>
<class>
Custom_Command
</class>
<desc>
Disable Sleep States
</desc>
<node>
hutch
</node>
<command>
sudo cpupower idle-set -D 0
</command>
</testCase>
<testCase
id=
"200000"
>
<class>
Custom_Command
</class>
<desc>
Enable Sleep States
</desc>
<node>
hutch
</node>
<command>
sudo cpupower idle-set -E
</command>
</testCase>
<testCase
id=
"300000"
>
<class>
Custom_Command
</class>
<desc>
Reset USRP
</desc>
<node>
hutch
</node>
<command>
sudo -S b2xx_fx3_utils --reset-device
</command>
</testCase>
<testCase
id=
"030131"
>
<class>
Deploy_Object
</class>
<desc>
Deploy RRU (FDD/Band7/5MHz/B200) in a container
</desc>
<yaml_path>
ci-scripts/yaml_files/lte_b200_fdd_05Mhz_if4.5
</yaml_path>
<services>
rru_fdd
</services>
<eNB_instance>
0
</eNB_instance>
<eNB_serverId>
0
</eNB_serverId>
</testCase>
<testCase
id=
"030132"
>
<class>
Deploy_Object
</class>
<desc>
Deploy RCC (FDD/Band7/5MHz) in a container
</desc>
<yaml_path>
ci-scripts/yaml_files/lte_b200_fdd_05Mhz_if4.5
</yaml_path>
<services>
rcc_fdd
</services>
<eNB_instance>
0
</eNB_instance>
<eNB_serverId>
0
</eNB_serverId>
</testCase>
<testCase
id=
"000001"
>
<class>
IdleSleep
</class>
<desc>
Sleep
</desc>
<idle_sleep_time_in_sec>
5
</idle_sleep_time_in_sec>
</testCase>
<testCase
id=
"030231"
>
<class>
Undeploy_Object
</class>
<desc>
Undeploy RCC/RRU
</desc>
<yaml_path>
ci-scripts/yaml_files/lte_b200_fdd_05Mhz_if4.5
</yaml_path>
<eNB_instance>
0
</eNB_instance>
<eNB_serverId>
0
</eNB_serverId>
</testCase>
<testCase
id=
"040101"
>
<class>
Initialize_UE
</class>
<desc>
Initialize UE
</desc>
<id>
adb_ue_1 adb_ue_2
</id>
</testCase>
<testCase
id=
"040201"
>
<class>
Terminate_UE
</class>
<desc>
Terminate UE
</desc>
<id>
adb_ue_1 adb_ue_2
</id>
</testCase>
<testCase
id=
"040301"
>
<class>
Attach_UE
</class>
<desc>
Attach UEs
</desc>
<id>
adb_ue_1 adb_ue_2
</id>
</testCase>
<testCase
id=
"040401"
>
<class>
Detach_UE
</class>
<desc>
Detach UEs
</desc>
<id>
adb_ue_1 adb_ue_2
</id>
</testCase>
<testCase
id=
"040531"
>
<class>
Ping
</class>
<desc>
ping (5MHz - 20 sec)
</desc>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
<id>
adb_ue_1 adb_ue_2
</id>
</testCase>
<testCase
id=
"040633"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - DL/15Mbps/UDP)(30 sec)(balanced profile)
</desc>
<iperf_args>
-u -b 15M -t 30 -i 1
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<direction>
DL
</direction>
<id>
adb_ue_1 adb_ue_2
</id>
</testCase>
<testCase
id=
"040634"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - DL/15Mbps/UDP)(30 sec)(single-ue profile)
</desc>
<iperf_args>
-u -b 15M -t 30 -i 1
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<direction>
DL
</direction>
<id>
adb_ue_1
</id>
</testCase>
<testCase
id=
"040636"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - DL/TCP)(30 sec)(single-ue profile)
</desc>
<iperf_args>
-t 30 -i 1 -fm
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
single-ue
</iperf_profile>
<direction>
DL
</direction>
<id>
adb_ue_2
</id>
</testCase>
<testCase
id=
"040671"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - UL/9Mbps/UDP)(30 sec)(balanced profile)
</desc>
<iperf_args>
-u -b 9M -t 30 -i 1
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
balanced
</iperf_profile>
<direction>
UL
</direction>
<id>
adb_ue_1 adb_ue_2
</id>
</testCase>
<testCase
id=
"040672"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - UL/9Mbps/UDP)(30 sec)(single-ue profile)
</desc>
<iperf_args>
-u -b 9M -t 30 -i 1
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
single-ue
</iperf_profile>
<direction>
UL
</direction>
<id>
adb_ue_1
</id>
</testCase>
<testCase
id=
"040673"
>
<class>
Iperf
</class>
<desc>
iperf (5MHz - UL/TCP)(30 sec)(single-ue profile)
</desc>
<iperf_args>
-t 30 -i 1 -fm
</iperf_args>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_profile>
single-ue
</iperf_profile>
<direction>
UL
</direction>
<id>
adb_ue_1
</id>
</testCase>
</testCaseList>
ci-scripts/xml_files/container_lte_b200_fdd_05Mhz_tm1_no_rrc_activity.xml
View file @
925b4dea
...
@@ -32,7 +32,7 @@ Replaces xml_files/enb_usrp210_band7_test_05mhz_tm1_rrc_inactivity_no_flexran.xm
...
@@ -32,7 +32,7 @@ Replaces xml_files/enb_usrp210_band7_test_05mhz_tm1_rrc_inactivity_no_flexran.xm
040101
040101
030102
030102
000010 040301 040502 000011 040302 000001 000012 040303 000002 000013 040503 040401 040201
000010 040301 040502 000011 040302 000001 000012 040303 000002 000013 040503 040401 040201
03020
1
03020
2
200000
200000
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
...
@@ -64,7 +64,7 @@ Replaces xml_files/enb_usrp210_band7_test_05mhz_tm1_rrc_inactivity_no_flexran.xm
...
@@ -64,7 +64,7 @@ Replaces xml_files/enb_usrp210_band7_test_05mhz_tm1_rrc_inactivity_no_flexran.xm
<eNB_serverId>
0
</eNB_serverId>
<eNB_serverId>
0
</eNB_serverId>
</testCase>
</testCase>
<testCase
id=
"03020
1
"
>
<testCase
id=
"03020
2
"
>
<class>
Undeploy_Object
</class>
<class>
Undeploy_Object
</class>
<desc>
Undeploy eNB
</desc>
<desc>
Undeploy eNB
</desc>
<yaml_path>
ci-scripts/yaml_files/lte_b200_fdd_05Mhz_tm1_no_rrc_activity
</yaml_path>
<yaml_path>
ci-scripts/yaml_files/lte_b200_fdd_05Mhz_tm1_no_rrc_activity
</yaml_path>
...
...
ci-scripts/xml_files/container_lte_b200_fdd_10Mhz_tm1.xml
View file @
925b4dea
...
@@ -34,7 +34,7 @@ Replaces xml_files/enb_usrp210_band7_test_10mhz_tm1.xml
...
@@ -34,7 +34,7 @@ Replaces xml_files/enb_usrp210_band7_test_10mhz_tm1.xml
030111
030111
000001
000001
040301 040511 040613 040614 040615 040651 040652 040653 040654 040401 040201
040301 040511 040613 040614 040615 040651 040652 040653 040654 040401 040201
0302
0
1
0302
1
1
200000
200000
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
...
@@ -72,7 +72,7 @@ Replaces xml_files/enb_usrp210_band7_test_10mhz_tm1.xml
...
@@ -72,7 +72,7 @@ Replaces xml_files/enb_usrp210_band7_test_10mhz_tm1.xml
<idle_sleep_time_in_sec>
5
</idle_sleep_time_in_sec>
<idle_sleep_time_in_sec>
5
</idle_sleep_time_in_sec>
</testCase>
</testCase>
<testCase
id=
"0302
0
1"
>
<testCase
id=
"0302
1
1"
>
<class>
Undeploy_Object
</class>
<class>
Undeploy_Object
</class>
<desc>
Undeploy eNB
</desc>
<desc>
Undeploy eNB
</desc>
<yaml_path>
ci-scripts/yaml_files/lte_b200_fdd_10Mhz_tm1
</yaml_path>
<yaml_path>
ci-scripts/yaml_files/lte_b200_fdd_10Mhz_tm1
</yaml_path>
...
...
ci-scripts/xml_files/container_lte_b200_fdd_10Mhz_tm1_cdrx.xml
View file @
925b4dea
...
@@ -33,7 +33,7 @@ Replaces xml_files/enb_usrp210_band7_test_10mhz_tm1.xml
...
@@ -33,7 +33,7 @@ Replaces xml_files/enb_usrp210_band7_test_10mhz_tm1.xml
030112
030112
040301 040302 040512 040612 040650 040401
040301 040302 040512 040612 040650 040401
040201
040201
0302
01
0302
12
200000
200000
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
...
@@ -65,7 +65,7 @@ Replaces xml_files/enb_usrp210_band7_test_10mhz_tm1.xml
...
@@ -65,7 +65,7 @@ Replaces xml_files/enb_usrp210_band7_test_10mhz_tm1.xml
<eNB_serverId>
0
</eNB_serverId>
<eNB_serverId>
0
</eNB_serverId>
</testCase>
</testCase>
<testCase
id=
"0302
01
"
>
<testCase
id=
"0302
12
"
>
<class>
Undeploy_Object
</class>
<class>
Undeploy_Object
</class>
<desc>
Undeploy eNB
</desc>
<desc>
Undeploy eNB
</desc>
<yaml_path>
ci-scripts/yaml_files/lte_b200_fdd_10Mhz_tm1_cdrx
</yaml_path>
<yaml_path>
ci-scripts/yaml_files/lte_b200_fdd_10Mhz_tm1_cdrx
</yaml_path>
...
...
ci-scripts/xml_files/container_lte_b200_fdd_20Mhz_tm1.xml
View file @
925b4dea
...
@@ -33,7 +33,7 @@ Replaces xml_files/enb_usrp210_band7_test_10mhz_tm1.xml
...
@@ -33,7 +33,7 @@ Replaces xml_files/enb_usrp210_band7_test_10mhz_tm1.xml
030121
030121
000001
000001
040301 040521 040623 040624 040625 040662 040401 040201
040301 040521 040623 040624 040625 040662 040401 040201
0302
0
1
0302
2
1
200000
200000
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
...
@@ -71,7 +71,7 @@ Replaces xml_files/enb_usrp210_band7_test_10mhz_tm1.xml
...
@@ -71,7 +71,7 @@ Replaces xml_files/enb_usrp210_band7_test_10mhz_tm1.xml
<idle_sleep_time_in_sec>
5
</idle_sleep_time_in_sec>
<idle_sleep_time_in_sec>
5
</idle_sleep_time_in_sec>
</testCase>
</testCase>
<testCase
id=
"0302
0
1"
>
<testCase
id=
"0302
2
1"
>
<class>
Undeploy_Object
</class>
<class>
Undeploy_Object
</class>
<desc>
Undeploy eNB
</desc>
<desc>
Undeploy eNB
</desc>
<yaml_path>
ci-scripts/yaml_files/lte_b200_fdd_20Mhz_tm1
</yaml_path>
<yaml_path>
ci-scripts/yaml_files/lte_b200_fdd_20Mhz_tm1
</yaml_path>
...
...
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