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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
128aa797
Commit
128aa797
authored
Jun 12, 2020
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: no need for daemon install/usage in EPC VM
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
938aa0f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
ci-scripts/runTestOnVM.sh
ci-scripts/runTestOnVM.sh
+2
-6
No files found.
ci-scripts/runTestOnVM.sh
View file @
128aa797
...
...
@@ -523,9 +523,9 @@ function install_epc_on_vm {
echo
"############################################################"
echo
"[ -f 01proxy ] && sudo cp 01proxy /etc/apt/apt.conf.d/"
>
$LOC_EPC_VM_CMDS
echo
"touch /home/ubuntu/.hushlogin"
>>
$LOC_EPC_VM_CMDS
echo
"echo
\"
sudo apt-get --yes --quiet install zip openjdk-8-jre libconfuse-dev libreadline-dev liblog4c-dev libgcrypt-dev libsctp-dev python2.7 python2.7-dev
daemon
iperf
\"
"
>>
$LOC_EPC_VM_CMDS
echo
"echo
\"
sudo apt-get --yes --quiet install zip openjdk-8-jre libconfuse-dev libreadline-dev liblog4c-dev libgcrypt-dev libsctp-dev python2.7 python2.7-dev iperf
\"
"
>>
$LOC_EPC_VM_CMDS
echo
"sudo apt-get update > zip-install.txt 2>&1"
>>
$LOC_EPC_VM_CMDS
echo
"sudo apt-get --yes install zip openjdk-8-jre libconfuse-dev libreadline-dev liblog4c-dev libgcrypt-dev libsctp-dev python2.7 python2.7-dev
daemon
iperf >> zip-install.txt 2>&1"
>>
$LOC_EPC_VM_CMDS
echo
"sudo apt-get --yes install zip openjdk-8-jre libconfuse-dev libreadline-dev liblog4c-dev libgcrypt-dev libsctp-dev python2.7 python2.7-dev iperf >> zip-install.txt 2>&1"
>>
$LOC_EPC_VM_CMDS
# Installing HSS
echo
"echo
\"
cd /opt
\"
"
>>
$LOC_EPC_VM_CMDS
...
...
@@ -588,8 +588,6 @@ function start_epc {
echo
"echo
\"
cd /opt/hss_sim0609
\"
"
>
$LOC_EPC_VM_CMDS
echo
"cd /opt/hss_sim0609"
>>
$LOC_EPC_VM_CMDS
echo
"sudo rm -f hss.log"
>>
$LOC_EPC_VM_CMDS
#echo "echo \"sudo daemon --unsafe --name=simulated_hss --chdir=/opt/hss_sim0609 ./starthss_real\"" >> $LOC_EPC_VM_CMDS
#echo "sudo daemon --unsafe --name=simulated_hss --chdir=/opt/hss_sim0609 ./starthss_real" >> $LOC_EPC_VM_CMDS
echo
"echo
\"
screen -dm -S simulated_hss ./starthss_real
\"
"
>>
$LOC_EPC_VM_CMDS
echo
"sudo su -c
\"
screen -dm -S simulated_hss ./starthss_real
\"
"
>>
$LOC_EPC_VM_CMDS
...
...
@@ -656,8 +654,6 @@ function terminate_epc {
echo
"cd /opt/ltebox/tools"
>>
$1
echo
"echo
\"
sudo ./stop_ltebox
\"
"
>>
$1
echo
"sudo ./stop_ltebox"
>>
$1
echo
"echo
\"
sudo daemon --name=simulated_hss --stop
\"
"
>>
$1
echo
"sudo daemon --name=simulated_hss --stop"
>>
$1
echo
"echo
\"
sudo killall --signal SIGKILL hss_sim
\"
"
>>
$1
echo
"sudo killall --signal SIGKILL hss_sim"
>>
$1
ssh
-T
-o
StrictHostKeyChecking
=
no ubuntu@
$2
<
$1
...
...
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