Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-RAN
Commits
768f14a9
Commit
768f14a9
authored
Dec 27, 2021
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: more logging with time and no color codes
parent
850efd19
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
25 additions
and
25 deletions
+25
-25
ci-scripts/runTestOnVM.sh
ci-scripts/runTestOnVM.sh
+15
-15
ci-scripts/yaml_files/4g_rfsimulator/docker-compose.yml
ci-scripts/yaml_files/4g_rfsimulator/docker-compose.yml
+2
-2
ci-scripts/yaml_files/5g_f1_rfsimulator/docker-compose.yaml
ci-scripts/yaml_files/5g_f1_rfsimulator/docker-compose.yaml
+3
-3
ci-scripts/yaml_files/5g_rfsimulator/docker-compose.yaml
ci-scripts/yaml_files/5g_rfsimulator/docker-compose.yaml
+2
-2
ci-scripts/yaml_files/fr1_enb_mono_fdd_tim/docker-compose.yml
...cripts/yaml_files/fr1_enb_mono_fdd_tim/docker-compose.yml
+1
-1
ci-scripts/yaml_files/nsa_b200_enb/docker-compose.yml
ci-scripts/yaml_files/nsa_b200_enb/docker-compose.yml
+1
-1
ci-scripts/yaml_files/nsa_b200_gnb/docker-compose.yml
ci-scripts/yaml_files/nsa_b200_gnb/docker-compose.yml
+1
-1
No files found.
ci-scripts/runTestOnVM.sh
View file @
768f14a9
...
...
@@ -65,7 +65,7 @@ function start_basic_sim_enb {
echo
"sudo chmod 777 /home/ubuntu/tmp/cmake_targets/ran_build/"
>>
$1
echo
"sudo chmod 777 /home/ubuntu/tmp/cmake_targets/ran_build/build/"
>>
$1
echo
"cd /home/ubuntu/tmp/cmake_targets/ran_build/build/"
>>
$1
echo
"echo
\"
ulimit -c unlimited && ./lte-softmodem -O /home/ubuntu/tmp/ci-scripts/conf_files/ci-
$LOC_CONF_FILE
--log_config.global_log_options level,nocolor,
line_num
--basicsim
\"
> ./my-lte-softmodem-run.sh "
>>
$1
echo
"echo
\"
ulimit -c unlimited && ./lte-softmodem -O /home/ubuntu/tmp/ci-scripts/conf_files/ci-
$LOC_CONF_FILE
--log_config.global_log_options level,nocolor,
time
--basicsim
\"
> ./my-lte-softmodem-run.sh "
>>
$1
echo
"chmod 775 ./my-lte-softmodem-run.sh"
>>
$1
echo
"cat ./my-lte-softmodem-run.sh"
>>
$1
echo
"if [ -e /home/ubuntu/tmp/cmake_targets/log/
$LOC_LOG_FILE
]; then sudo sudo rm -f /home/ubuntu/tmp/cmake_targets/log/
$LOC_LOG_FILE
; fi"
>>
$1
...
...
@@ -818,9 +818,9 @@ function start_l2_sim_enb {
echo
"cd /home/ubuntu/tmp/cmake_targets/ran_build/build/"
>>
$1
if
[
$LOC_S1_CONFIGURATION
-eq
0
]
then
echo
"echo
\"
ulimit -c unlimited && ./lte-softmodem -O /home/ubuntu/tmp/ci-scripts/conf_files/ci-
$LOC_CONF_FILE
--log_config.global_log_options level,nocolor,
line_num
--noS1
\"
> ./my-lte-softmodem-run.sh "
>>
$1
echo
"echo
\"
ulimit -c unlimited && ./lte-softmodem -O /home/ubuntu/tmp/ci-scripts/conf_files/ci-
$LOC_CONF_FILE
--log_config.global_log_options level,nocolor,
time
--noS1
\"
> ./my-lte-softmodem-run.sh "
>>
$1
else
echo
"echo
\"
ulimit -c unlimited && ./lte-softmodem -O /home/ubuntu/tmp/ci-scripts/conf_files/ci-
$LOC_CONF_FILE
--log_config.global_log_options level,nocolor,
line_num
\"
> ./my-lte-softmodem-run.sh "
>>
$1
echo
"echo
\"
ulimit -c unlimited && ./lte-softmodem -O /home/ubuntu/tmp/ci-scripts/conf_files/ci-
$LOC_CONF_FILE
--log_config.global_log_options level,nocolor,
time
\"
> ./my-lte-softmodem-run.sh "
>>
$1
fi
echo
"chmod 775 ./my-lte-softmodem-run.sh"
>>
$1
echo
"cat ./my-lte-softmodem-run.sh"
>>
$1
...
...
@@ -929,9 +929,9 @@ function start_l2_sim_ue {
echo
"cd /home/ubuntu/tmp/cmake_targets/ran_build/build/"
>>
$1
if
[
$LOC_S1_CONFIGURATION
-eq
0
]
then
echo
"echo
\"
ulimit -c unlimited && ./lte-uesoftmodem -O /home/ubuntu/tmp/ci-scripts/conf_files/ci-
$LOC_CONF_FILE
--L2-emul 3 --num-ues
$LOC_NB_UES
--nums_ue_thread 1 --nokrnmod 1 --log_config.global_log_options level,nocolor,
line_num
--noS1
\"
> ./my-lte-softmodem-run.sh "
>>
$1
echo
"echo
\"
ulimit -c unlimited && ./lte-uesoftmodem -O /home/ubuntu/tmp/ci-scripts/conf_files/ci-
$LOC_CONF_FILE
--L2-emul 3 --num-ues
$LOC_NB_UES
--nums_ue_thread 1 --nokrnmod 1 --log_config.global_log_options level,nocolor,
time
--noS1
\"
> ./my-lte-softmodem-run.sh "
>>
$1
else
echo
"echo
\"
ulimit -c unlimited && ./lte-uesoftmodem -O /home/ubuntu/tmp/ci-scripts/conf_files/ci-
$LOC_CONF_FILE
--L2-emul 3 --num-ues
$LOC_NB_UES
--nums_ue_thread 1 --nokrnmod 1 --log_config.global_log_options level,nocolor,
line_num
\"
> ./my-lte-softmodem-run.sh "
>>
$1
echo
"echo
\"
ulimit -c unlimited && ./lte-uesoftmodem -O /home/ubuntu/tmp/ci-scripts/conf_files/ci-
$LOC_CONF_FILE
--L2-emul 3 --num-ues
$LOC_NB_UES
--nums_ue_thread 1 --nokrnmod 1 --log_config.global_log_options level,nocolor,
time
\"
> ./my-lte-softmodem-run.sh "
>>
$1
fi
echo
"chmod 775 ./my-lte-softmodem-run.sh"
>>
$1
echo
"cat ./my-lte-softmodem-run.sh"
>>
$1
...
...
@@ -1051,9 +1051,9 @@ function start_rf_sim_enb {
echo
"cd /home/ubuntu/tmp/cmake_targets/ran_build/build/"
>>
$1
if
[
$LOC_S1_CONFIGURATION
-eq
0
]
then
echo
"echo
\"
ulimit -c unlimited && ./lte-softmodem -O /home/ubuntu/tmp/ci-scripts/conf_files/ci-
$LOC_CONF_FILE
--rfsim --log_config.global_log_options level,nocolor,
line_num
--noS1 --eNBs.[0].rrc_inactivity_threshold 0
\"
> ./my-lte-softmodem-run.sh "
>>
$1
echo
"echo
\"
ulimit -c unlimited && ./lte-softmodem -O /home/ubuntu/tmp/ci-scripts/conf_files/ci-
$LOC_CONF_FILE
--rfsim --log_config.global_log_options level,nocolor,
time
--noS1 --eNBs.[0].rrc_inactivity_threshold 0
\"
> ./my-lte-softmodem-run.sh "
>>
$1
else
echo
"echo
\"
ulimit -c unlimited && ./lte-softmodem -O /home/ubuntu/tmp/ci-scripts/conf_files/ci-
$LOC_CONF_FILE
--rfsim --log_config.global_log_options level,nocolor,
line_num
--eNBs.[0].rrc_inactivity_threshold 0 --eNBs.[0].plmn_list.[0].mnc 93
\"
> ./my-lte-softmodem-run.sh "
>>
$1
echo
"echo
\"
ulimit -c unlimited && ./lte-softmodem -O /home/ubuntu/tmp/ci-scripts/conf_files/ci-
$LOC_CONF_FILE
--rfsim --log_config.global_log_options level,nocolor,
time
--eNBs.[0].rrc_inactivity_threshold 0 --eNBs.[0].plmn_list.[0].mnc 93
\"
> ./my-lte-softmodem-run.sh "
>>
$1
fi
echo
"chmod 775 ./my-lte-softmodem-run.sh"
>>
$1
echo
"cat ./my-lte-softmodem-run.sh"
>>
$1
...
...
@@ -1159,9 +1159,9 @@ function start_rf_sim_ue {
echo
"cd /home/ubuntu/tmp/cmake_targets/ran_build/build/"
>>
$1
if
[
$LOC_S1_CONFIGURATION
-eq
0
]
then
echo
"echo
\"
ulimit -c unlimited && ./lte-uesoftmodem -C
${
LOC_FREQUENCY
}
000000 -r
$LOC_PRB
--ue-rxgain 140 --ue-txgain 120 --nokrnmod 1 --rfsim --log_config.global_log_options level,nocolor,
line_num
--noS1
\"
> ./my-lte-softmodem-run.sh "
>>
$1
echo
"echo
\"
ulimit -c unlimited && ./lte-uesoftmodem -C
${
LOC_FREQUENCY
}
000000 -r
$LOC_PRB
--ue-rxgain 140 --ue-txgain 120 --nokrnmod 1 --rfsim --log_config.global_log_options level,nocolor,
time
--noS1
\"
> ./my-lte-softmodem-run.sh "
>>
$1
else
echo
"echo
\"
ulimit -c unlimited && ./lte-uesoftmodem -C
${
LOC_FREQUENCY
}
000000 -r
$LOC_PRB
--ue-rxgain 140 --ue-txgain 120 --nokrnmod 1 --rfsim --log_config.global_log_options level,nocolor,
line_num
\"
> ./my-lte-softmodem-run.sh "
>>
$1
echo
"echo
\"
ulimit -c unlimited && ./lte-uesoftmodem -C
${
LOC_FREQUENCY
}
000000 -r
$LOC_PRB
--ue-rxgain 140 --ue-txgain 120 --nokrnmod 1 --rfsim --log_config.global_log_options level,nocolor,
time
\"
> ./my-lte-softmodem-run.sh "
>>
$1
fi
echo
"chmod 775 ./my-lte-softmodem-run.sh"
>>
$1
echo
"cat ./my-lte-softmodem-run.sh"
>>
$1
...
...
@@ -1281,12 +1281,12 @@ function start_rf_sim_gnb {
then
if
[
$LOC_RA_SA_TEST
-eq
0
]
#no RA test => use --phy-test option
then
echo
"echo
\"
./nr-softmodem -O /home/ubuntu/tmp/ci-scripts/conf_files/ci-
$LOC_CONF_FILE
--log_config.global_log_options level,nocolor,
line_num
--parallel-config PARALLEL_SINGLE_THREAD --noS1 --nokrnmod 1 --rfsim --phy-test --lowmem --noS1
\"
> ./my-nr-softmodem-run.sh "
>>
$1
echo
"echo
\"
./nr-softmodem -O /home/ubuntu/tmp/ci-scripts/conf_files/ci-
$LOC_CONF_FILE
--log_config.global_log_options level,nocolor,
time
--parallel-config PARALLEL_SINGLE_THREAD --noS1 --nokrnmod 1 --rfsim --phy-test --lowmem --noS1
\"
> ./my-nr-softmodem-run.sh "
>>
$1
elif
[
$LOC_RA_SA_TEST
-eq
1
]
#RA test => use --do-ra option
then
echo
"echo
\"
./nr-softmodem -O /home/ubuntu/tmp/ci-scripts/conf_files/ci-
$LOC_CONF_FILE
--log_config.global_log_options level,nocolor,
line_num
--parallel-config PARALLEL_SINGLE_THREAD --rfsim --do-ra --lowmem --noS1
\"
> ./my-nr-softmodem-run.sh "
>>
$1
echo
"echo
\"
./nr-softmodem -O /home/ubuntu/tmp/ci-scripts/conf_files/ci-
$LOC_CONF_FILE
--log_config.global_log_options level,nocolor,
time
--parallel-config PARALLEL_SINGLE_THREAD --rfsim --do-ra --lowmem --noS1
\"
> ./my-nr-softmodem-run.sh "
>>
$1
else
#SA test => use --sa option
echo
"echo
\"
./nr-softmodem -O /home/ubuntu/tmp/ci-scripts/conf_files/ci-
$LOC_CONF_FILE
--log_config.global_log_options level,nocolor,
line_num
--parallel-config PARALLEL_SINGLE_THREAD --rfsim --sa --lowmem
\"
> ./my-nr-softmodem-run.sh "
>>
$1
echo
"echo
\"
./nr-softmodem -O /home/ubuntu/tmp/ci-scripts/conf_files/ci-
$LOC_CONF_FILE
--log_config.global_log_options level,nocolor,
time
--parallel-config PARALLEL_SINGLE_THREAD --rfsim --sa --lowmem
\"
> ./my-nr-softmodem-run.sh "
>>
$1
fi
fi
echo
"chmod 775 ./my-nr-softmodem-run.sh"
>>
$1
...
...
@@ -1397,12 +1397,12 @@ function start_rf_sim_nr_ue {
then
if
[
$LOC_RA_SA_TEST
-eq
0
]
#no RA test => use --phy-test option
then
echo
"echo
\"
./nr-uesoftmodem --nokrnmod 1 --rfsim --phy-test --rrc_config_path /home/ubuntu/tmp/cmake_targets/ran_build/build/ --log_config.global_log_options level,nocolor,
line_num
--noS1
\"
> ./my-nr-softmodem-run.sh "
>>
$1
echo
"echo
\"
./nr-uesoftmodem --nokrnmod 1 --rfsim --phy-test --rrc_config_path /home/ubuntu/tmp/cmake_targets/ran_build/build/ --log_config.global_log_options level,nocolor,
time
--noS1
\"
> ./my-nr-softmodem-run.sh "
>>
$1
elif
[
$LOC_RA_SA_TEST
-eq
1
]
#RA test => use --do-ra option
then
echo
"echo
\"
./nr-uesoftmodem --rfsim --do-ra --log_config.global_log_options level,nocolor,
line_num
--rrc_config_path /home/ubuntu/tmp/cmake_targets/ran_build/build/
\"
> ./my-nr-softmodem-run.sh "
>>
$1
echo
"echo
\"
./nr-uesoftmodem --rfsim --do-ra --log_config.global_log_options level,nocolor,
time
--rrc_config_path /home/ubuntu/tmp/cmake_targets/ran_build/build/
\"
> ./my-nr-softmodem-run.sh "
>>
$1
else
#SA test => use --sa option
echo
"echo
\"
./nr-uesoftmodem -r 106 --numerology 1 --band 78 -C 3619200000 --rfsim --sa --log_config.global_log_options level,nocolor,
line_num
\"
> ./my-nr-softmodem-run.sh "
>>
$1
echo
"echo
\"
./nr-uesoftmodem -r 106 --numerology 1 --band 78 -C 3619200000 --rfsim --sa --log_config.global_log_options level,nocolor,
time
\"
> ./my-nr-softmodem-run.sh "
>>
$1
fi
fi
echo
"chmod 775 ./my-nr-softmodem-run.sh"
>>
$1
...
...
ci-scripts/yaml_files/4g_rfsimulator/docker-compose.yml
View file @
768f14a9
...
...
@@ -221,7 +221,7 @@ services:
FLEXRAN_ENABLED
:
'
no'
FLEXRAN_INTERFACE_NAME
:
eth0
FLEXRAN_IPV4_ADDRESS
:
192.168.61.10
USE_ADDITIONAL_OPTIONS
:
--rfsim --log_config.global_log_options level,nocolor,
lin
e
USE_ADDITIONAL_OPTIONS
:
--rfsim --log_config.global_log_options level,nocolor,
tim
e
healthcheck
:
test
:
/bin/bash -c "pgrep lte-softmodem"
interval
:
10s
...
...
@@ -248,7 +248,7 @@ services:
OPC
:
'
c42449363bbad02b66d16bc975d77cc1'
MSISDN
:
'
001011234561010'
HPLMN
:
20896
USE_ADDITIONAL_OPTIONS
:
--rfsim -C 2680000000 -r 25 --ue-rxgain 140 --ue-txgain 120 --nokrnmod 1 --log_config.global_log_options level,nocolor,
lin
e
USE_ADDITIONAL_OPTIONS
:
--rfsim -C 2680000000 -r 25 --ue-rxgain 140 --ue-txgain 120 --nokrnmod 1 --log_config.global_log_options level,nocolor,
tim
e
healthcheck
:
test
:
/bin/bash -c "pgrep lte-uesoftmodem"
interval
:
10s
...
...
ci-scripts/yaml_files/5g_f1_rfsimulator/docker-compose.yaml
View file @
768f14a9
...
...
@@ -249,7 +249,7 @@ services:
F1_DU_IP_ADDRESS
:
192.168.71.138
F1_CU_D_PORT
:
2153
F1_DU_D_PORT
:
2153
USE_ADDITIONAL_OPTIONS
:
--sa --rfsim --log_config.global_log_options level,nocolor,
lin
e
USE_ADDITIONAL_OPTIONS
:
--sa --rfsim --log_config.global_log_options level,nocolor,
tim
e
depends_on
:
-
oai-ext-dn
networks
:
...
...
@@ -285,7 +285,7 @@ services:
F1_DU_IP_ADDRESS
:
192.168.71.138
F1_CU_D_PORT
:
2153
F1_DU_D_PORT
:
2153
USE_ADDITIONAL_OPTIONS
:
--sa --rfsim --log_config.global_log_options level,nocolor,
lin
e
USE_ADDITIONAL_OPTIONS
:
--sa --rfsim --log_config.global_log_options level,nocolor,
tim
e
depends_on
:
-
oai-cu
networks
:
...
...
@@ -308,7 +308,7 @@ services:
DNN
:
oai
NSSAI_SST
:
1
NSSAI_SD
:
1
USE_ADDITIONAL_OPTIONS
:
--sa --rfsim -r 106 --numerology 1 -C 3619200000 --nokrnmod --log_config.global_log_options level,nocolor,
lin
e
USE_ADDITIONAL_OPTIONS
:
--sa --rfsim -r 106 --numerology 1 -C 3619200000 --nokrnmod --log_config.global_log_options level,nocolor,
tim
e
depends_on
:
-
oai-du
networks
:
...
...
ci-scripts/yaml_files/5g_rfsimulator/docker-compose.yaml
View file @
768f14a9
...
...
@@ -244,7 +244,7 @@ services:
GNB_NGA_IP_ADDRESS
:
192.168.71.136
GNB_NGU_IF_NAME
:
eth0
GNB_NGU_IP_ADDRESS
:
192.168.71.136
USE_ADDITIONAL_OPTIONS
:
--sa -E --rfsim --log_config.global_log_options level,nocolor,
lin
e
USE_ADDITIONAL_OPTIONS
:
--sa -E --rfsim --log_config.global_log_options level,nocolor,
tim
e
depends_on
:
-
oai-ext-dn
networks
:
...
...
@@ -267,7 +267,7 @@ services:
DNN
:
oai
NSSAI_SST
:
1
NSSAI_SD
:
1
USE_ADDITIONAL_OPTIONS
:
-E --sa --rfsim -r 106 --numerology 1 -C 3619200000 --nokrnmod --log_config.global_log_options level,nocolor,
lin
e
USE_ADDITIONAL_OPTIONS
:
-E --sa --rfsim -r 106 --numerology 1 -C 3619200000 --nokrnmod --log_config.global_log_options level,nocolor,
tim
e
depends_on
:
-
oai-gnb
networks
:
...
...
ci-scripts/yaml_files/fr1_enb_mono_fdd_tim/docker-compose.yml
View file @
768f14a9
...
...
@@ -27,7 +27,7 @@ services:
FLEXRAN_ENABLED
:
'
no'
FLEXRAN_INTERFACE_NAME
:
eth0
FLEXRAN_IPV4_ADDRESS
:
CI_FLEXRAN_CTL_IP_ADDR
USE_ADDITIONAL_OPTIONS
:
--RUs.[0].max_rxgain 115 --RUs.[0].max_pdschReferenceSignalPower -27 --eNBs.[0].component_carriers.[0].pucch_p0_Nominal -96 --log_config.global_log_options level,nocolor,
lin
e
USE_ADDITIONAL_OPTIONS
:
--RUs.[0].max_rxgain 115 --RUs.[0].max_pdschReferenceSignalPower -27 --eNBs.[0].component_carriers.[0].pucch_p0_Nominal -96 --log_config.global_log_options level,nocolor,
tim
e
volumes
:
-
/dev:/dev
networks
:
...
...
ci-scripts/yaml_files/nsa_b200_enb/docker-compose.yml
View file @
768f14a9
...
...
@@ -31,7 +31,7 @@ services:
FLEXRAN_INTERFACE_NAME
:
eth0
FLEXRAN_IPV4_ADDRESS
:
192.168.18.210
THREAD_PARALLEL_CONFIG
:
PARALLEL_SINGLE_THREAD
USE_ADDITIONAL_OPTIONS
:
--log_config.global_log_options level,nocolor,
lin
e
USE_ADDITIONAL_OPTIONS
:
--log_config.global_log_options level,nocolor,
tim
e
volumes
:
-
/dev:/dev
networks
:
...
...
ci-scripts/yaml_files/nsa_b200_gnb/docker-compose.yml
View file @
768f14a9
...
...
@@ -26,7 +26,7 @@ services:
FLEXRAN_INTERFACE_NAME
:
eth0
FLEXRAN_IPV4_ADDRESS
:
192.168.18.210
THREAD_PARALLEL_CONFIG
:
PARALLEL_RU_L1_TRX_SPLIT
USE_ADDITIONAL_OPTIONS
:
-E -q --RUs.[0].sdr_addrs serial=30C51D4 --log_config.global_log_options level,nocolor,
lin
e
USE_ADDITIONAL_OPTIONS
:
-E -q --RUs.[0].sdr_addrs serial=30C51D4 --log_config.global_log_options level,nocolor,
tim
e
volumes
:
-
/dev:/dev
networks
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment