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
OpenXG
OpenXG UE
Commits
00a75d1f
Commit
00a75d1f
authored
Sep 24, 2019
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: fixing minor bugs
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
75382062
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
ci-scripts/Jenkinsfile-inria-r2lab
ci-scripts/Jenkinsfile-inria-r2lab
+1
-1
ci-scripts/main.py
ci-scripts/main.py
+4
-4
No files found.
ci-scripts/Jenkinsfile-inria-r2lab
View file @
00a75d1f
...
@@ -175,7 +175,7 @@ pipeline {
...
@@ -175,7 +175,7 @@ pipeline {
echo
"Latest commit to use is ${GIT_COMMIT_TO_RUN}"
echo
"Latest commit to use is ${GIT_COMMIT_TO_RUN}"
// Putting the adaptation parameters for the OAI UE
// Putting the adaptation parameters for the OAI UE
sh
"ssh -t inria_oaici@faraday.inria.fr 'scp /home/inria_oaici/for-ci/adapt_usim_parameters_${r2labUE0}.sed ${fituser}@${r2labUE0}:/tmp'"
sh
"ssh -t inria_oaici@faraday.inria.fr 'scp /home/inria_oaici/for-ci/adapt_usim_parameters_${r2labUE0}.sed ${fituser}@${r2labUE0}:/tmp
/adapt_usim_parameters.sed
'"
// Out of rload, the sub-network-interfaces are not up
// Out of rload, the sub-network-interfaces are not up
sh
"ssh -t inria_oaici@faraday.inria.fr 'ssh -t -b 192.168.3.100 ${fituser}@${r2labEPC0} \"echo ${fitpasswd} | sudo -S ifconfig control:m11 172.16.1.102 up\"'"
sh
"ssh -t inria_oaici@faraday.inria.fr 'ssh -t -b 192.168.3.100 ${fituser}@${r2labEPC0} \"echo ${fitpasswd} | sudo -S ifconfig control:m11 172.16.1.102 up\"'"
...
...
ci-scripts/main.py
View file @
00a75d1f
...
@@ -3720,10 +3720,10 @@ class SSHConnection():
...
@@ -3720,10 +3720,10 @@ class SSHConnection():
self
.
command
(
'rm -f hss.log.zip'
,
'\$'
,
5
)
self
.
command
(
'rm -f hss.log.zip'
,
'\$'
,
5
)
if
re
.
match
(
'OAI'
,
self
.
EPCType
,
re
.
IGNORECASE
)
or
re
.
match
(
'OAI-Rel14-CUPS'
,
self
.
EPCType
,
re
.
IGNORECASE
):
if
re
.
match
(
'OAI'
,
self
.
EPCType
,
re
.
IGNORECASE
)
or
re
.
match
(
'OAI-Rel14-CUPS'
,
self
.
EPCType
,
re
.
IGNORECASE
):
self
.
command
(
'zip hss.log.zip hss*.log'
,
'\$'
,
60
)
self
.
command
(
'zip hss.log.zip hss*.log'
,
'\$'
,
60
)
self
.
command
(
'rm hss*.log'
,
'\$'
,
5
)
self
.
command
(
'
echo '
+
self
.
EPCPassword
+
' | sudo -S
rm hss*.log'
,
'\$'
,
5
)
if
re
.
match
(
'OAI-Rel14-CUPS'
,
self
.
EPCType
,
re
.
IGNORECASE
):
if
re
.
match
(
'OAI-Rel14-CUPS'
,
self
.
EPCType
,
re
.
IGNORECASE
):
self
.
command
(
'zip hss.log.zip logs/hss*.*'
,
'\$'
,
60
)
self
.
command
(
'zip hss.log.zip logs/hss*.*'
,
'\$'
,
60
)
self
.
command
(
'rm logs/hss*.*'
,
'\$'
,
5
)
self
.
command
(
'
echo '
+
self
.
EPCPassword
+
' | sudo -S
rm logs/hss*.*'
,
'\$'
,
5
)
elif
re
.
match
(
'ltebox'
,
self
.
EPCType
,
re
.
IGNORECASE
):
elif
re
.
match
(
'ltebox'
,
self
.
EPCType
,
re
.
IGNORECASE
):
self
.
command
(
'cp /opt/hss_sim0609/hss.log .'
,
'\$'
,
60
)
self
.
command
(
'cp /opt/hss_sim0609/hss.log .'
,
'\$'
,
60
)
self
.
command
(
'zip hss.log.zip hss.log'
,
'\$'
,
60
)
self
.
command
(
'zip hss.log.zip hss.log'
,
'\$'
,
60
)
...
@@ -3737,7 +3737,7 @@ class SSHConnection():
...
@@ -3737,7 +3737,7 @@ class SSHConnection():
self
.
command
(
'rm -f mme.log.zip'
,
'\$'
,
5
)
self
.
command
(
'rm -f mme.log.zip'
,
'\$'
,
5
)
if
re
.
match
(
'OAI'
,
self
.
EPCType
,
re
.
IGNORECASE
)
or
re
.
match
(
'OAI-Rel14-CUPS'
,
self
.
EPCType
,
re
.
IGNORECASE
):
if
re
.
match
(
'OAI'
,
self
.
EPCType
,
re
.
IGNORECASE
)
or
re
.
match
(
'OAI-Rel14-CUPS'
,
self
.
EPCType
,
re
.
IGNORECASE
):
self
.
command
(
'zip mme.log.zip mme*.log'
,
'\$'
,
60
)
self
.
command
(
'zip mme.log.zip mme*.log'
,
'\$'
,
60
)
self
.
command
(
'rm mme*.log'
,
'\$'
,
5
)
self
.
command
(
'
echo '
+
self
.
EPCPassword
+
' | sudo -S
rm mme*.log'
,
'\$'
,
5
)
elif
re
.
match
(
'ltebox'
,
self
.
EPCType
,
re
.
IGNORECASE
):
elif
re
.
match
(
'ltebox'
,
self
.
EPCType
,
re
.
IGNORECASE
):
self
.
command
(
'cp /opt/ltebox/var/log/*Log.0 .'
,
'\$'
,
5
)
self
.
command
(
'cp /opt/ltebox/var/log/*Log.0 .'
,
'\$'
,
5
)
self
.
command
(
'zip mme.log.zip mmeLog.0 s1apcLog.0 s1apsLog.0 s11cLog.0 libLog.0 s1apCodecLog.0'
,
'\$'
,
60
)
self
.
command
(
'zip mme.log.zip mmeLog.0 s1apcLog.0 s1apsLog.0 s11cLog.0 libLog.0 s1apCodecLog.0'
,
'\$'
,
60
)
...
@@ -3751,7 +3751,7 @@ class SSHConnection():
...
@@ -3751,7 +3751,7 @@ class SSHConnection():
self
.
command
(
'rm -f spgw.log.zip'
,
'\$'
,
5
)
self
.
command
(
'rm -f spgw.log.zip'
,
'\$'
,
5
)
if
re
.
match
(
'OAI'
,
self
.
EPCType
,
re
.
IGNORECASE
)
or
re
.
match
(
'OAI-Rel14-CUPS'
,
self
.
EPCType
,
re
.
IGNORECASE
):
if
re
.
match
(
'OAI'
,
self
.
EPCType
,
re
.
IGNORECASE
)
or
re
.
match
(
'OAI-Rel14-CUPS'
,
self
.
EPCType
,
re
.
IGNORECASE
):
self
.
command
(
'zip spgw.log.zip spgw*.log'
,
'\$'
,
60
)
self
.
command
(
'zip spgw.log.zip spgw*.log'
,
'\$'
,
60
)
self
.
command
(
'rm spgw*.log'
,
'\$'
,
5
)
self
.
command
(
'
echo '
+
self
.
EPCPassword
+
' | sudo -S
rm spgw*.log'
,
'\$'
,
5
)
elif
re
.
match
(
'ltebox'
,
self
.
EPCType
,
re
.
IGNORECASE
):
elif
re
.
match
(
'ltebox'
,
self
.
EPCType
,
re
.
IGNORECASE
):
self
.
command
(
'cp /opt/ltebox/var/log/xGwLog.0 .'
,
'\$'
,
5
)
self
.
command
(
'cp /opt/ltebox/var/log/xGwLog.0 .'
,
'\$'
,
5
)
self
.
command
(
'zip spgw.log.zip xGwLog.0'
,
'\$'
,
60
)
self
.
command
(
'zip spgw.log.zip xGwLog.0'
,
'\$'
,
60
)
...
...
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