container_sa_b200_quectel.xml 5.51 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
<!--

 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>
Robert Schmidt's avatar
Robert Schmidt committed
25
  <htmlTabName>20 MHz TDD SA</htmlTabName>
26 27 28
  <htmlTabIcon>tasks</htmlTabIcon>
  <repeatCount>1</repeatCount>
  <TestCaseRequestedList>
29
    100000
30
    111111
31
    010000
32 33
    030101
    010001
34 35
    050000
    050001
36
    070000
37 38
    070001
    070002
39 40 41
    060001
    000002
    060002
Robert Schmidt's avatar
fixup  
Robert Schmidt committed
42
    050000
43
    010010
44 45
    010002
    030201
46
    200000
47 48 49
  </TestCaseRequestedList>
  <TestCaseExclusionList></TestCaseExclusionList>

50 51 52 53
  <testCase id="111111">
    <class>Pull_Local_Registry</class>
    <desc>Pull Images from Local Registry</desc>
    <test_svr_id>0</test_svr_id>
54
    <images_to_pull>oai-gnb</images_to_pull>
55 56
  </testCase>

57 58 59
  <testCase id="100000">
    <class>Custom_Command</class>
    <desc>Disable Sleep States</desc>
60
    <node>ofqot</node>
61 62 63 64 65
    <command>sudo cpupower idle-set -D 0</command>
  </testCase>
  <testCase id="200000">
    <class>Custom_Command</class>
    <desc>Enable Sleep States</desc>
66
    <node>ofqot</node>
67 68 69
    <command>sudo cpupower idle-set -E</command>
  </testCase>

70 71 72 73 74 75 76 77 78 79
  <testCase id="010000">
    <class>Initialize_UE</class>
    <desc>Initialize Quectel</desc>
    <id>idefix</id>
  </testCase>
  <testCase id="010002">
    <class>Terminate_UE</class>
    <desc>Terminate Quectel</desc>
    <id>idefix</id>
  </testCase>
80 81 82 83 84 85 86 87 88
  <testCase id="010001">
    <class>Attach_UE</class>
    <desc>Attach UE</desc>
    <id>idefix</id>
  </testCase>
  <testCase id="010010">
    <class>Detach_UE</class>
    <desc>Detach UE</desc>
    <id>idefix</id>
89
  </testCase>
90

91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131
  <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>IdleSleep</class>
    <desc>Sleep</desc>
    <idle_sleep_time_in_sec>20</idle_sleep_time_in_sec>
  </testCase>


  <testCase id="050000">
    <class>Ping</class>
    <desc>Ping: 20pings in 20sec</desc>
    <id>idefix</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>
    <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>
132
    <desc>iperf (DL/30Mbps/UDP)(30 sec)(single-ue profile)</desc>
133
    <iperf_args>-u -b 30M -t 30 -i 1 -fm</iperf_args>
134 135 136 137 138 139 140 141 142
    <direction>DL</direction>
    <id>idefix</id>
    <iperf_packetloss_threshold>25</iperf_packetloss_threshold>
    <iperf_bitrate_threshold>80</iperf_bitrate_threshold>
    <iperf_profile>single-ue</iperf_profile>
  </testCase>

  <testCase id="070001">
    <class>Iperf</class>
143 144
    <desc>iperf (UL/3.5Mbps/UDP)(30 sec)(single-ue profile)</desc>
    <iperf_args>-u -b 3.5M -t 30 -i 1 -fm</iperf_args>
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160
    <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="070002">
    <class>Iperf</class>
    <desc>iperf (BIDIR TCP)(10 sec)(single-ue profile)</desc>
    <iperf_args>-t 10 --bidir</iperf_args>
    <direction>BIDIR</direction>
    <id>idefix</id>
    <iperf_profile>single-ue</iperf_profile>
  </testCase>

161 162 163
  <testCase id="060001">
    <class>Custom_Command</class>
    <desc>Trigger Reestablishment</desc>
164
    <node>ofqot</node>
Robert Schmidt's avatar
fixup  
Robert Schmidt committed
165
    <command>echo ci force_reestab | nc -N 192.168.68.194 9090 | grep -E 'force-remove UE RNTI [0-9a-f]{4} from RLC to trigger reestablishment'</command>
166 167 168 169 170
    <command_fail>yes</command_fail>
  </testCase>
  <testCase id="060002">
    <class>Custom_Command</class>
    <desc>Verify Reestablishment</desc>
171
    <node>ofqot</node>
Robert Schmidt's avatar
fixup  
Robert Schmidt committed
172
    <command>echo ci get_reestab_count | nc -N 192.168.68.194 9090 | grep -E 'UE RNTI [0-9a-f]{4} reestab 1 reconf_after_reestab 1'</command>
173 174 175
    <command_fail>yes</command_fail>
  </testCase>

176 177 178 179 180 181
  <testCase id="030201">
    <class>Undeploy_Object</class>
    <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>
182 183
    <d_retx_th>10,100,100,100</d_retx_th>
    <u_retx_th>10,100,100,100</u_retx_th>
184 185 186 187
  </testCase>

</testCaseList>