[Buildbot-devel] rm -rf fails with exit code -1?

Kevin Turner kevin at janrain.com
Tue Mar 25 20:51:18 UTC 2008


Guys, this is freakin' weird.

It's buildbot 0.7.6 on Ubuntu Hardy.  Bog standard master.cfg with a
Darcs(mode="copy") step.

>From the log as viewed through the HTML interface:

starting darcs operation
rm -rf /var/lib/buildbot/builder/unomeas-stable/build
 in dir /var/lib/buildbot/builder/unomeas-stable (timeout 1200 secs)
 watching logfiles {}
 argv: ['rm', '-rf', '/var/lib/buildbot/builder/unomeas-stable/build']
 environment:
  HOME=/var/lib/buildbot
  LANG=en_US.UTF-8
  LANGUAGE=en
  LOGNAME=buildbot
  MAIL=/var/mail/buildbot
  MAKEFLAGS=
  MAKELEVEL=1
  MFLAGS=
  PATH=/usr/local/bin:/usr/bin:/bin:/usr/games
  PWD=/var/lib/buildbot/builder
  SHELL=/bin/sh
  SPYTHONPATH=/var/lib/buildbot/py
  TERM=screen
  USER=buildbot
program finished with exit code -1


>From the builder's twistd.log:

2008/03/25 12:47 -0700 [Broker,client] ShellCommand._startCommand
2008/03/25 12:47 -0700 [Broker,client]  rm -rf /var/lib/buildbot/builder/unomeas-stable/build
2008/03/25 12:47 -0700 [Broker,client]   in dir /var/lib/buildbot/builder/unomeas-stable (timeout 1200 secs)
2008/03/25 12:47 -0700 [Broker,client]   watching logfiles {}
2008/03/25 12:47 -0700 [Broker,client]   argv: ['rm', '-rf', '/var/lib/buildbot/builder/unomeas-stable/build']
2008/03/25 12:47 -0700 [Broker,client]  environment: {'LANG': 'en_US.UTF-8', 'TERM': 'screen', 'SHELL': '/bin/sh', 'LANGUAGE': 'en', 'SPYTHONPATH': '/var/lib/buildbot/py', 'MAIL': '/var/mail/buildbot', 'MAKELEVEL': '1', 'PWD': '/var/lib/buildbot/builder', 'LOGNAME': 'buildbot', 'USER': 'buildbot', 'HOME': '/var/lib/buildbot', 'PATH': '/usr/local/bin:/usr/bin:/bin:/usr/games', 'MFLAGS': '', 'MAKEFLAGS': ''}
2008/03/25 12:47 -0700 [-] command finished with signal 1, exit code None
2008/03/25 12:47 -0700 [-] _checkAbandoned [Failure instance: Traceback: <class 'buildbot.slave.commands.AbandonChain'>: -1
        /usr/lib/python2.5/site-packages/buildbot/slave/commands.py:156:processEnded
        /usr/lib/python2.5/site-packages/buildbot/slave/commands.py:447:finished
        /usr/lib/python2.5/site-packages/twisted/internet/defer.py:239:callback
        /usr/lib/python2.5/site-packages/twisted/internet/defer.py:304:_startRunCallbacks
        --- <exception caught here> ---
        /usr/lib/python2.5/site-packages/twisted/internet/defer.py:317:_runCallbacks
        /usr/lib/python2.5/site-packages/buildbot/slave/commands.py:672:_abandonOnFailure
        ]
2008/03/25 12:47 -0700 [-]  abandoning chain -1
2008/03/25 12:47 -0700 [-] SlaveBuilder.commandComplete <buildbot.slave.commands.Darcs instance at 0x83c456c>

...huh?





More information about the devel mailing list