zuul doesn't connect to gearman server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zuul |
New
|
Undecided
|
Unassigned |
Bug Description
Zuul server could work with gearman server well, but zuul server may restart automatically due to environment unstable. then gearman server can't work well. we build our gearman in zuul server. Debug entry
2014-01-16 23:39:02,651 DEBUG gear.Client: Processing input on <gear.Connection 0x18ade90 host: 172.16.2.118 port: 4730>
2014-01-16 23:39:02,652 DEBUG gear.Client: Received packet <gear.Packet 0x7f24c08cacd0 type: WORK_COMPLETE>
2014-01-16 23:39:02,652 DEBUG gear.Client: Job complete; handle: H:172.16.2.118:1200 data: ['Description for Jenkins build 3732 was updated to <p>\n Triggered by change:\n <a href="https:/
2014-01-16 23:39:02,652 DEBUG gear.Client: Polling 1 connections
2014-01-16 23:42:51,494 DEBUG zuul.Gearman: Looking for lost builds
2014-01-16 23:47:51,494 DEBUG zuul.Gearman: Looking for lost builds
2014-01-16 23:52:51,495 DEBUG zuul.Gearman: Looking for lost builds
2014-01-16 23:57:51,495 DEBUG zuul.Gearman: Looking for lost builds
2014-01-17 00:02:51,496 DEBUG zuul.Gearman: Looking for lost builds
2014-01-17 00:07:51,503 DEBUG zuul.Gearman: Looking for lost builds
2014-01-17 00:12:51,504 DEBUG zuul.Gearman: Looking for lost builds
2014-01-17 00:17:51,504 DEBUG zuul.Gearman: Looking for lost builds
2014-01-17 00:22:51,505 DEBUG zuul.Gearman: Looking for lost builds
2014-01-17 00:27:51,505 DEBUG zuul.Gearman: Looking for lost builds
2014-01-17 00:32:51,506 DEBUG zuul.Gearman: Looking for lost builds
2014-01-17 00:37:51,506 DEBUG zuul.Gearman: Looking for lost builds
.......
I checked the codes class GearmanCleanup(
lines 44, while True, it always lookForLostBuilds() may cause this bug.
def run(self):
while True:
if self._stopped:
try:
except:
information type: | Private Security → Public Security |
Hit the same problem after 1 year and 10 months.
Is there any solution or hint about this issue, please?