def __retrieveConfigFile(self): """ Retrieve the configuration file from the peer """ if not os.path.exists(self.peerDir): os.makedirs(self.peerDir) self.longRunningProcesses.append(syncGetHTTPFile( '%sconfig' % self.httpLoc, self.peerDir))
def __retrieveLogFiles(self): """ Retrieve the log files from the peer """ self.lastResultLoc = "%s-%s-%s" % (self.resultLoc, time.time(), self.currentTest.testId) os.makedirs(self.lastResultLoc) self.longRunningProcesses.append(syncGetHTTPFile( '%slogs.tar.gz' % self.httpLoc, self.lastResultLoc, True)) self.longRunningProcesses.append(yates.Utils.Envcat.store_log( self.envServer, self.envServerPort, '%s/envlog.txt' % self.lastResultLoc, self.log_index))