Some CI tasks/commands like Iperf(), Ping() get multiple nodes (via XML parameter "nodes") to potentially run UEs on different nodes (hosts) at the same time. However, I argue that this is not good: - we don't actually use this -- where we specify multiple UEs, it's always "localhost localhost..." - it is inconsistent, as we typically have a single "node", not nodes, and there is a possibility to harmonize (see also next commit) - if we needed it, there would be better ways to achieve the same. First, for hardware-based UEs, the ci_infra.yaml can specify different UEs. For simulated UEs, it would be feasible to have multiple XML steps run in parallel, e.g., in the XML <parallel> tag, which would clarify that multiple UEs on different hosts run in parallel - it reduces code. Hence, make a single <node> for these XML steps.
141 lines
5.4 KiB
XML
141 lines
5.4 KiB
XML
<!--
|
|
|
|
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>rfsim-5gnr-fdd-phytest</htmlTabRef>
|
|
<htmlTabName>Monolithic FDD phytest gNB</htmlTabName>
|
|
<htmlTabIcon>wrench</htmlTabIcon>
|
|
<TestCaseRequestedList>
|
|
111111
|
|
800813
|
|
004000
|
|
000010
|
|
000011
|
|
020011
|
|
020012
|
|
030011
|
|
030012
|
|
100011
|
|
222222
|
|
</TestCaseRequestedList>
|
|
<TestCaseExclusionList></TestCaseExclusionList>
|
|
|
|
<testCase id="111111">
|
|
<class>Pull_Local_Registry</class>
|
|
<desc>Pull Images from Local Registry</desc>
|
|
<node>localhost</node>
|
|
<images>oai-gnb-asan oai-nr-ue-asan</images>
|
|
</testCase>
|
|
|
|
<testCase id="004000">
|
|
<class>Custom_Command</class>
|
|
<desc>Clean-Up any residual volume</desc>
|
|
<node>localhost</node>
|
|
<command>docker volume rm 5g_rfsimulator_fdd_phytest_rrc.config -f</command>
|
|
</testCase>
|
|
<testCase id="800813">
|
|
<class>Create_Workspace</class>
|
|
<desc>Create new Workspace</desc>
|
|
<node>localhost</node>
|
|
</testCase>
|
|
<testCase id="000010">
|
|
<class>Deploy_Object</class>
|
|
<desc>Deploy OAI 5G gNB RF sim SA</desc>
|
|
<node>localhost</node>
|
|
<yaml_path>ci-scripts/yaml_files/5g_rfsimulator_fdd_phytest</yaml_path>
|
|
<services>oai-gnb</services>
|
|
</testCase>
|
|
|
|
<testCase id="000011">
|
|
<class>Deploy_Object</class>
|
|
<desc>Deploy OAI 5G NR-UE RF sim SA</desc>
|
|
<node>localhost</node>
|
|
<yaml_path>ci-scripts/yaml_files/5g_rfsimulator_fdd_phytest</yaml_path>
|
|
<services>oai-nr-ue</services>
|
|
</testCase>
|
|
|
|
<testCase id="020011">
|
|
<class>Ping</class>
|
|
<desc>Ping gNB from NR-UE</desc>
|
|
<id>rfsim5g_ue</id>
|
|
<node>localhost</node>
|
|
<svr_id>rfsim5g_gnb_nos1</svr_id>
|
|
<svr_node>localhost</svr_node>
|
|
<ping_args>-c20 -i0.2</ping_args>
|
|
<ping_packetloss_threshold>0</ping_packetloss_threshold>
|
|
</testCase>
|
|
|
|
<testCase id="020012">
|
|
<class>Ping</class>
|
|
<desc>Ping NR-UE from gNB</desc>
|
|
<id>rfsim5g_gnb_nos1</id>
|
|
<node>localhost</node>
|
|
<svr_id>rfsim5g_ue</svr_id>
|
|
<svr_node>localhost</svr_node>
|
|
<ping_args>-c20 -i0.2</ping_args>
|
|
<ping_packetloss_threshold>0</ping_packetloss_threshold>
|
|
</testCase>
|
|
|
|
<testCase id="030011">
|
|
<class>Iperf</class>
|
|
<desc>Iperf (DL/30kbps/UDP)(20 sec)</desc>
|
|
<iperf_args>-u -b 0.03M -t 20 -R -c 10.0.1.1</iperf_args>
|
|
<id>rfsim5g_ue</id>
|
|
<node>localhost</node>
|
|
<svr_id>rfsim5g_gnb_nos1</svr_id>
|
|
<svr_node>localhost</svr_node>
|
|
<iperf_packetloss_threshold>5</iperf_packetloss_threshold>
|
|
<iperf_bitrate_threshold>90</iperf_bitrate_threshold>
|
|
</testCase>
|
|
|
|
<testCase id="030012">
|
|
<class>Iperf</class>
|
|
<desc>Iperf (UL/30kbps/UDP)(20 sec)</desc>
|
|
<iperf_args>-u -b 0.03M -t 20 -c 10.0.1.1</iperf_args>
|
|
<id>rfsim5g_ue</id>
|
|
<node>localhost</node>
|
|
<svr_id>rfsim5g_gnb_nos1</svr_id>
|
|
<svr_node>localhost</svr_node>
|
|
<iperf_packetloss_threshold>5</iperf_packetloss_threshold>
|
|
<iperf_bitrate_threshold>90</iperf_bitrate_threshold>
|
|
</testCase>
|
|
|
|
<testCase id="100011">
|
|
<class>Undeploy_Object</class>
|
|
<always_exec>true</always_exec>
|
|
<desc>Undeploy all OAI 5G stack</desc>
|
|
<node>localhost</node>
|
|
<yaml_path>ci-scripts/yaml_files/5g_rfsimulator_fdd_phytest</yaml_path>
|
|
<d_retx_th>10,100,100,100</d_retx_th> <!-- phytest: will fail at start! -->
|
|
<u_retx_th>10,100,100,100</u_retx_th> <!-- phytest: will fail at start! -->
|
|
</testCase>
|
|
|
|
<testCase id="222222">
|
|
<class>Clean_Test_Server_Images</class>
|
|
<always_exec>true</always_exec>
|
|
<desc>Clean Test Images on Test Server</desc>
|
|
<node>localhost</node>
|
|
<images>oai-gnb-asan oai-nr-ue-asan</images>
|
|
</testCase>
|
|
|
|
</testCaseList>
|