Improve merge client logging
When submitting a job to the mergers, log more information about the job. Specifically the UUID will now be included for easier cross-correlation with completion events. Change-Id: Id92ae0c73f725da23761c59c97f0d39d64e802a9
This commit is contained in:
parent
bc12127081
commit
b1afc8089f
@ -84,10 +84,10 @@ class MergeClient(object):
|
||||
def submitJob(self, name, data, build_set,
|
||||
precedence=zuul.model.PRECEDENCE_NORMAL):
|
||||
uuid = str(uuid4().hex)
|
||||
self.log.debug("Submitting job %s with data %s" % (name, data))
|
||||
job = gear.Job(name,
|
||||
json.dumps(data),
|
||||
unique=uuid)
|
||||
self.log.debug("Submitting job %s with data %s" % (job, data))
|
||||
self.build_sets[uuid] = build_set
|
||||
self.gearman.submitJob(job, precedence=precedence,
|
||||
timeout=300)
|
||||
|
Loading…
x
Reference in New Issue
Block a user