Commit cb4a02bf authored by Boris Djalal's avatar Boris Djalal

Test.

Signed-off-by: default avatarBoris Djalal <boris.djalal@eurecom.fr>
parent d921e001
......@@ -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"
......
......@@ -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)
......
......@@ -27,7 +27,7 @@
<htmlTabIcon>tasks</htmlTabIcon>
<TestCaseRequestedList>
</TestCaseRequestedList>
000001
090101 000001 090102 000001 090108 090109
<TestCaseExclusionList></TestCaseExclusionList>
<testCase id="090101">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment