diff --git a/cmake_targets/autotests/README.txt b/cmake_targets/autotests/README.txt deleted file mode 100755 index 67d3cf9ba2..0000000000 --- a/cmake_targets/autotests/README.txt +++ /dev/null @@ -1,76 +0,0 @@ -OAI Test PLAN - -Obj.# Case# Test# Description - -01 51 Run PHY simulator tests -01 51 00 dlsim test cases (Test 1: 10 MHz, R2.FDD (MCS 5), EVA5, -1dB), - (Test 5: 1.4 MHz, R4.FDD (MCS 4), EVA5, 0dB (70%)), - (Test 6: 10 MHz, R3.FDD (MCS 15), EVA5, 6.7dB (70%)), - (Test 6b: 5 MHz, R3-1.FDD (MCS 15), EVA5, 6.7dB (70%)), - (Test 7: 5 MHz, R3-1.FDD (MCS 15), EVA5, 6.7dB (30%)), - (Test 7b: 5 MHz, R3-1.FDD (MCS 15), ETU70, 1.4 dB (30%)), - (Test 10: 5 MHz, R6.FDD (MCS 25), EVA5, 17.4 dB (70%)), - (Test 10b: 5 MHz, R6-1.FDD (MCS 24,18 PRB), EVA5, 17.5dB (70%)), - (Test 11: 10 MHz, R7.FDD (MCS 25), EVA5, 17.7dB (70%)) - (TM2 Test 1 10 MHz, R.11 FDD (MCS 14), EVA5, 6.8 dB (70%)), - (TM2 Test 1b 20 MHz, R.11-2 FDD (MCS 13), EVA5, 5.9 dB (70%)), -01 51 01 ulsim Test cases. (Test 1, 5 MHz, FDD (MCS 5), AWGN, 6dB), - (Test 2, 5 MHz, FDD (MCS 16), AWGN , 12dB (70%)), - (Test 3, 10 MHz, R3.FDD (MCS 5), AWGN, 6dB (70%)), - (Test 4, 10 MHz, R3-1.FDD (MCS 16), AWGN, 12dB (70%)), - (Test 5, 20 MHz, FDD (MCS 5), AWGN, 6dB (70%)), - (Test 6, 20 MHz, FDD (MCS 16), AWGN, 12 dB (70%)) -01 51 02 ldpc Test cases. (Test1: block length = 3872), - (Test2: block length = 4224), - (Test3: block length = 4576), - (Test4: block length = 4928), - (Test5: block length = 5280), - (Test6: block length = 5632), - (Test7: block length = 6336), - (Test8: block length = 7040), - (Test9: block length = 7744), - (Test10: block length = 8448) -01 51 03 polartest Test cases. (Test1: PBCH polar test), - (Test2: DCI polar test) -01 51 04 nr_pbchsim Test cases. (Test1: PBCH-only, 106 PRB), - (Test2: PBCH and synchronization, 106PBR), - (Test3: PBCH-only, 217 PRB), - (Test4: PBCH and synchronization, 217 RPB), - (Test5: PBCH-only, 273 PRB), - (Test6: PBCH and synchronization, 273 PRB) -01 51 05 nr_dlsim Test cases. (Test1: 106 PRB), - (Test2: 217 PRB), - (Test3: 273 PRB) -01 51 06 nr_dlschsim Test cases. (Test1: 106 PRB), - (Test2: 217 PRB), - (Test3: 273 PRB) -01 51 07 shortblocktest Test cases. (Test1: 3 bits), - (Test2: 6 bits), - (Test3: 7 bits), - (Test4: 11 bits) -01 51 08 nr_ulschsim Test cases. (Test1: 106 PRB), - (Test2: 217 PRB), - (Test3: 273 PRB) -01 51 09 nr_pucchsim Test cases. (Test1: Format 0 ACK miss 106 PRB), - (Test2: Format 1 ACK miss 106 PRB), - (Test3: Format 1 ACK miss 273 PRB), - (Test4: Format 1 NACKtoACK 106 PRB) -01 51 10 dlsim_tm4 test cases (Test 1: 10 MHz, R2.FDD (MCS 5), EVA5, -1dB), - (Test 5: 1.4 MHz, R4.FDD (MCS 4), EVA5, 0dB (70%)), - (Test 6: 10 MHz, R3.FDD (MCS 15), EVA5, 6.7dB (70%)), - (Test 6b: 5 MHz, R3-1.FDD (MCS 15), EVA5, 6.7dB (70%)), - (Test 7: 5 MHz, R3-1.FDD (MCS 15), EVA5, 6.7dB (30%)), - (Test 7b: 5 MHz, R3-1.FDD (MCS 15), ETU70, 1.4 dB (30%)), - (Test 10: 5 MHz, R6.FDD (MCS 25), EVA5, 17.4 dB (70%)), - (Test 10b: 5 MHz, R6-1.FDD (MCS 24,18 PRB), EVA5, 17.5dB (70%)), - (Test 11: 10 MHz, R7.FDD (MCS 25), EVA5, 17.7dB (70%)) - (TM2 Test 1 10 MHz, R.11 FDD (MCS 14), EVA5, 6.8 dB (70%)), - (TM2 Test 1b 20 MHz, R.11-2 FDD (MCS 13), EVA5, 5.9 dB (70%)), -01 51 11 nr_ulsim Test cases. (Test1: MCS 9 106 PRBs), - (Test2: MCS 16 50 PRBs), - (Test3: MCS 28 50 PRBs), - (Test4: MCS 9 217 PRBs), - (Test5: MCS 9 273 PRBs) -01 51 12 nr_prachsim Test cases.(Test1: 106 PRBs), - (Test2: 217 PRBs), - (Test3: 273 PRBs) diff --git a/cmake_targets/autotests/run_exec_autotests.bash b/cmake_targets/autotests/run_exec_autotests.bash deleted file mode 100755 index c531f62f9a..0000000000 --- a/cmake_targets/autotests/run_exec_autotests.bash +++ /dev/null @@ -1,304 +0,0 @@ -#!/bin/bash -#set -xv -#/* -# * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more -# * contributor license agreements. See the NOTICE file distributed with -# * this work for additional information regarding copyright ownership. -# * The OpenAirInterface Software Alliance licenses this file to You under -# * the OAI Public License, Version 1.1 (the "License"); you may not use this file -# * except in compliance with the License. -# * You may obtain a copy of the License at -# * -# * http://www.openairinterface.org/?page_id=698 -# * -# * Unless required by applicable law or agreed to in writing, software -# * distributed under the License is distributed on an "AS IS" BASIS, -# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# * See the License for the specific language governing permissions and -# * limitations under the License. -# *------------------------------------------------------------------------------- -# * For more information about the OpenAirInterface (OAI) Software Alliance: -# * contact@openairinterface.org -# */ - -if [ -s $OPENAIR_DIR/cmake_targets/tools/build_helper ] ; then - source $OPENAIR_DIR/cmake_targets/tools/build_helper -else - echo "Error: no file in the file tree: is OPENAIR_DIR variable set?" - exit 1 -fi - -source $OPENAIR_DIR/cmake_targets/tools/test_helper - -tdir=$OPENAIR_DIR/cmake_targets/autotests -rm -fr $tdir/bin -mkdir -p $tdir/bin -results_file="$tdir/log/results_autotests.xml" - - -#\param $1 -> name of test case -#\param $2 -> name of executable -#\param $3 -> arguments for running the program -#\param $4 -> search expression -#\param $5 -> search expression which should NOT be found (for ex. segmentation fault) -#\param $6 -> number of runs -#\param $7 -> tags to help identify the test case for readability in output xml file -#\param $8 => test config file params to be modified -#\param $9 -> desc to help identify the test case for readability in output xml file - -function test_run() { - xUnit_start - test_case_name=$1 - log_dir=$tdir/log/$test_case_name - log_file=$log_dir/test.$1.log.txt - main_exec=$2 - exec_args=$3 - search_expr_array=("${!4}") - search_expr_negative=$5 - nruns=${6} - tags=${7} - test_config_file=${8} - desc=${9} - - xmlfile_testcase=$log_dir/test.$1.xml - #Temporary log file where execution log is stored. - temp_exec_log=$log_dir/temp_log.txt - export OPENAIR_LOGDIR=$log_dir - rm -fr $log_dir - mkdir -p $log_dir - - echo "" > $temp_exec_log - echo "start at $(date)" > "$log_file" - #echo "log_dir = $log_dir" - #echo "log_file = $log_file" - #echo "exec_file = $exec_file" - #echo "exec_args = $exec_args" - #echo "search_expr = $search_expr" - #echo "nruns = $nruns" - #echo "desc = $desc" - - tags_array=() - read -a tags_array <<<"$tags" - desc_array=() - readarray -t desc_array <<<"$desc" - - main_exec_args_array=() - readarray -t main_exec_args_array <<< "$exec_args" - - if [ ! -f $main_exec ]; then - echo_fatal "no executable $main_exec found" - fi - - tags_array_index=0 - for main_exec_args_array_index in "${main_exec_args_array[@]}" - do - global_result=PASS - result_string="" - PROPER_DESC=`echo ${desc_array[$tags_array_index]} | sed -e "s@^.*Test cases.*(Test@Test@" -e "s@^ *(@@" -e"s/)$//" -e "s/),$//"` - echo_info "$PROPER_DESC" - - for (( run_index=1; run_index <= $nruns; run_index++ )) - do - temp_exec_log="$log_dir/test.$test_case_name.${tags_array[$tags_array_index]}.run_$run_index" - echo "Executing test case $test_case_name.${tags_array[$tags_array_index]}, Run Index = $run_index, Execution Log file = $temp_exec_log" - - echo "-----------------------------------------------------------------------------" > "$temp_exec_log" - echo "" >> "$temp_exec_log" - echo "Executing $main_exec $main_exec_args_array_index at $(date)" >> "$temp_exec_log" - uname -a >> "$temp_exec_log" - time "$main_exec" $main_exec_args_array_index >> "$temp_exec_log" 2>&1 & - done - - wait - - for (( run_index=1; run_index <= $nruns; run_index++ )) - do - temp_exec_log="$log_dir/test.$test_case_name.${tags_array[$tags_array_index]}.run_$run_index" - echo "" >> $temp_exec_log 2>&1 - cat "$temp_exec_log" >> "$log_file" 2>&1 - - result=PASS - for search_expr in "${search_expr_array[@]}" - do - grep -Eq "$search_expr" $temp_exec_log || result=FAIL - done - - #If we find a negative search result then there is crash of program and test case is failed even if above condition is true - grep -q -iE "$search_expr_negative" $temp_exec_log && result=FAIL - - if [ "$result" != PASS ]; then - echo_error "$test_case_name.${tags_array[$tags_array_index]} RUN = $run_index Result = FAIL" - else - echo_success "$test_case_name.${tags_array[$tags_array_index]} RUN = $run_index Result = PASS" - fi - - result_string=$result_string" Run_$run_index =$result" - if [ $result != PASS ] ; then - global_result=FAIL - fi - - done #End of for loop (nindex) - - echo "END at $(date)" >> "$log_file" - - if [ "$global_result" != PASS ]; then - echo_error "execution $test_case_name.${tags_array[$tags_array_index]} {$PROPER_DESC} Run_Result = \"$result_string\" Result = FAIL" - xUnit_fail "execution" "$test_case_name.${tags_array[$tags_array_index]}" "FAIL" "$result_string" "$xmlfile_testcase" "$PROPER_DESC" - else - echo_success "execution $test_case_name.${tags_array[$tags_array_index]} {$PROPER_DESC} Run_Result = \"$result_string\" Result = PASS " - xUnit_success "execution" "$test_case_name.${tags_array[$tags_array_index]}" "PASS" "$result_string" "$xmlfile_testcase" "$PROPER_DESC" - fi - - let "tags_array_index++" - done -} - -dlog=$OPENAIR_DIR/cmake_targets/autotests/log -exec_dir=$OPENAIR_DIR/cmake_targets/ran_build/build -xml_conf="$OPENAIR_DIR/cmake_targets/autotests/test_case_list.xml" - -function print_help() { - echo_info ' -This program runs automated test cases -Options --c | --config - Set the configuration file to execute (default: $xml_conf) --d | --exec-dir - Set directory of executables (default: $exec_dir) --g | --run-group - Run test cases in a group. For example, ./run_exec_autotests "0101* 010102" --h | --help - This help -' -} - -function main () { -RUN_GROUP=0 -test_case_group="" -test_case_group_array=() -test_case_array=() - -until [ -z "$1" ]; do - case "$1" in - -c|--config) - xml_conf=$2 - echo "setting xml_conf to $xml_conf" - shift 2;; - -d|--exec-dir) - exec_dir=$2 - echo "setting exec_dir to $exec_dir" - shift 2;; - -g | --run-group) - RUN_GROUP=1 - test_case_group=$2 - test_case_group=`sed "s/\+/\*/g" <<< "${test_case_group}"` # Replace + with * for bash string substituion - echo_info "Will execute test cases only in group $test_case_group" - shift 2;; - -h | --help) - print_help - exit 1;; - *) - print_help - echo_fatal "Unknown option $1" - break;; - esac -done - -test_case_excl_list=`xmlstarlet sel -t -v "/testCaseList/TestCaseExclusionList" $xml_conf` -test_case_excl_list=`sed "s/\+/\*/g" <<< "$test_case_excl_list" ` # Replace + with * for bash string substituion -echo "Test Case Exclusion List = $test_case_excl_list " -read -a test_case_excl_array <<< "$test_case_excl_list" - -test_case_list=`xmlstarlet sel -T -t -m /testCaseList/testCase -s A:N:- "@id" -v "@id" -n $xml_conf` -echo "test_case_list = $test_case_list" -readarray -t test_case_array <<<"$test_case_list" - -read -a test_case_group_array <<< "$test_case_group" -for search_expr in "${test_case_array[@]}" - do - flag_run_test_case=0 - # search if this test case needs to be executed - if [ "$RUN_GROUP" -eq "1" ]; then - for search_group in "${test_case_group_array[@]}" - do - if [[ $search_expr == $search_group ]];then - flag_run_test_case=1 - echo_info "Test case $search_expr match found in group" - break - fi - done - else - flag_run_test_case=1 - fi - - for search_excl in "${test_case_excl_array[@]}" - do - if [[ $search_expr == $search_excl ]];then - flag_run_test_case=0 - echo_info "Test case $search_expr match found in test case excl group. Will skip the test case for execution..." - break - fi - done - - - #We skip this test case if it is not in the group list - if [ "$flag_run_test_case" -ne "1" ]; then - continue - fi - - name=$search_expr - desc=`xmlstarlet sel -t -v "/testCaseList/testCase[@id='$search_expr']/desc" $xml_conf` - main_exec=$exec_dir/`xmlstarlet sel -t -v "/testCaseList/testCase[@id='$search_expr']/main_exec" $xml_conf` - main_exec_args=`xmlstarlet sel -t -v "/testCaseList/testCase[@id='$search_expr']/main_exec_args" $xml_conf` - search_expr_true=`xmlstarlet sel -t -v "/testCaseList/testCase[@id='$search_expr']/search_expr_true" $xml_conf` - search_expr_false=`xmlstarlet sel -t -v "/testCaseList/testCase[@id='$search_expr']/search_expr_false" $xml_conf` - nruns=`xmlstarlet sel -t -v "/testCaseList/testCase[@id='$search_expr']/nruns" $xml_conf` - tags=`xmlstarlet sel -t -v "/testCaseList/testCase[@id='$search_expr']/tags" $xml_conf` - - echo "name = $name" - echo "Description = $desc" - echo "main_exec = $main_exec" - echo "main_exec_args = $main_exec_args" - echo "search_expr_true = $search_expr_true" - echo "search_expr_false = $search_expr_false" - echo "tags = $tags" - echo "nruns = $nruns" - - - search_array_true=() - - IFS=\" #set the shell field separator - set -f #dont try to glob - #set -- $search_expr_true #split on $IFS - for i in $search_expr_true - do echo "i = $i" - if [ -n "$i" ] && [ "$i" != " " ]; then - search_array_true+=("$i") - #echo "inside i = \"$i\" " - fi - done - unset IFS - - #echo "arg1 = ${search_array_true[0]}" - #echo " arg2 = ${search_array_true[1]}" - - test_run \ - "$name" \ - "$main_exec" \ - "$main_exec_args" \ - "search_array_true[@]" \ - "$search_expr_false" \ - "$nruns" \ - "$tags" \ - "$test_config_file" \ - "$desc" - - done -} - -uname -a - -main "$@" - -xUnit_write "$results_file" -echo "Test Results are written to $results_file" diff --git a/cmake_targets/autotests/test_case_list.xml b/cmake_targets/autotests/test_case_list.xml deleted file mode 100755 index 6d9d64bce2..0000000000 --- a/cmake_targets/autotests/test_case_list.xml +++ /dev/null @@ -1,584 +0,0 @@ - - - - - dlsim Test cases. (Test 1: 10 MHz, R2.FDD (MCS 5), EVA5, -1dB), - (Test 5: 1.4 MHz, R4.FDD (MCS 4), EVA5, 0dB (70%)), - (Test 6: 10 MHz, R3.FDD (MCS 15), EVA5, 6.7dB (70%)), - (Test 6b: 5 MHz, R3-1.FDD (MCS 15), EVA5, 6.7dB (70%)), - (Test 7: 10 MHz, R3-1.FDD (MCS 15), EVA5, 6.7dB (30%)), - (Test 7b: 5 MHz, R3-1.FDD (MCS 15), ETU70, 1.4 dB (30%)), - (Test 10: 5 MHz, R6.FDD (MCS 25), EVA5, 17.4 dB (70%)), - (Test 10b: 5 MHz, R6-1.FDD (MCS 24,18 PRB), EVA5, 17.5dB (70%)), - (Test 11: 10 MHz, R7.FDD (MCS 25), EVA5, 17.7dB (70%)) - dlsim - -m=5 -g=F -s=-1 -w=1.0 -f=.2 -n=500 -B=50 -c=2 -z=2 -Tperf=60 - -m=4 -g=F -s=0 -w=1.0 -f=.2 -n=500 -B=6 -c=4 -z=2 -Tperf=60 - -m=15 -g=F -s=6.7 -w=1.0 -f=.2 -n=500 -B=50 -c=2 -z=2 -Tperf=60 - -m=15 -g=F -s=6.7 -w=1.0 -f=.2 -n=500 -B=25 -c=2 -z=2 -Tperf=60 - -m=15 -g=G -s=1.4 -w=1.0 -f=.2 -n=500 -B=50 -c=2 -z=2 -Tperf=25 - -m=15 -g=G -s=1.4 -w=1.0 -f=.2 -n=500 -B=25 -c=2 -z=2 -Tperf=25 - -m=25 -g=F -s=17.4 -w=1.0 -f=.2 -n=500 -B=25 -c=3 -z=2 -Tperf=60 - -m=25 -g=F -s=17.5 -w=1.0 -f=.2 -n=500 -B=25 -c=3 -z=2 -r=1022 -Tperf=60 - -m=26 -g=F -s=17.7 -w=1.0 -f=.2 -n=500 -B=50 -c=2 -z=2 -Tperf=60 - test1 test5 test6 test6b test7 test7b test10 test10b test11 - "passed" - segmentation fault|assertion|exiting|fatal - 3 - - - - dlsim Test cases. (Test 15: 20 MHz, R.9 FDD (MCS 26), EVA5, 17.6dB (70%)), - (Test 15b: 20 MHz, R.9-2 FDD (MCS 26, 17PRB), EVA5, 17.3dB (70%)), - (Test 15c: 20 MHz, R.9-1 FDD (MCS 26, 83 PRB), EVA5, 16.6dB (70%)), - (TM2 Test 1: 10 MHz, R.11 FDD (MCS 14), EVA5, 6.8 dB (70%)), - (TM2 Test 1b: 5 MHz, R.11-2 FDD (MCS 13), EVA5, 5.9 dB (70%)) - dlsim - -m=26 -g=F -s=17.6 -w=1.0 -f=.2 -n=500 -B=100 -c=2 -z=2 -Tperf=60 - -m=26 -g=F -s=17.3 -w=1.0 -f=.2 -n=500 -B=100 -c=2 -z=2 -r=1600 -Tperf=60 - -m=26 -g=F -s=16.6 -w=1.0 -f=.2 -n=500 -B=100 -c=2 -z=2 -r=1899 -Tperf=60 - -m=14 -g=F -s=6.8 -w=1.0 -f=.2 -n=500 -B=50 -c=2 -x=2 -y=2 -z=2 -Tperf=60 - -m=13 -g=F -s=5.9 -w=1.0 -f=.2 -n=500 -B=25 -c=3 -x=2 -y=2 -z=2 -Tperf=60 - test15 test15b test15c TM2_test1 TM2_test1b - "passed" - segmentation fault|assertion|exiting|fatal - 3 - - - - ulsim Test cases. (Test 1: 5 MHz, FDD (MCS 5), AWGN, 6dB), - (Test 2: 5 MHz, FDD (MCS 16), AWGN , 12dB (70%)), - (Test 3: 10 MHz, R3.FDD (MCS 5), AWGN, 6dB (70%)), - (Test 4: 10 MHz, R3-1.FDD (MCS 16), AWGN, 12dB (70%)), - (Test 5: 20 MHz, FDD (MCS 5), AWGN, 6dB (70%)), - (Test 6: 20 MHz, FDD (MCS 16), AWGN, 12 dB (70%)) - ulsim - -BnbRBs=25 -mcs=5 -yN_rx=1 -gchannel=N -xTransmission=1 -snr=6 -wsnrInterrupt=1.0 -e_snr_step=.1 -P -nb_frame=500 -Tperf=70 - -BnbRBs=25 -mcs=16 -yN_rx=1 -gchannel=N -xTransmission=1 -snr=12 -wsnrInterrupt=1.0 -e_snr_step=.1 -P -nb_frame=500 -Tperf=70 - -BnbRBs=50 -mcs=5 -yN_rx=1 -gchannel=N -xTransmission=1 -snr=6 -wsnrInterrupt=1.0 -e_snr_step=.1 -P -nb_frame=500 -Tperf=70 - -BnbRBs=50 -mcs=16 -yN_rx=1 -gchannel=N -xTransmission=1 -snr=12 -wsnrInterrupt=1.0 -e_snr_step=.1 -P -nb_frame=500 -Tperf=70 - -BnbRBs=100 -mcs=5 -yN_rx=1 -gchannel=N -xTransmission=1 -snr=6 -wsnrInterrupt=1.0 -e_snr_step=.1 -P -nb_frame=500 -Tperf=70 - -BnbRBs=100 -mcs=16 -yN_rx=1 -gchannel=N -xTransmission=1 -snr=12 -wsnrInterrupt=1.0 -e_snr_step=.1 -P -nb_frame=500 -Tperf=70 - test1 test2 test3 test4 test5 test6 - "passed" - segmentation fault|assertion|exiting|fatal - 3 - - - - ldpc Test cases. (Test1: block length = 3872, BG1), - (Test2: block length = 4224, BG1), - (Test3: block length = 4576, BG1), - (Test4: block length = 4928, BG1), - (Test5: block length = 5280, BG1), - (Test6: block length = 5632, BG1), - (Test7: block length = 6336, BG1), - (Test8: block length = 7040, BG1), - (Test9: block length = 7744, BG1), - (Test10: block length = 8448, BG1), - (Test11: block length = 1, BG2), - (Test12: block length = 100, BG2), - (Test13: block length = 193, BG2), - (Test14: block length = 500, BG2), - (Test15: block length = 561, BG2), - (Test16: block length = 600, BG2), - (Test17: block length = 641, BG2), - (Test18: block length = 2000, BG2), - (Test19: block length = 3000, BG2), - (Test20: block length = 3840, BG2) - ldpctest - -l3872 -s10 -n100 - -l4224 -s10 -n100 - -l4576 -s10 -n100 - -l4928 -s10 -n100 - -l5280 -s10 -n100 - -l5632 -s10 -n100 - -l6336 -s10 -n100 - -l7040 -s10 -n100 - -l7744 -s10 -n100 - -l8448 -s10 -n100 - -l1 -s10 -n100 - -l100 -s10 -n100 - -l193 -s10 -n100 - -l500 -s10 -n100 - -l561 -s10 -n100 - -l600 -s10 -n100 - -l641 -s10 -n100 - -l2000 -s10 -n100 - -l3000 -s10 -n100 - -l3840 -s10 -n100 - test1 test2 test3 test4 test5 test6 test7 test8 test9 test10 test11 test12 test13 test14 test15 test16 test17 test18 test19 test20 - BLER 0.000000 - segmentation fault|assertion|exiting|fatal|differ - 3 - - - - polartest Test cases. (Test1: PBCH polar test), - (Test2: DCI polar test), - (Test3: UCI polar test,6-bit CRC), - (Test4: UCI polar test,11-bit CRC) - polartest - -q -s-10 -f0 - -q -s-10 -f0 -m1 - -q -s-2 -f2 -m2 -k12 - -q -s-2 -f2 -m2 -k20 - test1 test2 test3 test4 - BLER= 0.000000 - segmentation fault|assertion|exiting|fatal - 3 - - - - nr_pbchsim Test cases. (Test1: PBCH-only, 106 PRB, NID 2), - (Test2: PBCH and synchronization, 106PBR), - (Test3: PBCH and synchronization, 106PBR, SSB SC OFFSET 6) - nr_pbchsim - -s-11 -S-8 -n10 -R106 -N2 - -s-11 -S-8 -n10 -o8000 -I -R106 - -s-11 -S-8 -n10 -R106 -c6 - test1 test2 test3 - PBCH test OK - segmentation fault|assertion|exiting|fatal - 3 - - - - nr_pbchsim Test cases. (Test1: PBCH-only, 217 PRB), - (Test2: PBCH and synchronization, 217 RPB) - nr_pbchsim - -s-10 -S-8 -n10 -R217 - -s-10 -S-8 -n10 -o8000 -I -R217 - test1 test2 - PBCH test OK - segmentation fault|assertion|exiting|fatal - 3 - - - - nr_pbchsim Test cases. (Test1: PBCH-only, 273 PRB), - (Test2: PBCH and synchronization, 273 PRB) - nr_pbchsim - -s-10 -S-8 -n10 -R273 - -s-10 -S-8 -n10 -o8000 -I -R273 - test1 test2 - PBCH test OK - segmentation fault|assertion|exiting|fatal - 3 - - - - nr_pbchsim Test cases. (Test1: PBCH-only, 15Khz, 5Mhz), - (Test2: PBCH-only, 120Khz, 50Mhz) - nr_pbchsim - -s-10 -S-8 -n10 -m0 -R25 - -s-10 -S-8 -n10 -m3 -R32 - test1 test2 - PBCH test OK - segmentation fault|assertion|exiting|fatal - 3 - - - - nr_dlsim Test cases. (Test1: 106 PRB), - (Test2: 217 PRB), - (Test3: 273 PRB), - (Test4: HARQ test 25% TP 4 rounds), - (Test5: HARQ test 33% TP 3 rounds), - (Test6: HARQ test 50% TP 2 rounds), - (Test7: 25 PRBs, 15 kHz SCS), - (Test8: 32 PRBs, 120 kHz SCS) - nr_dlsim - -n100 -R106 -b106 -s5 - -n100 -R217 -b217 -s5 - -n100 -R273 -b273 -s5 - -n100 -s1 -S2 -t25 - -n100 -s1 -S2 -t33 - -n100 -s5 -S7 -t50 - -n100 -m0 -e0 -R25 -b25 -i 2 1 0 - -n100 -s5 -m3 -R32 -b32 - test1 test2 test3 test4 test5 test6 test7 test8 - PDSCH test OK - segmentation fault|assertion|exiting|fatal - 3 - - - - nr_dlsim Test cases. (Test1: 106 PRB 25 PDSCH-Offset), - (Test2: 106 PRB 51 PDSCH-Offset), - (Test3: 217 PRB 100 PDSCH-PRBs), - (Test4: 217 PRB 80 PDSCH-Offset), - (Test5: 217 PRB 100 PDSCH-PRBs 110 PDSCH-Offset) - nr_dlsim - -n100 -R106 -a25 -s5 - -n100 -R106 -a51 -s5 - -n100 -R217 -b100 -s5 - -n100 -R217 -a80 -s5 - -n100 -R217 -a110 -s5 -b100 - test1 test2 test3 test4 test5 - PDSCH test OK - segmentation fault|assertion|exiting|fatal - 3 - - - - nr_dlsim Test cases. (Test1: 106 PRBs 50 PDSCH-PRBs MCS Index 27), - (Test2: 106 PRBs 50 PDSCH-PRBs MCS Index 16), - (Test3: 106 MCS-TABLE 256 QAM MCS Index 26), - (Test4: MCS 0, low SNR performance), - (Test5: 4x4 MIMO, 1 Layer), - (Test6: 4x4 MIMO, 2 Layers), - (Test7: 4x4 MIMO, 4 Layers) - nr_dlsim - -n100 -e27 -s30 - -n100 -e16 -s11 -S13 - -n100 -q1 -e26 -s30 - -n100 -e0 -t95 -S-1.0 -i 2 1 0 - -n10 -s20 -U 3 0 0 2 -gA -x1 -y4 -z4 - -n10 -s20 -U 3 0 0 2 -gA -x2 -y4 -z4 - -n10 -s20 -U 3 0 0 2 -x4 -y4 -z4 - test1 test2 test3 test4 test5 test6 test7 - PDSCH test OK - segmentation fault|assertion|exiting|fatal - 3 - - - - nr_dlsim Test cases. (Test1: 3 PTRS, 8 Interpolated Symbols), - (Test2: 6 PTRS, 5 Interpolated Symbols), - (Test3: 11 PTRS, 0 Interpolated Symbols), - (Test4: Mapping type A, 2 DMRS Symbols), - (Test5: Mapping type A, 3 DMRS Symbols), - (Test6: Mapping type B, 4 DMRS Symbols) - nr_dlsim - -n100 -s5 -T 2 2 2 - -n100 -s5 -T 2 1 2 - -n100 -s5 -T 2 0 4 - -n100 -s5 -S7 -U 2 0 1 - -n100 -s5 -S7 -U 2 0 2 - -n100 -s5 -S7 -U 2 1 3 - test1 test2 test3 test4 test5 test6 - PDSCH test OK - segmentation fault|assertion|exiting|fatal - 3 - - - - nr_dlschsim Test cases. (Test1: 106 PRB), - (Test2: 217 PRB), - (Test3: 273 PRB) - nr_dlschsim - -R 106 -m9 -s13 -n100 - -R 217 -m15 -s15 -n100 - -R 273 -m19 -s20 -n100 - test1 test2 test3 - PDSCH test OK - segmentation fault|assertion|exiting|fatal - 3 - - - - shortblocktest Test cases. (Test1: 3 bits), - (Test2: 6 bits), - (Test3: 7 bits), - (Test4: 11 bits) - smallblocktest - -l 3 -s -4 -d 1 -i 10000 - -l 6 -s -4 -d 1 -i 10000 - -l 7 -s -4 -d 1 -i 10000 - -l 11 -s -4 -d 1 -i 10000 - test1 test2 test3 test4 - BLER= 0.000000 - segmentation fault|assertion|exiting|fatal - 3 - - - - - nr_ulschsim Test cases. (Test1: 106 PRBs), - (Test2: 217 PRBs), - (Test3: 273 PRBs) - (Test4: 106 PRBs 4-layer MIMO) - nr_ulschsim - -R 106 -m9 -s13 -n100 - -R 217 -m15 -s15 -n100 - -R 273 -m19 -s20 -n100 - -R 106 -m9 -s13 -n100 -y4 -z4 -W4 - test1 test2 test3 test4 - PUSCH test OK - segmentation fault|assertion|exiting|fatal - 3 - - - - nr_pucchsim Test cases. (Test1: Format 0 1-bit ACK miss 106 PRB), - (Test2: Format 0 2-bit ACK miss 106 PRB), - (Test3: Format 0 2-bit ACK miss, 1-bit SR 106 PRB), - (Test4: Format 2 3-bit 2/106 PRB), - (Test5: Format 2 4-bit 2/106 PRB), - (Test6: Format 2 5-bit 2/106 PRB), - (Test7: Format 2 6-bit 2/106 PRB), - (Test8: Format 2 7-bit 2/106 PRB), - (Test9: Format 2 8-bit 2/106 PRB), - (Test10: Format 2 9-bit 2/106 PRB), - (Test11: Format 2 10-bit 2/106 PRB), - (Test12: Format 2 11-bit 2/106 PRB), - (Test13: Format 2 12-bit 4/106 PRB), - (Test14: Format 2 19-bit 4/106 PRB), - (Test15: Format 2 12-bit 8/106 PRB), - (Test16: Format 2 19-bit 8/106 PRB), - (Test17: Format 2 32-bit 8/106 PRB), - (Test18: Format 2 32-bit 16/106 PRB), - (Test19: Format 2 64-bit 16/106 PRB), - (Test20: Format 0 1-bit Ack miss 273 PRB), - (Test21: Format 0 2-bit Ack miss 273 PRB), - (Test22: Format 0 2-bit Ack miss+SR 273 PRB), - (Test23: Format 2 4-bit 2/273 PRB), - (Test24: Format 2 7-bit 2/273 PRB), - (Test25: Format 2 11-bit 2/273 PRB), - (Test26: Format 2 12-bit 8/273 PRB), - (Test27: Format 2 19-bit 8/273 PRB), - (Test28: Format 2 64-bit 16/273 PRB), - (Test29: Format 2 64-bit 16/273 PRB Delay 2us) - nr_pucchsim - -R 106 -i 1 -P 0 -b 1 -s-2 -n1000 - -R 106 -i 1 -P 0 -b 2 -s-2 -n1000 - -R 106 -i 1 -P 0 -b 2 -s-2 -c -n1000 - -R 106 -i 1 -P 2 -b 3 -s0 -n1000 - -R 106 -i 1 -P 2 -b 4 -s0 -n1000 - -R 106 -i 1 -P 2 -b 5 -s1 -n1000 - -R 106 -i 1 -P 2 -b 6 -s2 -n1000 - -R 106 -i 1 -P 2 -b 7 -s3 -n1000 - -R 106 -i 1 -P 2 -b 8 -s4 -n1000 - -R 106 -i 1 -P 2 -b 9 -s5 -n1000 - -R 106 -i 1 -P 2 -b 10 -s6 -n1000 - -R 106 -i 1 -P 2 -b 11 -s6 -n1000 - -R 106 -i 1 -P 2 -q4 -b 12 -s-3 -n1000 - -R 106 -i 1 -P 2 -q4 -b 19 -s-3 -n1000 - -R 106 -i 1 -P 2 -q8 -b 12 -s-3 -n1000 - -R 106 -i 1 -P 2 -q8 -b 19 -s-3 -n1000 - -R 106 -i 1 -P 2 -q8 -b 32 -s-3 -n1000 - -R 106 -i 1 -P 2 -q16 -b 32 -s-3 -n1000 - -R 106 -i 1 -P 2 -q16 -b 64 -s-3 -n1000 - -R 273 -z8 -i 1 -P 0 -b 1 -s-2 -n1000 - -R 273 -z8 -i 1 -P 0 -b 2 -s-2 -n1000 - -R 273 -z8 -i 1 -P 0 -b 2 -s-2 -c -n1000 - -R 273 -z8 -i 1 -P 2 -b 4 -s-10 -n1000 - -R 273 -z8 -i 1 -P 2 -b 7 -s3 -n1000 - -R 273 -z8 -i 1 -P 2 -b 11 -s6 -n1000 - -R 273 -z8 -i 1 -P 2 -q8 -b 12 -s-3 -n1000 - -R 273 -z8 -i 1 -P 2 -q8 -b 19 -s-3 -n1000 - -R 273 -z8 -i 1 -P 2 -q16 -b 64 -s-3 -n1000 - -R 273 -z8 -i 1 -P 2 -q16 -b 64 -s-3 -d 2 -n1000 - test1 test2 test3 test4 test5 test6 test7 test8 test9 test10 test11 test12 test13 test14 test15 test16 test17 test18 test19 test20 test21 test22 test23 test24 test25 test26 test27 test28 test29 - PUCCH test OK - segmentation fault|assertion|exiting|fatal - 3 - - - - - dlsim_tm4 test cases (Test 1: 10 MHz, R2.FDD (MCS 5), EVA5, -1dB), - (Test 5: 1.4 MHz, R4.FDD (MCS 4), EVA5, 0dB (70%)), - (Test 6, 10 MHz, R3.FDD (MCS 15), EVA5, 6.7dB (70%)), - (Test 6b, 5 MHz, R3-1.FDD (MCS 15), EVA5, 6.7dB (70%)), - (Test 7, 5 MHz, R3-1.FDD (MCS 15), EVA5, 6.7dB (30%)), - (Test 7b, 5 MHz, R3-1.FDD (MCS 15), ETU70, 1.4 dB (30%)), - (Test 10, 5 MHz, R6.FDD (MCS 25), EVA5, 17.4 dB (70%)), - (Test 10b, 5 MHz, R6-1.FDD (MCS 24,18 PRB), EVA5, 17.5dB (70%)), - (Test 11, 10 MHz, R7.FDD (MCS 25), EVA5, 17.7dB (70%)) - (TM2 Test 1 10 MHz, R.11 FDD (MCS 14), EVA5, 6.8 dB (70%)), - (TM2 Test 1b 20 MHz, R.11-2 FDD (MCS 13), EVA5, 5.9 dB (70%)), - - $OPENAIR_DIR/cmake_targets/lte-simulators/build/dlsim_tm4 - -m5 -gF -s-1 -w1.0 -f.2 -n500 -B50 -c2 -z2 -O70 - -m4 -gF -s0 -w1.0 -f.2 -n500 -B6 -c4 -z2 -O70 - -m15 -gF -s6.7 -w1.0 -f.2 -n500 -B50 -c2 -z2 -O70 - -m14 -gF -s6.7 -w1.0 -f.2 -n500 -B25 -c3 -z2 -O70 - -m15 -gG -s6.7 -w1.0 -f.2 -n500 -B50 -c2 -z2 -O30 - -m14 -gG -s1.4 -w1.0 -f.2 -n500 -B25 -c3 -z2 -O30 - -m25 -gF -s17.4 -w1.0 -f.2 -n500 -B25 -c3 -z2 -O70 - -m25 -gF -s17.5 -w1.0 -f.2 -n500 -B25 -c3 -z2 -r1022 -O70 - -m26 -gF -s17.7 -w1.0 -f.2 -n500 -B50 -c2 -z2 -O70 - -m14 -gF -s6.8 -w1.0 -f.2 -n500 -B50 -c2 -x2 -y2 -z2 -O70 - -m13 -gF -s5.9 -w1.0 -f.2 -n500 -B25 -c3 -x2 -y2 -z2 -O70 - test1 test5 test6 test6b test7 test7b test10 test10b test11 TM2_test1 TM2_test1b - "passed" - segmentation fault|assertion|exiting|fatal - 3 - - - - nr_ulsim Test cases. (Test1: MCS 9 106 PRBs), - (Test2: MCS 16 50 PRBs), - (Test3: MCS 28 50 PRBs), - (Test4: MCS 27 50 PRBs 256QAM), - (Test5: MCS 9 217 PRBs), - (Test6: MCS 9 273 PRBs), - (Test7: PUSCH Type A, 2 DMRS Symbols), - (Test8: PUSCH Type A, 3 DMRS, 4 PTRS, 5 Interpolated Symbols), - (Test9: PUSCH Type B, 3 DMRS, 2 PTRS, 7 Interpolated Symbols), - (Test10: PUSCH Type B, 3 DMRS, 2 PTRS, 3 Interpolated Symbols), - (Test11: 25 PRBs, 15 kHz SCS), - (Test12: 32 PRBs, 120 kHz SCS), - (Test13: MCS 0, low SNR performance) - (Test14: MCS 28, 106 PRBs, Time shift 8) - (Test15: SRS, SNR 40 dB) - nr_ulsim - -n100 -m9 -r106 -s5 - -n100 -m16 -s10 - -n100 -m28 -s20 - -n100 -m27 -s25 -q1 - -n100 -m9 -R217 -r217 -s5 - -n100 -m9 -R273 -r273 -s5 - -n100 -s5 -U 0,1,1,1 - -n100 -s5 -T 1,2 -U 0,2,1,1 - -n100 -s5 -T 2,2 -U 1,2,1,1 - -n100 -s5 -a4 -b8 -T 1,2 -U 1,3,1,1 - -n100 -u0 -m0 -R25 -r25 -i 1,0 - -n100 -s5 -r32 -R32 -u3 - -n100 -m0 -S -0.6 -i 1,0 - -n100 -m 28 -R106 -r106 -t90 -s24 -S24 -d 8 - -n100 -s40 -E 1 - test1 test2 test3 test4 test5 test6 test7 test8 test9 test10 test11 test12 test13 test14 test15 - PUSCH test OK - segmentation fault|assertion|exiting|fatal - 3 - - - - nr_ulsim Test cases. (Test1: SC-FDMA, 50 PRBs), - (Test2: SC-FDMA, 75 PRBs), - (Test3: SC-FDMA, 216 PRBs), - (Test4: SC-FDMA, 273 PRBs), - (Test5: SC-FDMA, 3 DMRS) - nr_ulsim - -n100 -s5 -Z - -n100 -s5 -Z -r75 - -n50 -s5 -Z -r216 -R217 - -n50 -s5 -Z -r270 -R273 - -n100 -s5 -Z -U 0,2,1,2 - test1 test2 test3 test4 test5 - PUSCH test OK - segmentation fault|assertion|exiting|fatal - 3 - - - - nr_ulsim Test cases. (Test1: MCS 19 50 PRBs 2 RX_Antenna), - (Test2: MCS 9 106 PRBs MIMO 2 layers), - (Test3: MCS 10 106 PRBs MIMO 2 layers), - (Test4: MCS 19 106 PRBs MIMO 2 layers), - (Test5: MCS 9 106 PRBs MIMO 4 layers) - nr_ulsim - -n100 -m19 -s10 -S15 -z2 - -n100 -m9 -r106 -s8 -W2 -y2 -z2 - -n100 -m10 -r106 -s12 -W2 -y2 -z2 - -n100 -m19 -r106 -s22 -W2 -y2 -z2 - -n100 -m9 -r106 -s10 -W4 -y4 -z4 - test1 test2 test3 test4 test5 - PUSCH test OK - segmentation fault|assertion|exiting|fatal - 3 - - - - nr_ulsim Test cases. (Test1: 3GPP G-FR1-A5-13, PUSCH Type A, 40 MHz BW, 30 kHz SCS, 2 RX Antennas Requirements Test), - (Test2: 3GPP G-FR1-A5-13, PUSCH Type A, 40 MHz BW, 30 kHz SCS, 4 RX Antennas Requirements Test), - (Test3: 3GPP G-FR1-A5-13, PUSCH Type A, 40 MHz BW, 30 kHz SCS, 8 RX Antennas Requirements Test), - (Test4: 3GPP G-FR1-A5-8, PUSCH Type B, 5 MHz BW, 15 kHz SCS, 2 RX Antennas Requirements Test), - (Test5: 3GPP G-FR1-A5-8, PUSCH Type B, 5 MHz BW, 15 kHz SCS, 4 RX Antennas Requirements Test), - (Test6: 3GPP G-FR1-A5-8, PUSCH Type B, 5 MHz BW, 15 kHz SCS, 8 RX Antennas Requirements Test), - (Test7: 3GPP G-FR1-A5-9, PUSCH Type B, 10 MHz BW, 15 kHz SCS, 2 RX Antennas Requirements Test), - (Test8: 3GPP G-FR1-A5-9, PUSCH Type B, 10 MHz BW, 15 kHz SCS, 4 RX Antennas Requirements Test), - (Test9: 3GPP G-FR1-A5-9, PUSCH Type B, 10 MHz BW, 15 kHz SCS, 8 RX Antennas Requirements Test), - (Test10: 3GPP G-FR1-A5-10, PUSCH Type B, 20 MHz BW, 15 kHz SCS, 2 RX Antennas Requirements Test), - (Test11: 3GPP G-FR1-A5-10, PUSCH Type B, 20 MHz BW, 15 kHz SCS, 4 RX Antennas Requirements Test), - (Test12: 3GPP G-FR1-A5-10, PUSCH Type B, 20 MHz BW, 15 kHz SCS, 8 RX Antennas Requirements Test), - (Test13: 3GPP G-FR1-A5-11, PUSCH Type B, 10 MHz BW, 30 kHz SCS, 2 RX Antennas Requirements Test), - (Test14: 3GPP G-FR1-A5-11, PUSCH Type B, 10 MHz BW, 30 kHz SCS, 4 RX Antennas Requirements Test), - (Test15: 3GPP G-FR1-A5-11, PUSCH Type B, 10 MHz BW, 30 kHz SCS, 8 RX Antennas Requirements Test), - (Test16: 3GPP G-FR1-A5-12, PUSCH Type B, 20 MHz BW, 30 kHz SCS, 2 RX Antennas Requirements Test), - (Test17: 3GPP G-FR1-A5-12, PUSCH Type B, 20 MHz BW, 30 kHz SCS, 4 RX Antennas Requirements Test), - (Test18: 3GPP G-FR1-A5-12, PUSCH Type B, 20 MHz BW, 30 kHz SCS, 8 RX Antennas Requirements Test), - (Test19: 3GPP G-FR1-A5-13, PUSCH Type B, 40 MHz BW, 30 kHz SCS, 2 RX Antennas Requirements Test), - (Test20: 3GPP G-FR1-A5-13, PUSCH Type B, 40 MHz BW, 30 kHz SCS, 4 RX Antennas Requirements Test), - (Test21: 3GPP G-FR1-A5-13, PUSCH Type B, 40 MHz BW, 30 kHz SCS, 8 RX Antennas Requirements Test), - (Test22: 3GPP G-FR1-A5-14, PUSCH Type B, 100 MHz BW, 30 kHz SCS, 2 RX Antennas Requirements Test), - (Test23: 3GPP G-FR1-A5-14, PUSCH Type B, 100 MHz BW, 30 kHz SCS, 4 RX Antennas Requirements Test), - (Test24: 3GPP G-FR1-A5-14, PUSCH Type B, 100 MHz BW, 30 kHz SCS, 8 RX Antennas Requirements Test), - (Test25: 3GPP G-FR1-A3-27, PUSCH Type B, 40 MHz BW, 30 kHz SCS, 2 RX Antennas Requirements Test, 2 layers), - (Test26: 3GPP G-FR1-A3-27, PUSCH Type B, 40 MHz BW, 30 kHz SCS, 4 RX Antennas Requirements Test, 2 layers), - (Test27: 3GPP G-FR1-A4-27, PUSCH Type B, 40 MHz BW, 30 kHz SCS, 2 RX Antennas Requirements Test, 2 layers), - (Test28: 3GPP G-FR1-A4-27, PUSCH Type B, 40 MHz BW, 30 kHz SCS, 4 RX Antennas Requirements Test, 2 layers) - nr_ulsim - -n100 -b14 -I7 -i 0,1 -g A,l,10 -t70 -u 1 -m20 -R106 -r106 -U 0,1,1,2 -z2 -s12.4 -S12.4 - -n100 -b14 -I7 -i 0,1 -g A,l,10 -t70 -u 1 -m20 -R106 -r106 -U 0,1,1,2 -z4 -s8.5 -S8.5 - -n100 -b14 -I7 -i 0,1 -g A,l,10 -t70 -u 1 -m20 -R106 -r106 -U 0,1,1,2 -z8 -s5.4 -S5.4 - -n100 -b14 -I7 -i 0,1 -g A,l,10 -t70 -u 0 -m20 -R25 -r25 -U 1,1,1,2 -z2 -s12.5 -S12.5 - -n100 -b14 -I7 -i 0,1 -g A,l,10 -t70 -u 0 -m20 -R25 -r25 -U 1,1,1,2 -z4 -s8.9 -S8.9 - -n100 -b14 -I7 -i 0,1 -g A,l,10 -t70 -u 0 -m20 -R25 -r25 -U 1,1,1,2 -z8 -s5.7 -S5.7 - -n100 -b14 -I7 -i 0,1 -g A,l,10 -t70 -u 0 -m20 -R52 -r52 -U 1,1,1,2 -z2 -s12.6 -S12.6 - -n100 -b14 -I7 -i 0,1 -g A,l,10 -t70 -u 0 -m20 -R52 -r52 -U 1,1,1,2 -z4 -s8.9 -S8.9 - -n100 -b14 -I7 -i 0,1 -g A,l,10 -t70 -u 0 -m20 -R52 -r52 -U 1,1,1,2 -z8 -s5.8 -S5.8 - -n100 -b14 -I7 -i 0,1 -g A,l,10 -t70 -u 0 -m20 -R106 -r106 -U 1,1,1,2 -z2 -s12.3 -S12.3 - -n100 -b14 -I7 -i 0,1 -g A,l,10 -t70 -u 0 -m20 -R106 -r106 -U 1,1,1,2 -z4 -s8.8 -S8.8 - -n100 -b14 -I7 -i 0,1 -g A,l,10 -t70 -u 0 -m20 -R106 -r106 -U 1,1,1,2 -z8 -s5.7 -S5.7 - -n100 -b14 -I7 -i 0,1 -g A,l,10 -t70 -u 1 -m20 -R24 -r24 -U 1,1,1,2 -z2 -s12.5 -S12.5 - -n100 -b14 -I7 -i 0,1 -g A,l,10 -t70 -u 1 -m20 -R24 -r24 -U 1,1,1,2 -z4 -s8.6 -S8.6 - -n100 -b14 -I7 -i 0,1 -g A,l,10 -t70 -u 1 -m20 -R24 -r24 -U 1,1,1,2 -z8 -s5.6 -S5.6 - -n100 -b14 -I7 -i 0,1 -g A,l,10 -t70 -u 1 -m20 -R51 -r51 -U 1,1,1,2 -z2 -s12.5 -S12.5 - -n100 -b14 -I7 -i 0,1 -g A,l,10 -t70 -u 1 -m20 -R51 -r51 -U 1,1,1,2 -z4 -s8.6 -S8.6 - -n100 -b14 -I7 -i 0,1 -g A,l,10 -t70 -u 1 -m20 -R51 -r51 -U 1,1,1,2 -z8 -s5.6 -S5.6 - -n100 -b14 -I7 -i 0,1 -g A,l,10 -t70 -u 1 -m20 -R106 -r106 -U 1,1,1,2 -z2 -s12.5 -S12.5 - -n100 -b14 -I7 -i 0,1 -g A,l,10 -t70 -u 1 -m20 -R106 -r106 -U 1,1,1,2 -z4 -s8.7 -S8.7 - -n100 -b14 -I7 -i 0,1 -g A,l,10 -t70 -u 1 -m20 -R106 -r106 -U 1,1,1,2 -z8 -s5.5 -S5.5 - -n100 -b14 -I7 -i 0,1 -g A,l,10 -t70 -u 1 -m20 -R273 -r273 -U 1,1,1,2 -z2 -s13.1 -S13.1 - -n100 -b14 -I7 -i 0,1 -g A,l,10 -t70 -u 1 -m20 -R273 -r273 -U 1,1,1,2 -z4 -s9.2 -S9.2 - -n100 -b14 -I8 -i 0,1 -g A,l,10 -t70 -u 1 -m20 -R273 -r273 -U 1,1,1,2 -z8 -s5.9 -S5.9 - -n100 -b14 -I15 -i 0,1 -g B,l -t70 -u 1 -m2 -R106 -r106 -U 1,1,1,2 -W2 -y2 -z2 -s1.7 -S1.7 - -n100 -b14 -I15 -i 0,1 -g B,l -t70 -u 1 -m2 -R106 -r106 -U 1,1,1,2 -W2 -y2 -z4 -s-2.1 -S-2.1 - -n100 -b14 -I15 -i 0,1 -g C,l -t70 -u 1 -m16 -R106 -r106 -U 1,1,1,2 -W2 -y2 -z2 -s18.7 -S18.7 - -n100 -b14 -I15 -i 0,1 -g C,l -t70 -u 1 -m16 -R106 -r106 -U 1,1,1,2 -W2 -y2 -z4 -s11.2 -S11.2 - test1 test2 test3 test4 test5 test6 test7 test8 test9 test10 test11 test12 test13 test14 test15 test16 test17 test18 test19 test20 test21 test22 test23 test24 test25 test26 test27 test28 - PUSCH test OK - segmentation fault|assertion|exiting|fatal - 3 - - - - nr_prachsim Test cases. (Test1: 30kHz SCS, 106 PRBs, Prach format A2), - (Test2: 30kHz SCS, 217 PRBs, Prach format A2), - (Test3: 30kHz SCS, 273 PRBs, Prach format A2), - (Test4: 30kHz SCS, 106 PRBs, Prach format 0), - (Test5: 120kHz SCS, 32 PRBs, Prach format A2), - (Test6: 120kHz SCS, 66 PRBs, Prach format A2), - (Test7: 120kHz SCS, 66 PRBs, High Speed Enabled), - (Test8: 15kHz SCS, 25 PRBs) - nr_prachsim - -a -s -30 -n 100 -p 63 -R 106 - -a -s -30 -n 100 -p 63 -R 217 - -a -s -30 -n 100 -p 63 -R 273 - -a -s -30 -n 100 -p 63 -R 106 -c 4 - -a -s -30 -n 100 -p 32 -R 32 -m 3 -c52 - -a -s -30 -n 100 -p 32 -R 66 -m 3 -c52 - -a -s -30 -n 100 -R 66 -m 3 -c52 -H - -a -s -30 -n 100 -p 99 -R 25 -m 0 - test1 test2 test3 test4 test5 test6 test7 test8 - PRACH test OK - segmentation fault|assertion|exiting|fatal - 3 - - - - NR-Sidelink PSBCH test cases. (Test1: SLSS Search), - (Test2: PSBCH TxRx) - nr_psbchsim - -I - -n 10 - test1 test2 - PSBCH test OK - segmentation fault|assertion|exiting|fatal - 3 - - diff --git a/cmake_targets/tools/build_helper b/cmake_targets/tools/build_helper index e6f7c0076a..264e26d890 100755 --- a/cmake_targets/tools/build_helper +++ b/cmake_targets/tools/build_helper @@ -550,7 +550,6 @@ check_install_additional_tools (){ libforms-bin \ libforms-dev \ libxft-dev \ - xmlstarlet \ libpcre3-dev \ libssh-dev \ libxml2-dev" @@ -563,7 +562,6 @@ check_install_additional_tools (){ libXft-devel \ xforms \ xforms-devel \ - xmlstarlet \ pcre-devel \ libssh-devel \ libxml2-devel" diff --git a/doc/physical-simulators.md b/doc/physical-simulators.md index f52b2e371d..f06c7a67d9 100644 --- a/doc/physical-simulators.md +++ b/doc/physical-simulators.md @@ -32,104 +32,5 @@ These are the simulators known to work properly and tested in CI: `nr_pbchsim`, `nr_prachsim`, `nr_pucchsim`, `polartest`, `smallblocktest`, `nr_psbchsim` (sidelink) -# How to run - -You first have to build simulators: - -```bash -cd openairinterface5g/ -. oaienv # important for the run_exec_autotests.bash script -cd cmake_targets/ -./build_oai --ninja -P -``` - -This builds the simulators in the default build directory `ran_build/build` -(all paths given here are relative to `cmake_targets/` in the root of -`openairinterface5g/`). To run all simulators in this default build directory -of above `build_oai` invocation, run the `run_exec_autotests.bash` script: -```bash -autotests/run_exec_autotests.bash -``` - -This runs all simulations as defined in `autotests/test_case_list.xml`. - -To run a group of tests, you can specify the group using `-g`. You can also -specify the build directory, after building the simulators, which, for the -default directory, is: - -```bash -autotests/run_exec_autotests.bash -g "nr_dlsim.basic" -d ran_build/build/ -``` - -This will run the `nr_dlsim.basic` group, as listed in -`autotests/test_case_list.xml`. - -## How to interpret the output - -From the output, you can see the invoked tests, its parameters, and the log files. -Example: - -``` -[user@oai cmake_targets]$ autotests/run_exec_autotests.bash -g "nr_dlsim.basic" -d ran_build/build/ -[...] -Test case nr_dlsim.basic match found in group -name = nr_dlsim.basic -Description = nr_dlsim Test cases. (Test1: 106 PRB), - (Test2: 217 PRB), - (Test3: 273 PRB), - (Test4: HARQ test 25% TP 4 rounds), - (Test5: HARQ test 33% TP 3 rounds), - (Test6: HARQ test 50% TP 2 rounds), - (Test7: 25 PRBs, 15 kHz SCS) -main_exec = ran_build/build//nr_dlsim -main_exec_args = -n100 -R106 -b106 -s5 - -n100 -R217 -b217 -s5 - -n100 -R273 -b273 -s5 - -n100 -s1 -S2 -t25 - -n100 -s1 -S2 -t33 - -n100 -s5 -S7 -t50 - -n100 -m0 -e0 -R25 -b25 -i 2 1 0 -search_expr_true = PDSCH test OK -search_expr_false = segmentation fault|assertion|exiting|fatal -tags = test1 test2 test3 test4 test5 test6 test7 -nruns = 3 -i = PDSCH test OK -Test1: 106 PRB -Executing test case nr_dlsim.basic.test1, Run Index = 1, Execution Log file = /home/oai/openairinterface5g/cmake_targets/autotests/log/nr_dlsim.basic/test.nr_dlsim.basic.test1.run_1 -Executing test case nr_dlsim.basic.test1, Run Index = 2, Execution Log file = /home/oai/openairinterface5g/cmake_targets/autotests/log/nr_dlsim.basic/test.nr_dlsim.basic.test1.run_2 -Executing test case nr_dlsim.basic.test1, Run Index = 3, Execution Log file = /home/oai/openairinterface5g/cmake_targets/autotests/log/nr_dlsim.basic/test.nr_dlsim.basic.test1.run_3 -[...] -nr_dlsim.basic.test1 RUN = 1 Result = PASS -nr_dlsim.basic.test1 RUN = 2 Result = PASS -nr_dlsim.basic.test1 RUN = 3 Result = PASS -execution nr_dlsim.basic.test1 {Test1: 106 PRB} Run_Result = " Run_1 =PASS Run_2 =PASS Run_3 =PASS" Result = PASS -``` - -You see: -- the `Description` of the test cases (here, 7 tests) -- the executable that is used, and the parameters (`main_exec` and - `main_exec_args`), for instance `-n100 -R106 -b106 -s5` for `Test1` -- what is the condition for a successful test -- where are the log files -- if the tests passed or not `PASS`, otherwise `FAIL` and a summary for the - three runs. - -## How to change the parameters - -You can modify the parameters in `autotests/test_case_list.xml`. To learn about -their meaning, run the simulator manually with flag `-h` ("help"). For -instance, for the above run, it would be - -```bash -ran_build/build/nr_dlsim -h -``` - -## How to change the code - -You can modify the source files to adapt to your needs. For instance, for -`nr_dlsim` above, refer to file `openair1/SIMULATION/NR_PHY/dlsim.c`. - -# CI - These tests are run in this pipeline: [RAN-PhySim-Cluster](https://jenkins-oai.eurecom.fr/job/RAN-PhySim-Cluster/).