Skip to content

Commit 46def37

Browse files
author
codebot
committed
Update main
# Conflicts: # CMakeLists.txt # README.md # lib/rlc/rlc_metrics_aggregator.cpp # lib/rlc/rlc_metrics_aggregator.h
2 parents d5fa4f0 + c0c38de commit 46def37

File tree

213 files changed

+4893
-1693
lines changed

Some content is hidden

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

213 files changed

+4893
-1693
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ full-code-format:
391391
export CXX=/usr/bin/clang++
392392
mkdir -p build
393393
cd build || exit
394-
cmake -DASSERT_LEVEL=PARANOID -DMARCH=x86-64-v3 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DBUILD_TESTS=False ..
394+
cmake -DASSERT_LEVEL=PARANOID -DMARCH=x86-64-v3 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DBUILD_TESTING=False ..
395395
make srsran_versioning # needed to generate hashes.h
396396
- |
397397
monitor_child_process() {

.gitlab/ci-shared/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ variables:
100100
fi
101101
done
102102
if [[ $TEST_MODE = "none" ]]; then
103-
BUILD_ARGS="${BUILD_ARGS} -DBUILD_TESTS=False"
103+
BUILD_ARGS="${BUILD_ARGS} -DBUILD_TESTING=False"
104104
fi
105105
106106
BUILD_CMD="${BUILD_ARGS}"

.gitlab/ci/build.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1982,21 +1982,23 @@ basic ru dummy:
19821982
<<: *build_artifacts
19831983
expire_in: 3 days
19841984

1985-
basic avx2 dpdk:
1985+
basic avx2 dpdk rtsan:
19861986
extends: .build_and_unit
19871987
rules:
19881988
- if: $CI_DESCRIPTION =~ /Nightly E2E Tests/
19891989
retry: 2
19901990
interruptible: false
19911991
variables:
19921992
SRS_TARGET: gnb_split_7_2
1993-
OS: ubuntu-24.04
1994-
COMPILER: gcc
1993+
OS: ubuntu-24.04-rtsan
1994+
COMPILER: clang
19951995
CMAKE_BUILD_TYPE: Release
19961996
TEST_MODE: none
19971997
ENABLE_UHD: "False"
19981998
ENABLE_ZEROMQ: "False"
19991999
ENABLE_DPDK: "True"
2000+
ENABLE_RTSAN: "True"
2001+
ENABLE_WERROR: "False"
20002002
DPDK_VERSION: "23.11.1_avx2"
20012003
MARCH: x86-64-v3
20022004
FORCE_DEBUG_INFO: "True"
@@ -2047,7 +2049,8 @@ basic avx512 dpdk withassert:
20472049
basic avx512 dpdk rtsan:
20482050
extends: basic avx512 dpdk
20492051
rules:
2050-
- if: $CI_DESCRIPTION =~ /Nightly E2E Tests Plugin/
2052+
- if: $CI_DESCRIPTION =~ /Nightly E2E Tests/
2053+
- if: $CI_DESCRIPTION =~ /Weekly/
20512054
variables:
20522055
OS: ubuntu-24.04-rtsan
20532056
COMPILER: clang

.gitlab/ci/builders.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -298,11 +298,12 @@ ubuntu-dpdk-builder arm64:
298298
export DOCKERFILE=$CONTEXT/$OS_FAMILY
299299
export BUILD_ARGS="OS_NAME=${OS_NAME};VERSION=${OS_VERSION};TAG=${VERSION};RHEL_VERSION=${RHEL_CT_VERSION};CR_REGISTRY_URI=${CR_REGISTRY_URI}"
300300
- |
301-
cp -r ${CI_PROJECT_DIR}/docker/scripts/. ${CI_PROJECT_DIR}/${CONTEXT}
302-
ls -lah $CONTEXT
303-
- |
304-
mkdir -p $CONTEXT/uhd $CONTEXT/dpdk
305-
ls -lah $CONTEXT/uhd $CONTEXT/dpdk
301+
mkdir -p ${CI_PROJECT_DIR}/${CONTEXT}/lib
302+
DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y --no-install-recommends curl apt-transport-https ca-certificates xz-utils
303+
curl --header "PRIVATE-TOKEN: $CODEBOT_TOKEN" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/wls/25.03/libwls.a" -o ${CI_PROJECT_DIR}/${CONTEXT}/lib/libwls.a
304+
- cp -r ${CI_PROJECT_DIR}/docker/scripts/. ${CI_PROJECT_DIR}/${CONTEXT}
305+
- mkdir -p $CONTEXT/lib $CONTEXT/uhd $CONTEXT/dpdk
306+
- ls -lah $CONTEXT $CONTEXT/lib $CONTEXT/uhd $CONTEXT/dpdk
306307
needs:
307308
- builder version
308309

.gitlab/ci/builders/debian-rtsan/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ RUN chmod +x /usr/local/bin/install_dependencies.sh /usr/local/bin/builder.sh /u
2626
python3 -m venv /usr/local/builder_tools && \
2727
/usr/local/builder_tools/bin/pip install "pandas<3" "psutil"
2828

29+
ADD lib /opt/lib
2930
ADD uhd /opt/uhd
3031
ADD dpdk /opt/dpdk
3132

.gitlab/ci/builders/debian/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ RUN chmod +x /usr/local/bin/install_dependencies.sh /usr/local/bin/builder.sh /u
3030
python3 -m venv /usr/local/builder_tools && \
3131
/usr/local/builder_tools/bin/pip install "pandas<3" "psutil"
3232

33+
ADD lib /opt/lib
3334
ADD uhd /opt/uhd
3435
ADD dpdk /opt/dpdk
3536

.gitlab/ci/e2e.yml

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ smoke zmq:
138138
GROUP: uesim
139139
TESTBED: zmq_uesim
140140
E2E_LOG_LEVEL: info
141-
RETINA_LAUNCHER_ARGS: "--retina-pod-timeout 900"
142141
needs:
143142
- job: basic relwithdeb
144143
artifacts: true
@@ -387,7 +386,6 @@ test mode ru:
387386
MARKERS: test_mode
388387
KEYWORDS: test_ru
389388
E2E_LOG_LEVEL: warning
390-
RETINA_LAUNCHER_ARGS: "--retina-pod-timeout 900"
391389
needs:
392390
- job: basic ru dummy
393391
artifacts: true
@@ -431,6 +429,8 @@ test mode ru acc100:
431429
extends: test mode ru
432430
rules:
433431
- if: $CI_DESCRIPTION =~ /Nightly E2E Tests Plugin/
432+
when: manual
433+
allow_failure: true
434434
variables:
435435
TESTBED: test_mode_acc100
436436
MARKERS: test_mode_acc100
@@ -444,7 +444,6 @@ test mode ue many ues:
444444
MARKERS: test_mode_many_ues
445445
KEYWORDS: test_mode_many_ues
446446
E2E_LOG_LEVEL: warning
447-
RETINA_LAUNCHER_ARGS: "--retina-pod-timeout 900"
448447

449448
################################################################################
450449
# RF
@@ -549,11 +548,10 @@ android drx:
549548
MARKERS: viavi
550549
E2E_LOG_LEVEL: warning
551550
RETINA_PARAM_ARGS: "gnb.all.pcap=True gnb.all.rlc_enable=True gnb.all.rlc_rb_type=srb"
552-
RETINA_LAUNCHER_ARGS: "--retina-pod-timeout 900"
553551
rules:
554552
- if: $CI_DESCRIPTION =~ /Nightly E2E Tests Plugin/
555553
needs:
556-
- job: basic avx512 dpdk
554+
- job: basic avx512 dpdk rtsan
557555
artifacts: true
558556
- *retina-needs
559557

@@ -629,17 +627,6 @@ viavi debug:
629627
artifacts: true
630628
- *retina-needs
631629

632-
viavi rtsan:
633-
extends: .viavi
634-
variables:
635-
KEYWORDS: rtsan
636-
when: manual
637-
allow_failure: true
638-
needs:
639-
- job: basic avx512 dpdk rtsan
640-
artifacts: true
641-
- *retina-needs
642-
643630
viavi um:
644631
extends: .viavi
645632
rules:
@@ -657,6 +644,10 @@ viavi 3h:
657644
start_in: 1 hour
658645
variables:
659646
KEYWORDS: 3h
647+
needs:
648+
- job: basic avx512 dpdk
649+
artifacts: true
650+
- *retina-needs
660651

661652
viavi 24h:
662653
extends: .viavi
@@ -665,6 +656,10 @@ viavi 24h:
665656
- if: $CI_DESCRIPTION =~ /Weekly/
666657
variables:
667658
KEYWORDS: 24h
659+
needs:
660+
- job: basic avx512 dpdk
661+
artifacts: true
662+
- *retina-needs
668663

669664
################################################################################
670665
# Amari S72
@@ -676,14 +671,13 @@ viavi 24h:
676671
variables:
677672
GROUP: rf
678673
TESTBED: s72_uesim
679-
E2E_LOG_LEVEL: info
680-
RETINA_LAUNCHER_ARGS: "--retina-pod-timeout 900"
674+
E2E_LOG_LEVEL: warning
681675
rules:
682676
- if: $CI_DESCRIPTION =~ /Nightly E2E Tests/
683677
when: delayed
684678
start_in: 8 hours # woraround: let zmq-uesim finish first
685679
needs:
686-
- job: basic avx2 dpdk
680+
- job: basic avx2 dpdk rtsan
687681
artifacts: true
688682
- *retina-needs
689683

.gitlab/ci/e2e/.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
SRSGNB_REGISTRY_URI=registry.gitlab.com/softwareradiosystems/srsgnb
22
RETINA_REGISTRY_PREFIX=registry.gitlab.com/softwareradiosystems/ci/retina
3-
RETINA_VERSION=0.66.3
3+
RETINA_VERSION=0.68.2
44
UBUNTU_VERSION=24.04
55
AMARISOFT_VERSION=2023-09-08
66
AMARISOFT_S72_NTN_VERSION=2024-12-13
@@ -9,7 +9,7 @@ OPEN5GS_VERSION=2.7.0
99
FLEXRIC_VERSION=br-flexric
1010
NTN_CHANNEL_EMULATOR_VERSION=0.1
1111
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
12-
METRICS_SERVER_VERSION=1.9.4
12+
METRICS_SERVER_VERSION=1.10.0
1313
DPDK_VERSION=23.11.1
1414
ZMQ_HOSTLABEL_0=kubernetes.io/hostname=hp-generic-2
1515
ZMQ_HOSTLABEL_1=kubernetes.io/hostname=ci-buildmaster

.gitlab/ci/e2e/android_x300.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,11 @@
2727
- name: srs-gnb
2828
type: gnb
2929
image: ${RETINA_REGISTRY_PREFIX}/srsgnb:${RETINA_VERSION}
30-
host_network: retina.srs.io/secondary-ip
3130
requirements:
3231
arch: amd64
3332
cpu:
34-
requests: 12
35-
limits: 12
33+
requests: 8
34+
limits: 8
3635
memory:
3736
requests: "20G"
3837
limits: "20G"
@@ -54,8 +53,8 @@
5453
- name: open5gs
5554
type: 5gc
5655
image: ${RETINA_REGISTRY_PREFIX}/open5gs:${OPEN5GS_VERSION}_${RETINA_VERSION}
57-
taints: ["purpose=corenetworks"]
58-
host_network: retina.srs.io/secondary-ip
56+
labels:
57+
- kubernetes.io/hostname=sdr6
5958
requirements:
6059
arch: amd64
6160
cpu:

.gitlab/ci/e2e/viavi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
requirements:
1515
arch: amd64
1616
cpu:
17-
requests: 20
18-
limits: 20
17+
requests: 10
18+
limits: 10
1919
memory:
2020
requests: "60G"
2121
limits: "60G"

0 commit comments

Comments
 (0)