Merge branch 'develop_inria_ci_deployment_gp' of https://gitlab.eurecom.fr/oai/openairinterface5g into develop_inria_ci_deployment_gp
This commit is contained in:
+2
-3
@@ -126,7 +126,6 @@ class EPCManagement():
|
|||||||
mySSH.command('mkdir -p ' + self.EPCSourceCodePath + '/scripts', '\$', 5)
|
mySSH.command('mkdir -p ' + self.EPCSourceCodePath + '/scripts', '\$', 5)
|
||||||
mySSH.command('cd /opt/hss_sim0609', '\$', 5)
|
mySSH.command('cd /opt/hss_sim0609', '\$', 5)
|
||||||
mySSH.command('echo ' + self.EPCPassword + ' | sudo -S rm -f hss.log daemon.log', '\$', 5)
|
mySSH.command('echo ' + self.EPCPassword + ' | sudo -S rm -f hss.log daemon.log', '\$', 5)
|
||||||
#mySSH.command('echo ' + self.EPCPassword + ' | sudo -S echo "Starting sudo session" && sudo daemon --unsafe --name=simulated_hss --chdir=/opt/hss_sim0609 ./starthss_real ', '\$', 5)
|
|
||||||
mySSH.command('echo ' + self.EPCPassword + ' | sudo -S echo "Starting sudo session" && sudo su -c "screen -dm -S simulated_hss ./starthss"', '\$', 5)
|
mySSH.command('echo ' + self.EPCPassword + ' | sudo -S echo "Starting sudo session" && sudo su -c "screen -dm -S simulated_hss ./starthss"', '\$', 5)
|
||||||
else:
|
else:
|
||||||
logging.error('This option should not occur!')
|
logging.error('This option should not occur!')
|
||||||
@@ -288,10 +287,10 @@ class EPCManagement():
|
|||||||
elif re.match('ltebox', self.EPCType, re.IGNORECASE):
|
elif re.match('ltebox', self.EPCType, re.IGNORECASE):
|
||||||
mySSH.command('cd ' + self.EPCSourceCodePath, '\$', 5)
|
mySSH.command('cd ' + self.EPCSourceCodePath, '\$', 5)
|
||||||
mySSH.command('cd scripts', '\$', 5)
|
mySSH.command('cd scripts', '\$', 5)
|
||||||
mySSH.command('echo ' + self.EPCPassword + ' | sudo -S daemon --name=simulated_hss --stop', '\$', 5)
|
#mySSH.command('echo ' + self.EPCPassword + ' | sudo -S daemon --name=simulated_hss --stop', '\$', 5)
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
#mySSH.command('echo ' + self.EPCPassword + ' | sudo -S killall --signal SIGKILL hss_sim', '\$', 5)
|
#mySSH.command('echo ' + self.EPCPassword + ' | sudo -S killall --signal SIGKILL hss_sim', '\$', 5)
|
||||||
mySSH.command('echo ' + self.EPCPassword + ' | sudo killall hss_sim', '\$', 5)
|
mySSH.command('echo ' + self.EPCPassword + ' | sudo screen -X -S simulated_hss quit', '\$', 5)
|
||||||
else:
|
else:
|
||||||
logging.error('This should not happen!')
|
logging.error('This should not happen!')
|
||||||
mySSH.close()
|
mySSH.close()
|
||||||
|
|||||||
@@ -52,6 +52,9 @@ class HTMLManagement():
|
|||||||
self.htmlTabNames = []
|
self.htmlTabNames = []
|
||||||
self.htmlTabIcons = []
|
self.htmlTabIcons = []
|
||||||
self.testXMLfiles = []
|
self.testXMLfiles = []
|
||||||
|
self.htmlHeaderCreated = False
|
||||||
|
self.htmlFooterCreated = False
|
||||||
|
|
||||||
#-----------------------------------------------------------
|
#-----------------------------------------------------------
|
||||||
# Setters and Getters
|
# Setters and Getters
|
||||||
#-----------------------------------------------------------
|
#-----------------------------------------------------------
|
||||||
|
|||||||
@@ -87,8 +87,8 @@ class OaiCiTest():
|
|||||||
self.CatMDevices = []
|
self.CatMDevices = []
|
||||||
self.UEIPAddresses = []
|
self.UEIPAddresses = []
|
||||||
self.htmlFile = ''
|
self.htmlFile = ''
|
||||||
self.htmlHeaderCreated = False
|
# self.htmlHeaderCreated = False
|
||||||
self.htmlFooterCreated = False
|
# self.htmlFooterCreated = False
|
||||||
self.htmlUEConnected = -1
|
self.htmlUEConnected = -1
|
||||||
self.htmleNBFailureMsg = ''
|
self.htmleNBFailureMsg = ''
|
||||||
self.htmlUEFailureMsg = ''
|
self.htmlUEFailureMsg = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user