From 9af386c761d29e664f66e5464f6dc9dbfe8c7bc5 Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Thu, 29 Feb 2024 18:57:43 +0100 Subject: [PATCH] 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(!). --- ci-scripts/xml_files/container_5g_e1_rfsim.xml | 7 +++++++ ci-scripts/xml_files/container_5g_f1_rfsim.xml | 7 +++++++ ci-scripts/xml_files/container_5g_fdd_rfsim.xml | 7 +++++++ ci-scripts/xml_files/container_5g_rfsim_24prb.xml | 7 +++++++ ci-scripts/xml_files/container_5g_rfsim_2x2.xml | 7 +++++++ ci-scripts/xml_files/container_5g_rfsim_f1_accelleran.xml | 7 +++++++ ci-scripts/xml_files/container_5g_rfsim_u0_25prb.xml | 7 +++++++ 7 files changed, 49 insertions(+) diff --git a/ci-scripts/xml_files/container_5g_e1_rfsim.xml b/ci-scripts/xml_files/container_5g_e1_rfsim.xml index e23cffd0dd..e4ddb9e4d7 100644 --- a/ci-scripts/xml_files/container_5g_e1_rfsim.xml +++ b/ci-scripts/xml_files/container_5g_e1_rfsim.xml @@ -30,6 +30,7 @@ 000021 000022 000023 + 000024 020021 100021 @@ -66,6 +67,12 @@ 14 + + Attach_UE + Attach OAI UE (Wait for IP) + rfsim5g_ue rfsim5g_ue2 rfsim5g_ue3 + + Ping Ping ext-dn from all NR-UEs diff --git a/ci-scripts/xml_files/container_5g_f1_rfsim.xml b/ci-scripts/xml_files/container_5g_f1_rfsim.xml index 769de69e35..09b69730a3 100644 --- a/ci-scripts/xml_files/container_5g_f1_rfsim.xml +++ b/ci-scripts/xml_files/container_5g_f1_rfsim.xml @@ -29,6 +29,7 @@ 100021 000021 000022 + 000023 020021 030021 030022 @@ -59,6 +60,12 @@ 8 + + Attach_UE + Attach OAI UE (Wait for IP) + rfsim5g_ue + + Ping Ping ext-dn from all NR-UEs diff --git a/ci-scripts/xml_files/container_5g_fdd_rfsim.xml b/ci-scripts/xml_files/container_5g_fdd_rfsim.xml index 463cb3f2e8..59be0e3738 100644 --- a/ci-scripts/xml_files/container_5g_fdd_rfsim.xml +++ b/ci-scripts/xml_files/container_5g_fdd_rfsim.xml @@ -30,6 +30,7 @@ 100011 000011 000012 + 000013 020011 020012 030011 @@ -61,6 +62,12 @@ 7 + + Attach_UE + Attach OAI UE (Wait for IP) + rfsim5g_ue + + Ping Ping ext-dn from NR-UE diff --git a/ci-scripts/xml_files/container_5g_rfsim_24prb.xml b/ci-scripts/xml_files/container_5g_rfsim_24prb.xml index 4f838658ec..e90cbc309b 100644 --- a/ci-scripts/xml_files/container_5g_rfsim_24prb.xml +++ b/ci-scripts/xml_files/container_5g_rfsim_24prb.xml @@ -30,6 +30,7 @@ 100001 000001 000002 + 000003 020001 020002 030001 @@ -61,6 +62,12 @@ 7 + + Attach_UE + Attach OAI UE (Wait for IP) + rfsim5g_ue + + Ping Ping ext-dn from NR-UE diff --git a/ci-scripts/xml_files/container_5g_rfsim_2x2.xml b/ci-scripts/xml_files/container_5g_rfsim_2x2.xml index 45c311fd97..2b3f3413db 100644 --- a/ci-scripts/xml_files/container_5g_rfsim_2x2.xml +++ b/ci-scripts/xml_files/container_5g_rfsim_2x2.xml @@ -30,6 +30,7 @@ 100001 000001 000002 + 000003 020001 020002 030001 @@ -61,6 +62,12 @@ 7 + + Attach_UE + Attach OAI UE (Wait for IP) + rfsim5g_ue + + Ping Ping ext-dn from NR-UE diff --git a/ci-scripts/xml_files/container_5g_rfsim_f1_accelleran.xml b/ci-scripts/xml_files/container_5g_rfsim_f1_accelleran.xml index 5baa950549..fe02da00a0 100644 --- a/ci-scripts/xml_files/container_5g_rfsim_f1_accelleran.xml +++ b/ci-scripts/xml_files/container_5g_rfsim_f1_accelleran.xml @@ -27,6 +27,7 @@ 111111 000020 + 000021 020021 100021 100022 @@ -48,6 +49,12 @@ 2 + + Attach_UE + Attach OAI UE (Wait for IP) + rfsim5g_ue + + Ping Test Connectivity (ping) diff --git a/ci-scripts/xml_files/container_5g_rfsim_u0_25prb.xml b/ci-scripts/xml_files/container_5g_rfsim_u0_25prb.xml index c31d6c1843..f2f4d5e78e 100644 --- a/ci-scripts/xml_files/container_5g_rfsim_u0_25prb.xml +++ b/ci-scripts/xml_files/container_5g_rfsim_u0_25prb.xml @@ -30,6 +30,7 @@ 100001 000001 000002 + 000003 020001 020002 030001 @@ -61,6 +62,12 @@ 7 + + Attach_UE + Attach OAI UE (Wait for IP) + rfsim5g_ue + + Ping Ping ext-dn from NR-UE