As of the parent commit, there is a generic "may_fail" option through which we could still ignore an error. Thus, command_fail is superfluous, and avoids some extra code. Further, in all these cases, we should better be informed about any error, so let's not use may_fail for these tests.
232 lines
6.6 KiB
XML
232 lines
6.6 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>TEST-SA-FR1-B200</htmlTabRef>
|
|
<htmlTabName>20 MHz TDD SA</htmlTabName>
|
|
<htmlTabIcon>tasks</htmlTabIcon>
|
|
<TestCaseRequestedList>
|
|
100000
|
|
111111
|
|
010000
|
|
800813
|
|
030101
|
|
010001
|
|
050000
|
|
050001
|
|
070000
|
|
070001
|
|
070002
|
|
070003
|
|
070004
|
|
060001
|
|
000002
|
|
060002
|
|
050000
|
|
010010
|
|
010001
|
|
050001
|
|
010010
|
|
010001
|
|
050000
|
|
010010
|
|
010002
|
|
030201
|
|
200000
|
|
222222
|
|
</TestCaseRequestedList>
|
|
<TestCaseExclusionList></TestCaseExclusionList>
|
|
|
|
<testCase id="111111">
|
|
<class>Pull_Local_Registry</class>
|
|
<desc>Pull Images from Local Registry</desc>
|
|
<svr_id>0</svr_id>
|
|
<images>oai-gnb</images>
|
|
</testCase>
|
|
|
|
<testCase id="100000">
|
|
<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>
|
|
<always_exec>true</always_exec>
|
|
<desc>Enable Sleep States</desc>
|
|
<node>ofqot</node>
|
|
<command>sudo cpupower idle-set -E</command>
|
|
</testCase>
|
|
|
|
<testCase id="010000">
|
|
<class>Initialize_UE</class>
|
|
<desc>Initialize Quectel</desc>
|
|
<id>idefix</id>
|
|
</testCase>
|
|
<testCase id="010002">
|
|
<class>Terminate_UE</class>
|
|
<always_exec>true</always_exec>
|
|
<desc>Terminate Quectel</desc>
|
|
<id>idefix</id>
|
|
</testCase>
|
|
<testCase id="010001">
|
|
<class>Attach_UE</class>
|
|
<desc>Attach UE</desc>
|
|
<id>idefix</id>
|
|
</testCase>
|
|
<testCase id="010010">
|
|
<class>Detach_UE</class>
|
|
<always_exec>true</always_exec>
|
|
<desc>Detach UE</desc>
|
|
<id>idefix</id>
|
|
</testCase>
|
|
<testCase id="800813">
|
|
<class>Create_Workspace</class>
|
|
<desc>Create new Workspace for server 0</desc>
|
|
<eNB_instance>0</eNB_instance>
|
|
<eNB_serverId>0</eNB_serverId>
|
|
</testCase>
|
|
<testCase id="030101">
|
|
<class>Deploy_Object</class>
|
|
<desc>Deploy gNB (TDD/Band78/40MHz/B200) in a container</desc>
|
|
<yaml_path>ci-scripts/yaml_files/sa_b200_gnb</yaml_path>
|
|
<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="000002">
|
|
<class>Ping</class>
|
|
<desc>Ping: 20pings</desc>
|
|
<id>idefix</id>
|
|
<svr_id>sabox-nepes</svr_id>
|
|
<ping_args>-c 20 -i0.5 -w25</ping_args>
|
|
<ping_packetloss_threshold>80</ping_packetloss_threshold>
|
|
</testCase>
|
|
|
|
|
|
<testCase id="050000">
|
|
<class>Ping</class>
|
|
<desc>Ping: 20pings in 20sec</desc>
|
|
<id>idefix</id>
|
|
<svr_id>sabox-nepes</svr_id>
|
|
<ping_args>-c 20</ping_args>
|
|
<ping_packetloss_threshold>1</ping_packetloss_threshold>
|
|
<ping_rttavg_threshold>15</ping_rttavg_threshold>
|
|
</testCase>
|
|
|
|
<testCase id="050001">
|
|
<class>Ping</class>
|
|
<desc>Ping: 100pings in 20sec</desc>
|
|
<id>idefix</id>
|
|
<svr_id>sabox-nepes</svr_id>
|
|
<ping_args>-c 100 -i 0.2</ping_args>
|
|
<ping_packetloss_threshold>1</ping_packetloss_threshold>
|
|
<ping_rttavg_threshold>15</ping_rttavg_threshold>
|
|
</testCase>
|
|
|
|
<testCase id="070000">
|
|
<class>Iperf</class>
|
|
<desc>iperf (DL/30Mbps/UDP)(30 sec)(single-ue profile)</desc>
|
|
<iperf_args>-u -b 30M -t 30 -R</iperf_args>
|
|
<id>idefix</id>
|
|
<svr_id>sabox-nepes</svr_id>
|
|
<iperf_packetloss_threshold>25</iperf_packetloss_threshold>
|
|
<iperf_bitrate_threshold>80</iperf_bitrate_threshold>
|
|
</testCase>
|
|
|
|
<testCase id="070001">
|
|
<class>Iperf</class>
|
|
<desc>iperf (UL/3.5Mbps/UDP)(30 sec)(single-ue profile)</desc>
|
|
<iperf_args>-u -b 3.5M -t 30</iperf_args>
|
|
<id>idefix</id>
|
|
<svr_id>sabox-nepes</svr_id>
|
|
<iperf_packetloss_threshold>1</iperf_packetloss_threshold>
|
|
<iperf_bitrate_threshold>95</iperf_bitrate_threshold>
|
|
</testCase>
|
|
|
|
<testCase id="070002">
|
|
<class>Iperf</class>
|
|
<desc>iperf (BIDIR TCP)(10 sec)(single-ue profile)</desc>
|
|
<iperf_args>-t 10 --bidir</iperf_args>
|
|
<id>idefix</id>
|
|
<svr_id>sabox-nepes</svr_id>
|
|
</testCase>
|
|
|
|
<testCase id="070003">
|
|
<class>Iperf</class>
|
|
<desc>iperf (DL/TCP)(30 sec)(single-ue profile)</desc>
|
|
<iperf_args>-t 30 -R</iperf_args>
|
|
<id>idefix</id>
|
|
<svr_id>sabox-nepes</svr_id>
|
|
<iperf_tcp_rate_target>40</iperf_tcp_rate_target>
|
|
</testCase>
|
|
|
|
<testCase id="070004">
|
|
<class>Iperf</class>
|
|
<desc>iperf (UL/TCP)(30 sec)(single-ue profile)</desc>
|
|
<iperf_args>-t 30</iperf_args>
|
|
<id>idefix</id>
|
|
<svr_id>sabox-nepes</svr_id>
|
|
<iperf_tcp_rate_target>10</iperf_tcp_rate_target>
|
|
</testCase>
|
|
|
|
<testCase id="060001">
|
|
<class>Custom_Command</class>
|
|
<desc>Trigger Reestablishment</desc>
|
|
<node>ofqot</node>
|
|
<command>echo ci force_reestab | nc -N 127.0.0.1 9090 | grep -E 'Reset RLC counters of UE RNTI [0-9a-f]{4} to trigger reestablishment'</command>
|
|
</testCase>
|
|
<testCase id="060002">
|
|
<class>Custom_Command</class>
|
|
<desc>Verify Reestablishment</desc>
|
|
<node>ofqot</node>
|
|
<command>echo ci get_reestab_count | nc -N 127.0.0.1 9090 | grep -E 'UE RNTI [0-9a-f]{4} reestab 1'</command>
|
|
</testCase>
|
|
|
|
<testCase id="030201">
|
|
<class>Undeploy_Object</class>
|
|
<always_exec>true</always_exec>
|
|
<desc>Undeploy gNB</desc>
|
|
<yaml_path>ci-scripts/yaml_files/sa_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>
|
|
|
|
<testCase id="222222">
|
|
<class>Clean_Test_Server_Images</class>
|
|
<always_exec>true</always_exec>
|
|
<desc>Clean Test Images on Test Server</desc>
|
|
<svr_id>0</svr_id>
|
|
<images>oai-gnb</images>
|
|
</testCase>
|
|
|
|
</testCaseList>
|
|
|