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
canghaiwuhen
OpenXG-RAN
Commits
38fa4523
Commit
38fa4523
authored
Jan 15, 2019
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/ci-settings-improvements' into enhancement-ltem
parents
aea6b4b5
942a5cf2
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
124 additions
and
101 deletions
+124
-101
ci-scripts/conf_files/enb.band7.tm1.100PRB.usrpb210.conf
ci-scripts/conf_files/enb.band7.tm1.100PRB.usrpb210.conf
+3
-3
ci-scripts/conf_files/enb.band7.tm1.25PRB.usrpb210.conf
ci-scripts/conf_files/enb.band7.tm1.25PRB.usrpb210.conf
+4
-4
ci-scripts/conf_files/enb.band7.tm1.50PRB.usrpb210.conf
ci-scripts/conf_files/enb.band7.tm1.50PRB.usrpb210.conf
+4
-4
ci-scripts/main.py
ci-scripts/main.py
+63
-41
ci-scripts/runTestOnVM.sh
ci-scripts/runTestOnVM.sh
+50
-49
No files found.
ci-scripts/conf_files/enb.band7.tm1.100PRB.usrpb210.conf
View file @
38fa4523
...
@@ -197,8 +197,8 @@ MACRLCs = (
...
@@ -197,8 +197,8 @@ MACRLCs = (
tr_s_preference
=
"local_L1"
;
tr_s_preference
=
"local_L1"
;
tr_n_preference
=
"local_RRC"
;
tr_n_preference
=
"local_RRC"
;
phy_test_mode
=
0
;
phy_test_mode
=
0
;
puSch10xSnr
=
20
0
;
puSch10xSnr
=
16
0
;
puCch10xSnr
=
20
0
;
puCch10xSnr
=
16
0
;
}
}
);
);
...
@@ -227,7 +227,7 @@ RUs = (
...
@@ -227,7 +227,7 @@ RUs = (
THREAD_STRUCT
= (
THREAD_STRUCT
= (
{
{
#three config for level of parallelism "PARALLEL_SINGLE_THREAD", "PARALLEL_RU_L1_SPLIT", or "PARALLEL_RU_L1_TRX_SPLIT"
#three config for level of parallelism "PARALLEL_SINGLE_THREAD", "PARALLEL_RU_L1_SPLIT", or "PARALLEL_RU_L1_TRX_SPLIT"
parallel_config
=
"PARALLEL_
RU_L1_TRX_SPLIT
"
;
parallel_config
=
"PARALLEL_
SINGLE_THREAD
"
;
#two option for worker "WORKER_DISABLE" or "WORKER_ENABLE"
#two option for worker "WORKER_DISABLE" or "WORKER_ENABLE"
worker_config
=
"WORKER_ENABLE"
;
worker_config
=
"WORKER_ENABLE"
;
}
}
...
...
ci-scripts/conf_files/enb.band7.tm1.25PRB.usrpb210.conf
View file @
38fa4523
...
@@ -197,8 +197,8 @@ MACRLCs = (
...
@@ -197,8 +197,8 @@ MACRLCs = (
tr_s_preference
=
"local_L1"
;
tr_s_preference
=
"local_L1"
;
tr_n_preference
=
"local_RRC"
;
tr_n_preference
=
"local_RRC"
;
phy_test_mode
=
0
;
phy_test_mode
=
0
;
puSch10xSnr
=
20
0
;
puSch10xSnr
=
16
0
;
puCch10xSnr
=
20
0
;
puCch10xSnr
=
16
0
;
}
}
);
);
...
@@ -218,7 +218,7 @@ RUs = (
...
@@ -218,7 +218,7 @@ RUs = (
att_rx
=
0
;
att_rx
=
0
;
bands
= [
7
];
bands
= [
7
];
max_pdschReferenceSignalPower
= -
27
;
max_pdschReferenceSignalPower
= -
27
;
max_rxgain
=
1
1
5
;
max_rxgain
=
1
2
5
;
eNB_instances
= [
0
];
eNB_instances
= [
0
];
}
}
...
@@ -227,7 +227,7 @@ RUs = (
...
@@ -227,7 +227,7 @@ RUs = (
THREAD_STRUCT
= (
THREAD_STRUCT
= (
{
{
#three config for level of parallelism "PARALLEL_SINGLE_THREAD", "PARALLEL_RU_L1_SPLIT", or "PARALLEL_RU_L1_TRX_SPLIT"
#three config for level of parallelism "PARALLEL_SINGLE_THREAD", "PARALLEL_RU_L1_SPLIT", or "PARALLEL_RU_L1_TRX_SPLIT"
parallel_config
=
"PARALLEL_
RU_L1_TRX_SPLIT
"
;
parallel_config
=
"PARALLEL_
SINGLE_THREAD
"
;
#two option for worker "WORKER_DISABLE" or "WORKER_ENABLE"
#two option for worker "WORKER_DISABLE" or "WORKER_ENABLE"
worker_config
=
"WORKER_ENABLE"
;
worker_config
=
"WORKER_ENABLE"
;
}
}
...
...
ci-scripts/conf_files/enb.band7.tm1.50PRB.usrpb210.conf
View file @
38fa4523
...
@@ -197,8 +197,8 @@ MACRLCs = (
...
@@ -197,8 +197,8 @@ MACRLCs = (
tr_s_preference
=
"local_L1"
;
tr_s_preference
=
"local_L1"
;
tr_n_preference
=
"local_RRC"
;
tr_n_preference
=
"local_RRC"
;
phy_test_mode
=
0
;
phy_test_mode
=
0
;
puSch10xSnr
=
20
0
;
puSch10xSnr
=
16
0
;
puCch10xSnr
=
20
0
;
puCch10xSnr
=
16
0
;
}
}
);
);
...
@@ -218,7 +218,7 @@ RUs = (
...
@@ -218,7 +218,7 @@ RUs = (
att_rx
=
0
;
att_rx
=
0
;
bands
= [
7
];
bands
= [
7
];
max_pdschReferenceSignalPower
= -
27
;
max_pdschReferenceSignalPower
= -
27
;
max_rxgain
=
1
15
;
max_rxgain
=
1
20
;
eNB_instances
= [
0
];
eNB_instances
= [
0
];
}
}
...
@@ -227,7 +227,7 @@ RUs = (
...
@@ -227,7 +227,7 @@ RUs = (
THREAD_STRUCT
= (
THREAD_STRUCT
= (
{
{
#three config for level of parallelism "PARALLEL_SINGLE_THREAD", "PARALLEL_RU_L1_SPLIT", or "PARALLEL_RU_L1_TRX_SPLIT"
#three config for level of parallelism "PARALLEL_SINGLE_THREAD", "PARALLEL_RU_L1_SPLIT", or "PARALLEL_RU_L1_TRX_SPLIT"
parallel_config
=
"PARALLEL_
RU_L1_TRX_SPLIT
"
;
parallel_config
=
"PARALLEL_
SINGLE_THREAD
"
;
#two option for worker "WORKER_DISABLE" or "WORKER_ENABLE"
#two option for worker "WORKER_DISABLE" or "WORKER_ENABLE"
worker_config
=
"WORKER_ENABLE"
;
worker_config
=
"WORKER_ENABLE"
;
}
}
...
...
ci-scripts/main.py
View file @
38fa4523
...
@@ -203,59 +203,81 @@ class SSHConnection():
...
@@ -203,59 +203,81 @@ class SSHConnection():
logging
.
debug
(
'
\u001B
[1;37;41m Unexpected Others during closing
\u001B
[0m'
)
logging
.
debug
(
'
\u001B
[1;37;41m Unexpected Others during closing
\u001B
[0m'
)
def
copyin
(
self
,
ipaddress
,
username
,
password
,
source
,
destination
):
def
copyin
(
self
,
ipaddress
,
username
,
password
,
source
,
destination
):
count
=
0
copy_status
=
False
logging
.
debug
(
'scp '
+
username
+
'@'
+
ipaddress
+
':'
+
source
+
' '
+
destination
)
logging
.
debug
(
'scp '
+
username
+
'@'
+
ipaddress
+
':'
+
source
+
' '
+
destination
)
scp_spawn
=
pexpect
.
spawn
(
'scp '
+
username
+
'@'
+
ipaddress
+
':'
+
source
+
' '
+
destination
,
timeout
=
5
)
while
count
<
4
:
scp_response
=
scp_spawn
.
expect
([
'Are you sure you want to continue connecting (yes/no)?'
,
'password:'
,
pexpect
.
EOF
,
pexpect
.
TIMEOUT
])
scp_spawn
=
pexpect
.
spawn
(
'scp '
+
username
+
'@'
+
ipaddress
+
':'
+
source
+
' '
+
destination
,
timeout
=
5
)
if
scp_response
==
0
:
scp_response
=
scp_spawn
.
expect
([
'Are you sure you want to continue connecting (yes/no)?'
,
'password:'
,
pexpect
.
EOF
,
pexpect
.
TIMEOUT
])
scp_spawn
.
sendline
(
'yes'
)
scp_spawn
.
expect
(
'password:'
)
scp_spawn
.
sendline
(
password
)
scp_response
=
scp_spawn
.
expect
([
'\$'
,
'Permission denied'
,
'password:'
,
pexpect
.
EOF
,
pexpect
.
TIMEOUT
])
if
scp_response
==
0
:
if
scp_response
==
0
:
pass
scp_spawn
.
sendline
(
'yes'
)
else
:
scp_spawn
.
expect
(
'password:'
)
logging
.
debug
(
'1 - scp_response = '
+
str
(
scp_response
))
scp_spawn
.
sendline
(
password
)
sys
.
exit
(
'SCP failed'
)
scp_response
=
scp_spawn
.
expect
([
'\$'
,
'Permission denied'
,
'password:'
,
pexpect
.
EOF
,
pexpect
.
TIMEOUT
])
elif
scp_response
==
1
:
if
scp_response
==
0
:
scp_spawn
.
sendline
(
password
)
count
=
10
scp_response
=
scp_spawn
.
expect
([
'\$'
,
'Permission denied'
,
'password:'
,
pexpect
.
EOF
,
pexpect
.
TIMEOUT
])
copy_status
=
True
if
scp_response
==
0
or
scp_response
==
3
:
else
:
pass
logging
.
debug
(
'1 - scp_response = '
+
str
(
scp_response
))
elif
scp_response
==
1
:
scp_spawn
.
sendline
(
password
)
scp_response
=
scp_spawn
.
expect
([
'\$'
,
'Permission denied'
,
'password:'
,
pexpect
.
EOF
,
pexpect
.
TIMEOUT
])
if
scp_response
==
0
or
scp_response
==
3
:
count
=
10
copy_status
=
True
else
:
logging
.
debug
(
'2 - scp_response = '
+
str
(
scp_response
))
elif
scp_response
==
2
:
count
=
10
copy_status
=
True
else
:
else
:
logging
.
debug
(
'2 - scp_response = '
+
str
(
scp_response
))
logging
.
debug
(
'3 - scp_response = '
+
str
(
scp_response
))
sys
.
exit
(
'SCP failed'
)
# adding a tempo when failure
elif
scp_response
==
2
:
if
not
copy_status
:
time
.
sleep
(
1
)
count
+=
1
if
copy_status
:
pass
pass
else
:
else
:
logging
.
debug
(
'3 - scp_response = '
+
str
(
scp_response
))
sys
.
exit
(
'SCP failed'
)
sys
.
exit
(
'SCP failed'
)
def
copyout
(
self
,
ipaddress
,
username
,
password
,
source
,
destination
):
def
copyout
(
self
,
ipaddress
,
username
,
password
,
source
,
destination
):
count
=
0
copy_status
=
False
logging
.
debug
(
'scp '
+
source
+
' '
+
username
+
'@'
+
ipaddress
+
':'
+
destination
)
logging
.
debug
(
'scp '
+
source
+
' '
+
username
+
'@'
+
ipaddress
+
':'
+
destination
)
scp_spawn
=
pexpect
.
spawn
(
'scp '
+
source
+
' '
+
username
+
'@'
+
ipaddress
+
':'
+
destination
,
timeout
=
5
)
while
count
<
4
:
scp_response
=
scp_spawn
.
expect
([
'Are you sure you want to continue connecting (yes/no)?'
,
'password:'
,
pexpect
.
EOF
,
pexpect
.
TIMEOUT
])
scp_spawn
=
pexpect
.
spawn
(
'scp '
+
source
+
' '
+
username
+
'@'
+
ipaddress
+
':'
+
destination
,
timeout
=
5
)
if
scp_response
==
0
:
scp_response
=
scp_spawn
.
expect
([
'Are you sure you want to continue connecting (yes/no)?'
,
'password:'
,
pexpect
.
EOF
,
pexpect
.
TIMEOUT
])
scp_spawn
.
sendline
(
'yes'
)
scp_spawn
.
expect
(
'password:'
)
scp_spawn
.
sendline
(
password
)
scp_response
=
scp_spawn
.
expect
([
'\$'
,
'Permission denied'
,
'password:'
,
pexpect
.
EOF
,
pexpect
.
TIMEOUT
])
if
scp_response
==
0
:
if
scp_response
==
0
:
pass
scp_spawn
.
sendline
(
'yes'
)
else
:
scp_spawn
.
expect
(
'password:'
)
logging
.
debug
(
'1 - scp_response = '
+
str
(
scp_response
))
scp_spawn
.
sendline
(
password
)
sys
.
exit
(
'SCP failed'
)
scp_response
=
scp_spawn
.
expect
([
'\$'
,
'Permission denied'
,
'password:'
,
pexpect
.
EOF
,
pexpect
.
TIMEOUT
])
elif
scp_response
==
1
:
if
scp_response
==
0
:
scp_spawn
.
sendline
(
password
)
count
=
10
scp_response
=
scp_spawn
.
expect
([
'\$'
,
'Permission denied'
,
'password:'
,
pexpect
.
EOF
,
pexpect
.
TIMEOUT
])
copy_status
=
True
if
scp_response
==
0
or
scp_response
==
3
:
else
:
pass
logging
.
debug
(
'1 - scp_response = '
+
str
(
scp_response
))
elif
scp_response
==
1
:
scp_spawn
.
sendline
(
password
)
scp_response
=
scp_spawn
.
expect
([
'\$'
,
'Permission denied'
,
'password:'
,
pexpect
.
EOF
,
pexpect
.
TIMEOUT
])
if
scp_response
==
0
or
scp_response
==
3
:
count
=
10
copy_status
=
True
else
:
logging
.
debug
(
'2 - scp_response = '
+
str
(
scp_response
))
elif
scp_response
==
2
:
count
=
10
copy_status
=
True
else
:
else
:
logging
.
debug
(
'2 - scp_response = '
+
str
(
scp_response
))
logging
.
debug
(
'3 - scp_response = '
+
str
(
scp_response
))
sys
.
exit
(
'SCP failed'
)
# adding a tempo when failure
elif
scp_response
==
2
:
if
not
copy_status
:
time
.
sleep
(
1
)
count
+=
1
if
copy_status
:
pass
pass
else
:
else
:
logging
.
debug
(
'3 - scp_response = '
+
str
(
scp_response
))
sys
.
exit
(
'SCP failed'
)
sys
.
exit
(
'SCP failed'
)
def
BuildeNB
(
self
):
def
BuildeNB
(
self
):
...
@@ -2061,7 +2083,7 @@ class SSHConnection():
...
@@ -2061,7 +2083,7 @@ class SSHConnection():
def
CreateHtmlTabFooter
(
self
,
passStatus
):
def
CreateHtmlTabFooter
(
self
,
passStatus
):
if
((
not
self
.
htmlFooterCreated
)
and
(
self
.
htmlHeaderCreated
)):
if
((
not
self
.
htmlFooterCreated
)
and
(
self
.
htmlHeaderCreated
)):
self
.
htmlFile
.
write
(
' <tr
"
>
\n
'
)
self
.
htmlFile
.
write
(
' <tr>
\n
'
)
self
.
htmlFile
.
write
(
' <th bgcolor = "#33CCFF" colspan=2>Final Tab Status</th>
\n
'
)
self
.
htmlFile
.
write
(
' <th bgcolor = "#33CCFF" colspan=2>Final Tab Status</th>
\n
'
)
if
passStatus
:
if
passStatus
:
self
.
htmlFile
.
write
(
' <th bgcolor = "green" colspan='
+
str
(
2
+
self
.
htmlUEConnected
)
+
'><font color="white">PASS <span class="glyphicon glyphicon-ok"></span> </font></th>
\n
'
)
self
.
htmlFile
.
write
(
' <th bgcolor = "green" colspan='
+
str
(
2
+
self
.
htmlUEConnected
)
+
'><font color="white">PASS <span class="glyphicon glyphicon-ok"></span> </font></th>
\n
'
)
...
...
ci-scripts/runTestOnVM.sh
View file @
38fa4523
...
@@ -961,55 +961,56 @@ function run_test_on_vm {
...
@@ -961,55 +961,56 @@ function run_test_on_vm {
recover_core_dump
$VM_CMDS
$VM_IP_ADDR
$ARCHIVES_LOC
/
$CURRENT_ENB_LOG_FILE
$ARCHIVES_LOC
recover_core_dump
$VM_CMDS
$VM_IP_ADDR
$ARCHIVES_LOC
/
$CURRENT_ENB_LOG_FILE
$ARCHIVES_LOC
sleep
10
sleep
10
echo
"############################################################"
# Disabling TDD-20MHz in order to stop getting false negatives
echo
"Starting the eNB in TDD-20MHz mode"
# echo "############################################################"
echo
"############################################################"
# echo "Starting the eNB in TDD-20MHz mode"
CURRENT_ENB_LOG_FILE
=
tdd_20MHz_enb.log
# echo "############################################################"
start_basic_sim_enb
$VM_CMDS
$VM_IP_ADDR
$EPC_VM_IP_ADDR
$CURRENT_ENB_LOG_FILE
100 lte-tdd-basic-sim.conf none
# CURRENT_ENB_LOG_FILE=tdd_20MHz_enb.log
# start_basic_sim_enb $VM_CMDS $VM_IP_ADDR $EPC_VM_IP_ADDR $CURRENT_ENB_LOG_FILE 100 lte-tdd-basic-sim.conf none
echo
"############################################################"
#
echo
"Starting the UE in TDD-20MHz mode"
# echo "############################################################"
echo
"############################################################"
# echo "Starting the UE in TDD-20MHz mode"
CURRENT_UE_LOG_FILE
=
tdd_20MHz_ue.log
# echo "############################################################"
start_basic_sim_ue
$VM_CMDS
$VM_IP_ADDR
$CURRENT_UE_LOG_FILE
100 2350
# CURRENT_UE_LOG_FILE=tdd_20MHz_ue.log
if
[
$UE_SYNC
-eq
0
]
# start_basic_sim_ue $VM_CMDS $VM_IP_ADDR $CURRENT_UE_LOG_FILE 100 2350
then
# if [ $UE_SYNC -eq 0 ]
echo
"Problem w/ eNB and UE not syncing"
# then
terminate_enb_ue_basic_sim
$VM_CMDS
$VM_IP_ADDR
# echo "Problem w/ eNB and UE not syncing"
scp
-o
StrictHostKeyChecking
=
no ubuntu@
$VM_IP_ADDR
:/home/ubuntu/tmp/cmake_targets/log/
$CURRENT_ENB_LOG_FILE
$ARCHIVES_LOC
# terminate_enb_ue_basic_sim $VM_CMDS $VM_IP_ADDR
scp
-o
StrictHostKeyChecking
=
no ubuntu@
$VM_IP_ADDR
:/home/ubuntu/tmp/cmake_targets/log/
$CURRENT_UE_LOG_FILE
$ARCHIVES_LOC
# scp -o StrictHostKeyChecking=no ubuntu@$VM_IP_ADDR:/home/ubuntu/tmp/cmake_targets/log/$CURRENT_ENB_LOG_FILE $ARCHIVES_LOC
recover_core_dump
$VM_CMDS
$VM_IP_ADDR
$ARCHIVES_LOC
/
$CURRENT_ENB_LOG_FILE
$ARCHIVES_LOC
# scp -o StrictHostKeyChecking=no ubuntu@$VM_IP_ADDR:/home/ubuntu/tmp/cmake_targets/log/$CURRENT_UE_LOG_FILE $ARCHIVES_LOC
terminate_ltebox_epc
$EPC_VM_CMDS
$EPC_VM_IP_ADDR
# recover_core_dump $VM_CMDS $VM_IP_ADDR $ARCHIVES_LOC/$CURRENT_ENB_LOG_FILE $ARCHIVES_LOC
echo
"TEST_KO"
>
$ARCHIVES_LOC
/test_final_status.log
# terminate_ltebox_epc $EPC_VM_CMDS $EPC_VM_IP_ADDR
exit
-1
# echo "TEST_KO" > $ARCHIVES_LOC/test_final_status.log
fi
# exit -1
get_ue_ip_addr
$VM_CMDS
$VM_IP_ADDR
# fi
# get_ue_ip_addr $VM_CMDS $VM_IP_ADDR
echo
"############################################################"
#
echo
"Pinging the UE"
# echo "############################################################"
echo
"############################################################"
# echo "Pinging the UE"
PING_LOG_FILE
=
tdd_20MHz_ping_ue.txt
# echo "############################################################"
ping_ue_ip_addr
$EPC_VM_CMDS
$EPC_VM_IP_ADDR
$UE_IP_ADDR
$PING_LOG_FILE
# PING_LOG_FILE=tdd_20MHz_ping_ue.txt
scp
-o
StrictHostKeyChecking
=
no ubuntu@
$EPC_VM_IP_ADDR
:/home/ubuntu/
$PING_LOG_FILE
$ARCHIVES_LOC
# ping_ue_ip_addr $EPC_VM_CMDS $EPC_VM_IP_ADDR $UE_IP_ADDR $PING_LOG_FILE
check_ping_result
$ARCHIVES_LOC
/
$PING_LOG_FILE
20
# scp -o StrictHostKeyChecking=no ubuntu@$EPC_VM_IP_ADDR:/home/ubuntu/$PING_LOG_FILE $ARCHIVES_LOC
# check_ping_result $ARCHIVES_LOC/$PING_LOG_FILE 20
echo
"############################################################"
#
echo
"Iperf DL"
# echo "############################################################"
echo
"############################################################"
# echo "Iperf DL"
CURR_IPERF_LOG_BASE
=
tdd_20MHz_iperf_dl
# echo "############################################################"
iperf_dl
$VM_CMDS
$VM_IP_ADDR
$EPC_VM_CMDS
$EPC_VM_IP_ADDR
6
$CURR_IPERF_LOG_BASE
# CURR_IPERF_LOG_BASE=tdd_20MHz_iperf_dl
scp
-o
StrictHostKeyChecking
=
no ubuntu@
$EPC_VM_IP_ADDR
:/home/ubuntu/
${
CURR_IPERF_LOG_BASE
}
_client.txt
$ARCHIVES_LOC
# iperf_dl $VM_CMDS $VM_IP_ADDR $EPC_VM_CMDS $EPC_VM_IP_ADDR 6 $CURR_IPERF_LOG_BASE
scp
-o
StrictHostKeyChecking
=
no ubuntu@
$VM_IP_ADDR
:/home/ubuntu/tmp/cmake_targets/log/
${
CURR_IPERF_LOG_BASE
}
_server.txt
$ARCHIVES_LOC
# scp -o StrictHostKeyChecking=no ubuntu@$EPC_VM_IP_ADDR:/home/ubuntu/${CURR_IPERF_LOG_BASE}_client.txt $ARCHIVES_LOC
check_iperf
$ARCHIVES_LOC
/
$CURR_IPERF_LOG_BASE
6
# scp -o StrictHostKeyChecking=no ubuntu@$VM_IP_ADDR:/home/ubuntu/tmp/cmake_targets/log/${CURR_IPERF_LOG_BASE}_server.txt $ARCHIVES_LOC
# check_iperf $ARCHIVES_LOC/$CURR_IPERF_LOG_BASE 6
echo
"############################################################"
#
echo
"Terminate enb/ue simulators"
# echo "############################################################"
echo
"############################################################"
# echo "Terminate enb/ue simulators"
terminate_enb_ue_basic_sim
$VM_CMDS
$VM_IP_ADDR
# echo "############################################################"
scp
-o
StrictHostKeyChecking
=
no ubuntu@
$VM_IP_ADDR
:/home/ubuntu/tmp/cmake_targets/log/
$CURRENT_ENB_LOG_FILE
$ARCHIVES_LOC
# terminate_enb_ue_basic_sim $VM_CMDS $VM_IP_ADDR
scp
-o
StrictHostKeyChecking
=
no ubuntu@
$VM_IP_ADDR
:/home/ubuntu/tmp/cmake_targets/log/
$CURRENT_UE_LOG_FILE
$ARCHIVES_LOC
# scp -o StrictHostKeyChecking=no ubuntu@$VM_IP_ADDR:/home/ubuntu/tmp/cmake_targets/log/$CURRENT_ENB_LOG_FILE $ARCHIVES_LOC
recover_core_dump
$VM_CMDS
$VM_IP_ADDR
$ARCHIVES_LOC
/
$CURRENT_ENB_LOG_FILE
$ARCHIVES_LOC
# scp -o StrictHostKeyChecking=no ubuntu@$VM_IP_ADDR:/home/ubuntu/tmp/cmake_targets/log/$CURRENT_UE_LOG_FILE $ARCHIVES_LOC
sleep
10
# recover_core_dump $VM_CMDS $VM_IP_ADDR $ARCHIVES_LOC/$CURRENT_ENB_LOG_FILE $ARCHIVES_LOC
# sleep 10
echo
"############################################################"
echo
"############################################################"
echo
"Terminate EPC"
echo
"Terminate EPC"
...
...
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