diff --git a/ci-scripts/reportTestLocally.sh b/ci-scripts/reportTestLocally.sh
index 64c5d74975..a51494b4ce 100755
--- a/ci-scripts/reportTestLocally.sh
+++ b/ci-scripts/reportTestLocally.sh
@@ -781,9 +781,9 @@ function report_test {
echo "
Check if RA proc succeeded | " >> ./test_simulator_results.html
#gNB RA check
- GNB_RECEIVED=`egrep -c "\[RAPROC\] PUSCH with TC_RNTI (.+) received correctly and UE_id (.+) is now 5G connected" $RA_ENB_LOG`
+ GNB_RECEIVED=`egrep -c "\[RAPROC\] PUSCH with TC_RNTI (.+) received correctly" $RA_ENB_LOG`
#UE RA check
- UE_RA_PROC_OK=`egrep -c "RA procedure succeeded" $RA_UE_LOG`
+ UE_RA_PROC_OK=`egrep -c "\[RAPROC\] RA procedure succeeded" $RA_UE_LOG`
if [ $GNB_RECEIVED -gt 0 ] && [ $UE_RA_PROC_OK -gt 0 ]
diff --git a/ci-scripts/runTestOnVM.sh b/ci-scripts/runTestOnVM.sh
index f1f4945b9b..a3cf79e7ac 100755
--- a/ci-scripts/runTestOnVM.sh
+++ b/ci-scripts/runTestOnVM.sh
@@ -283,12 +283,12 @@ function check_ra_result {
#gNB RA test
echo "Checking gNB Log for RA success"
- egrep "\[RAPROC\] PUSCH with TC_RNTI (.+) received correctly and UE_id (.+) is now 5G connected" $1
+ egrep "\[RAPROC\] PUSCH with TC_RNTI (.+) received correctly" $1
#UE RA test
echo 'Checking UE Log for RA success'
- egrep "RA procedure succeeded" $2
+ egrep "\[RAPROC\] RA procedure succeeded" $2
}