Skip to content

Commit 67db893

Browse files
FabianEckermannFabian Eckermann
authored andcommitted
ci: fix configuration for inter-cu ho iperf test
1 parent 1bc1494 commit 67db893

File tree

1 file changed

+29
-17
lines changed

1 file changed

+29
-17
lines changed

tests/e2e/tests/steps/stub.py

Lines changed: 29 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -903,24 +903,17 @@ def multi_ue_mobility_iperf(
903903
Do mobility with multiple UEs
904904
"""
905905

906-
logging.info("Mobility Test (iPerf%s)", ", allowing failure)" if allow_failure else "")
906+
logging.info(
907+
"%s-CU Mobility Test (iPerf%s)",
908+
"Inter" if len(gnb_array) == 2 else "Intra",
909+
", allowing failure" if allow_failure else "",
910+
)
907911

908912
original_position = (0, 0, 0)
909913

910-
configure_test_parameters(
911-
retina_manager=retina_manager,
912-
retina_data=retina_data,
913-
band=band,
914-
common_scs=common_scs,
915-
bandwidth=bandwidth,
916-
sample_rate=sample_rate,
917-
global_timing_advance=global_timing_advance,
918-
time_alignment_calibration=time_alignment_calibration,
919-
noise_spd=noise_spd,
920-
num_cells=2,
921-
cell_position_offset=cell_position_offset,
922-
log_ip_level="debug",
923-
warning_allowlist=[
914+
warning_allowlist = []
915+
if allow_failure:
916+
warning_allowlist = [
924917
"MAC max KOs reached",
925918
"Reached maximum number of RETX",
926919
"UL buffering timed out",
@@ -934,7 +927,23 @@ def multi_ue_mobility_iperf(
934927
"Discarding PDU",
935928
"PDCP unpacking did not provide any SDU",
936929
"Could not allocate Paging's DCI in PDCCH",
937-
],
930+
]
931+
932+
configure_test_parameters(
933+
retina_manager=retina_manager,
934+
retina_data=retina_data,
935+
band=band,
936+
common_scs=common_scs,
937+
bandwidth=bandwidth,
938+
sample_rate=sample_rate,
939+
global_timing_advance=global_timing_advance,
940+
time_alignment_calibration=time_alignment_calibration,
941+
noise_spd=noise_spd,
942+
num_cells=2,
943+
cell_position_offset=cell_position_offset,
944+
log_ip_level="debug",
945+
warning_allowlist=warning_allowlist,
946+
enable_2gnbs=(gnb_array is not None and len(gnb_array) == 2),
938947
)
939948

940949
configure_artifacts(
@@ -946,7 +955,10 @@ def multi_ue_mobility_iperf(
946955
ue_array=ue_array,
947956
gnb_array=gnb_array,
948957
fivegc=fivegc,
949-
gnb_post_cmd=("log --cu_level=debug --hex_max_size=32", "log --mac_level=debug"),
958+
gnb_post_cmd=(
959+
"log --cu_level=debug --f1ap_level=debug --ngap_level=debug --hex_max_size=32",
960+
"log --du_level=debug",
961+
),
950962
)
951963

952964
ue_attach_info_dict = ue_start_and_attach(

0 commit comments

Comments
 (0)