[Buildbot-devel] master borked after git failure?

Dan Kegel dank at kegel.com
Fri Nov 16 21:33:18 UTC 2012


Aha.  The mac had suspended.  When the buildslave suspends,
the master displays 'failed' on the builder page,
and 'updating' on the waterfall.   Waking up the buildslave makes
things happier.

Since buildslaves should never go to sleep like that,
this might not be worth fixing.

On Fri, Nov 16, 2012 at 1:29 PM, Dan Kegel <dank at kegel.com> wrote:
> For the second time, I'm seeing buildbot get very confused
> when git fails.  The first time, it was on cygwin with a non-cygwin git.
>
> This time, it's on the mac, with git from cygports.  It had been working
> fine, but then this git operation failed unexpectedly, and thereafter
> buildbot is in an inconsistent state: it thinks the build
> is both stopped and running.  I think the workaround is
> (ugh) to blow away the master's state and recreate it.
>
> git --version
>  in dir /Users/buildbot/slave-state/osx107/g-speak-dans-mac/g-speak-osx107-six_4/build
> (timeout 1200 secs)
>  watching logfiles {}
>  argv: ['git', '--version']
>  environment:
>   CCACHE_DIR=/Users/buildbot/slave-state/osx107/g-speak-dans-mac/ccache.dir
>   HOME=/Users/buildbot
>   LOGNAME=buildbot
>   OLDPWD=/
>   PATH=/Users/buildbot/slave-state/osx107/bin:/opt/local/bin:/sbin:/usr/sbin:/bin:/usr/bin
>   PS1=(osx107)
>   PWD=/Users/buildbot/slave-state/osx107/g-speak-dans-mac/g-speak-osx107-six_4/build
>   SHELL=/bin/bash
>   SHLVL=0
>   TMPDIR=/var/folders/jr/xh4mvx3n1j5gw4glx4j6b3sc0000gp/T/
>   USER=buildbot
>   VIRTUAL_ENV=/Users/buildbot/slave-state/osx107
>   __CF_USER_TEXT_ENCODING=0x1F6:0:3
>  using PTY: False
> git version 1.8.0
> program finished with exit code 0
> elapsedTime=0.017065
> rm -rf /Users/buildbot/slave-state/osx107/g-speak-dans-mac/g-speak-osx107-six_4/build
>  in dir /Users/buildbot/slave-state/osx107/g-speak-dans-mac/g-speak-osx107-six_4
> (timeout 120 secs)
>  watching logfiles {}
>  argv: ['rm', '-rf',
> '/Users/buildbot/slave-state/osx107/g-speak-dans-mac/g-speak-osx107-six_4/build']
>  environment:
>   CCACHE_DIR=/Users/buildbot/slave-state/osx107/g-speak-dans-mac/ccache.dir
>   HOME=/Users/buildbot
>   LOGNAME=buildbot
>   OLDPWD=/
>   PATH=/Users/buildbot/slave-state/osx107/bin:/opt/local/bin:/sbin:/usr/sbin:/bin:/usr/bin
>   PS1=(osx107)
>   PWD=/Users/buildbot/slave-state/osx107/g-speak-dans-mac/g-speak-osx107-six_4
>   SHELL=/bin/bash
>   SHLVL=0
>   TMPDIR=/var/folders/jr/xh4mvx3n1j5gw4glx4j6b3sc0000gp/T/
>   USER=buildbot
>   VIRTUAL_ENV=/Users/buildbot/slave-state/osx107
>   __CF_USER_TEXT_ENCODING=0x1F6:0:3
>  using PTY: False
> elapsedTime=0.007279
> program finished with exit code 0
> program finished with exit code 1
> git clone --branch HEAD 'git.oblong.com:~cp/pub/yovo.git' .
>  in dir /Users/buildbot/slave-state/osx107/g-speak-dans-mac/g-speak-osx107-six_4/source
> (timeout 1200 secs)
>  watching logfiles {}
>  argv: ['git', 'clone', '--branch', 'HEAD',
> 'git.oblong.com:~cp/pub/yovo.git', '.']
>  environment:
>   CCACHE_DIR=/Users/buildbot/slave-state/osx107/g-speak-dans-mac/ccache.dir
>   HOME=/Users/buildbot
>   LOGNAME=buildbot
>   OLDPWD=/
>   PATH=/Users/buildbot/slave-state/osx107/bin:/opt/local/bin:/sbin:/usr/sbin:/bin:/usr/bin
>   PS1=(osx107)
>   PWD=/Users/buildbot/slave-state/osx107/g-speak-dans-mac/g-speak-osx107-six_4/source
>   SHELL=/bin/bash
>   SHLVL=0
>   TMPDIR=/var/folders/jr/xh4mvx3n1j5gw4glx4j6b3sc0000gp/T/
>   USER=buildbot
>   VIRTUAL_ENV=/Users/buildbot/slave-state/osx107
>   __CF_USER_TEXT_ENCODING=0x1F6:0:3
>  using PTY: False
> Klone nach '.'...
> fatal: externer Zweig HEAD nicht im anderen Projektarchiv origin gefunden
> fatal: The remote end hung up unexpectedly
> program finished with exit code 128
> elapsedTime=0.758088




More information about the devel mailing list