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:
Jaroslava Fiedlerova
2026-01-14 23:43:03 +01:00
parent 9b0bb594f0
commit 12f4167f99
100 changed files with 7124 additions and 7806 deletions
@@ -24,85 +24,49 @@
<htmlTabRef>TEST-SA-FR1-N310-2x2-60MHz</htmlTabRef>
<htmlTabName>60 MHz 2x2 TDD SA DSUUU</htmlTabName>
<htmlTabIcon>tasks</htmlTabIcon>
<TestCaseRequestedList>
100000
111111
010010
800813
030101
010001
050001
071000
071001
070002
010010
000001
030201
200000
333333
</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">
<class>Create_Workspace</class>
<desc>Create new Workspace</desc>
<node>matix</node>
</testCase>
<testCase id="030101">
<class>Deploy_Object</class>
<desc>Deploy gNB (TDD/Band77/60MHz/N310) in a container</desc>
<node>matix</node>
<yaml_path>ci-scripts/yaml_files/5g_sa_n310_2x2_60MHz</yaml_path>
<num_attempts>3</num_attempts>
<testCase>
<class>Create_Workspace</class>
<desc>Create new Workspace</desc>
<node>matix</node>
</testCase>
<testCase id="000001">
<class>IdleSleep</class>
<desc>Sleep</desc>
<idle_sleep_time_in_sec>5</idle_sleep_time_in_sec>
<testCase>
<class>Deploy_Object</class>
<desc>Deploy gNB (TDD/Band77/60MHz/N310) in a container</desc>
<node>matix</node>
<yaml_path>ci-scripts/yaml_files/5g_sa_n310_2x2_60MHz</yaml_path>
<num_attempts>3</num_attempts>
</testCase>
<testCase id="000002">
<class>IdleSleep</class>
<desc>Sleep</desc>
<idle_sleep_time_in_sec>10</idle_sleep_time_in_sec>
<testCase>
<class>Attach_UE</class>
<desc>Attach UE</desc>
<id>up2</id>
</testCase>
<testCase id="050001">
<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="071000">
<testCase>
<class>Iperf</class>
<desc>iperf (DL/150Mbps/UDP)(30 sec)(single-ue profile)</desc>
<iperf_args>-u -b 150M -t 30 -R</iperf_args>
@@ -122,7 +86,7 @@
<iperf_bitrate_threshold>80</iperf_bitrate_threshold>
</testCase>
<testCase id="071001">
<testCase>
<class>Iperf</class>
<desc>iperf (UL/250Mbps/UDP)(30 sec)(single-ue profile)</desc>
<iperf_args>-u -b 250M -t 30</iperf_args>
@@ -132,7 +96,7 @@
<iperf_bitrate_threshold>70</iperf_bitrate_threshold>
</testCase>
<testCase id="070002">
<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="030201">
<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>20,100,100,100</u_retx_th>
</testCase>
<testCase id="333333">
<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>