Skip to content

Commit c54bcfe

Browse files
codebotandrepuschmann
authored andcommitted
Update main
2 parents e043e1e + 611bf17 commit c54bcfe

File tree

504 files changed

+32877
-3417
lines changed

Some content is hidden

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

504 files changed

+32877
-3417
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ clangsa:
200200
mkdir -p build
201201
cd build
202202
cmake ..
203-
cov-build --dir cov-int make -j`nproc`
203+
cov-build --dir cov-int make -j${KUBERNETES_CPU_REQUEST}
204204
tar czvf srsgnb.tgz cov-int
205205
ver=$(git rev-parse HEAD)
206206

.gitlab/ci/build.yml

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ variables:
121121
# CI
122122
SAVE_ARTIFACTS: "" # Empty by default
123123
KUBERNETES_MEMORY_REQUEST: 12Gi
124+
KUBERNETES_CPU_REQUEST: 7
125+
MAKE_ARGS: "-j${KUBERNETES_CPU_REQUEST}"
124126
GIT_STRATEGY: none
125127
needs:
126128
- !reference [.fetch_src_cache, needs]
@@ -249,13 +251,13 @@ variables:
249251
exit $ret
250252
fi
251253
fi
252-
CTEST_CMD="ctest -j "$(nproc --all)" ${CTEST_SUBSET_CMD} $ctest_extra --schedule-random --output-on-failure --output-junit xunit.xml"
254+
CTEST_CMD="ctest -j${KUBERNETES_CPU_REQUEST} ${CTEST_SUBSET_CMD} $ctest_extra --schedule-random --output-on-failure --output-junit xunit.xml"
253255
echo "${CTEST_CMD}"
254256
echo "============================================================================================="
255257
$CTEST_CMD && ret=0 || ret=1
256258
257259
if [[ $TEST_MODE = "coverage" ]]; then
258-
common_options="-j $(nproc --all) \
260+
common_options="-j${KUBERNETES_CPU_REQUEST} \
259261
--exclude-unreachable-branches \
260262
--gcov-ignore-parse-errors \
261263
--exclude=${CI_PROJECT_DIR}/tests/* \
@@ -379,9 +381,6 @@ variables:
379381
smoke release cached:
380382
extends: .smoke release
381383
timeout: 45 min
382-
# variables:
383-
# KUBERNETES_MEMORY_REQUEST: 6Gi
384-
# MAKE_ARGS: ""
385384
rules:
386385
- if: $CI_MERGE_REQUEST_LABELS =~ /no-cache/
387386
when: never
@@ -394,8 +393,6 @@ smoke tsan cached:
394393
extends: .smoke tsan
395394
timeout: 45 min
396395
variables:
397-
# KUBERNETES_MEMORY_REQUEST: 6Gi
398-
# MAKE_ARGS: ""
399396
SAVE_ARTIFACTS: "True"
400397
rules:
401398
- if: $CI_MERGE_REQUEST_LABELS =~ /no-cache/
@@ -409,9 +406,6 @@ smoke rhel cached:
409406
extends: .smoke rhel
410407
stage: manual
411408
timeout: 45 min
412-
# variables:
413-
# KUBERNETES_MEMORY_REQUEST: 6Gi
414-
# MAKE_ARGS: ""
415409
rules:
416410
- if: $CI_MERGE_REQUEST_LABELS =~ /no-cache/
417411
when: never
@@ -427,9 +421,6 @@ smoke archlinux cached:
427421
extends: .smoke archlinux
428422
stage: manual
429423
timeout: 45 min
430-
# variables:
431-
# KUBERNETES_MEMORY_REQUEST: 6Gi
432-
# MAKE_ARGS: ""
433424
rules:
434425
- if: $CI_MERGE_REQUEST_LABELS =~ /no-cache/
435426
when: never
@@ -484,8 +475,6 @@ intermediate commits:
484475
AUTO_DETECT_ISA: "True"
485476
ENABLE_AVX512: "False"
486477
ENABLE_WERROR: "False"
487-
# KUBERNETES_MEMORY_REQUEST: 6Gi
488-
# MAKE_ARGS: ""
489478
tags: ["${AMD64_TAG}"]
490479
script:
491480
- git config advice.detachedHead false
@@ -522,14 +511,12 @@ valgrind changed tests:
522511
ENABLE_AVX512: "False"
523512
CLEAN_BUILD: "False"
524513
TEST_MODE: valgrind
525-
# KUBERNETES_MEMORY_REQUEST: 6Gi
526-
# MAKE_ARGS: ""
527514
FINGERPRINT: "fingerprints.csv"
528515
SAVE_ARTIFACTS: "True"
529516
tags: ["${AMD64_TAG}"]
530517
script:
531518
- git config advice.detachedHead false
532-
- git fetch origin $CI_MERGE_REQUEST_TARGET_BRANCH_NAME $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME --depth 20
519+
- git fetch origin $CI_MERGE_REQUEST_TARGET_BRANCH_NAME $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME --depth 40
533520
- |
534521
FORK_POINT=$(git merge-base origin/$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME origin/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME)
535522
echo "##################################################"

.gitlab/ci/builders.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ stages:
7070
tar -xf "uhd-${uhd_version}.tar.gz"
7171
cd "uhd-${uhd_version}/host" && mkdir -p build && cd build
7272
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}" ..
73-
make -j "$(nproc --all)"
73+
make -j${KUBERNETES_CPU_REQUEST}
7474
make install
7575
}
7676

.gitlab/ci/e2e.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ variables:
4949
- warning
5050
- error
5151
value: "info"
52-
RETINA_LAUNCHER_IMAGE: registry.gitlab.com/softwareradiosystems/ci/retina/launcher:0.10.3
52+
RETINA_LAUNCHER_IMAGE: registry.gitlab.com/softwareradiosystems/ci/retina/launcher:0.11.1
5353

5454
.txrx-lib: &txrx-lib
5555
- job: "build trx driver"
@@ -93,7 +93,7 @@ variables:
9393
- |
9494
cd tests/e2e
9595
export LOGNAME=ci_$GITLAB_USER_LOGIN
96-
- 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}" -m "${MARKERS}" --register-parameter ue.all.log_level=$E2E_LOG_LEVEL gnb.all.log_level=$E2E_LOG_LEVEL "${RETINA_ARGS}"
96+
- 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} -m "${MARKERS}" --register-parameter ue.all.log_level=$E2E_LOG_LEVEL gnb.all.log_level=$E2E_LOG_LEVEL ${RETINA_ARGS}
9797
after_script:
9898
- |
9999
echo "*******************************************************************************************************************************"
@@ -223,7 +223,6 @@ rf-asan:
223223
needs:
224224
- job: "basic asan"
225225
artifacts: true
226-
- *txrx-lib
227226

228227
rf-b200-config:
229228
extends: .rf
@@ -246,7 +245,6 @@ android:
246245
needs:
247246
- job: "smoke release update cache"
248247
artifacts: true
249-
- *txrx-lib
250248

251249
android-hp:
252250
extends: .e2e-run
@@ -256,12 +254,12 @@ android-hp:
256254
variables:
257255
TESTBED: "android_x300"
258256
MARKERS: "android_hp"
259-
E2E_LOG_LEVEL: "warning"
257+
E2E_LOG_LEVEL: "info"
260258
KUBECONFIG_VAR_NAME: "RETINA_HIGH_PERFORMANCE_LAB_KUBECONFIG"
259+
PYTEST_ARGS: --graph-url $INFLUXDB_URL@$INFLUXDB_ORG:$INFLUXDB_TOKEN --graph-bucket e2e
261260
needs:
262261
- job: "smoke release update cache"
263262
artifacts: true
264-
- *txrx-lib
265263

266264
################################################################################
267265
# Garbage collector

.gitlab/ci/e2e/.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
RETINA_REGISTRY_PREFIX=registry.gitlab.com/softwareradiosystems/ci/retina
2-
AGENT_VERSION=0.10.2
3-
AMARISOFT_VERSION=2023-02-06
2+
AGENT_VERSION=0.11.1
3+
AMARISOFT_VERSION=2023-03-17
44
OPEN5GS_VERSION=2.5.6

.gitlab/ci/e2e/retina_request_android.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@
1313
cpu: 1
1414
memory: 2G
1515
ephemeral-storage: "3G"
16+
mode: grpc
1617
resources:
1718
- type: android
18-
model: one-plus-9-pro
19+
model: one-plus-nord
1920

2021
- name: srs-gnb
2122
type: gnb
@@ -24,6 +25,7 @@
2425
cpu: 6
2526
memory: 10G
2627
ephemeral-storage: "3G"
28+
mode: grpc
2729
resources:
2830
- type: sdr
2931
model: b200
@@ -40,3 +42,4 @@
4042
memory: 4G
4143
ephemeral-storage: "3G"
4244
taints: ["ci-amd64-onprem"]
45+
mode: grpc

.gitlab/ci/e2e/retina_request_android_x300.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,14 @@
66
# the distribution.
77
#
88

9-
- name: open5gs
10-
type: 5gc
11-
image: ${RETINA_REGISTRY_PREFIX}/open5gs:${OPEN5GS_VERSION}_${AGENT_VERSION}
12-
requirements:
13-
cpu: 4
14-
memory: 4G
15-
ephemeral-storage: "3G"
16-
taints: ["ci-amd64-onprem"]
17-
189
- name: android-ue
1910
type: ue
2011
image: ${RETINA_REGISTRY_PREFIX}/android:${AGENT_VERSION}
2112
requirements:
2213
cpu: 4
2314
memory: 2G
2415
ephemeral-storage: "3G"
16+
mode: grpc
2517
resources:
2618
- type: android
2719
model: one-plus-9-pro
@@ -33,6 +25,7 @@
3325
cpu: 10
3426
memory: 20G
3527
ephemeral-storage: "3G"
28+
mode: grpc
3629
resources:
3730
- type: sdr
3831
model: x300
@@ -41,4 +34,12 @@
4134
remote_path: /usr/local/bin
4235
is_executable: true
4336

44-
37+
- name: open5gs
38+
type: 5gc
39+
image: ${RETINA_REGISTRY_PREFIX}/open5gs:${OPEN5GS_VERSION}_${AGENT_VERSION}
40+
requirements:
41+
cpu: 4
42+
memory: 4G
43+
ephemeral-storage: "3G"
44+
taints: ["ci-amd64-onprem"]
45+
mode: grpc

.gitlab/ci/e2e/retina_request_rf.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@
2323
image: ${RETINA_REGISTRY_PREFIX}/amarisoftue:${AMARISOFT_VERSION}_${AGENT_VERSION}
2424
count: 4
2525
requirements:
26-
cpu: 3
27-
memory: 7G
26+
cpu: 11
27+
memory: 12G
2828
ephemeral-storage: "3G"
29+
mode: grpc
2930
taints: ["uhd-lp-amd64-onprem"]
3031
resources:
3132
- type: sdr
@@ -37,10 +38,11 @@
3738
type: gnb
3839
image: ${RETINA_REGISTRY_PREFIX}/srsgnb:${AGENT_VERSION}
3940
requirements:
40-
cpu: 3
41-
memory: 7G
41+
cpu: 11
42+
memory: 12G
4243
ephemeral-storage: "3G"
4344
taints: ["uhd-lp-amd64-onprem"]
45+
mode: grpc
4446
resources:
4547
- type: sdr
4648
model: b200
@@ -57,3 +59,4 @@
5759
memory: 4G
5860
ephemeral-storage: "3G"
5961
taints: ["ci-amd64-onprem"]
62+
mode: grpc

.gitlab/ci/e2e/retina_request_zmq.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
memory: 8G
2828
ephemeral-storage: "3G"
2929
taints: ["ci-amd64-onprem"]
30+
mode: grpc
3031
resources:
3132
- type: zmq
3233
- type: license
@@ -44,6 +45,7 @@
4445
memory: 8G
4546
ephemeral-storage: "3G"
4647
taints: ["ci-amd64-onprem"]
48+
mode: grpc
4749
resources:
4850
- type: zmq
4951
shared_files:
@@ -59,3 +61,4 @@
5961
ephemeral-storage: "3G"
6062
image: ${RETINA_REGISTRY_PREFIX}/open5gs:${OPEN5GS_VERSION}_${AGENT_VERSION}
6163
taints: ["ci-amd64-onprem"]
64+
mode: grpc

.gitlab/ci/e2e/retina_request_zmq_single_ue.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111
image: ${RETINA_REGISTRY_PREFIX}/amarisoftue:${AMARISOFT_VERSION}_${AGENT_VERSION}
1212
requirements:
1313
cpu: 8
14-
memory: 8G
14+
memory: 1G
1515
ephemeral-storage: "3G"
1616
taints: ["ci-amd64-onprem"]
17+
mode: grpc
1718
resources:
1819
- type: zmq
1920
- type: license
@@ -28,9 +29,10 @@
2829
image: ${RETINA_REGISTRY_PREFIX}/srsgnb:${AGENT_VERSION}
2930
requirements:
3031
cpu: 8
31-
memory: 8G
32+
memory: 4G
3233
ephemeral-storage: "3G"
3334
taints: ["ci-amd64-onprem"]
35+
mode: grpc
3436
resources:
3537
- type: zmq
3638
shared_files:
@@ -42,7 +44,8 @@
4244
type: 5gc
4345
requirements:
4446
cpu: 4
45-
memory: 4G
47+
memory: 1G
4648
ephemeral-storage: "3G"
4749
image: ${RETINA_REGISTRY_PREFIX}/open5gs:${OPEN5GS_VERSION}_${AGENT_VERSION}
4850
taints: ["ci-amd64-onprem"]
51+
mode: grpc

0 commit comments

Comments
 (0)