[Buildbot-devel] contrib/git_buildbot.py reports connection lost handling multiple revisions
Andrew Melo
andrew.m.melo at vanderbilt.edu
Thu Feb 25 05:11:57 UTC 2010
On Wed, Feb 24, 2010 at 4:14 PM, Daniel THOMPSON <daniel.thompson at st.com> wrote:
> Hi Folks
>
> I have a buildbot monitoring a git based project. It is fairly new and I
> am in the process of hooking up the change monitoring automatically
> (works great by hand though but I'm getting bored).
>
> We are having problems when multiple revisions are handed to the tool.
>
> In summary if I hand it three lines like the following (except without
> shortened SHA1 to fit on a single line in an email):
> --- cut here ---
> c8c2d694 47e004b5 refs/heads/master
> 47e004b5 f94e79f6 refs/heads/master
> f94e79f6 b9e1dd84 refs/heads/master
> --- cut here ---
>
> The changes are collected into a single list and the framework tries to
> transmit all three changes in a single session. Unfortunately I then
> observe the following error:
> --- cut here ---
> /usr/lib/python2.6/site-packages/twisted/spread/pb.py:30:
> DeprecationWarning: the md5 module is deprecated; use hashlib instead
> import md5
> Unhandled error in Deferred:
> Traceback (most recent call last):
> Failure: twisted.spread.pb.PBConnectionLost: [Failure instance:
> Traceback (failure with no frames): <class
> 'twisted.internet.error.ConnectionLost'>: Connection to the other side
> was lost in a non-clean fashion: Connection lost.
> ]
> --- cut here ---
I've found that when this happens, the slave has more interesting
error messages on its logs. What does the slave say?
best,
Andrew
>
> The buildmaster records the first change so it appears that the server
> is hanging up after the first change is notified.
>
> I can probably modify the script to make a new connection for each
> change we want to process but I'm not familiar enough with the design to
> assess if this is an elegant approach. I suspect not...
>
> Can anyone suggest a better solution?
>
>
> Version info is shown below:
> # Buildbot: 0.7.12
> # Twisted: 8.2.0
> # Python: 2.6.2 (r262:71600, Aug 21 2009, 12:22:21)
> [GCC 4.4.1 20090818 (Red Hat 4.4.1-6)]
> # Buildmaster platform: linux2
>
> --
> Daniel Thompson (STMicroelectronics) <daniel.thompson at st.com>
> 1000 Aztec West, Almondsbury, Bristol, BS32 4SQ. 01454 462659
>
> If a car is a horseless carriage then is a motorcycle a horseless horse?
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
--
--
Andrew Melo
More information about the devel
mailing list