[Buildbot-devel] buildbot try

Jason Dana jdana at tresys.com
Thu Jun 2 11:36:57 UTC 2011


> On Wed, Jun 1, 2011 at 4:31 PM, Jason Dana <jdana at tresys.com> wrote:
> > Hello,
> >
> > I am attempting to get buildbot try to function properly on my
> > buildbot environment.  I believe I have followed the documentation
> > properly, but I am receiving an error when I attempt the command.
> >
> > I have a git repository which the buildmaster successfully pulls from
> > when changes are pushed to the repo.  I am utilizing the ssh method to
> connect.
> > I am able to connect via ssh, but upon successfully connecting, I
> > receiving an error stating that there is no such file or directory
> > jobdir/tmp/[seemingly random hyphenated alphanumerical string].
> 
> A silly question, perhaps, but have you created the jobdir? buildbot doesn't
> do that for you.

I apologize, my attempt at giving all necessary information failed.  Yes, I have 
the directory created and with the proper permissions.

> 
> > The jobdir
> > is specified in .buildbot/options with try_jobdir as jobdir (this is
> >also  the name of the directory setup on the buildmaster side).
> 
> 2 things to be aware of here:
> 
> 1) I believe that an absolute path to the jobdir is required. Example
> from the buildbot installation     where I use try: try_dir =
> '/ocean/dlatorne/buildbot/master/jobdir'

This turned out to be the issue!  Thank you very much.

I'm not sure if try is meant for this, but I am attempting to get it to function
such that it will fetch from a different repository and then subsequently pull
a branch from that.  Is this at all possible with the current implementation?

Thanks again for the help!

Jason

> 
> 2) The try_jobdir spelling of that option is new in the current dev version of
> buildbot (i.e. a clone of the git repo) as of a couple of months ago. For 0.8.3p1
> and older the spelling is try_dir.
> 
> Doug
> 
> > ...
> >
> > Thank you in advance.
> >
> > Jason




More information about the devel mailing list