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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
wangjie
OpenXG-RAN
Commits
b9f91a62
Commit
b9f91a62
authored
Sep 29, 2020
by
hardy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated the RFsim RA check (not final)
parent
544df8cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
10 deletions
+28
-10
ci-scripts/runTestOnVM.sh
ci-scripts/runTestOnVM.sh
+28
-10
No files found.
ci-scripts/runTestOnVM.sh
View file @
b9f91a62
...
...
@@ -2202,12 +2202,24 @@ function run_test_on_vm {
fi
#checking ping works with --do-ra option
echo
"############################################################"
echo
"
${
CN_CONFIG
}
:
Checking RA on gNB /
NR-UE"
echo
"
${
CN_CONFIG
}
:
Pinging the gNB from
NR-UE"
echo
"############################################################"
sleep
20
get_enb_noS1_ip_addr
$GNB_VM_CMDS
$GNB_VM_IP_ADDR
PING_LOG_FILE
=
tdd_
${
PRB
}
prb_
${
CN_CONFIG
}
_ping_gnb_from_nrue.log
ping_epc_ip_addr
$NR_UE_VM_CMDS
$NR_UE_VM_IP_ADDR
$ENB_IP_ADDR
$PING_LOG_FILE
1 0
scp
-o
StrictHostKeyChecking
=
no ubuntu@
$NR_UE_VM_IP_ADDR
:/home/ubuntu/
$PING_LOG_FILE
$ARCHIVES_LOC
check_ping_result
$ARCHIVES_LOC
/
$PING_LOG_FILE
20
check_ra_result
$GNB_VM_CMDS
$CURRENT_GNB_LOG_FILE
$NR_UE_VM_CMDS
$CURRENT_NR_UE_LOG_FILE
echo
"############################################################"
echo
"
${
CN_CONFIG
}
: Pinging the NR-UE from gNB"
echo
"############################################################"
get_ue_ip_addr
$NR_UE_VM_CMDS
$NR_UE_VM_IP_ADDR
1
PING_LOG_FILE
=
tdd_
${
PRB
}
prb_
${
CN_CONFIG
}
_ping_from_gnb_nrue.log
ping_enb_ip_addr
$GNB_VM_CMDS
$GNB_VM_IP_ADDR
$UE_IP_ADDR
$PING_LOG_FILE
0
scp
-o
StrictHostKeyChecking
=
no ubuntu@
$GNB_VM_IP_ADDR
:/home/ubuntu/
$PING_LOG_FILE
$ARCHIVES_LOC
check_ping_result
$ARCHIVES_LOC
/
$PING_LOG_FILE
20
echo
"############################################################"
...
...
@@ -2217,13 +2229,19 @@ function run_test_on_vm {
terminate_enb_ue_basic_sim
$GNB_VM_CMDS
$GNB_VM_IP_ADDR
1
scp
-o
StrictHostKeyChecking
=
no ubuntu@
$GNB_VM_IP_ADDR
:/home/ubuntu/tmp/cmake_targets/log/
$CURRENT_GNB_LOG_FILE
$ARCHIVES_LOC
scp
-o
StrictHostKeyChecking
=
no ubuntu@
$NR_UE_VM_IP_ADDR
:/home/ubuntu/tmp/cmake_targets/log/
$CURRENT_NR_UE_LOG_FILE
$ARCHIVES_LOC
if
[
$IPERF_STATUS
-ne
0
]
then
echo
"UL test not OK"
try_cnt
=
$[$try_cnt
+1]
else
try_cnt
=
$[$try_cnt
+10]
fi
#check RA marker in gNB and NR UE log files
echo
"############################################################"
echo
"
${
CN_CONFIG
}
: Checking RA on gNB / NR-UE"
echo
"############################################################"
mv
$ARCHIVES_LOC
/RA_CHECK_
$CURRENT_GNB_LOG_FILE
mv
$ARCHIVES_LOC
/RA_CHECK_
$CURRENT_NR_UE_LOG_FILE
#check_ra_result $GNB_VM_CMDS $CURRENT_GNB_LOG_FILE $NR_UE_VM_CMDS $CURRENT_NR_UE_LOG_FILE (function call to be fixed later)
#end RA test
...
...
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