[Buildbot-commits] [Buildbot] #2389: With mysql, build master shuts down PBServerFactory during startup and build slave can never connect. Without mysql, it works fine.
Buildbot
nobody at buildbot.net
Tue Oct 30 03:12:08 UTC 2012
#2389: With mysql, build master shuts down PBServerFactory during startup and
build slave can never connect. Without mysql, it works fine.
---------------------+------------------------
Reporter: hushp1pt | Owner:
Type: defect | Status: new
Priority: major | Milestone: undecided
Version: 0.8.7 | Resolution:
Keywords: mysql |
---------------------+------------------------
Comment (by dustin):
I added a {{{traceback.print_stack()}}} to the code logging "(TCP Port
9989 Closed)", and this is what I got:
{{{
2012-10-29 23:10:01-0400 [-] BuildMaster is running
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] File
"/home/dustin/code/buildbot/t/buildbot/sand27/bin/buildbot", line 7, in
<module>
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory]
execfile(__file__)
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] File
"/home/dustin/code/buildbot/t/buildbot/master/bin/buildbot", line 4, in
<module>
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory]
runner.run()
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] File
"/home/dustin/code/buildbot/t/buildbot/master/buildbot/scripts/runner.py",
line 697, in run
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory]
sys.exit(subcommandFunction(subconfig))
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] File
"/home/dustin/code/buildbot/t/buildbot/master/buildbot/scripts/start.py",
line 107, in start
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory]
launch(config)
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] File
"/home/dustin/code/buildbot/t/buildbot/master/buildbot/scripts/start.py",
line 82, in launch
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory]
twistd.run()
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] File
"/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7/site-
packages/twisted/scripts/twistd.py", line 27, in run
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory]
app.run(runApp, ServerOptions)
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] File
"/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7/site-
packages/twisted/application/app.py", line 652, in run
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory]
runApp(config)
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] File
"/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7/site-
packages/twisted/scripts/twistd.py", line 23, in runApp
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory]
_SomeApplicationRunner(config).run()
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] File
"/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7/site-
packages/twisted/application/app.py", line 390, in run
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory]
self.postApplication()
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] File
"/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7/site-
packages/twisted/scripts/_twistd_unix.py", line 231, in postApplication
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory]
self.startReactor(None, self.oldstdout, self.oldstderr)
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] File
"/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7/site-
packages/twisted/application/app.py", line 402, in startReactor
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory]
self.config, oldstdout, oldstderr, self.profiler, reactor)
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] File
"/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7/site-
packages/twisted/application/app.py", line 323, in runReactorWithLogging
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory]
reactor.run()
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] File
"/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7/site-
packages/twisted/internet/base.py", line 1169, in run
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory]
self.mainLoop()
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] File
"/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7/site-
packages/twisted/internet/base.py", line 1181, in mainLoop
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory]
self.doIteration(t)
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] File
"/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7/site-
packages/twisted/internet/epollreactor.py", line 379, in doPoll
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory]
log.callWithLogger(selectable, _drdw, selectable, fd, event)
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] File
"/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7/site-
packages/twisted/python/log.py", line 84, in callWithLogger
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] return
callWithContext({"system": lp}, func, *args, **kw)
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] File
"/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7/site-
packages/twisted/python/log.py", line 69, in callWithContext
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] return
context.call({ILogContext: newCtx}, func, *args, **kw)
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] File
"/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7/site-
packages/twisted/python/context.py", line 118, in callWithContext
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] return
self.currentContext().callWithContext(ctx, func, *args, **kw)
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] File
"/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7/site-
packages/twisted/python/context.py", line 81, in callWithContext
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] return
func(*args,**kw)
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] File
"/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7/site-
packages/twisted/internet/posixbase.py", line 639, in _doReadOrWrite
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory]
self._disconnectSelectable(selectable, why, inRead)
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] File
"/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7/site-
packages/twisted/internet/posixbase.py", line 258, in
_disconnectSelectable
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory]
selectable.readConnectionLost(f)
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] File
"/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7/site-
packages/twisted/internet/abstract.py", line 291, in readConnectionLost
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory]
self.connectionLost(reason)
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] File
"/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7/site-
packages/twisted/internet/tcp.py", line 1102, in connectionLost
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory]
self._logConnectionLostMsg()
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] File
"/home/dustin/code/buildbot/t/buildbot/sand27/lib/python2.7/site-
packages/twisted/internet/tcp.py", line 1094, in _logConnectionLostMsg
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory]
traceback.print_stack()
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] (TCP Port
9989 Closed)
2012-10-29 23:10:01-0400 [twisted.spread.pb.PBServerFactory] Stopping
factory <twisted.spread.pb.PBServerFactory instance at 0x7fc164065878>
}}}
I wonder if this has the same root cause as #1992?
--
Ticket URL: <http://trac.buildbot.net/ticket/2389#comment:5>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list