Skip to content

Commit 2cb4119

Browse files
asaezpercodebot
authored andcommitted
ci,e2e: smoke cu du tests
1 parent 7beefdd commit 2cb4119

File tree

4 files changed

+99
-2
lines changed

4 files changed

+99
-2
lines changed

.gitlab/ci/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,9 +325,13 @@ variables:
325325
rm -Rf build_time_metrics.txt
326326
else
327327
mv ${CI_PROJECT_DIR}/build/apps/gnb/gnb /tmp/gnb
328+
mv ${CI_PROJECT_DIR}/build/apps/cu/srscu /tmp/srscu
329+
mv ${CI_PROJECT_DIR}/build/apps/du/srsdu /tmp/srsdu
328330
cd build
329331
make clean
330332
mv /tmp/gnb ${CI_PROJECT_DIR}/build/apps/gnb/gnb
333+
mv /tmp/srscu ${CI_PROJECT_DIR}/build/apps/cu/srscu
334+
mv /tmp/srsdu ${CI_PROJECT_DIR}/build/apps/du/srsdu
331335
fi
332336
timeout: 4h
333337
artifacts: &build_artifacts

.gitlab/ci/e2e.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,20 @@ amari 32UE memcheck:
368368
- *txrx-lib
369369
- *retina-needs
370370

371+
amari 4 cudu:
372+
extends: .zmq
373+
variables:
374+
TESTBED: zmq_cudu
375+
MARKERS: "smoke"
376+
RETINA_PARAM_ARGS: "gnb.all.pcap=True gnb.all.mac_enable=True gnb.all.rlc_enable=True gnb.all.enable_integrity_protection=True"
377+
E2E_LOG_LEVEL: "warning"
378+
allow_failure: true
379+
needs:
380+
- job: "basic relwithdeb"
381+
artifacts: true
382+
- *txrx-lib
383+
- *retina-needs
384+
371385
################################################################################
372386
# TEST MODE
373387
################################################################################
@@ -551,7 +565,7 @@ viavi:
551565
# "fading and 32UE",
552566
"birth-death and 1UE",
553567
# "birth-death and 32UE",
554-
"32UE and experimental"
568+
"32UE and experimental",
555569
]
556570

557571
viavi-debug:

.gitlab/ci/e2e/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ GNB_REMOTE_PATH=/usr/local/bin/gnb
22
GNB_IS_EXECUTABLE=true
33
SRSGNB_REGISTRY_URI=registry.gitlab.com/softwareradiosystems/srsgnb
44
RETINA_REGISTRY_PREFIX=registry.gitlab.com/softwareradiosystems/ci/retina
5-
RETINA_VERSION=0.50.6
5+
RETINA_VERSION=0.50.8
66
UBUNTU_VERSION=24.04
77
AMARISOFT_VERSION=2023-09-08
88
SRSUE_VERSION=23.11
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
#
2+
# Copyright 2013-2024 Software Radio Systems Limited
3+
#
4+
# By using this file, you agree to the terms and conditions set
5+
# forth in the LICENSE file which can be found at the top level of
6+
# the distribution.
7+
#
8+
9+
- name: amarisoft-ue
10+
type: ue
11+
image: ${RETINA_REGISTRY_PREFIX}/amarisoftue:${AMARISOFT_VERSION}_${RETINA_VERSION}
12+
labels:
13+
- ${ZMQ_HOSTLABEL_1}
14+
nof_ports: 32
15+
requirements:
16+
arch: amd64
17+
cpu:
18+
requests: 5
19+
limits: 5
20+
memory:
21+
requests: "26G"
22+
limits: "26G"
23+
ephemeral-storage:
24+
requests: "6G"
25+
limits: "6G"
26+
resources:
27+
- type: zmq
28+
- type: license
29+
model: amarisoft-5g
30+
shared_files:
31+
- local_path: ${AMARISOFT_TXRX_BINARY_PATH}
32+
remote_path: /opt/lteue/trx_srsran.so
33+
is_executable: true
34+
35+
- name: srs-gnb
36+
type: gnb
37+
image: ${RETINA_REGISTRY_PREFIX}/srscudu:${RETINA_VERSION}
38+
labels:
39+
- ${ZMQ_HOSTLABEL_1}
40+
requirements:
41+
arch: amd64
42+
cpu:
43+
requests: 5
44+
limits: 5
45+
memory:
46+
requests: "26G"
47+
limits: "26G"
48+
ephemeral-storage:
49+
requests: "15G"
50+
limits: "15G"
51+
resources:
52+
- type: zmq
53+
shared_files:
54+
- local_path: ${GNB_BINARY_PATH}
55+
remote_path: ${GNB_REMOTE_PATH}
56+
is_executable: ${GNB_IS_EXECUTABLE}
57+
- local_path: ../../build/apps/cu/srscu
58+
remote_path: /usr/local/bin/srscu
59+
is_executable: true
60+
- local_path: ../../build/apps/du/srsdu
61+
remote_path: /usr/local/bin/srsdu
62+
is_executable: true
63+
64+
- name: open5gs
65+
type: 5gc
66+
requirements:
67+
arch: amd64
68+
cpu:
69+
requests: 1
70+
limits: 1
71+
memory:
72+
requests: "8G"
73+
limits: "8G"
74+
ephemeral-storage:
75+
requests: "6G"
76+
limits: "6G"
77+
image: ${RETINA_REGISTRY_PREFIX}/open5gs:${OPEN5GS_VERSION}_${RETINA_VERSION}
78+
labels:
79+
- ${ZMQ_HOSTLABEL_1}

0 commit comments

Comments
 (0)