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
7b297eb2
Commit
7b297eb2
authored
Aug 02, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add XML for Quectel F1+E1 test, don't clean after F1
parent
7c9c3db6
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
215 additions
and
8 deletions
+215
-8
ci-scripts/cls_containerize.py
ci-scripts/cls_containerize.py
+1
-1
ci-scripts/xml_files/container_sa_e1_b200_quectel.xml
ci-scripts/xml_files/container_sa_e1_b200_quectel.xml
+166
-0
ci-scripts/xml_files/container_sa_e1_b200_terminate.xml
ci-scripts/xml_files/container_sa_e1_b200_terminate.xml
+48
-0
ci-scripts/xml_files/container_sa_f1_b200_terminate.xml
ci-scripts/xml_files/container_sa_f1_b200_terminate.xml
+0
-7
No files found.
ci-scripts/cls_containerize.py
View file @
7b297eb2
...
@@ -903,7 +903,7 @@ class Containerize():
...
@@ -903,7 +903,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|Got sync|Waiting for RUs to be configured'
,
mySSH
.
getBefore
())
result
=
re
.
search
(
'got sync|Starting
E1AP at CU UP|Starting
F1AP at CU|Got sync|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/xml_files/container_sa_e1_b200_quectel.xml
0 → 100644
View file @
7b297eb2
<!--
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-SA-FR1-F1-E1-B200
</htmlTabRef>
<htmlTabName>
40 MHz TDD F1+E1 SA
</htmlTabName>
<htmlTabIcon>
tasks
</htmlTabIcon>
<repeatCount>
1
</repeatCount>
<TestCaseRequestedList>
333333
300000
310000
330101
330102
330103
310001
350000
370001
370000
370002
310011
310002
330201
200000
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"333333"
>
<class>
Pull_Local_Registry
</class>
<desc>
Pull Images from Local Registry
</desc>
<test_svr_id>
0
</test_svr_id>
<images_to_pull>
oai-gnb oai-nr-cuup
</images_to_pull>
</testCase>
<testCase
id=
"310000"
>
<class>
Initialize_UE
</class>
<desc>
Initialize Quectel
</desc>
<id>
idefix
</id>
</testCase>
<testCase
id=
"310002"
>
<class>
Terminate_UE
</class>
<desc>
Terminate Quectel
</desc>
<id>
idefix
</id>
</testCase>
<testCase
id=
"310001"
>
<class>
Attach_UE
</class>
<desc>
Attach Quectel
</desc>
<id>
idefix
</id>
</testCase>
<testCase
id=
"310011"
>
<class>
Detach_UE
</class>
<desc>
Detach Quectel
</desc>
<id>
idefix
</id>
</testCase>
<testCase
id=
"330101"
>
<class>
Deploy_Object
</class>
<desc>
Deploy gNB-CU-CP in a container
</desc>
<yaml_path>
ci-scripts/yaml_files/sa_e1_b200_gnb
</yaml_path>
<eNB_instance>
0
</eNB_instance>
<eNB_serverId>
0
</eNB_serverId>
<services>
gnb_cucp
</services>
</testCase>
<testCase
id=
"330102"
>
<class>
Deploy_Object
</class>
<desc>
Deploy gNB-CU-UP in a container
</desc>
<yaml_path>
ci-scripts/yaml_files/sa_e1_b200_gnb
</yaml_path>
<eNB_instance>
0
</eNB_instance>
<eNB_serverId>
0
</eNB_serverId>
<services>
gnb_cuup
</services>
</testCase>
<testCase
id=
"330103"
>
<class>
Deploy_Object
</class>
<desc>
Deploy gNB-DU (TDD/Band78/40MHz/B200) in a container
</desc>
<yaml_path>
ci-scripts/yaml_files/sa_e1_b200_gnb
</yaml_path>
<eNB_instance>
0
</eNB_instance>
<eNB_serverId>
0
</eNB_serverId>
<services>
gnb_du_tdd
</services>
</testCase>
<testCase
id=
"300000"
>
<class>
Custom_Command
</class>
<desc>
Disable Sleep States
</desc>
<node>
ofqot
</node>
<command>
sudo cpupower idle-set -D 0
</command>
</testCase>
<testCase
id=
"200000"
>
<class>
Custom_Command
</class>
<desc>
Enable Sleep States
</desc>
<node>
ofqot
</node>
<command>
sudo cpupower idle-set -E
</command>
</testCase>
<testCase
id=
"350000"
>
<class>
Ping
</class>
<desc>
Ping: 20pings in 20sec
</desc>
<id>
idefix
</id>
<ping_args>
-c 20 %cn_ip%
</ping_args>
<ping_packetloss_threshold>
1
</ping_packetloss_threshold>
<ping_rttavg_threshold>
25
</ping_rttavg_threshold>
</testCase>
<testCase
id=
"370000"
>
<class>
Iperf
</class>
<desc>
iperf (DL/80Mbps/UDP)(30 sec)
</desc>
<iperf_args>
-u -b 80M -t 30 -i 1 -fm
</iperf_args>
<direction>
DL
</direction>
<id>
idefix
</id>
<iperf_packetloss_threshold>
10
</iperf_packetloss_threshold>
<iperf_bitrate_threshold>
95
</iperf_bitrate_threshold>
<iperf_profile>
single-ue
</iperf_profile>
</testCase>
<testCase
id=
"370001"
>
<class>
Iperf
</class>
<desc>
iperf (UL/8Mbps/UDP)(30 sec)
</desc>
<iperf_args>
-u -b 8M -t 30 -i 1 -fm
</iperf_args>
<direction>
UL
</direction>
<id>
idefix
</id>
<iperf_packetloss_threshold>
1
</iperf_packetloss_threshold>
<iperf_bitrate_threshold>
95
</iperf_bitrate_threshold>
<iperf_profile>
single-ue
</iperf_profile>
</testCase>
<testCase
id=
"370002"
>
<class>
Iperf
</class>
<desc>
iperf (BIDIR TCP)(10 sec)(single-ue profile)
</desc>
<iperf_args>
-t 20 --bidir
</iperf_args>
<direction>
BIDIR
</direction>
<id>
idefix
</id>
<iperf_profile>
single-ue
</iperf_profile>
</testCase>
<testCase
id=
"330201"
>
<class>
Undeploy_Object
</class>
<desc>
Undeploy CU-DU
</desc>
<yaml_path>
ci-scripts/yaml_files/sa_e1_b200_gnb
</yaml_path>
<eNB_instance>
0
</eNB_instance>
<eNB_serverId>
0
</eNB_serverId>
<d_retx_th>
10,100,100,100
</d_retx_th>
<u_retx_th>
10,100,100,100
</u_retx_th>
</testCase>
</testCaseList>
ci-scripts/xml_files/container_sa_e1_b200_terminate.xml
0 → 100644
View file @
7b297eb2
<!--
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-SA-FR1-F1-E1-B200-terminate
</htmlTabRef>
<htmlTabName>
Tear-down
</htmlTabName>
<htmlTabIcon>
tasks
</htmlTabIcon>
<repeatCount>
1
</repeatCount>
<TestCaseRequestedList>
330201
222222
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"330201"
>
<class>
Undeploy_Object
</class>
<desc>
Undeploy CU-CP/CU-UP/DU
</desc>
<yaml_path>
ci-scripts/yaml_files/sa_e1_b200_gnb
</yaml_path>
<eNB_instance>
0
</eNB_instance>
<eNB_serverId>
0
</eNB_serverId>
</testCase>
<testCase
id=
"222222"
>
<class>
Clean_Test_Server_Images
</class>
<desc>
Clean Test Images on Test Server
</desc>
<test_svr_id>
0
</test_svr_id>
</testCase>
</testCaseList>
ci-scripts/xml_files/container_sa_f1_b200_terminate.xml
View file @
7b297eb2
...
@@ -27,7 +27,6 @@
...
@@ -27,7 +27,6 @@
<repeatCount>
1
</repeatCount>
<repeatCount>
1
</repeatCount>
<TestCaseRequestedList>
<TestCaseRequestedList>
230201
230201
222222
</TestCaseRequestedList>
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<TestCaseExclusionList></TestCaseExclusionList>
...
@@ -39,10 +38,4 @@
...
@@ -39,10 +38,4 @@
<eNB_serverId>
0
</eNB_serverId>
<eNB_serverId>
0
</eNB_serverId>
</testCase>
</testCase>
<testCase
id=
"222222"
>
<class>
Clean_Test_Server_Images
</class>
<desc>
Clean Test Images on Test Server
</desc>
<test_svr_id>
0
</test_svr_id>
</testCase>
</testCaseList>
</testCaseList>
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