Skip to content

Commit 356a9df

Browse files
asaezpercodebot
authored andcommitted
ci,e2e: fix 64 ues ping
1 parent eaa4f6d commit 356a9df

File tree

4 files changed

+72
-5
lines changed

4 files changed

+72
-5
lines changed

.gitlab/ci/e2e.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ amari 32UE [ping]:
257257
variables:
258258
MARKERS: "zmq and not smoke"
259259
RETINA_PARAM_ARGS: "gnb.all.pcap=True gnb.all.rlc_enable=False gnb.all.enable_integrity_protection=True"
260-
KEYWORDS: ping
260+
KEYWORDS: "ping and 32"
261261

262262
amari 32UE 2x2 mimo:
263263
extends: .zmq-uesim
@@ -283,7 +283,15 @@ cudu amari 32UE:
283283
RETINA_PARAM_ARGS: "gnb.all.pcap=True gnb.all.rlc_enable=False gnb.all.enable_integrity_protection=True"
284284
parallel:
285285
matrix:
286-
- KEYWORDS: ["ping", "iperf and tcp and not band:3 and bandwidth:50"]
286+
- KEYWORDS: ["iperf and tcp and not band:3 and bandwidth:50"]
287+
288+
cudu amari 64UE:
289+
extends: .zmq
290+
variables:
291+
TESTBED: zmq_cudu
292+
MARKERS: "zmq and not smoke"
293+
RETINA_PARAM_ARGS: "gnb.all.pcap=True gnb.all.rlc_enable=False gnb.all.enable_integrity_protection=True"
294+
KEYWORDS: "ping and 64"
287295

288296
################################################################################
289297
# TEST MODE

.gitlab/ci/e2e/retina_request_zmq.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
image: ${RETINA_REGISTRY_PREFIX}/amarisoftue:${AMARISOFT_VERSION}_${RETINA_VERSION}
1212
labels:
1313
- ${ZMQ_HOSTLABEL_0}
14-
nof_ports: 32
14+
nof_ports: 64
1515
requirements:
1616
arch: amd64
1717
cpu:

.gitlab/ci/e2e/retina_request_zmq_cudu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
image: ${RETINA_REGISTRY_PREFIX}/amarisoftue:${AMARISOFT_VERSION}_${RETINA_VERSION}
1212
labels:
1313
- ${ZMQ_HOSTLABEL_0}
14-
nof_ports: 32
14+
nof_ports: 64
1515
requirements:
1616
arch: amd64
1717
cpu:

tests/e2e/tests/ping.py

Lines changed: 60 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,66 @@ def test_android_hp(
215215
],
216216
)
217217
# pylint: disable=too-many-arguments,too-many-positional-arguments
218-
def test_zmq(
218+
def test_zmq_32(
219+
retina_manager: RetinaTestManager,
220+
retina_data: RetinaTestData,
221+
ue_32: Tuple[UEStub, ...],
222+
fivegc: FiveGCStub,
223+
gnb: GNBStub,
224+
band: int,
225+
common_scs: int,
226+
bandwidth: int,
227+
ciphering: bool,
228+
):
229+
"""
230+
ZMQ Pings
231+
"""
232+
233+
_ping(
234+
retina_manager=retina_manager,
235+
retina_data=retina_data,
236+
ue_array=ue_32,
237+
gnb=gnb,
238+
fivegc=fivegc,
239+
band=band,
240+
common_scs=common_scs,
241+
bandwidth=bandwidth,
242+
sample_rate=None, # default from testbed
243+
global_timing_advance=0,
244+
time_alignment_calibration=0,
245+
ue_stop_timeout=3,
246+
enable_security_mode=ciphering,
247+
post_command=("cu_cp --inactivity_timer=600", ""),
248+
)
249+
250+
251+
@mark.parametrize(
252+
"band, common_scs, bandwidth, ciphering",
253+
(
254+
param(3, 15, 5, False, id="band:%s-scs:%s-bandwidth:%s-ciphering:%s"),
255+
param(3, 15, 10, False, marks=mark.test, id="band:%s-scs:%s-bandwidth:%s-ciphering:%s"),
256+
param(3, 15, 20, False, id="band:%s-scs:%s-bandwidth:%s-ciphering:%s"),
257+
param(3, 15, 50, False, id="band:%s-scs:%s-bandwidth:%s-ciphering:%s"),
258+
param(3, 15, 50, True, id="band:%s-scs:%s-bandwidth:%s-ciphering:%s"),
259+
param(41, 30, 10, False, id="band:%s-scs:%s-bandwidth:%s-ciphering:%s"),
260+
param(41, 30, 20, False, id="band:%s-scs:%s-bandwidth:%s-ciphering:%s"),
261+
param(41, 30, 50, False, id="band:%s-scs:%s-bandwidth:%s-ciphering:%s"),
262+
param(41, 30, 50, True, id="band:%s-scs:%s-bandwidth:%s-ciphering:%s"),
263+
),
264+
)
265+
@mark.zmq
266+
@mark.flaky(
267+
reruns=2,
268+
only_rerun=[
269+
"failed to start",
270+
"Attach timeout reached",
271+
"Some packages got lost",
272+
"socket is already closed",
273+
"5GC crashed",
274+
],
275+
)
276+
# pylint: disable=too-many-arguments,too-many-positional-arguments
277+
def test_zmq_64(
219278
retina_manager: RetinaTestManager,
220279
retina_data: RetinaTestData,
221280
ue_64: Tuple[UEStub, ...],

0 commit comments

Comments
 (0)