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
wangwenhui
OpenXG-RAN
Commits
cb4a02bf
Commit
cb4a02bf
authored
May 07, 2019
by
Boris Djalal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test.
Signed-off-by:
Boris Djalal
<
boris.djalal@eurecom.fr
>
parent
d921e001
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
12 deletions
+1
-12
ci-scripts/Jenkinsfile-OAI-gNB-UE
ci-scripts/Jenkinsfile-OAI-gNB-UE
+0
-2
ci-scripts/main.py
ci-scripts/main.py
+0
-9
ci-scripts/xml_files/gnb_nr_ue_usrp_run.xml
ci-scripts/xml_files/gnb_nr_ue_usrp_run.xml
+1
-1
No files found.
ci-scripts/Jenkinsfile-OAI-gNB-UE
View file @
cb4a02bf
...
...
@@ -347,8 +347,6 @@ OAI CI Team''',
}
failure
{
script
{
echo
"currentBuild.result = ${currentBuild.result}"
currentBuild
.
result
=
'FAILURE'
def
message
=
"OAI "
+
JOB_NAME
+
" build ("
+
BUILD_ID
+
"): failed ("
+
BUILD_URL
+
")"
if
(
"MERGE"
.
equals
(
env
.
gitlabActionType
))
{
echo
"This is a MERGE event"
...
...
ci-scripts/main.py
View file @
cb4a02bf
...
...
@@ -146,11 +146,6 @@ class SSHConnection():
self
.
eNBOsVersion
=
''
def
open
(
self
,
ipaddress
,
username
,
password
):
print
(
'begin open ssh'
)
print
(
'ipaddress: '
+
ipaddress
)
print
(
'username: '
+
username
)
if
password
==
'null'
:
print
(
'password is null'
)
count
=
0
connect_status
=
False
while
count
<
4
:
...
...
@@ -403,10 +398,6 @@ class SSHConnection():
self
.
command
(
'mkdir -p '
+
self
.
EPCSourceCodePath
+
'/scripts'
,
'\$'
,
5
)
self
.
command
(
'cd /opt/hss_sim0609'
,
'\$'
,
5
)
self
.
command
(
'echo '
+
self
.
EPCPassword
+
' | sudo -S rm -f hss.log daemon.log'
,
'\$'
,
5
)
#to use daemon on CentOS we need to source the function
#linux_distro = platform.linux_distribution()[0]
#if re.match('(.*)CentOS(.*)', linux_distro, re.IGNORECASE):
#self.command('source /etc/init.d/functions', '\$', 5)
self
.
command
(
'echo '
+
self
.
EPCPassword
+
' | sudo -S echo "Starting sudo session" && sudo daemon --unsafe --name=simulated_hss --chdir=/opt/hss_sim0609 ./starthss_real '
,
'\$'
,
5
)
self
.
close
()
self
.
CreateHtmlTestRow
(
self
.
EPCType
,
'OK'
,
ALL_PROCESSES_OK
)
...
...
ci-scripts/xml_files/gnb_nr_ue_usrp_run.xml
View file @
cb4a02bf
...
...
@@ -27,7 +27,7 @@
<htmlTabIcon>
tasks
</htmlTabIcon>
<TestCaseRequestedList>
</TestCaseRequestedList>
0
00001
0
90101 000001 090102 000001 090108 090109
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"090101"
>
...
...
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