From 5fa52ecf76adedda7068004687417de9f66cb051 Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Thu, 4 Apr 2024 08:11:43 +0200 Subject: [PATCH] CI RFsim-4G: wait for attach, instead of sleep For various reasons, the UE might take longer to connect to the eNB. A simple sleep might not be enough; instead, use Attach() to actively wait that the UE gets an IP address. The added bonus of this function is that it will also stop&restart a UE if it did not attach, i.e., it will try multiple times to attach the UE. --- ci-scripts/xml_files/container_4g_rfsim_fdd_05MHz.xml | 8 +++++++- ci-scripts/xml_files/container_4g_rfsim_fdd_10MHz.xml | 8 +++++++- ci-scripts/xml_files/container_4g_rfsim_fdd_20MHz.xml | 8 +++++++- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/ci-scripts/xml_files/container_4g_rfsim_fdd_05MHz.xml b/ci-scripts/xml_files/container_4g_rfsim_fdd_05MHz.xml index 9f88fb71ef..36b67a70b4 100644 --- a/ci-scripts/xml_files/container_4g_rfsim_fdd_05MHz.xml +++ b/ci-scripts/xml_files/container_4g_rfsim_fdd_05MHz.xml @@ -34,7 +34,7 @@ 000013 000001 000014 - 000002 + 000015 020011 020012 030011 @@ -94,6 +94,12 @@ 9 + + Attach_UE + Attach OAI UE (Wait for IP) + rfsim4g_ue + + Ping Ping Traffic-Gen from LTE-UE diff --git a/ci-scripts/xml_files/container_4g_rfsim_fdd_10MHz.xml b/ci-scripts/xml_files/container_4g_rfsim_fdd_10MHz.xml index d058f9f150..f37812ecb2 100644 --- a/ci-scripts/xml_files/container_4g_rfsim_fdd_10MHz.xml +++ b/ci-scripts/xml_files/container_4g_rfsim_fdd_10MHz.xml @@ -34,7 +34,7 @@ 000013 000001 000014 - 000002 + 000015 020011 020012 030011 @@ -94,6 +94,12 @@ 9 + + Attach_UE + Attach OAI UE (Wait for IP) + rfsim4g_ue + + Ping Ping Traffic-Gen from LTE-UE diff --git a/ci-scripts/xml_files/container_4g_rfsim_fdd_20MHz.xml b/ci-scripts/xml_files/container_4g_rfsim_fdd_20MHz.xml index 280814a888..db157a5138 100644 --- a/ci-scripts/xml_files/container_4g_rfsim_fdd_20MHz.xml +++ b/ci-scripts/xml_files/container_4g_rfsim_fdd_20MHz.xml @@ -34,7 +34,7 @@ 000013 000001 000014 - 000002 + 000015 020011 020012 030011 @@ -94,6 +94,12 @@ 9 + + Attach_UE + Attach OAI UE (Wait for IP) + rfsim4g_ue + + Ping Ping Traffic-Gen from LTE-UE