CI: Automatically enumerate test cases, remove hardcoded IDs
Update all XML files in ci-scripts folder, using Python script attached in MR !3844. https://gitlab.eurecom.fr/oai/openairinterface5g/-/merge_requests/3844#note_198132
This commit is contained in:
@@ -24,65 +24,35 @@
|
||||
<htmlTabRef>TEST-SA-FR1-N310-2x2-100MHz</htmlTabRef>
|
||||
<htmlTabName>100 MHz TDD SA 2x2</htmlTabName>
|
||||
<htmlTabIcon>tasks</htmlTabIcon>
|
||||
<TestCaseRequestedList>
|
||||
100000
|
||||
111111
|
||||
010010
|
||||
800813
|
||||
040101
|
||||
010001
|
||||
051001
|
||||
071100
|
||||
071101
|
||||
071002
|
||||
010010
|
||||
000001
|
||||
040201
|
||||
200000
|
||||
033333
|
||||
</TestCaseRequestedList>
|
||||
<TestCaseExclusionList></TestCaseExclusionList>
|
||||
|
||||
<testCase id="111111">
|
||||
<class>Pull_Cluster_Image</class>
|
||||
<desc>Pull Images from Cluster</desc>
|
||||
<images>oai-gnb</images>
|
||||
<node>matix</node>
|
||||
</testCase>
|
||||
|
||||
<testCase id="100000">
|
||||
<testCase>
|
||||
<class>Custom_Command</class>
|
||||
<desc>Disable Sleep States</desc>
|
||||
<node>matix</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>
|
||||
<testCase>
|
||||
<class>Pull_Cluster_Image</class>
|
||||
<desc>Pull Images from Cluster</desc>
|
||||
<images>oai-gnb</images>
|
||||
<node>matix</node>
|
||||
<command>sudo cpupower idle-set -E</command>
|
||||
</testCase>
|
||||
|
||||
<testCase id="010001">
|
||||
<class>Attach_UE</class>
|
||||
<desc>Attach UE</desc>
|
||||
<id>up2</id>
|
||||
</testCase>
|
||||
|
||||
<testCase id="010010">
|
||||
<testCase>
|
||||
<class>Detach_UE</class>
|
||||
<always_exec>true</always_exec>
|
||||
<desc>Detach UE</desc>
|
||||
<id>up2</id>
|
||||
</testCase>
|
||||
<testCase id="800813">
|
||||
|
||||
<testCase>
|
||||
<class>Create_Workspace</class>
|
||||
<desc>Create new Workspace</desc>
|
||||
<node>matix</node>
|
||||
</testCase>
|
||||
<testCase id="040101">
|
||||
|
||||
<testCase>
|
||||
<class>Deploy_Object</class>
|
||||
<desc>Deploy gNB (TDD/Band77/100MHz/N310) in a container</desc>
|
||||
<node>matix</node>
|
||||
@@ -90,19 +60,13 @@
|
||||
<num_attempts>3</num_attempts>
|
||||
</testCase>
|
||||
|
||||
<testCase id="000001">
|
||||
<class>IdleSleep</class>
|
||||
<desc>Sleep</desc>
|
||||
<idle_sleep_time_in_sec>5</idle_sleep_time_in_sec>
|
||||
<testCase>
|
||||
<class>Attach_UE</class>
|
||||
<desc>Attach UE</desc>
|
||||
<id>up2</id>
|
||||
</testCase>
|
||||
|
||||
<testCase id="000002">
|
||||
<class>IdleSleep</class>
|
||||
<desc>Sleep</desc>
|
||||
<idle_sleep_time_in_sec>10</idle_sleep_time_in_sec>
|
||||
</testCase>
|
||||
|
||||
<testCase id="051001">
|
||||
<testCase>
|
||||
<class>Ping</class>
|
||||
<desc>Ping: 100pings in 20sec</desc>
|
||||
<id>up2</id>
|
||||
@@ -112,7 +76,7 @@
|
||||
<ping_rttavg_threshold>15</ping_rttavg_threshold>
|
||||
</testCase>
|
||||
|
||||
<testCase id="071100">
|
||||
<testCase>
|
||||
<class>Iperf</class>
|
||||
<desc>iperf (DL/650Mbps/UDP)(30 sec)(single-ue profile)</desc>
|
||||
<iperf_args>-u -b 650M -t 30 -R -O 10 -l 9000</iperf_args>
|
||||
@@ -122,7 +86,7 @@
|
||||
<iperf_bitrate_threshold>70</iperf_bitrate_threshold>
|
||||
</testCase>
|
||||
|
||||
<testCase id="071101">
|
||||
<testCase>
|
||||
<class>Iperf</class>
|
||||
<desc>iperf (UL/130Mbps/UDP)(30 sec)(single-ue profile)</desc>
|
||||
<iperf_args>-u -b 130M -t 30 -O 10</iperf_args>
|
||||
@@ -132,7 +96,7 @@
|
||||
<iperf_bitrate_threshold>70</iperf_bitrate_threshold>
|
||||
</testCase>
|
||||
|
||||
<testCase id="071002">
|
||||
<testCase>
|
||||
<class>Iperf</class>
|
||||
<desc>iperf (BIDIR TCP)(30 sec)(single-ue profile)</desc>
|
||||
<iperf_args>-t 30 --bidir</iperf_args>
|
||||
@@ -140,7 +104,20 @@
|
||||
<id>up2</id>
|
||||
</testCase>
|
||||
|
||||
<testCase id="040201">
|
||||
<testCase>
|
||||
<class>Detach_UE</class>
|
||||
<always_exec>true</always_exec>
|
||||
<desc>Detach UE</desc>
|
||||
<id>up2</id>
|
||||
</testCase>
|
||||
|
||||
<testCase>
|
||||
<class>IdleSleep</class>
|
||||
<desc>Sleep</desc>
|
||||
<idle_sleep_time_in_sec>5</idle_sleep_time_in_sec>
|
||||
</testCase>
|
||||
|
||||
<testCase>
|
||||
<class>Undeploy_Object</class>
|
||||
<always_exec>true</always_exec>
|
||||
<desc>Undeploy gNB</desc>
|
||||
@@ -150,7 +127,15 @@
|
||||
<u_retx_th>10,100,100,100</u_retx_th>
|
||||
</testCase>
|
||||
|
||||
<testCase id="033333">
|
||||
<testCase>
|
||||
<class>Custom_Command</class>
|
||||
<always_exec>true</always_exec>
|
||||
<desc>Enable Sleep States</desc>
|
||||
<node>matix</node>
|
||||
<command>sudo cpupower idle-set -E</command>
|
||||
</testCase>
|
||||
|
||||
<testCase>
|
||||
<class>Clean_Test_Server_Images</class>
|
||||
<always_exec>true</always_exec>
|
||||
<desc>Clean Test Images on Test Server</desc>
|
||||
@@ -159,4 +144,3 @@
|
||||
</testCase>
|
||||
|
||||
</testCaseList>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user