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
常顺宇
OpenXG-RAN
Commits
d205c806
Commit
d205c806
authored
Apr 30, 2019
by
frtabu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix remaining deprecated commands in CI
parent
582c6dd0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
17 deletions
+17
-17
ci-scripts/runTestOnVM.sh
ci-scripts/runTestOnVM.sh
+15
-15
ci-scripts/xml_files/if4p5_usrp210_band40_build.xml
ci-scripts/xml_files/if4p5_usrp210_band40_build.xml
+1
-1
ci-scripts/xml_files/if4p5_usrp210_band7_build.xml
ci-scripts/xml_files/if4p5_usrp210_band7_build.xml
+1
-1
No files found.
ci-scripts/runTestOnVM.sh
View file @
d205c806
...
...
@@ -80,15 +80,15 @@ function start_basic_sim_enb {
fi
echo
"echo
\"
grep N_RB_DL ci-
$LOC_CONF_FILE
\"
"
>>
$1
echo
"grep N_RB_DL ci-
$LOC_CONF_FILE
| sed -e 's#N_RB_DL.*=#N_RB_DL =#'"
>>
$1
echo
"echo
\"
cd /home/ubuntu/tmp/cmake_targets/
basic_simulator/enb
/
\"
"
>>
$1
echo
"sudo chmod 777 /home/ubuntu/tmp/cmake_targets/
basic_simulator
"
>>
$1
echo
"sudo chmod 777 /home/ubuntu/tmp/cmake_targets/
basic_simulator/enb
/"
>>
$1
echo
"cd /home/ubuntu/tmp/cmake_targets/
basic_simulator/enb
/"
>>
$1
echo
"echo
\"
ulimit -c unlimited && ./lte-softmodem -O /home/ubuntu/tmp/ci-scripts/conf_files/ci-
$LOC_CONF_FILE
\"
> ./my-lte-softmodem-run.sh "
>>
$1
echo
"echo
\"
cd /home/ubuntu/tmp/cmake_targets/
lte_build_oai/build
/
\"
"
>>
$1
echo
"sudo chmod 777 /home/ubuntu/tmp/cmake_targets/
lte_build_oai/
"
>>
$1
echo
"sudo chmod 777 /home/ubuntu/tmp/cmake_targets/
lte_build_oai/build
/"
>>
$1
echo
"cd /home/ubuntu/tmp/cmake_targets/
lte_build_oai/build
/"
>>
$1
echo
"echo
\"
ulimit -c unlimited && ./lte-softmodem -O /home/ubuntu/tmp/ci-scripts/conf_files/ci-
$LOC_CONF_FILE
--basicsim
\"
> ./my-lte-softmodem-run.sh "
>>
$1
echo
"chmod 775 ./my-lte-softmodem-run.sh"
>>
$1
echo
"cat ./my-lte-softmodem-run.sh"
>>
$1
echo
"if [ -e /home/ubuntu/tmp/cmake_targets/log/
$LOC_LOG_FILE
]; then sudo sudo rm -f /home/ubuntu/tmp/cmake_targets/log/
$LOC_LOG_FILE
; fi"
>>
$1
echo
"sudo -E daemon --inherit --unsafe --name=enb_daemon --chdir=/home/ubuntu/tmp/cmake_targets/
basic_simulator/enb
-o /home/ubuntu/tmp/cmake_targets/log/
$LOC_LOG_FILE
./my-lte-softmodem-run.sh"
>>
$1
echo
"sudo -E daemon --inherit --unsafe --name=enb_daemon --chdir=/home/ubuntu/tmp/cmake_targets/
lte_build_oai/build
-o /home/ubuntu/tmp/cmake_targets/log/
$LOC_LOG_FILE
./my-lte-softmodem-run.sh"
>>
$1
ssh
-T
-o
StrictHostKeyChecking
=
no ubuntu@
$LOC_VM_IP_ADDR
<
$1
rm
$1
...
...
@@ -123,14 +123,14 @@ function start_basic_sim_ue {
local
LOC_UE_LOG_FILE
=
$3
local
LOC_NB_RBS
=
$4
local
LOC_FREQUENCY
=
$5
echo
"echo
\"
cd /home/ubuntu/tmp/cmake_targets/
basic_simulator/ue
\"
"
>
$1
echo
"sudo chmod 777 /home/ubuntu/tmp/cmake_targets/
basic_simulator/ue
"
>>
$1
echo
"cd /home/ubuntu/tmp/cmake_targets/
basic_simulator/ue
"
>>
$1
echo
"echo
\"
./lte-uesoftmodem -C
${
LOC_FREQUENCY
}
000000 -r
$LOC_NB_RBS
--ue-rxgain 140
\"
> ./my-lte-uesoftmodem-run.sh"
>>
$1
echo
"echo
\"
cd /home/ubuntu/tmp/cmake_targets/
lte_build_oai/build/
\"
"
>
$1
echo
"sudo chmod 777 /home/ubuntu/tmp/cmake_targets/
lte_build_oai/build/
"
>>
$1
echo
"cd /home/ubuntu/tmp/cmake_targets/
lte_build_oai/build
"
>>
$1
echo
"echo
\"
./lte-uesoftmodem -C
${
LOC_FREQUENCY
}
000000 -r
$LOC_NB_RBS
--ue-rxgain 140
--basicsim
\"
> ./my-lte-uesoftmodem-run.sh"
>>
$1
echo
"chmod 775 ./my-lte-uesoftmodem-run.sh"
>>
$1
echo
"cat ./my-lte-uesoftmodem-run.sh"
>>
$1
echo
"if [ -e /home/ubuntu/tmp/cmake_targets/log/
$LOC_UE_LOG_FILE
]; then sudo sudo rm -f /home/ubuntu/tmp/cmake_targets/log/
$LOC_UE_LOG_FILE
; fi"
>>
$1
echo
"sudo -E daemon --inherit --unsafe --name=ue_daemon --chdir=/home/ubuntu/tmp/cmake_targets/
basic_simulator/ue
-o /home/ubuntu/tmp/cmake_targets/log/
$LOC_UE_LOG_FILE
./my-lte-uesoftmodem-run.sh"
>>
$1
echo
"sudo -E daemon --inherit --unsafe --name=ue_daemon --chdir=/home/ubuntu/tmp/cmake_targets/
lte_build_oai/build
-o /home/ubuntu/tmp/cmake_targets/log/
$LOC_UE_LOG_FILE
./my-lte-uesoftmodem-run.sh"
>>
$1
ssh
-T
-o
StrictHostKeyChecking
=
no ubuntu@
$2
<
$1
rm
$1
...
...
@@ -418,14 +418,14 @@ function recover_core_dump {
then
local
TC
=
`
echo
$3
|
sed
-e
"s#^.*enb_##"
-e
"s#Hz.*#Hz#"
`
echo
"Segmentation fault detected on enb -> recovering core dump"
echo
"cd /home/ubuntu/tmp/cmake_targets/
basic_simulator/enb
"
>
$1
echo
"cd /home/ubuntu/tmp/cmake_targets/
lte_build_oai/build/
"
>
$1
echo
"sync"
>>
$1
echo
"sudo tar -cjhf basic-simulator-enb-core-
${
TC
}
.bz2 core lte-softmodem *.so ci-lte-basic-sim.conf my-lte-softmodem-run.sh"
>>
$1
echo
"sudo rm core"
>>
$1
echo
"rm ci-lte-basic-sim.conf"
>>
$1
echo
"sync"
>>
$1
ssh
-T
-o
StrictHostKeyChecking
=
no ubuntu@
$2
<
$1
scp
-o
StrictHostKeyChecking
=
no ubuntu@
$VM_IP_ADDR
:/home/ubuntu/tmp/cmake_targets/
basic_simulator/enb
/basic-simulator-enb-core-
${
TC
}
.bz2
$4
scp
-o
StrictHostKeyChecking
=
no ubuntu@
$VM_IP_ADDR
:/home/ubuntu/tmp/cmake_targets/
lte_build_oai/build
/basic-simulator-enb-core-
${
TC
}
.bz2
$4
rm
-f
$1
fi
}
...
...
@@ -694,8 +694,8 @@ function build_ue_on_separate_folder {
echo
"cd cmake_targets/"
>>
$1
echo
"mkdir log"
>>
$1
echo
"chmod 777 log"
>>
$1
echo
"echo
\"
./build_oai --UE
-t ETHERNET
\"
"
>>
$1
echo
"./build_oai --UE
-t ETHERNET
> log/ue-build.txt 2>&1"
>>
$1
echo
"echo
\"
./build_oai --UE
\"
"
>>
$1
echo
"./build_oai --UE > log/ue-build.txt 2>&1"
>>
$1
echo
"cd tools"
>>
$1
echo
"sudo ifconfig lo: 127.0.0.2 netmask 255.0.0.0 up"
>>
$1
echo
"sudo chmod 666 /etc/iproute2/rt_tables"
>>
$1
...
...
ci-scripts/xml_files/if4p5_usrp210_band40_build.xml
View file @
d205c806
...
...
@@ -34,7 +34,7 @@
<testCase
id=
"010101"
>
<class>
Build_eNB
</class>
<desc>
Build eNB (USRP -- Ethernet Fronthaul)
</desc>
<Build_eNB_args>
-
t ETHERNET -
w USRP -c --eNB
</Build_eNB_args>
<Build_eNB_args>
-w USRP -c --eNB
</Build_eNB_args>
</testCase>
<testCase
id=
"050101"
>
...
...
ci-scripts/xml_files/if4p5_usrp210_band7_build.xml
View file @
d205c806
...
...
@@ -34,7 +34,7 @@
<testCase
id=
"010101"
>
<class>
Build_eNB
</class>
<desc>
Build eNB (USRP -- Ethernet Fronthaul)
</desc>
<Build_eNB_args>
-
t ETHERNET -
w USRP -c --eNB
</Build_eNB_args>
<Build_eNB_args>
-w USRP -c --eNB
</Build_eNB_args>
</testCase>
<testCase
id=
"050101"
>
...
...
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