diff --git a/ci-scripts/conf_files/neighbour-config-ho.conf b/ci-scripts/conf_files/neighbour-config-ho.conf index 07d58e14e5..2b5bbb02bd 100644 --- a/ci-scripts/conf_files/neighbour-config-ho.conf +++ b/ci-scripts/conf_files/neighbour-config-ho.conf @@ -47,8 +47,8 @@ nr_measurement_configuration = { A3 = ({ physCellId = -1; #Default - offset = 10; - hysteresis = 0; - time_to_trigger = 1 + offset = 16; + hysteresis = 1; + time_to_trigger = 10; }) }; diff --git a/ci-scripts/xml_files/container_sa_f1_ho_b210_quectel.xml b/ci-scripts/xml_files/container_sa_f1_ho_b210_quectel.xml index 2804e3c14e..53f7e006d9 100644 --- a/ci-scripts/xml_files/container_sa_f1_ho_b210_quectel.xml +++ b/ci-scripts/xml_files/container_sa_f1_ho_b210_quectel.xml @@ -59,9 +59,9 @@ Custom_Command - Set attenuator to 0 for DU0 and 17 for DU1 + Set attenuator to 0 for DU0 and 22 for DU1 rocket - python3 %%workspace%%/ci-scripts/attenuatorctl.py -s 1,2 0 -s 3,4 25 + python3 %%workspace%%/ci-scripts/attenuatorctl.py -s 1,2 0 -s 3,4 22 @@ -76,8 +76,8 @@ Deploy_Object Deploy gNB-DU0 (TDD/Band77/20MHz/B210) in a container ci-scripts/yaml_files/5g_sa_f1_b210_ho - oai-du0 groot + oai-du0 @@ -94,26 +94,11 @@ raspix - - Ping - Ping: 100pings in 20sec - raspix - oc-cn5g-00103-ho - -c 100 -i 0.2 - 5 - - - - IdleSleep - Sleep - 5 - - Custom_Command - Attenuate DU0 by 15 and remove the attenuation on DU1 to trigger Handover - rocket - python3 %%workspace%%/ci-scripts/attenuatorctl.py -r 1,2 15 -r 3,4 0 -d 5 + UE connected to DU0? + groot + echo ci fetch_du_by_ue_id | ncat 127.0.0.1 9090 | grep "3584" @@ -122,7 +107,30 @@ raspix oc-cn5g-00103-ho -c 50 -i 0.2 - 5 + 30 + + + + Custom_Command + Set attenuation 5 on DU 0 and remove attenuation on DU 1 to test Reestablishment on a different DU (DU 1) + rocket + python3 %%workspace%%/ci-scripts/attenuatorctl.py -r 1,2 5 -r 3,4 0 -d 5 + + + + Custom_Command + Trigger Reestablishment (on DU 0) + groot + echo ci force_reestab | ncat 127.0.0.1 9091 | grep -E 'Reset RLC counters of UE RNTI [0-9a-f]{4} to trigger reestablishment' + + + + Ping + Ping: 50pings in 10sec + raspix + oc-cn5g-00103-ho + -c 50 -i 0.2 + 30 @@ -134,9 +142,23 @@ Custom_Command - Attenuate DU1 by 17dB and remove attenuation on DU0 to trigger Handover + Verify Reestablishment (on CU) + groot + echo ci get_reestab_count | ncat 127.0.0.1 9090 | grep -E 'UE RNTI [0-9a-f]{4} reestab 1' + + + + Custom_Command + Remove attenuation on DU 0 and set attenuation on DU 1 to 5 to test Reestablishment on a different DU (DU 0) rocket - python3 %%workspace%%/ci-scripts/attenuatorctl.py -r 1,2 0 -r 3,4 25 -d 5 + python3 %%workspace%%/ci-scripts/attenuatorctl.py -r 1,2 0 -r 3,4 5 -d 5 + + + + Custom_Command + Trigger Reestablishment (on DU 1) + rocket + echo ci force_reestab | ncat 127.0.0.1 9091 | grep -E 'Reset RLC counters of UE RNTI [0-9a-f]{4} to trigger reestablishment' @@ -145,7 +167,7 @@ raspix oc-cn5g-00103-ho -c 50 -i 0.2 - 5 + 30 @@ -157,9 +179,16 @@ Custom_Command - Attenuate DU0 by 15 and remove the attenuation on DU1 to trigger Handover + Verify Reestablishment (on CU) + groot + echo ci get_reestab_count | ncat 127.0.0.1 9090 | grep -E 'UE RNTI [0-9a-f]{4} reestab 2' + + + + Custom_Command + Attenuate DU0 by 22 and remove the attenuation on DU1 to trigger Handover rocket - python3 %%workspace%%/ci-scripts/attenuatorctl.py -r 1,2 15 -r 3,4 0 -d 5 + python3 %%workspace%%/ci-scripts/attenuatorctl.py -r 1,2 22 -r 3,4 0 -d 5 @@ -168,7 +197,53 @@ raspix oc-cn5g-00103-ho -c 50 -i 0.2 - 5 + 30 + + + + Custom_Command + UE connected to DU1? + groot + echo ci fetch_du_by_ue_id | ncat 127.0.0.1 9090 | grep "3585" + + + + Custom_Command + Attenuate DU1 by 22dB and remove attenuation on DU0 to trigger Handover + rocket + python3 %%workspace%%/ci-scripts/attenuatorctl.py -r 1,2 0 -r 3,4 22 -d 5 + + + + Ping + Ping: 50pings in 10sec + raspix + oc-cn5g-00103-ho + -c 50 -i 0.2 + 30 + + + + Custom_Command + UE connected to DU0? + groot + echo ci fetch_du_by_ue_id | ncat 127.0.0.1 9090 | grep "3584" + + + + Custom_Command + Attenuate DU0 by 22 and remove the attenuation on DU1 to trigger Handover + rocket + python3 %%workspace%%/ci-scripts/attenuatorctl.py -r 1,2 22 -r 3,4 0 -d 5 + + + + Ping + Ping: 50pings in 10sec + raspix + oc-cn5g-00103-ho + -c 50 -i 0.2 + 30 diff --git a/ci-scripts/xml_files/container_sa_n2_ho_b210_quectel.xml b/ci-scripts/xml_files/container_sa_n2_ho_b210_quectel.xml index 1f4c7c1981..06fff38745 100644 --- a/ci-scripts/xml_files/container_sa_n2_ho_b210_quectel.xml +++ b/ci-scripts/xml_files/container_sa_n2_ho_b210_quectel.xml @@ -55,7 +55,7 @@ Custom_Command Set initial attenuation on target gNB rocket - python3 %%workspace%%/ci-scripts/attenuatorctl.py -s 1,2 0 -s 3,4 25 + python3 %%workspace%%/ci-scripts/attenuatorctl.py -s 1,2 0 -s 3,4 22 @@ -103,9 +103,9 @@ Custom_Command - Gradually attenuate gNB-PCI0 (ch1-2=15dB) and gNB-PCI1 (ch3-4=0dB) over 5s to trigger N2 Handover to gNB-PCI1 + Gradually attenuate gNB-PCI0 (ch1-2=22dB) and gNB-PCI1 (ch3-4=0dB) over 5s to trigger N2 Handover to gNB-PCI1 rocket - python3 %%workspace%%/ci-scripts/attenuatorctl.py -r 1,2 15 -r 3,4 0 -d 5 + python3 %%workspace%%/ci-scripts/attenuatorctl.py -r 1,2 22 -r 3,4 0 -d 5 @@ -126,9 +126,9 @@ Custom_Command - Gradually attenuate gNB-PCI0 (ch1-2=0dB) and gNB-PCI1 (ch3-4=15dB) over 5s to trigger N2 Handover back to gNB-PCI0 + Gradually attenuate gNB-PCI0 (ch1-2=0dB) and gNB-PCI1 (ch3-4=22dB) over 5s to trigger N2 Handover back to gNB-PCI0 rocket - python3 %%workspace%%/ci-scripts/attenuatorctl.py -r 1,2 0 -r 3,4 25 -d 5 + python3 %%workspace%%/ci-scripts/attenuatorctl.py -r 1,2 0 -r 3,4 22 -d 5