Skip to content

Commit 6c99b7d

Browse files
author
codebot
committed
Update main
# Conflicts: # lib/ofh/compression/packing_utils_avx2.cpp # lib/ofh/compression/packing_utils_avx512.cpp # lib/ofh/compression/packing_utils_neon.cpp
2 parents 342df75 + a5d53d9 commit 6c99b7d

File tree

422 files changed

+7872
-3590
lines changed

Some content is hidden

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

422 files changed

+7872
-3590
lines changed

.gitlab-ci.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ full-code-format:
160160
KUBERNETES_CPU_LIMIT: 6
161161
KUBERNETES_MEMORY_REQUEST: 12Gi
162162
KUBERNETES_MEMORY_LIMIT: 12Gi
163+
CHECK_PER_FILE_TIMEOUT: 600
163164
before_script:
164165
- |
165166
echo "
@@ -180,7 +181,21 @@ full-code-format:
180181
cd build || exit
181182
cmake -DASSERT_LEVEL=PARANOID -DAUTO_DETECT_ISA=False -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DBUILD_TESTS=False ..
182183
make srsran_build_info # needed to generate hashes.h
184+
- |
185+
monitor_child_process() {
186+
while true; do
187+
ps -eo comm,pid,etimes | grep ${ANALYZER} | while read comm pid etimes; do
188+
if [ $etimes -gt $CHECK_PER_FILE_TIMEOUT ]; then
189+
echo "Killing child analysis process"
190+
kill $pid
191+
fi
192+
done
193+
sleep 30
194+
done
195+
}
196+
export -f monitor_child_process
183197
script:
198+
- nohup bash -c monitor_child_process &
184199
- static-analyzer.sh -i /tmp/codechecker_skip --jobs ${KUBERNETES_CPU_REQUEST} --analyzers ${ANALYZER} ${ANALYZER_ARGS} $CI_PROJECT_DIR
185200
after_script:
186201
- mv codechecker_html codechecker-${ANALYZER}-html
@@ -191,7 +206,6 @@ full-code-format:
191206
- codechecker-${ANALYZER}-html${ARTIFACT_EXTRA_PATH}
192207
when: always
193208
expire_in: 10 minutes
194-
timeout: 8 hours # clangsa is slow
195209

196210
clang-tidy:
197211
extends: .codechecker
@@ -211,6 +225,7 @@ cppcheck:
211225
rules:
212226
- if: $CI_DESCRIPTION =~ /Nightly Build Unit Tests/
213227
interruptible: false
228+
retry: 2
214229
variables:
215230
ANALYZER: cppcheck
216231
ANALYZER_ARGS: --cppcheck-max-template-recursion 5
@@ -231,6 +246,7 @@ clangsa:
231246
variables:
232247
ANALYZER: clangsa
233248
ANALYZER_ARGS: --ctu
249+
timeout: 8 hours
234250

235251
.coverity_base:
236252
image: $CR_REGISTRY_URI/coverity_image/2022.6.0:1.0.0
@@ -452,7 +468,7 @@ disable current schedule:
452468
- if: $CI_DESCRIPTION =~ /Alternative OSs/
453469
when: always
454470
- if: $CI_DESCRIPTION =~ /Weekly/
455-
when: always
471+
when: always
456472
interruptible: false
457473
variables:
458474
ENABLE: "false"

.gitlab/ci/build.yml

Lines changed: 25 additions & 10 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: "3"
11+
ref: "4"
1212
file: .gitlab/ci-shared/package.yml
1313
- local: .gitlab/ci/src_cache.yml
1414

@@ -17,7 +17,9 @@ variables:
1717
AMD64_AVX2_TAG: amd64-avx2
1818
AMD64_AVX512_TAG: amd64-avx2-avx512
1919
ARM64_TAG: arm64
20+
2021
AMD64_LIB_BUILDER_TAG: on-prem-amd64
22+
AMD64_VIAVI_BUILDER_TAG: on-prem-amd64-avx2-avx512
2123

2224
INFRASTRUCTURE_TAG:
2325
description: Computer architecture and supported instruction sets
@@ -632,7 +634,7 @@ smoke release update cache:
632634
- *cache_build_set
633635
artifacts:
634636
<<: *build_artifacts
635-
expire_in: 1 day
637+
expire_in: 3 day
636638

637639
smoke relwithdeb update cache:
638640
extends: .smoke relwithdeb
@@ -709,7 +711,7 @@ smoke valgrind update cache:
709711
SAVE_ARTIFACTS: "True" # Valgrind generates extra files
710712
artifacts:
711713
<<: *build_artifacts
712-
expire_in: 1 day
714+
expire_in: 3 day
713715

714716
smoke asan:
715717
extends: .build_and_unit
@@ -739,7 +741,7 @@ package:
739741
- if: $CI_DESCRIPTION =~ /Nightly Build Unit Tests/
740742
when: delayed
741743
start_in: 30 minutes
742-
variables:
744+
variables: &package_variables
743745
PROJECT_NAME: srsran-project
744746
RELEASE_VERSION: "99.9"
745747
KUBERNETES_CPU_REQUEST: 7
@@ -1716,7 +1718,20 @@ basic relwithdeb:
17161718
SAVE_ARTIFACTS: "True"
17171719
artifacts:
17181720
<<: *build_artifacts
1719-
expire_in: 1 day
1721+
expire_in: 3 day
1722+
1723+
basic package:
1724+
extends: .deb-package
1725+
stage: build and unit tests
1726+
rules:
1727+
- if: $CI_DESCRIPTION =~ /Nightly E2E Tests/
1728+
retry: 2
1729+
interruptible: false
1730+
variables:
1731+
<<: *package_variables
1732+
OS_VERSION: "24.04"
1733+
tags: ["${AMD64_LIB_BUILDER_TAG}"]
1734+
needs: []
17201735

17211736
basic tsan:
17221737
extends: .smoke tsan
@@ -1729,7 +1744,7 @@ basic tsan:
17291744
SAVE_ARTIFACTS: "True"
17301745
artifacts:
17311746
<<: *build_artifacts
1732-
expire_in: 1 day
1747+
expire_in: 3 day
17331748

17341749
basic asan:
17351750
extends: smoke asan
@@ -1743,7 +1758,7 @@ basic asan:
17431758
tags: ["${AMD64_AVX2_TAG}"]
17441759
artifacts:
17451760
<<: *build_artifacts
1746-
expire_in: 1 day
1761+
expire_in: 3 day
17471762

17481763
basic memcheck:
17491764
extends: .smoke valgrind
@@ -1756,7 +1771,7 @@ basic memcheck:
17561771
SAVE_ARTIFACTS: "True"
17571772
artifacts:
17581773
<<: *build_artifacts
1759-
expire_in: 1 day
1774+
expire_in: 3 day
17601775

17611776
basic avx512 dpdk:
17621777
extends: .build_and_unit
@@ -1783,10 +1798,10 @@ basic avx512 dpdk:
17831798
KUBERNETES_CPU_LIMIT: 14
17841799
KUBERNETES_MEMORY_REQUEST: 20Gi
17851800
KUBERNETES_MEMORY_LIMIT: 20Gi
1786-
tags: ["on-prem-amd64-avx2-avx512"]
1801+
tags: ["${AMD64_VIAVI_BUILDER_TAG}"]
17871802
artifacts:
17881803
<<: *build_artifacts
1789-
expire_in: 1 day
1804+
expire_in: 3 day
17901805

17911806
#######
17921807
# Web #

.gitlab/ci/e2e.yml

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ variables:
1616
description: Retina Testbed Description
1717
options:
1818
- "zmq"
19+
- "zmq_deb"
1920
- "zmq_single_ue"
2021
- "zmq_4x4_mimo"
2122
- "zmq_srsue"
@@ -143,6 +144,7 @@ e2e request validation:
143144
- retina-delete-orchestration-network --user-name ^ci_${GROUP} --regex
144145
# Add extra secret env variables to the .env file
145146
- |
147+
echo "" >> .gitlab/ci/e2e/.env
146148
cat $RETINA_SECRET_ENV >> .gitlab/ci/e2e/.env
147149
# Set username for retina
148150
- |
@@ -235,7 +237,7 @@ amari 1UE:
235237
TESTBED: "zmq_single_ue"
236238
MARKERS: "zmq_single_ue"
237239
E2E_LOG_LEVEL: "info"
238-
RETINA_ARGS: "gnb.all.pcap=True gnb.all.mac_enable=True gnb.all.rlc_enable=True"
240+
RETINA_ARGS: "gnb.all.pcap=True gnb.all.rlc_enable=True"
239241
needs:
240242
- job: "basic relwithdeb"
241243
artifacts: true
@@ -254,26 +256,48 @@ amari 1UE 4x4 mimo:
254256
- *txrx-lib
255257
- *retina-needs
256258

259+
amari 4UE deb:
260+
extends: .zmq
261+
variables:
262+
TESTBED: "zmq_deb"
263+
MARKERS: "smoke"
264+
E2E_LOG_LEVEL: "info"
265+
needs:
266+
- job: "basic package"
267+
artifacts: true
268+
- *txrx-lib
269+
- *retina-needs
270+
257271
amari 32UE:
258272
extends: .zmq
259273
variables:
260274
MARKERS: "zmq and not smoke"
261275
E2E_LOG_LEVEL: "info"
276+
RETINA_ARGS: "gnb.all.pcap=True gnb.all.rlc_enable=False"
262277
needs:
263278
- job: "basic relwithdeb"
264279
artifacts: true
265280
- *txrx-lib
266281
- *retina-needs
267282
parallel:
268283
matrix:
269-
- KEYWORDS: ["attach_detach", "ping", "iperf and udp", "iperf and tcp"]
284+
- KEYWORDS:
285+
[
286+
"attach_detach",
287+
"ping",
288+
"iperf and udp and band:3",
289+
"iperf and udp and not band:3",
290+
"iperf and tcp and band:3",
291+
"iperf and tcp and not band:3",
292+
]
270293

271294
amari 32UE [reestablishment]:
272295
extends: .zmq
273296
variables:
274297
MARKERS: "zmq and not smoke"
275298
E2E_LOG_LEVEL: "info"
276299
KEYWORDS: reestablishment
300+
RETINA_ARGS: "gnb.all.pcap=True gnb.all.mac_enable=True gnb.all.rlc_enable=False"
277301
allow_failure: true
278302
needs:
279303
- job: "basic relwithdeb"
@@ -431,8 +455,6 @@ test mode ru memcheck:
431455

432456
amari b200 asan:
433457
extends: .rf
434-
when: manual
435-
allow_failure: true
436458
variables:
437459
MARKERS: "rf_not_crash"
438460
needs:
@@ -442,15 +464,11 @@ amari b200 asan:
442464

443465
validate b200 config:
444466
extends: .rf
445-
when: manual
446-
allow_failure: true
447467
variables:
448468
MARKERS: "rf_b200"
449469

450470
validate n300 config:
451471
extends: .rf
452-
when: manual
453-
allow_failure: true
454472
variables:
455473
MARKERS: "rf_n300"
456474
TESTBED: "android_n300"
@@ -476,8 +494,6 @@ android b200:
476494
android x300:
477495
stage: rf
478496
extends: .e2e-run
479-
when: manual
480-
allow_failure: true
481497
variables:
482498
GROUP: "rf"
483499
TESTBED: "android_x300"

.gitlab/ci/e2e/.env

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +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.43.0
4-
AMARISOFT_VERSION=2023-03-17
3+
RETINA_VERSION=0.44.2
4+
UBUNTU_VERSION=24.04
5+
AMARISOFT_VERSION=2023-09-08
56
SRSUE_VERSION=23.11
6-
OPEN5GS_VERSION=2.6.1
7+
OPEN5GS_VERSION=2.6.6
78
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
8-
METRICS_SERVER_VERSION=1.5.2
9+
METRICS_SERVER_VERSION=1.7.0
910
DPDK_VERSION=23.11
11+
ZMQ_HOSTLABEL_0=kubernetes.io/hostname=k8s-worker-vm2
12+
ZMQ_HOSTLABEL_1=kubernetes.io/hostname=k8s-worker-vm2

.gitlab/ci/e2e/retina_request_test_mode.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
- name: srs-gnb
1010
type: gnb
1111
image: ${RETINA_REGISTRY_PREFIX}/srsgnb:${RETINA_VERSION}
12+
labels:
13+
- ${ZMQ_HOSTLABEL_0}
1214
requirements:
1315
arch: amd64
1416
cpu:
@@ -41,3 +43,5 @@
4143
requests: "6G"
4244
limits: "6G"
4345
image: ${RETINA_REGISTRY_PREFIX}/open5gs:${OPEN5GS_VERSION}_${RETINA_VERSION}
46+
labels:
47+
- ${ZMQ_HOSTLABEL_0}

.gitlab/ci/e2e/retina_request_zmq.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
- name: amarisoft-ue
1010
type: ue
1111
image: ${RETINA_REGISTRY_PREFIX}/amarisoftue:${AMARISOFT_VERSION}_${RETINA_VERSION}
12+
labels:
13+
- ${ZMQ_HOSTLABEL_1}
1214
nof_ports: 32
1315
requirements:
1416
arch: amd64
@@ -31,6 +33,8 @@
3133
- name: srs-gnb
3234
type: gnb
3335
image: ${RETINA_REGISTRY_PREFIX}/srsgnb:${RETINA_VERSION}
36+
labels:
37+
- ${ZMQ_HOSTLABEL_1}
3438
requirements:
3539
arch: amd64
3640
cpu:
@@ -62,3 +66,5 @@
6266
requests: "6G"
6367
limits: "6G"
6468
image: ${RETINA_REGISTRY_PREFIX}/open5gs:${OPEN5GS_VERSION}_${RETINA_VERSION}
69+
labels:
70+
- ${ZMQ_HOSTLABEL_1}

.gitlab/ci/e2e/retina_request_zmq_4x4_mimo.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
- name: amarisoft-ue
1010
type: ue
1111
image: ${RETINA_REGISTRY_PREFIX}/amarisoftue:${AMARISOFT_VERSION}_${RETINA_VERSION}
12+
labels:
13+
- ${ZMQ_HOSTLABEL_1}
1214
requirements:
1315
arch: amd64
1416
cpu:
@@ -31,6 +33,8 @@
3133
- name: srs-gnb
3234
type: gnb
3335
image: ${RETINA_REGISTRY_PREFIX}/srsgnb:${RETINA_VERSION}
36+
labels:
37+
- ${ZMQ_HOSTLABEL_1}
3438
requirements:
3539
arch: amd64
3640
cpu:
@@ -63,3 +67,5 @@
6367
requests: "6G"
6468
limits: "6G"
6569
image: ${RETINA_REGISTRY_PREFIX}/open5gs:${OPEN5GS_VERSION}_${RETINA_VERSION}
70+
labels:
71+
- ${ZMQ_HOSTLABEL_1}

0 commit comments

Comments
 (0)