Skip to content

Commit b136a43

Browse files
author
codebot
committed
Update main
# Conflicts: # lib/ran/gnb_format.h
2 parents 374ddb5 + 99d1742 commit b136a43

File tree

216 files changed

+4644
-2599
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

216 files changed

+4644
-2599
lines changed

.gitlab-ci.yml

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ include:
3636
- project: softwareradiosystems/ci/tools
3737
ref: "20"
3838
file: .gitlab/ci-shared/tools/test_reporter.yml
39+
- project: softwareradiosystems/ci/tools
40+
ref: "20"
41+
file: .gitlab/ci-shared/tools/tagger.yml
3942
- local: .gitlab/ci/builders/version.yml
4043
- local: .gitlab/ci/build.yml
4144
- local: .gitlab/ci/trx.yml
@@ -281,6 +284,7 @@ clangsa:
281284
tags:
282285
- ${AMD64_TAG}
283286
interruptible: false
287+
timeout: 2 hours
284288
script:
285289
- |
286290
mkdir -p build
@@ -457,13 +461,28 @@ pages:
457461
# Release dryrun
458462
################################################################################
459463
update agpl main dryrun:
460-
extends: .update agpl main
464+
extends: update private branch
461465
stage: .post
462466
rules:
463467
- if: $CI_DESCRIPTION =~ /Nightly Build Unit Tests/
464468
when: always
465-
variables:
466-
MODE: "dryrun"
469+
variables:
470+
PRIVATE_BRANCH: agpl_main
471+
HEADERS: "true"
472+
MODE: "dryrun"
473+
needs: []
474+
475+
create-tags:
476+
extends: .create-tag
477+
stage: .post
478+
rules:
479+
- if: $CI_DESCRIPTION =~ /Nightly Build Unit Tests/
480+
when: always
481+
script:
482+
- |
483+
for name in $TAG_NAME_ARRAY; do
484+
create_tag "${name}_$(date -u +"%Y.%m.%d")"
485+
done
467486
needs: []
468487

469488
################################################################################

.gitlab/ci/build.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,16 @@ variables:
133133
artifacts: false
134134
before_script:
135135
- !reference [.fetch_src_cache, script]
136+
- |
137+
# Print build parameters
138+
echo "INFRASTRUCTURE_TAG=${INFRASTRUCTURE_TAG}"
139+
echo "OS=${OS}"
140+
echo "COMPILER=${COMPILER}"
141+
echo "TEST_MODE=${TEST_MODE}"
142+
echo "BUILD_ARGS=${BUILD_ARGS}"
143+
echo "MAKE_ARGS=${MAKE_ARGS}"
144+
echo "UHD_VERSION=${UHD_VERSION}"
145+
echo "DPDK_VERSION=${DPDK_VERSION}"
136146
- |
137147
build_srsgnb() {
138148
start_time=$(date +%s)
@@ -196,7 +206,7 @@ variables:
196206
197207
if [ -n "${DPDK_VERSION}" ]; then
198208
BUILD_CMD="-d ${DPDK_VERSION} ${BUILD_CMD}"
199-
export LD_LIBRARY_PATH=/opt/dpdk/${DPDK_VERSION}/lib/x86_64-linux-gnu/
209+
export LD_LIBRARY_PATH=/opt/dpdk/${DPDK_VERSION}/lib/x86_64-linux-gnu/:/opt/dpdk/${DPDK_VERSION}/lib/aarch64-linux-gnu/:${LD_LIBRARY_PATH}
200210
fi
201211
if [ -n "${UHD_VERSION}" ]; then
202212
BUILD_CMD="-u ${UHD_VERSION} ${BUILD_CMD}"
@@ -333,7 +343,7 @@ variables:
333343
mv /tmp/srscu ${CI_PROJECT_DIR}/build/apps/cu/srscu
334344
mv /tmp/srsdu ${CI_PROJECT_DIR}/build/apps/du/srsdu
335345
fi
336-
timeout: 4h
346+
timeout: 6h
337347
artifacts: &build_artifacts
338348
when: always
339349
reports:

.gitlab/ci/docker.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -277,11 +277,8 @@ grafana server image latest:
277277
changes:
278278
<<: *srs_container_changes
279279
variables:
280-
MODE: build
281280
- if: $CI_DESCRIPTION =~ /Nightly Build Unit Tests/
282281
interruptible: false
283-
variables:
284-
MODE: publish
285282
variables:
286283
KUBERNETES_CPU_REQUEST: 6
287284
KUBERNETES_CPU_LIMIT: 6
@@ -290,13 +287,14 @@ grafana server image latest:
290287
REGISTRY_URI: $GITLAB_REGISTRY_URI
291288
CONTEXT: ${CI_PROJECT_DIR}
292289
DOCKERFILE: docker
293-
VERSION: latest
294-
OVERWRITE: "true"
290+
MODE: build
291+
timeout: 2 hours
295292
tags:
296293
- ${TAG}
297294
before_script:
298295
- |
299-
export NAME="srsran_${SPLIT}_${SUFFIX}"
296+
export NAME="srsran-project"
297+
export VERSION="${SPLIT}_${SUFFIX}"
300298
export BUILD_ARGS="LIB=${LIB};LIB_VERSION=${LIB_VERSION};ARCH=${ARCH};NUM_CORES=${KUBERNETES_CPU_LIMIT};EXTRA_CMAKE_ARGS=\"${EXTRA_CMAKE_ARGS}\""
301299
needs:
302300
- job: gnb docker compose

.gitlab/ci/e2e.yml

Lines changed: 35 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,15 @@ e2e request and config validation:
139139
reports:
140140
junit: tests/e2e/out.xml
141141
script:
142+
- |
143+
# Print E2E parameters
144+
echo "TESTBED=${TESTBED}"
145+
echo "MARKERS=${MARKERS}"
146+
echo "KEYWORDS=${KEYWORDS}"
147+
echo "PYTEST_ARGS=${PYTEST_ARGS}"
148+
echo "RETINA_PARAM_ARGS=${RETINA_PARAM_ARGS}"
149+
echo "RETINA_LAUNCHER_ARGS=${RETINA_LAUNCHER_ARGS}"
150+
echo "E2E_LOG_LEVEL=${E2E_LOG_LEVEL}"
142151
# Clean LFS files
143152
- |
144153
while read -r line; do
@@ -151,11 +160,9 @@ e2e request and config validation:
151160
- |
152161
echo "" >> .gitlab/ci/e2e/.env
153162
cat $RETINA_CONFIG_ENV >> .gitlab/ci/e2e/.env
154-
155-
echo -e "\nGNB_BINARY_PATH=../../" >> .gitlab/ci/e2e/.env
156-
echo -e "\nGNB_REMOTE_PATH=$CI_PROJECT_DIR" >> .gitlab/ci/e2e/.env
157-
echo -e "\nis_executable=false" >> .gitlab/ci/e2e/.env
158-
163+
# Modify request to shared the complete folder with the gnb container
164+
- |
165+
yq -i '(.[] | select(.type == "gnb") | .shared_files) += [{"local_path": "../../", "remote_path": env(CI_PROJECT_DIR), "is_executable": false}]' ${CI_PROJECT_DIR}/.gitlab/ci/e2e/retina_request_${TESTBED}.yml
159166
# Set username for retina
160167
- |
161168
cd tests/e2e
@@ -368,19 +375,39 @@ amari 32UE memcheck:
368375
- *txrx-lib
369376
- *retina-needs
370377

371-
amari 4 cudu:
378+
cudu amari 8UE:
372379
extends: .zmq
373380
variables:
374381
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"
382+
MARKERS: "zmq and not smoke"
377383
E2E_LOG_LEVEL: "info"
384+
RETINA_PARAM_ARGS: "gnb.all.pcap=True gnb.all.rlc_enable=False gnb.all.enable_integrity_protection=True"
378385
allow_failure: true
379386
needs:
380387
- job: "basic relwithdeb"
381388
artifacts: true
382389
- *txrx-lib
383390
- *retina-needs
391+
parallel:
392+
matrix:
393+
- KEYWORDS: ["reestablishment and sequentially"]
394+
395+
cudu amari 32UE:
396+
extends: .zmq
397+
variables:
398+
TESTBED: zmq_cudu
399+
MARKERS: "zmq and not smoke"
400+
E2E_LOG_LEVEL: "info"
401+
RETINA_PARAM_ARGS: "gnb.all.pcap=True gnb.all.rlc_enable=False gnb.all.enable_integrity_protection=True"
402+
allow_failure: true
403+
needs:
404+
- job: "basic relwithdeb"
405+
artifacts: true
406+
- *txrx-lib
407+
- *retina-needs
408+
parallel:
409+
matrix:
410+
- KEYWORDS: ["ping", "iperf and tcp and not band:3 and bandwidth:50"]
384411

385412
################################################################################
386413
# TEST MODE

.gitlab/ci/e2e/.env

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
GNB_REMOTE_PATH=/usr/local/bin/gnb
2-
GNB_IS_EXECUTABLE=true
31
SRSGNB_REGISTRY_URI=registry.gitlab.com/softwareradiosystems/srsgnb
42
RETINA_REGISTRY_PREFIX=registry.gitlab.com/softwareradiosystems/ci/retina
5-
RETINA_VERSION=0.50.11
3+
RETINA_VERSION=0.51.5
64
UBUNTU_VERSION=24.04
75
AMARISOFT_VERSION=2023-09-08
86
SRSUE_VERSION=23.11

.gitlab/ci/e2e/retina_request_android_b200.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
- PATH: ${PATH}:/builds/softwareradiosystems/srsgnb/build/apps/gnb
4646
shared_files:
4747
- local_path: ${GNB_BINARY_PATH}
48-
remote_path: ${GNB_REMOTE_PATH}
49-
is_executable: ${GNB_IS_EXECUTABLE}
48+
remote_path: /usr/local/bin/gnb
49+
is_executable: true
5050

5151
- name: open5gs
5252
type: 5gc

.gitlab/ci/e2e/retina_request_android_n300.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
- PATH: ${PATH}:/builds/softwareradiosystems/srsgnb/build/apps/gnb
4747
shared_files:
4848
- local_path: ${GNB_BINARY_PATH}
49-
remote_path: ${GNB_REMOTE_PATH}
50-
is_executable: ${GNB_IS_EXECUTABLE}
49+
remote_path: /usr/local/bin/gnb
50+
is_executable: true
5151

5252
- name: open5gs
5353
type: 5gc

.gitlab/ci/e2e/retina_request_android_x300.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
- PATH: ${PATH}:/builds/softwareradiosystems/srsgnb/build/apps/gnb
4747
shared_files:
4848
- local_path: ${GNB_BINARY_PATH}
49-
remote_path: ${GNB_REMOTE_PATH}
50-
is_executable: ${GNB_IS_EXECUTABLE}
49+
remote_path: /usr/local/bin/gnb
50+
is_executable: true
5151

5252
- name: open5gs
5353
type: 5gc

.gitlab/ci/e2e/retina_request_rf_b200.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
- PATH: ${PATH}:/builds/softwareradiosystems/srsgnb/build/apps/gnb
5151
shared_files:
5252
- local_path: ${GNB_BINARY_PATH}
53-
remote_path: ${GNB_REMOTE_PATH}
54-
is_executable: ${GNB_IS_EXECUTABLE}
53+
remote_path: /usr/local/bin/gnb
54+
is_executable: true
5555

5656
- name: open5gs
5757
type: 5gc

.gitlab/ci/e2e/retina_request_test_mode.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
- PATH: ${PATH}:/builds/softwareradiosystems/srsgnb/build/apps/gnb
3030
shared_files:
3131
- local_path: ${GNB_BINARY_PATH}
32-
remote_path: ${GNB_REMOTE_PATH}
33-
is_executable: ${GNB_IS_EXECUTABLE}
32+
remote_path: /usr/local/bin/gnb
33+
is_executable: true
3434

3535
- name: open5gs
3636
type: 5gc

0 commit comments

Comments
 (0)