Commit 9803fb29 authored by Reem Bahsoun's avatar Reem Bahsoun Committed by Robert Schmidt

Reorganize XML steps for F1 HO

Number linearly for easier navigation in HTML reports, and start DU1
before connecting the UE. Reset attenuation on all channels to 0.
parent e2075b57
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
000003 000003
000004 000004
000005 000005
000027
000006 000006
000007 000007
000008 000008
...@@ -52,6 +51,8 @@ ...@@ -52,6 +51,8 @@
000024 000024
000025 000025
000026 000026
000027
000028
</TestCaseRequestedList> </TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList> <TestCaseExclusionList></TestCaseExclusionList>
...@@ -88,14 +89,14 @@ ...@@ -88,14 +89,14 @@
<node>rocket</node> <node>rocket</node>
</testCase> </testCase>
<testCase id="000027"> <testCase id="000006">
<class>Custom_Command</class> <class>Custom_Command</class>
<desc>Set attenuator to 0 for DU0 and 17 for DU1</desc> <desc>Set attenuator to 0 for DU0 and 17 for DU1</desc>
<node>rocket</node> <node>rocket</node>
<command>python3 %%workspace%%/ci-scripts/attenuatorctl.py -r 1,2 0 -r 3,4 17 -d 5</command> <command>python3 %%workspace%%/ci-scripts/attenuatorctl.py -r 1,2 0 -r 3,4 17 -d 5</command>
</testCase> </testCase>
<testCase id="000006"> <testCase id="000007">
<class>Deploy_Object</class> <class>Deploy_Object</class>
<desc>Deploy gNB-CU in a container</desc> <desc>Deploy gNB-CU in a container</desc>
<yaml_path>ci-scripts/yaml_files/5g_sa_f1_b210_ho</yaml_path> <yaml_path>ci-scripts/yaml_files/5g_sa_f1_b210_ho</yaml_path>
...@@ -103,7 +104,7 @@ ...@@ -103,7 +104,7 @@
<services>oai-cu</services> <services>oai-cu</services>
</testCase> </testCase>
<testCase id="000007"> <testCase id="000008">
<class>Deploy_Object</class> <class>Deploy_Object</class>
<desc>Deploy gNB-DU0 (TDD/Band77/20MHz/B210) in a container</desc> <desc>Deploy gNB-DU0 (TDD/Band77/20MHz/B210) in a container</desc>
<yaml_path>ci-scripts/yaml_files/5g_sa_f1_b210_ho</yaml_path> <yaml_path>ci-scripts/yaml_files/5g_sa_f1_b210_ho</yaml_path>
...@@ -111,13 +112,21 @@ ...@@ -111,13 +112,21 @@
<node>groot</node> <node>groot</node>
</testCase> </testCase>
<testCase id="000008"> <testCase id="000009">
<class>Deploy_Object</class>
<desc>Deploy gNB-DU1 (TDD/Band77/20MHz/B210) in a container</desc>
<yaml_path>ci-scripts/yaml_files/5g_sa_f1_b210_ho</yaml_path>
<node>rocket</node>
<services>oai-du1</services>
</testCase>
<testCase id="000010">
<class>Attach_UE</class> <class>Attach_UE</class>
<desc>Attach Quectel</desc> <desc>Attach Quectel</desc>
<id>raspix</id> <id>raspix</id>
</testCase> </testCase>
<testCase id="000009"> <testCase id="000011">
<class>Ping</class> <class>Ping</class>
<desc>Ping: 100pings in 20sec</desc> <desc>Ping: 100pings in 20sec</desc>
<id>raspix</id> <id>raspix</id>
...@@ -126,28 +135,20 @@ ...@@ -126,28 +135,20 @@
<ping_packetloss_threshold>5</ping_packetloss_threshold> <ping_packetloss_threshold>5</ping_packetloss_threshold>
</testCase> </testCase>
<testCase id="000010"> <testCase id="000012">
<class>Deploy_Object</class>
<desc>Deploy gNB-DU1 (TDD/Band77/20MHz/B210) in a container</desc>
<yaml_path>ci-scripts/yaml_files/5g_sa_f1_b210_ho</yaml_path>
<node>rocket</node>
<services>oai-du1</services>
</testCase>
<testCase id="000011">
<class>IdleSleep</class> <class>IdleSleep</class>
<desc>Sleep</desc> <desc>Sleep</desc>
<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="000012"> <testCase id="000013">
<class>Custom_Command</class> <class>Custom_Command</class>
<desc>Attenuate DU0 by 15 and remove the attenuation on DU1 to trigger Handover</desc> <desc>Attenuate DU0 by 15 and remove the attenuation on DU1 to trigger Handover</desc>
<node>rocket</node> <node>rocket</node>
<command>python3 %%workspace%%/ci-scripts/attenuatorctl.py -r 1,2 15 -r 3,4 0 -d 5</command> <command>python3 %%workspace%%/ci-scripts/attenuatorctl.py -r 1,2 15 -r 3,4 0 -d 5</command>
</testCase> </testCase>
<testCase id="000013"> <testCase id="000014">
<class>Ping</class> <class>Ping</class>
<desc>Ping: 50pings in 10sec</desc> <desc>Ping: 50pings in 10sec</desc>
<id>raspix</id> <id>raspix</id>
...@@ -156,21 +157,21 @@ ...@@ -156,21 +157,21 @@
<ping_packetloss_threshold>5</ping_packetloss_threshold> <ping_packetloss_threshold>5</ping_packetloss_threshold>
</testCase> </testCase>
<testCase id="000014"> <testCase id="000015">
<class>Custom_Command</class> <class>Custom_Command</class>
<desc>UE connected to DU1?</desc> <desc>UE connected to DU1?</desc>
<node>groot</node> <node>groot</node>
<command>echo ci fetch_du_by_ue_id 1 | ncat 127.0.0.1 9090 | grep "3585"</command> <command>echo ci fetch_du_by_ue_id 1 | ncat 127.0.0.1 9090 | grep "3585"</command>
</testCase> </testCase>
<testCase id="000015"> <testCase id="000016">
<class>Custom_Command</class> <class>Custom_Command</class>
<desc>Attenuate DU1 by 17dB and remove attenuation on DU0 to trigger Handover</desc> <desc>Attenuate DU1 by 17dB and remove attenuation on DU0 to trigger Handover</desc>
<node>rocket</node> <node>rocket</node>
<command>python3 %%workspace%%/ci-scripts/attenuatorctl.py -r 1,2 0 -r 3,4 17 -d 5</command> <command>python3 %%workspace%%/ci-scripts/attenuatorctl.py -r 1,2 0 -r 3,4 17 -d 5</command>
</testCase> </testCase>
<testCase id="000016"> <testCase id="000017">
<class>Ping</class> <class>Ping</class>
<desc>Ping: 50pings in 10sec</desc> <desc>Ping: 50pings in 10sec</desc>
<id>raspix</id> <id>raspix</id>
...@@ -179,21 +180,21 @@ ...@@ -179,21 +180,21 @@
<ping_packetloss_threshold>5</ping_packetloss_threshold> <ping_packetloss_threshold>5</ping_packetloss_threshold>
</testCase> </testCase>
<testCase id="000017"> <testCase id="000018">
<class>Custom_Command</class> <class>Custom_Command</class>
<desc>UE connected to DU0?</desc> <desc>UE connected to DU0?</desc>
<node>groot</node> <node>groot</node>
<command>echo ci fetch_du_by_ue_id 1 | ncat 127.0.0.1 9090 | grep "3584"</command> <command>echo ci fetch_du_by_ue_id 1 | ncat 127.0.0.1 9090 | grep "3584"</command>
</testCase> </testCase>
<testCase id="000018"> <testCase id="000019">
<class>Custom_Command</class> <class>Custom_Command</class>
<desc>Attenuate DU0 by 15 and remove the attenuation on DU1 to trigger Handover</desc> <desc>Attenuate DU0 by 15 and remove the attenuation on DU1 to trigger Handover</desc>
<node>rocket</node> <node>rocket</node>
<command>python3 %%workspace%%/ci-scripts/attenuatorctl.py -r 1,2 15 -r 3,4 0 -d 5</command> <command>python3 %%workspace%%/ci-scripts/attenuatorctl.py -r 1,2 15 -r 3,4 0 -d 5</command>
</testCase> </testCase>
<testCase id="000019"> <testCase id="000020">
<class>Ping</class> <class>Ping</class>
<desc>Ping: 50pings in 10sec</desc> <desc>Ping: 50pings in 10sec</desc>
<id>raspix</id> <id>raspix</id>
...@@ -202,21 +203,21 @@ ...@@ -202,21 +203,21 @@
<ping_packetloss_threshold>5</ping_packetloss_threshold> <ping_packetloss_threshold>5</ping_packetloss_threshold>
</testCase> </testCase>
<testCase id="000020"> <testCase id="000021">
<class>Custom_Command</class> <class>Custom_Command</class>
<desc>UE connected to DU1?</desc> <desc>UE connected to DU1?</desc>
<node>groot</node> <node>groot</node>
<command>echo ci fetch_du_by_ue_id 1 | ncat 127.0.0.1 9090 | grep "3585"</command> <command>echo ci fetch_du_by_ue_id 1 | ncat 127.0.0.1 9090 | grep "3585"</command>
</testCase> </testCase>
<testCase id="000021"> <testCase id="000022">
<class>Detach_UE</class> <class>Detach_UE</class>
<always_exec>true</always_exec> <always_exec>true</always_exec>
<desc>Detach Quectel</desc> <desc>Detach Quectel</desc>
<id>raspix</id> <id>raspix</id>
</testCase> </testCase>
<testCase id="000022"> <testCase id="000023">
<class>Undeploy_Object</class> <class>Undeploy_Object</class>
<always_exec>true</always_exec> <always_exec>true</always_exec>
<desc>Undeploy CU-DU0</desc> <desc>Undeploy CU-DU0</desc>
...@@ -224,7 +225,7 @@ ...@@ -224,7 +225,7 @@
<yaml_path>ci-scripts/yaml_files/5g_sa_f1_b210_ho</yaml_path> <yaml_path>ci-scripts/yaml_files/5g_sa_f1_b210_ho</yaml_path>
</testCase> </testCase>
<testCase id="000023"> <testCase id="000024">
<class>Undeploy_Object</class> <class>Undeploy_Object</class>
<always_exec>true</always_exec> <always_exec>true</always_exec>
<desc>Undeploy DU1 </desc> <desc>Undeploy DU1 </desc>
...@@ -232,7 +233,15 @@ ...@@ -232,7 +233,15 @@
<yaml_path>ci-scripts/yaml_files/5g_sa_f1_b210_ho</yaml_path> <yaml_path>ci-scripts/yaml_files/5g_sa_f1_b210_ho</yaml_path>
</testCase> </testCase>
<testCase id="000024"> <testCase id="000025">
<class>Custom_Command</class>
<desc>Reset all channels on the attenuator to 0</desc>
<node>rocket</node>
<command>python3 %%workspace%%/ci-scripts/attenuatorctl.py -s 1-4 0</command>
<always_exec>true</always_exec>
</testCase>
<testCase id="000026">
<class>Clean_Test_Server_Images</class> <class>Clean_Test_Server_Images</class>
<always_exec>true</always_exec> <always_exec>true</always_exec>
<desc>Clean Test Images on Test Server</desc> <desc>Clean Test Images on Test Server</desc>
...@@ -240,7 +249,7 @@ ...@@ -240,7 +249,7 @@
<images>oai-gnb</images> <images>oai-gnb</images>
</testCase> </testCase>
<testCase id="000025"> <testCase id="000027">
<class>Clean_Test_Server_Images</class> <class>Clean_Test_Server_Images</class>
<always_exec>true</always_exec> <always_exec>true</always_exec>
<desc>Clean Test Images on Test Server</desc> <desc>Clean Test Images on Test Server</desc>
...@@ -248,7 +257,7 @@ ...@@ -248,7 +257,7 @@
<images>oai-gnb</images> <images>oai-gnb</images>
</testCase> </testCase>
<testCase id="000026"> <testCase id="000028">
<class>UndeployCoreNetwork</class> <class>UndeployCoreNetwork</class>
<always_exec>true</always_exec> <always_exec>true</always_exec>
<desc>Terminate 5G Core</desc> <desc>Terminate 5G Core</desc>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment