[Buildbot-devel] Buildbot and Perforce

Brian Warner warner-buildbot at lothar.com
Wed Jun 1 08:44:46 UTC 2005

> starting p4 sync
> rm -rf /home/developer/Buildbot_Slave/full/build
>  in dir /home/developer/Buildbot_Slave/full (timeout 1200 secs)
>  argv: ['rm', '-rf', '/home/developer/Buildbot_Slave/full/build']
> program finished with exit code -1

That looks like it's the 'rm -rf' command that's failing, and that it isn't
even getting to the phase where it runs p4. Is there any chance that the
directory is owned by someone other than the user running the buildslave?
Permissions problems? (the 'build' directory won't exist the first time this
gets run.. the '-f' flag should make sure that this isn't a problem).

The usual sequence should be:

  rm -rf .../build
  p4 sync  (in .../source)
  cp -r .../source .../build

> Is this a typical 'buildbot' log output or do I have to switch on a
> flag to get more info?

Yup, this is as much information as you can get. The blue lines are
"headers", produced by the build slave to describe the command it is running,
while the rest are coming from the command itself (both stdout and stderr).


More information about the devel mailing list