Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
Michael Black
OpenXG UE
Commits
039dedc0
Commit
039dedc0
authored
Jun 18, 2019
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: fixes after peer review
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
9074e0a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
34 deletions
+30
-34
ci-scripts/runTestOnVM.sh
ci-scripts/runTestOnVM.sh
+30
-34
No files found.
ci-scripts/runTestOnVM.sh
View file @
039dedc0
...
@@ -620,9 +620,9 @@ function retrieve_real_epc_ip_addr {
...
@@ -620,9 +620,9 @@ function retrieve_real_epc_ip_addr {
rm
$LOC_EPC_VM_CMDS
rm
$LOC_EPC_VM_CMDS
fi
fi
else
else
REAL_EPC_IP_ADDR
=
$EPC_TUN_IPADDR
REAL_EPC_IP_ADDR
=
$EPC_TUN_IPADDR
fi
fi
echo
"EPC IP Address is :
$REAL_EPC_IP_ADDR
"
echo
"EPC IP Address is :
$REAL_EPC_IP_ADDR
"
}
}
function
terminate_epc
{
function
terminate_epc
{
...
@@ -1128,7 +1128,7 @@ function run_test_on_vm {
...
@@ -1128,7 +1128,7 @@ function run_test_on_vm {
echo
"No run on VM testing for this variant currently"
echo
"No run on VM testing for this variant currently"
return
return
fi
fi
if
[[
$RUN_OPTIONS
=
~ .
*
run_exec_autotests.
*
]]
if
[[
$RUN_OPTIONS
=
~ .
*
run_exec_autotests.
*
]]
then
then
echo
"############################################################"
echo
"############################################################"
...
@@ -1256,19 +1256,15 @@ function run_test_on_vm {
...
@@ -1256,19 +1256,15 @@ function run_test_on_vm {
# Starting EPC
# Starting EPC
start_epc
$EPC_VM_NAME
$EPC_VM_CMDS
$EPC_VM_IP_ADDR
start_epc
$EPC_VM_NAME
$EPC_VM_CMDS
$EPC_VM_IP_ADDR
else
else
echo
"We will use EPC on
$EPC_IPADDR
"
echo
"We will use EPC on
$EPC_IPADDR
"
EPC_VM_IP_ADDR
=
$EPC_IPADDR
EPC_VM_IP_ADDR
=
$EPC_IPADDR
fi
fi
# Retrieve EPC real IP address
# Retrieve EPC real IP address
retrieve_real_epc_ip_addr
$EPC_VM_NAME
$EPC_VM_CMDS
$EPC_VM_IP_ADDR
retrieve_real_epc_ip_addr
$EPC_VM_NAME
$EPC_VM_CMDS
$EPC_VM_IP_ADDR
#TRANS_MODES=("fdd" "tdd")
TRANS_MODES
=(
"fdd"
"tdd"
)
#BW_CASES=(05 10 20)
BW_CASES
=(
05 10 20
)
TRANS_MODES
=(
"fdd"
)
BW_CASES
=(
05
)
for
TMODE
in
${
TRANS_MODES
[@]
}
for
TMODE
in
${
TRANS_MODES
[@]
}
do
do
...
@@ -1301,10 +1297,7 @@ function run_test_on_vm {
...
@@ -1301,10 +1297,7 @@ function run_test_on_vm {
continue
continue
fi
fi
get_ue_ip_addr
$VM_CMDS
$VM_IP_ADDR
1
get_ue_ip_addr
$VM_CMDS
$VM_IP_ADDR
1
full_terminate
continue
echo
"############################################################"
echo
"############################################################"
echo
"Pinging the UE"
echo
"Pinging the UE"
echo
"############################################################"
echo
"############################################################"
...
@@ -1497,24 +1490,26 @@ function run_test_on_vm {
...
@@ -1497,24 +1490,26 @@ function run_test_on_vm {
do
do
if
[[
$CN_CONFIG
=
~ .
*
wS1.
*
]]
if
[[
$CN_CONFIG
=
~ .
*
wS1.
*
]]
then
then
if
[[
"
$EPC_IPADDR
"
==
""
]]
if
[[
"
$EPC_IPADDR
"
==
""
]]
then
then
echo
"############################################################"
echo
"############################################################"
echo
"Start EPC for the wS1 configuration"
echo
"Start EPC for the wS1 configuration"
echo
"############################################################"
echo
"############################################################"
start_epc
$EPC_VM_NAME
$EPC_VM_CMDS
$EPC_VM_IP_ADDR
start_epc
$EPC_VM_NAME
$EPC_VM_CMDS
$EPC_VM_IP_ADDR
# Retrieve EPC real IP address
# Retrieve EPC real IP address
retrieve_real_epc_ip_addr
$EPC_VM_NAME
$EPC_VM_CMDS
$EPC_VM_IP_ADDR
retrieve_real_epc_ip_addr
$EPC_VM_NAME
$EPC_VM_CMDS
$EPC_VM_IP_ADDR
S1_NOS1_CFG
=
1
S1_NOS1_CFG
=
1
else
else
echo
"############################################################"
echo
"############################################################"
echo
"Using external EPC "
$EPC_IPADDR
echo
"Using external EPC "
$EPC_IPADDR
echo
"############################################################"
echo
"############################################################"
$EPC_VM_IP_ADDR
=
$EPC_IPADDR
$EPC_VM_IP_ADDR
=
$EPC_IPADDR
S1_NOS1_CFG
=
1
S1_NOS1_CFG
=
1
LTEBOX
=
0
LTEBOX
=
0
fi
fi
else
else
if
[[
"
$EPC_IPADDR
"
==
""
]]
then
echo
"############################################################"
echo
"############################################################"
echo
"Terminate EPC"
echo
"Terminate EPC"
echo
"############################################################"
echo
"############################################################"
...
@@ -1524,6 +1519,7 @@ function run_test_on_vm {
...
@@ -1524,6 +1519,7 @@ function run_test_on_vm {
echo
"Running now in a no-S1 "
echo
"Running now in a no-S1 "
echo
"############################################################"
echo
"############################################################"
S1_NOS1_CFG
=
0
S1_NOS1_CFG
=
0
fi
fi
fi
for
TMODE
in
${
TRANS_MODES
[@]
}
for
TMODE
in
${
TRANS_MODES
[@]
}
do
do
...
...
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