#583: triggered build failure doesn't stop triggering builder
-------------------+--------------------------------------------------------
Reporter:  TTimo   |        Owner:            
    Type:  defect  |       Status:  closed    
Priority:  minor   |    Milestone:  0.7.12    
 Version:  0.7.10  |   Resolution:  worksforme
Keywords:          |  
-------------------+--------------------------------------------------------
Changes (by dustin):

  * status:  new => closed
  * resolution:  => worksforme


Comment:

 I can't replicate this - I just set up the following config:
 {{{
 from buildbot.scheduler import Scheduler, Periodic, Triggerable
 c['schedulers'] = []
 c['schedulers'].append(Scheduler(name="all", branch=None,
                                  treeStableTimer=0,
                                  builderNames=["builder"]))
 c['schedulers'].append(Triggerable(name="sub",
 builderNames=['subbuilder']))

 from buildbot.process import factoryfrom buildbot.steps.source import SVN,
 P4
 from buildbot.steps.shell import ShellCommand, PerlModuleTestfrom
 buildbot.steps.transfer import FileDownload
 from buildbot.steps.trigger import Triggerfrom
 buildbot.steps.python_twisted import Trial
 from buildbot.process.properties import WithProperties
 f0 = factory.BuildFactory()
 f0.addStep(Trigger(schedulerNames=['sub'], waitForFinish=True,
 haltOnFailure=True))
 f0.addStep(ShellCommand(command="true"));

 f1 = factory.BuildFactory()
 f1.addStep(SVN(baseURL='http://what/ever/', defaultBranch='trunk'))
 f1.addStep(ShellCommand(command="sleep 5", logEnviron=False))
 f1.addStep(ShellCommand(command="cat main.cp"))
 f1.addStep(ShellCommand(command="false", flunkOnFailure=True))

 from buildbot.config import BuilderConfig
 c['builders'] = [ {
             'name': "builder",
             'slavename': "bot",
             'builddir': "builder",
             'factory': f0,
           },
           BuilderConfig(
             name = "subbuilder",
             slavenames = "bot",
             factory = f1,
           ) ]
 }}}

 and it seems to work fine.  Are you sure the triggered build is actually
 failing (flunkOnfailure=True)?

-- 
Ticket URL: <http://buildbot.net/trac/ticket/583#comment:2>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits

Reply via email to