NoConnectedServersError: No connected Gearman servers
Still when attempting to submit a merge:merge job.
The issue appear to be in zuul.scheduler.BasePipelineManager.prepareRef() it set the merge state to PENDING before the job submission has been properly finished. Pseudo code:
def prepareRef():
if build_set.merge_state == build_set.PENDING:
return False
If an exception is thrown, the build_set is still in PENDING state and we will never attempt to propose again a merge:merge job because of the early return.
prepareRef should thus set the merge state after self.sched.merger.mergeChanges().
python-gear: 0.5.5
Zuul: c9d11ab (Merge "Rename doc environment to docs") from Sept 16th
We had another occurrence this time with:
NoConnectedSe rversError: No connected Gearman servers
Still when attempting to submit a merge:merge job.
The issue appear to be in zuul.scheduler. BasePipelineMan ager.prepareRef () it set the merge state to PENDING before the job submission has been properly finished. Pseudo code:
def prepareRef(): merge_state == build_set.PENDING:
if build_set.
return False
build_ set.merge_ state = build_set.PENDING sched.merger. mergeChanges( ..)
self.
If an exception is thrown, the build_set is still in PENDING state and we will never attempt to propose again a merge:merge job because of the early return.
prepareRef should thus set the merge state after self.sched. merger. mergeChanges( ).
python-gear: 0.5.5
Zuul: c9d11ab (Merge "Rename doc environment to docs") from Sept 16th