[cctbxbb] git on BuildBot machines

markus.gerstel at diamond.ac.uk markus.gerstel at diamond.ac.uk
Sun Jul 26 14:50:21 PDT 2015


Hi Aaron,

Is there some documentation about the buildbot objects I could use to figure out a sensible way to determine whether git is available?
I could of course just do try-run-catch...
-Markus

On 26 Jul 2015 16:35, Aaron Brewster <asbrewster at lbl.gov> wrote:
Moving the cctbx_project directory to cctbx_project.old forced svn to get the latest version from scratch so buildbot at LBL has no versioning issues like Jenkins at Diamond does.  Further, svn update on my local sources got the latest version, so I'm inclined to agree with Markus that that's a Jenkins issue.

I installed git on the build nodes at LBL to accommodate the changes to bootstrap.py, however reconfig.sh still fails.  This new line from r22623 and r22626 is the culprit:

git_available = self.shell(command=['git', '--version'], haltOnFailure=False, quiet=True, silent=True).run() == 0

While this clearly works on Jenkins, when ran by buildbot, self.shell() is returning a buildbot shell object instead of a Builder shell object, so the .run call fails (not implemented).

I'm out of time until this afternoon to look deeper.  I've left the build bot server running using r22622 of bootstrap.py for now.

-Aaron








On Sun, Jul 26, 2015 at 7:00 AM, Nigel Moriarty <nwmoriarty at lbl.gov<mailto:nwmoriarty at lbl.gov>> wrote:
Aaron

Recent changes to include git in bootstrap.py have broken the buildbot master (won't start) because git is not available on the VM. I don't have time before I fly to ACA, so please install git when you can.

One reason I was hoping to see the buildbot website was because it has an interface to see all the commits to cctbx. This is likely on the buildbot master in some other format. It may be useful that I just moved the old cctbx_project to cctbx_project.old on all the builds.

Cheers

Nigel

---
Nigel W. Moriarty
Building 33R0349, Physical Biosciences Division
Lawrence Berkeley National Laboratory
Berkeley, CA 94720-8235
Phone : 510-486-5709     Email : NWMoriarty at LBL.gov
Fax   : 510-486-5909       Web  : CCI.LBL.gov<http://CCI.LBL.gov>

_______________________________________________
cctbxbb mailing list
cctbxbb at phenix-online.org<mailto:cctbxbb at phenix-online.org>
http://phenix-online.org/mailman/listinfo/cctbxbb



-- 
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom



More information about the cctbxbb mailing list