Skip to content

Commit 55c984b

Browse files
author
codebot
committed
Update main
# Conflicts: # lib/du_high/mac_test_mode_adapter.cpp # lib/du_high/mac_test_mode_adapter.h # lib/phy/upper/logging_downlink_processor_decorator.h # lib/phy/upper/logging_uplink_processor_decorator.h # tests/unittests/phy/upper/channel_processors/prach_detector_test_data.tar.gz # tests/unittests/phy/upper/signal_processors/port_channel_estimator_test_data.tar.gz
2 parents 0fd7c93 + 61b56c9 commit 55c984b

File tree

290 files changed

+6717
-2554
lines changed

Some content is hidden

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

290 files changed

+6717
-2554
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ unit coverage:
325325
- job: intermediate commits
326326
optional: true
327327
artifacts: true
328-
- job: smoke relwithdeb update cache
328+
- job: smoke release update cache
329329
optional: true
330330
artifacts: true
331331

.gitlab/ci/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,6 @@ smoke dpdk:
958958
start_in: 90 minutes
959959
interruptible: false
960960
variables:
961-
COMPILER: clang
962961
ENABLE_UHD: "False"
963962
ENABLE_ZEROMQ: "False"
964963
ENABLE_DPDK: "True"
@@ -969,12 +968,16 @@ smoke dpdk:
969968
parallel:
970969
matrix:
971970
- OS: ubuntu-23.10
971+
COMPILER: [gcc, clang]
972972
DPDK_VERSION: ["22.11.2", "23.07"]
973973
- OS: ubuntu-23.04
974+
COMPILER: [gcc, clang]
974975
DPDK_VERSION: ["22.11.2", "23.07"]
975976
- OS: ubuntu-22.04
977+
COMPILER: [gcc, clang]
976978
DPDK_VERSION: ["22.11.2", "23.07"]
977979
- OS: ubuntu-20.04
980+
COMPILER: [gcc, clang]
978981
DPDK_VERSION: ["22.11.2", "23.07"]
979982

980983
###################
@@ -1533,10 +1536,10 @@ rhel-8 arm neon:
15331536

15341537
.dpdk_combinations: &basic_combinations_dpdk
15351538
<<: *basic_combinations
1536-
COMPILER: clang
15371539
ENABLE_UHD: "False"
15381540
ENABLE_ZEROMQ: "False"
15391541
ENABLE_DPDK: "True"
1542+
COMPILER: [gcc, clang]
15401543
DPDK_VERSION: ["22.11.2", "23.07"]
15411544

15421545
ubuntu-20.04 amd64 avx2 dpdk:

.gitlab/ci/builders.yml

Lines changed: 56 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ stages:
1616
- dependencies
1717
- publish
1818
- manifest
19+
- alt registries
1920

2021
################################################################################
2122
# UHD builder
@@ -63,9 +64,12 @@ stages:
6364
curl -LJO "https://github.com/EttusResearch/uhd/archive/refs/tags/v${uhd_version}.tar.gz"
6465
tar -xf "uhd-${uhd_version}.tar.gz"
6566
cd "uhd-${uhd_version}/host" && mkdir -p build && cd build
66-
cmake -DENABLE_LIBUHD=On -DCMAKE_INSTALL_PREFIX="${CI_PROJECT_DIR}/.gitlab/ci/builders/uhd/${uhd_version}" .. || cmake -DENABLE_LIBUHD=On -DCMAKE_INSTALL_PREFIX="${CI_PROJECT_DIR}/.gitlab/ci/builders/uhd/${uhd_version}" ..
67+
cmake -DENABLE_LIBUHD=On -DCMAKE_INSTALL_PREFIX="/opt/uhd/${uhd_version}" .. || cmake -DENABLE_LIBUHD=On -DCMAKE_INSTALL_PREFIX="/opt/uhd/${uhd_version}" ..
6768
make -j${KUBERNETES_CPU_REQUEST}
6869
make install
70+
71+
mkdir -p ${CI_PROJECT_DIR}/.gitlab/ci/builders/uhd
72+
cp -r /opt/uhd/${uhd_version} ${CI_PROJECT_DIR}/.gitlab/ci/builders/uhd/${uhd_version}
6973
}
7074
7175
# Publish compiled version to the registry
@@ -164,8 +168,11 @@ ubuntu-20.04-uhd:
164168
cd /tmp
165169
curl -L "https://fast.dpdk.org/rel/dpdk-${dpdk_version}.tar.xz" | tar -xJ
166170
cd dpdk*${dpdk_version}
167-
meson build --prefix "${CI_PROJECT_DIR}/.gitlab/ci/builders/dpdk/${dpdk_version}"
171+
meson build --prefix "/opt/dpdk/${dpdk_version}"
168172
ninja -C build install
173+
174+
mkdir -p ${CI_PROJECT_DIR}/.gitlab/ci/builders/dpdk
175+
cp -r /opt/dpdk/${dpdk_version} ${CI_PROJECT_DIR}/.gitlab/ci/builders/dpdk/${dpdk_version}
169176
}
170177
171178
# Publish compiled version to the registry
@@ -190,7 +197,7 @@ ubuntu-20.04-uhd:
190197
expire_in: 30 minutes
191198
parallel:
192199
matrix:
193-
- dpdk_version: ["21.08.PC802", "22.11.2", "23.07"]
200+
- dpdk_version: ["21.08", "22.11.2", "23.07"]
194201

195202
ubuntu-23.10-dpdk:
196203
extends: .ubuntu-dpdk-builder
@@ -473,3 +480,49 @@ docker manifest rhel 8:
473480
--amend ${CR_REGISTRY_URI}${CI_PROJECT_NAMESPACE#'softwareradiosystems'}/${CI_PROJECT_NAME}/builder-rhel-8:${VERSION}-amd64 \
474481
--amend ${CR_REGISTRY_URI}${CI_PROJECT_NAMESPACE#'softwareradiosystems'}/${CI_PROJECT_NAME}/builder-rhel-8:${VERSION}-arm64
475482
docker manifest push ${CR_REGISTRY_URI}${CI_PROJECT_NAMESPACE#'softwareradiosystems'}/${CI_PROJECT_NAME}/builder-rhel-8:${VERSION}
483+
484+
tag alt registries:
485+
extends: .docker manifest
486+
stage: alt registries
487+
variables:
488+
VERSION: $DOCKER_BUILDER_VERSION
489+
needs:
490+
- builder version
491+
- job: docker-builder-publish [archlinux, latest]
492+
artifacts: false
493+
- job: "docker-builder-publish [debian]: [11]"
494+
artifacts: false
495+
- job: "docker-builder-publish [debian]: [12]"
496+
artifacts: false
497+
- job: docker manifest ubuntu 20.04
498+
artifacts: false
499+
- job: docker manifest ubuntu 22.04
500+
artifacts: false
501+
- job: docker manifest ubuntu 23.04
502+
artifacts: false
503+
- job: docker manifest ubuntu 23.10
504+
artifacts: false
505+
- job: docker manifest rhel 8
506+
artifacts: false
507+
script:
508+
- |
509+
DEBIAN_FRONTEND=noninteractive apt-get update && \
510+
apt-get install -y --no-install-recommends skopeo
511+
- |
512+
skopeo copy \
513+
docker://${CR_REGISTRY_URI}${CI_PROJECT_NAMESPACE#'softwareradiosystems'}/${CI_PROJECT_NAME}/builder-$OS_NAME-$OS_VERSION:${VERSION} \
514+
docker://${ALT_REGISTRY}${CI_PROJECT_NAMESPACE#'softwareradiosystems'}/${CI_PROJECT_NAME}/builder-$OS_NAME-$OS_VERSION:${VERSION}
515+
parallel:
516+
matrix:
517+
- OS_NAME: ubuntu
518+
OS_VERSION: ["20.04", "22.04", "23.04", "23.10"]
519+
ALT_REGISTRY: ${GITLAB_REGISTRY_URI}
520+
- OS_NAME: debian
521+
OS_VERSION: ["11", "12"]
522+
ALT_REGISTRY: ${GITLAB_REGISTRY_URI}
523+
- OS_NAME: archlinux
524+
OS_VERSION: latest
525+
ALT_REGISTRY: ${GITLAB_REGISTRY_URI}
526+
- OS_NAME: rhel
527+
OS_VERSION: "8"
528+
ALT_REGISTRY: ${GITLAB_REGISTRY_URI}

.gitlab/ci/builders/archlinux/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RUN pacman-key --init \
1212
RUN install_dependencies.sh && pacman -Syu --noconfirm \
1313
git git-lfs \
1414
clang \
15-
ccache valgrind libelf libdwarf \
15+
ccache valgrind \
1616
python-pip
1717
RUN git lfs install && pip install --break-system-packages gcovr==5.0
1818

.gitlab/ci/builders/codechecker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ ADD install_dependencies.sh /usr/local/bin
88
RUN chmod +x /usr/local/bin/install_dependencies.sh
99

1010
RUN DEBIAN_FRONTEND=noninteractive apt-get update && install_dependencies.sh \
11-
&& apt-get autoremove && apt-get clean && rm -rf /var/lib/apt/lists/*
11+
&& apt-get autoremove && apt-get clean && rm -rf /var/lib/apt/lists/*

.gitlab/ci/builders/debian/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN TZ=Europe/Madrid && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $
99
RUN install_dependencies.sh && apt-get install -y --no-install-recommends \
1010
git git-lfs \
1111
clang llvm \
12-
ccache gcovr valgrind libelf-dev libdwarf-dev \
12+
ccache gcovr valgrind \
1313
python3-dev python3-venv \
1414
&& apt-get autoremove && apt-get clean && rm -rf /var/lib/apt/lists/* && git lfs install
1515

.gitlab/ci/builders/install_dependencies.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/bash
2-
32
#
43
# This script will install srsran dependencies
54
#
@@ -10,6 +9,8 @@
109
# E.g.: ./install_dependencies extra
1110
#
1211

12+
set -e
13+
1314
main() {
1415

1516
# Check number of args
@@ -37,7 +38,7 @@ main() {
3738
fi
3839
if [[ "$mode" == "all" || "$mode" == "extra" ]]; then
3940
DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y --no-install-recommends \
40-
libzmq3-dev libuhd-dev uhd-host libboost-program-options-dev libdpdk-dev
41+
libzmq3-dev libuhd-dev uhd-host libboost-program-options-dev libdpdk-dev libelf-dev libdwarf-dev
4142
fi
4243

4344
elif [[ "$ID" == "arch" ]]; then
@@ -48,7 +49,7 @@ main() {
4849
pacman -Syu --noconfirm fftw mbedtls yaml-cpp lksctp-tools gtest
4950
fi
5051
if [[ "$mode" == "all" || "$mode" == "extra" ]]; then
51-
pacman -Syu --noconfirm zeromq libuhd boost dpdk
52+
pacman -Syu --noconfirm zeromq libuhd boost dpdk libelf libdwarf
5253
fi
5354

5455
elif [[ "$ID" == "rhel" ]]; then
@@ -59,7 +60,7 @@ main() {
5960
dnf -y install fftw-devel lksctp-tools-devel yaml-cpp-devel mbedtls-devel
6061
fi
6162
if [[ "$mode" == "all" || "$mode" == "extra" ]]; then
62-
dnf -y install cppzmq-devel libusb1-devel boost-devel numactl-devel # dpdk
63+
dnf -y install cppzmq-devel libusb1-devel boost-devel numactl-devel # dpdk libelf libdwarf
6364
fi
6465

6566
fi

.gitlab/ci/builders/version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ builder version:
1414
temp_archive=$(mktemp)
1515
tar -cf "$temp_archive" -C "$@" --mtime='1970-01-01' --sort=name .
1616
17-
# Compute the hash of the archive using sha256sum
17+
# Generate the hash of the archive using sha256sum
1818
hash=$(sha256sum "$temp_archive" | cut -c 1-32)
1919
echo "$hash"
2020

.gitlab/ci/e2e.yml

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ load retina variables:
139139
sed -i "s|- local_path: ../../build/apps/gnb/gnb|- local_path: ../../|; s|remote_path: /usr/local/bin|remote_path: $CI_PROJECT_DIR|; s|is_executable: true|is_executable: false|" ${CI_PROJECT_DIR}/.gitlab/ci/e2e/retina_request_${TESTBED}.yml
140140
# Run Retina
141141
- |
142-
E2E_CMD="retina-launcher --retina-request=${CI_PROJECT_DIR}/.gitlab/ci/e2e/retina_request_${TESTBED}.yml --log-folder=./log --html=./log/report.html --self-contained-html --junitxml=out.xml ${PYTEST_ARGS} --reruns 3 --only-rerun ErrorReportedByAgent --only-rerun ValidationError -k '${KEYWORDS}' -m '${MARKERS}' --register-parameter ue.all.log_level=$E2E_LOG_LEVEL gnb.all.log_level=$E2E_LOG_LEVEL ${RETINA_ARGS}"
142+
E2E_CMD="retina-launcher --retina-request=${CI_PROJECT_DIR}/.gitlab/ci/e2e/retina_request_${TESTBED}.yml --log-folder=./log --html=./log/report.html --self-contained-html --junitxml=out.xml ${PYTEST_ARGS} -k '${KEYWORDS}' -m '${MARKERS}' --register-parameter ue.all.log_level=$E2E_LOG_LEVEL gnb.all.log_level=$E2E_LOG_LEVEL ${RETINA_ARGS}"
143143
echo "${E2E_CMD}"
144144
eval $E2E_CMD
145145
after_script:
@@ -304,37 +304,6 @@ zmq-valgrind:
304304
artifacts: true
305305
- *retina-needs
306306

307-
rf:
308-
extends: .rf
309-
variables:
310-
KEYWORDS: "not iperf"
311-
E2E_LOG_LEVEL: "info"
312-
allow_failure: true
313-
314-
rf-iperf-udp:
315-
extends: .rf
316-
variables:
317-
KEYWORDS: "iperf and udp"
318-
E2E_LOG_LEVEL: "info"
319-
allow_failure: true
320-
321-
rf-iperf-tcp:
322-
extends: .rf
323-
variables:
324-
KEYWORDS: "iperf and tcp"
325-
E2E_LOG_LEVEL: "info"
326-
allow_failure: true
327-
328-
rf-tsan:
329-
extends: .rf
330-
variables:
331-
MARKERS: "rf_not_crash"
332-
needs:
333-
- job: "smoke tsan update cache"
334-
artifacts: true
335-
- *retina-needs
336-
allow_failure: true
337-
338307
rf-asan:
339308
extends: .rf
340309
variables:

.gitlab/ci/e2e/.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
SRSGNB_REGISTRY_URI=registry.gitlab.com/softwareradiosystems/srsgnb
22
RETINA_REGISTRY_PREFIX=registry.gitlab.com/softwareradiosystems/ci/retina
3-
RETINA_VERSION=0.36.15
3+
RETINA_VERSION=0.37.8
44
AMARISOFT_VERSION=2023-03-17
55
SRSUE_VERSION=23.04.01
66
OPEN5GS_VERSION=2.5.6
77
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
8-
METRICS_SERVER_VERSION=1.1.0
8+
METRICS_SERVER_VERSION=1.3.0

0 commit comments

Comments
 (0)