CI: RFsim tests: Wait for IP

Ensure that the UE has an IP address before continuing the test.
Otherwise, it might happen we ping before the UE is connected.

Do not do this in do-ra and phytest, as they use --noS1, which implies
statically assigned IP address, so IP address check always succeeds(!).
This commit is contained in:
Robert Schmidt
2024-03-01 13:06:59 +01:00
parent e845a9c3b7
commit 9af386c761
7 changed files with 49 additions and 0 deletions
@@ -30,6 +30,7 @@
000021
000022
000023
000024
020021
100021
</TestCaseRequestedList>
@@ -66,6 +67,12 @@
<nb_healthy>14</nb_healthy>
</testCase>
<testCase id="000024">
<class>Attach_UE</class>
<desc>Attach OAI UE (Wait for IP)</desc>
<id>rfsim5g_ue rfsim5g_ue2 rfsim5g_ue3</id>
</testCase>
<testCase id="020021">
<class>Ping</class>
<desc>Ping ext-dn from all NR-UEs</desc>
@@ -29,6 +29,7 @@
100021
000021
000022
000023
020021
030021
030022
@@ -59,6 +60,12 @@
<nb_healthy>8</nb_healthy>
</testCase>
<testCase id="000023">
<class>Attach_UE</class>
<desc>Attach OAI UE (Wait for IP)</desc>
<id>rfsim5g_ue</id>
</testCase>
<testCase id="020021">
<class>Ping</class>
<desc>Ping ext-dn from all NR-UEs</desc>
@@ -30,6 +30,7 @@
100011
000011
000012
000013
020011
020012
030011
@@ -61,6 +62,12 @@
<nb_healthy>7</nb_healthy>
</testCase>
<testCase id="000013">
<class>Attach_UE</class>
<desc>Attach OAI UE (Wait for IP)</desc>
<id>rfsim5g_ue</id>
</testCase>
<testCase id="020011">
<class>Ping</class>
<desc>Ping ext-dn from NR-UE</desc>
@@ -30,6 +30,7 @@
100001
000001
000002
000003
020001
020002
030001
@@ -61,6 +62,12 @@
<nb_healthy>7</nb_healthy>
</testCase>
<testCase id="000003">
<class>Attach_UE</class>
<desc>Attach OAI UE (Wait for IP)</desc>
<id>rfsim5g_ue</id>
</testCase>
<testCase id="020001">
<class>Ping</class>
<desc>Ping ext-dn from NR-UE</desc>
@@ -30,6 +30,7 @@
100001
000001
000002
000003
020001
020002
030001
@@ -61,6 +62,12 @@
<nb_healthy>7</nb_healthy>
</testCase>
<testCase id="000003">
<class>Attach_UE</class>
<desc>Attach OAI UE (Wait for IP)</desc>
<id>rfsim5g_ue</id>
</testCase>
<testCase id="020001">
<class>Ping</class>
<desc>Ping ext-dn from NR-UE</desc>
@@ -27,6 +27,7 @@
<TestCaseRequestedList>
111111
000020
000021
020021
100021
100022
@@ -48,6 +49,12 @@
<nb_healthy>2</nb_healthy>
</testCase>
<testCase id="000021">
<class>Attach_UE</class>
<desc>Attach OAI UE (Wait for IP)</desc>
<id>rfsim5g_ue</id>
</testCase>
<testCase id="020021">
<class>Ping</class>
<desc>Test Connectivity (ping)</desc>
@@ -30,6 +30,7 @@
100001
000001
000002
000003
020001
020002
030001
@@ -61,6 +62,12 @@
<nb_healthy>7</nb_healthy>
</testCase>
<testCase id="000003">
<class>Attach_UE</class>
<desc>Attach OAI UE (Wait for IP)</desc>
<id>rfsim5g_ue</id>
</testCase>
<testCase id="020001">
<class>Ping</class>
<desc>Ping ext-dn from NR-UE</desc>