Skip to content

Commit 78238fd

Browse files
codebotasaezper
authored andcommitted
Update main
# Conflicts: # CMakeLists.txt # apps/units/cu_cp/logger_registrator.h # include/srsran/f1u/f1u_cu_up_entity.h # include/srsran/f1u/f1u_cu_up_rx.h # include/srsran/f1u/f1u_cu_up_transport.h # include/srsran/f1u/f1u_cu_up_tx.h # include/srsran/gtpu/gtpu_tunnel_tx.h # lib/cu_cp/routine_managers/du_processor_routine_manager.cpp # lib/cu_cp/routine_managers/du_processor_routine_manager.h # lib/cu_cp/routines/mobility/inter_ngran_node_n2_handover_routine.cpp # lib/cu_cp/routines/mobility/inter_ngran_node_n2_handover_routine.h # lib/phy/upper/equalization/equalize_zf_2x2.cpp # lib/phy/upper/equalization/equalize_zf_2x2.h # lib/support/network/epoll_helper.h # tests/unittests/cu_cp/du_processor/inter_ngran_node_n2_handover_routine_test.cpp # tests/unittests/cu_cp/du_processor/inter_ngran_node_n2_handover_routine_test_helpers.h # tests/unittests/phy/upper/channel_processors/pusch/pusch_demodulator_test_data.tar.gz # tests/unittests/phy/upper/equalization/channel_equalizer_test_data.tar.gz # tests/unittests/phy/upper/signal_processors/dmrs_pusch_estimator_test_data.tar.gz # tests/unittests/phy/upper/signal_processors/port_channel_estimator_test_data.tar.gz
2 parents a159503 + 7172eed commit 78238fd

File tree

471 files changed

+10271
-5999
lines changed

Some content is hidden

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

471 files changed

+10271
-5999
lines changed

.gitlab/ci/build.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
include:
1010
- project: softwareradiosystems/ci/srsran_project_packaging
11-
ref: "4"
11+
ref: "5"
1212
file: .gitlab/ci-shared/package.yml
1313
- local: .gitlab/ci/src_cache.yml
1414

@@ -27,10 +27,12 @@ variables:
2727
- amd64
2828
- amd64-avx2
2929
- amd64-avx2-avx512
30-
- "on-prem-amd64"
31-
- "on-prem-arm64"
32-
- "aws-spot-amd64"
33-
- "aws-spot-arm64"
30+
- arm64
31+
- on-prem-amd64
32+
- on-prem-amd64-avx2-avx512
33+
- on-prem-arm64
34+
- aws-spot-amd64
35+
- aws-spot-arm64
3436
value: "amd64-avx2"
3537
OS:
3638
description: Operating system
@@ -112,6 +114,7 @@ variables:
112114
ENABLE_TSAN: "" # Empty for cmake default
113115
ENABLE_GCOV: "" # Empty for cmake default
114116
ENABLE_WERROR: "" # Empty for cmake default
117+
FORCE_DEBUG_INFO: "" # Empty for cmake default
115118
AUTO_DETECT_ISA: ""
116119
# CI
117120
SAVE_ARTIFACTS: "" # Empty by default
@@ -182,6 +185,9 @@ variables:
182185
if [ -n "${ENABLE_WERROR}" ]; then
183186
BUILD_CMD="${BUILD_CMD} -DENABLE_WERROR=${ENABLE_WERROR}"
184187
fi
188+
if [ -n "${FORCE_DEBUG_INFO}" ]; then
189+
BUILD_CMD="${BUILD_CMD} -DFORCE_DEBUG_INFO=${FORCE_DEBUG_INFO}"
190+
fi
185191
if [[ $TEST_MODE = "none" ]]; then
186192
BUILD_CMD="${BUILD_CMD} -DBUILD_TESTS=False"
187193
fi
@@ -1793,6 +1799,7 @@ basic avx512 dpdk:
17931799
DPDK_VERSION: "23.11"
17941800
AUTO_DETECT_ISA: "True"
17951801
ENABLE_AVX512: "True"
1802+
FORCE_DEBUG_INFO: "True"
17961803
ASSERT_LEVEL: MINIMAL
17971804
SAVE_ARTIFACTS: "True"
17981805
KUBERNETES_CPU_REQUEST: 14
@@ -1823,6 +1830,7 @@ basic avx512 dpdk withassert:
18231830
DPDK_VERSION: "23.11"
18241831
AUTO_DETECT_ISA: "True"
18251832
ENABLE_AVX512: "True"
1833+
FORCE_DEBUG_INFO: "True"
18261834
ASSERT_LEVEL: NORMAL
18271835
SAVE_ARTIFACTS: "True"
18281836
KUBERNETES_CPU_REQUEST: 14

.gitlab/ci/builders/archlinux/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ ADD builder.sh /usr/local/bin
2828
RUN chmod +x /usr/local/bin/builder.sh
2929

3030
RUN python -m venv /usr/local/builder_tools
31-
RUN /usr/local/builder_tools/bin/pip install "pandas<3" "psutil < 6"
31+
RUN /usr/local/builder_tools/bin/pip install "pandas <3" "psutil < 6"
3232
ADD changed_tests.py /usr/local/bin
3333
RUN chmod +x /usr/local/bin/changed_tests.py
3434
ADD ram_reporter.py /usr/local/bin

.gitlab/ci/docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ metrics version check in retina:
8484
stage: compose
8585
image: docker:24.0.7
8686
tags:
87-
- docker
87+
- saas-linux-small-amd64
8888
timeout: 2h
8989
variables:
9090
DOCKER_HOST: tcp://docker:2375/

.gitlab/ci/e2e.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,11 @@ e2e request validation:
159159
echo "${E2E_CMD}"
160160
eval $E2E_CMD
161161
after_script:
162+
# Push test metrics
163+
- |
164+
find . -iname "test_metrics.csv" -exec \
165+
influx write --host $INFLUXDB_URL --token $INFLUXDB_TOKEN --org $INFLUXDB_ORG \
166+
--bucket ci --file {} \;
162167
- |
163168
echo "*******************************************************************************************************************************"
164169
echo "Test report ---> https://softwareradiosystems.gitlab.io/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/tests/e2e/log//report.html"
@@ -289,9 +294,15 @@ amari 32UE:
289294
"iperf and udp and not band:3",
290295
"iperf and tcp and band:3",
291296
"iperf and tcp and not band:3",
292-
"reestablishment",
293297
]
294298

299+
amari 32UE beta:
300+
extends: amari 32UE
301+
allow_failure: true
302+
parallel:
303+
matrix:
304+
- KEYWORDS: ["reestablishment", "handover"]
305+
295306
amari 32UE asan:
296307
extends: .zmq
297308
variables:
@@ -344,16 +355,6 @@ test mode ue:
344355
- *txrx-lib
345356
- *retina-needs
346357

347-
test mode ue tsan:
348-
extends: test mode ue
349-
when: manual
350-
allow_failure: true
351-
needs:
352-
- job: "basic tsan"
353-
artifacts: true
354-
- *txrx-lib
355-
- *retina-needs
356-
357358
test mode ue asan:
358359
extends: test mode ue
359360
needs:

.gitlab/ci/e2e/.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
SRSGNB_REGISTRY_URI=registry.gitlab.com/softwareradiosystems/srsgnb
22
RETINA_REGISTRY_PREFIX=registry.gitlab.com/softwareradiosystems/ci/retina
3-
RETINA_VERSION=0.47.1
3+
RETINA_VERSION=0.48.11
44
UBUNTU_VERSION=24.04
55
AMARISOFT_VERSION=2023-09-08
66
SRSUE_VERSION=23.11
77
OPEN5GS_VERSION=2.7.0
88
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
9-
METRICS_SERVER_VERSION=1.7.0
9+
METRICS_SERVER_VERSION=1.7.1
1010
DPDK_VERSION=23.11
1111
ZMQ_HOSTLABEL_0=kubernetes.io/hostname=k8s-worker-vm2
1212
ZMQ_HOSTLABEL_1=kubernetes.io/hostname=k8s-worker-vm2

.gitlab/ci/e2e/retina_request_rf_b200.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@
99
- name: amarisoft-ue
1010
type: ue
1111
image: ${RETINA_REGISTRY_PREFIX}/amarisoftue:${AMARISOFT_VERSION}_${RETINA_VERSION}
12-
labels: ["kubernetes.io/hostname=sdr4"]
12+
labels: ["kubernetes.io/hostname=hp-oran"]
1313
nof_ports: 4
1414
requirements:
1515
arch: amd64
1616
cpu:
17-
requests: 10
18-
limits: 10
17+
requests: 14
18+
limits: 14
1919
memory:
20-
requests: "16G"
21-
limits: "16G"
20+
requests: "48G"
21+
limits: "48G"
2222
ephemeral-storage:
2323
requests: "6G"
2424
limits: "6G"

.gitlab/ci/e2e/retina_request_viavi.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
arch: amd64
1414
cpu:
1515
requests: 20
16+
limits: 20
1617
memory:
1718
requests: "64G"
1819
limits: "64G"

.gitlab/ci/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ release public:
167167
# Public tag name: release_X_Y. Ex: release_23_4
168168
- export PUBLIC_TAG=release_${CI_COMMIT_TAG//./_}
169169
# Public release name: $PUBLIC_NAME X_Y. Ex: srsRAN Project 23.4
170-
- export PUBLIC_RELEASE_NAME=${PUBLIC_NAME} ${CI_COMMIT_TAG}
170+
- export PUBLIC_RELEASE_NAME="${PUBLIC_NAME} ${CI_COMMIT_TAG}"
171171
# Public release notes: tag message
172172
- export PUBLIC_RELEASE_NOTES=${CI_COMMIT_TAG_MESSAGE}
173173

.gitlab/ci/trx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,4 @@ build amariue zmq driver:
8686
- if: $CI_DESCRIPTION =~ /Nightly E2E Tests/
8787
artifacts:
8888
<<: *trx_artifacts
89-
expire_in: 1 day
89+
expire_in: 3 days

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ option(AUTO_DETECT_ISA "Enable automatic ISA detection" ON)
7070
option(BUILD_TESTS "Compile tests" ON)
7171
option(ENABLE_GPROF "Enable gprof" OFF)
7272
option(USE_PHY_TESTVECTORS "Enable testvector PHY tests" OFF)
73+
option(FORCE_DEBUG_INFO "Add debug information to Release build" OFF)
7374

7475
# Set assertion level options and default value.
7576
set(ASSERT_LEVEL "AUTO" CACHE STRING "Assertion paranoia level")
@@ -167,6 +168,10 @@ if (ENABLE_TSAN)
167168
add_definitions(-DENABLE_TSAN)
168169
endif (ENABLE_TSAN)
169170

171+
if (FORCE_DEBUG_INFO)
172+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")
173+
endif (FORCE_DEBUG_INFO)
174+
170175
if (ENABLE_GCOV)
171176
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fprofile-arcs -ftest-coverage")
172177
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fprofile-arcs -ftest-coverage")

0 commit comments

Comments
 (0)