minor bugfixes due to runtime errors
This commit is contained in:
@@ -1026,7 +1026,7 @@ oai_list = []
|
|||||||
#start_time = time.time() # datetime.datetime.now()
|
#start_time = time.time() # datetime.datetime.now()
|
||||||
if user=='':
|
if user=='':
|
||||||
user = getpass.getuser()
|
user = getpass.getuser()
|
||||||
if password=='':
|
if pw=='':
|
||||||
pw = getpass.getpass()
|
pw = getpass.getpass()
|
||||||
print "host = " + host
|
print "host = " + host
|
||||||
print "user = " + user
|
print "user = " + user
|
||||||
@@ -1094,7 +1094,7 @@ if GitOAI5GHeadVersion == '':
|
|||||||
|
|
||||||
NFSTestsResultsDir = NFSResultsShare + '/'+ GitOAI5GRepoBranch + '/' + GitOAI5GHeadVersion + '/'
|
NFSTestsResultsDir = NFSResultsShare + '/'+ GitOAI5GRepoBranch + '/' + GitOAI5GHeadVersion + '/'
|
||||||
|
|
||||||
print "NFSResultsShareDir = " + NFSResultsShareDir
|
print "NFSTestsResultsDir = " + NFSTestsResultsDir
|
||||||
|
|
||||||
MachineList = MachineList.split()
|
MachineList = MachineList.split()
|
||||||
MachineListGeneric = MachineListGeneric.split()
|
MachineListGeneric = MachineListGeneric.split()
|
||||||
@@ -1195,7 +1195,7 @@ print "cpu freq(MHz): " + str(cpu_freq) + "timeout(s): " + str(timeout)
|
|||||||
#print result
|
#print result
|
||||||
|
|
||||||
#We now prepare the machines for testing
|
#We now prepare the machines for testing
|
||||||
#index=0
|
index=0
|
||||||
threads_init_setup=[]
|
threads_init_setup=[]
|
||||||
for oai in oai_list:
|
for oai in oai_list:
|
||||||
try:
|
try:
|
||||||
@@ -1205,7 +1205,7 @@ for oai in oai_list:
|
|||||||
#print oai_list[oai].send_recv('who am i')
|
#print oai_list[oai].send_recv('who am i')
|
||||||
#cleanUpPrograms(oai_list[oai]
|
#cleanUpPrograms(oai_list[oai]
|
||||||
cmd = 'sudo -S -E rm -fr ' + logdir + ' ; mkdir -p ' + logdir
|
cmd = 'sudo -S -E rm -fr ' + logdir + ' ; mkdir -p ' + logdir
|
||||||
result = oai[index].send_recv(cmd)
|
result = oai.send_recv(cmd)
|
||||||
|
|
||||||
setuplogfile = logdir + '/setup_log_' + MachineList[index] + '_.txt'
|
setuplogfile = logdir + '/setup_log_' + MachineList[index] + '_.txt'
|
||||||
setup_script = locallogdir + '/setup_script_' + MachineList[index] + '_.txt'
|
setup_script = locallogdir + '/setup_script_' + MachineList[index] + '_.txt'
|
||||||
@@ -1269,6 +1269,7 @@ for oai in oai_list:
|
|||||||
|
|
||||||
#print '\nCleaning Older running programs : ' + CleanUpOldProgs
|
#print '\nCleaning Older running programs : ' + CleanUpOldProgs
|
||||||
#cleanOldPrograms(oai_list[index], CleanUpOldProgs)
|
#cleanOldPrograms(oai_list[index], CleanUpOldProgs)
|
||||||
|
index = index + 1
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
print 'There is error in one of the commands to setup the machine '+ MachineList[index]
|
print 'There is error in one of the commands to setup the machine '+ MachineList[index]
|
||||||
error=''
|
error=''
|
||||||
|
|||||||
Reference in New Issue
Block a user