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
spbro
OpenXG-RAN
Commits
29800867
Commit
29800867
authored
Feb 16, 2022
by
hardy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix rfsim test + update html reporting
parent
87a840c5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
+12
-7
ci-scripts/reportTestLocally.sh
ci-scripts/reportTestLocally.sh
+1
-1
ci-scripts/runTestOnVM.sh
ci-scripts/runTestOnVM.sh
+11
-6
No files found.
ci-scripts/reportTestLocally.sh
View file @
29800867
...
@@ -756,7 +756,7 @@ function report_test {
...
@@ -756,7 +756,7 @@ function report_test {
EPC_CONFIGS
=(
"noS1"
)
EPC_CONFIGS
=(
"noS1"
)
TRANS_MODES
=(
"tdd"
)
TRANS_MODES
=(
"tdd"
)
FR_MODE
=(
"SA"
)
FR_MODE
=(
"SA"
)
BW_CASES
=(
106
)
BW_CASES
=(
106
24
)
for
CN_CONFIG
in
${
EPC_CONFIGS
[@]
}
for
CN_CONFIG
in
${
EPC_CONFIGS
[@]
}
do
do
for
TMODE
in
${
TRANS_MODES
[@]
}
for
TMODE
in
${
TRANS_MODES
[@]
}
...
...
ci-scripts/runTestOnVM.sh
View file @
29800867
...
@@ -2308,7 +2308,7 @@ function run_test_on_vm {
...
@@ -2308,7 +2308,7 @@ function run_test_on_vm {
echo
"
${
CN_CONFIG
}
: Starting the NR-UE"
echo
"
${
CN_CONFIG
}
: Starting the NR-UE"
echo
"############################################################"
echo
"############################################################"
CURRENT_NR_UE_LOG_FILE
=
tdd_
${
PRB
}
prb_
${
CN_CONFIG
}
_ue_sa_test.log
CURRENT_NR_UE_LOG_FILE
=
tdd_
${
PRB
}
prb_
${
CN_CONFIG
}
_ue_sa_test.log
#last argument = 2 is to enable --sa for SA test
#last argument = 2 is to enable --sa for SA test
for 106PRB
start_rf_sim_nr_ue
$NR_UE_VM_CMDS
$NR_UE_VM_IP_ADDR
$GNB_VM_IP_ADDR
$CURRENT_NR_UE_LOG_FILE
$PRB
$FREQUENCY
$S1_NOS1_CFG
2
start_rf_sim_nr_ue
$NR_UE_VM_CMDS
$NR_UE_VM_IP_ADDR
$GNB_VM_IP_ADDR
$CURRENT_NR_UE_LOG_FILE
$PRB
$FREQUENCY
$S1_NOS1_CFG
2
if
[
$NR_UE_SYNC
-eq
0
]
if
[
$NR_UE_SYNC
-eq
0
]
then
then
...
@@ -2343,9 +2343,11 @@ function run_test_on_vm {
...
@@ -2343,9 +2343,11 @@ function run_test_on_vm {
echo
"SA test NOT OK"
echo
"SA test NOT OK"
echo
"try_cnt = "
$try_cnt
echo
"try_cnt = "
$try_cnt
try_cnt
=
$((
try_cnt+1
))
try_cnt
=
$((
try_cnt+1
))
SA_106PRB_STATUS
=
-1
else
else
echo
"SA test OK"
echo
"SA test OK"
try_cnt
=
$((
try_cnt+10
))
try_cnt
=
$((
try_cnt+10
))
SA_106PRB_STATUS
=
0
fi
fi
done
done
########### end SA test
########### end SA test
...
@@ -2382,15 +2384,15 @@ function run_test_on_vm {
...
@@ -2382,15 +2384,15 @@ function run_test_on_vm {
echo
"
${
CN_CONFIG
}
: Starting the gNB"
echo
"
${
CN_CONFIG
}
: Starting the gNB"
echo
"############################################################"
echo
"############################################################"
CURRENT_GNB_LOG_FILE
=
tdd_
${
PRB
}
prb_
${
CN_CONFIG
}
_gnb_sa_test.log
CURRENT_GNB_LOG_FILE
=
tdd_
${
PRB
}
prb_
${
CN_CONFIG
}
_gnb_sa_test.log
#last argument =
3 is to enable --sa for SA test 24PRB
#last argument =
2 is to enable --sa for SA test
start_rf_sim_gnb
$GNB_VM_CMDS
"
$GNB_VM_IP_ADDR
"
$CURRENT_GNB_LOG_FILE
$PRB
$CONF_FILE
$S1_NOS1_CFG
3
start_rf_sim_gnb
$GNB_VM_CMDS
"
$GNB_VM_IP_ADDR
"
$CURRENT_GNB_LOG_FILE
$PRB
$CONF_FILE
$S1_NOS1_CFG
2
echo
"############################################################"
echo
"############################################################"
echo
"
${
CN_CONFIG
}
: Starting the NR-UE"
echo
"
${
CN_CONFIG
}
: Starting the NR-UE"
echo
"############################################################"
echo
"############################################################"
CURRENT_NR_UE_LOG_FILE
=
tdd_
${
PRB
}
prb_
${
CN_CONFIG
}
_ue_sa_test.log
CURRENT_NR_UE_LOG_FILE
=
tdd_
${
PRB
}
prb_
${
CN_CONFIG
}
_ue_sa_test.log
#last argument =
2 is to enable --sa for SA test
#last argument =
3 is to enable --sa for SA test for 24PRB
start_rf_sim_nr_ue
$NR_UE_VM_CMDS
$NR_UE_VM_IP_ADDR
$GNB_VM_IP_ADDR
$CURRENT_NR_UE_LOG_FILE
$PRB
$FREQUENCY
$S1_NOS1_CFG
2
start_rf_sim_nr_ue
$NR_UE_VM_CMDS
$NR_UE_VM_IP_ADDR
$GNB_VM_IP_ADDR
$CURRENT_NR_UE_LOG_FILE
$PRB
$FREQUENCY
$S1_NOS1_CFG
3
if
[
$NR_UE_SYNC
-eq
0
]
if
[
$NR_UE_SYNC
-eq
0
]
then
then
echo
"Problem w/ gNB and NR-UE not syncing"
echo
"Problem w/ gNB and NR-UE not syncing"
...
@@ -2424,9 +2426,11 @@ function run_test_on_vm {
...
@@ -2424,9 +2426,11 @@ function run_test_on_vm {
echo
"SA test NOT OK"
echo
"SA test NOT OK"
echo
"try_cnt = "
$try_cnt
echo
"try_cnt = "
$try_cnt
try_cnt
=
$((
try_cnt+1
))
try_cnt
=
$((
try_cnt+1
))
SA_24PRB_STATUS
=
-1
else
else
echo
"SA test OK"
echo
"SA test OK"
try_cnt
=
$((
try_cnt+10
))
try_cnt
=
$((
try_cnt+10
))
SA_24PRB_STATUS
=
0
fi
fi
done
done
########### end SA test
########### end SA test
...
@@ -2748,7 +2752,8 @@ function run_test_on_vm {
...
@@ -2748,7 +2752,8 @@ function run_test_on_vm {
echo
"Checking run status"
echo
"Checking run status"
echo
"############################################################"
echo
"############################################################"
if
[
$SA_STATUS
-ne
0
]
;
then
NR_STATUS
=
-1
;
fi
if
[
$SA_106PRB_STATUS
-ne
0
]
;
then
NR_STATUS
=
-1
;
fi
if
[
$SA_24PRB_STATUS
-ne
0
]
;
then
NR_STATUS
=
-1
;
fi
if
[
$RA_FR2_STATUS
-ne
0
]
;
then
NR_STATUS
=
-1
;
fi
if
[
$RA_FR2_STATUS
-ne
0
]
;
then
NR_STATUS
=
-1
;
fi
if
[
$RA_FR1_STATUS
-ne
0
]
;
then
NR_STATUS
=
-1
;
fi
if
[
$RA_FR1_STATUS
-ne
0
]
;
then
NR_STATUS
=
-1
;
fi
if
[
$SYNC_STATUS
-ne
0
]
;
then
NR_STATUS
=
-1
;
fi
if
[
$SYNC_STATUS
-ne
0
]
;
then
NR_STATUS
=
-1
;
fi
...
...
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