[Buildbot-commits] [Buildbot] #624: Add Latent BuildSlave for DRMAA supporting systems

Buildbot trac trac at buildbot.net
Wed Nov 20 09:11:28 UTC 2013


#624: Add Latent BuildSlave for DRMAA supporting systems
---------------------------+-----------------------
Reporter:  smackware       |       Owner:
    Type:  enhancement     |      Status:  reopened
Priority:  major           |   Milestone:  0.8.+
 Version:                  |  Resolution:
Keywords:  virtualization  |
---------------------------+-----------------------

Comment (by Jc2k):

 I'm not sure what would happen in that case - I think i've always disable
 graceful shutdown of slaves by the master.

 One nice thing you can add to this branch is something like this:

 {{{
 from buildbot import config
 try:
     from drmaa import drmaa
 except ImportError:
     drmaa = None
 }}}

 And then in your {{{___init___}}}:

 {{{
 if not drmaa:
     config.error("The python module 'drmaa' is needed to use a %s" %
 self.__class__.__name__)
 }}}

 Then when the user uses {{{buildbot checkconfig}}} they will get a helpful
 error message, rather than a python stack trace.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/624#comment:19>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list