[Buildbot-devel] [Bug?] FileUpload more verbose on error

Dustin J. Mitchell dustin at v.igoro.us
Sat Jan 1 22:30:10 UTC 2011


On Sat, Jan 1, 2011 at 12:16 PM,  <ariasgore at gmx.de> wrote:
> when I use FileUpload to store a file into a master's directory that does not exist it simply passes and does not fail.
> So invalid paths do not create any stdio or stderr AND they simply pass.

I can't reproduce this - I added

  f1.addStep(FileUpload(slavesrc="README.txt",
masterdest="/tmp/nosuchdir/main.cp"))

and it created /tmp/nosuchdir for me successfully.  Changing to

  f1.addStep(FileUpload(slavesrc="README.txt",
masterdest="/usr/nosuchdir/main.cp"))

resulted in an exception (purple), which isn't ideal, but is certainly
not success (green).

> Btw and even if a FileUpload fails entirely it does not affect the Buildbot Status (and it has no flunkOnError)

I do see this, and will fix it up.

Thanks for the reports!

Dustin




More information about the devel mailing list