#1684: Buildbot doesn't detect a broken configuration file
------------------------+---------------------------------------------------
Reporter:  kostja       |       Owner:       
    Type:  enhancement  |      Status:  new  
Priority:  major        |   Milestone:  0.8.3
 Version:  0.8.2        |    Keywords:       
------------------------+---------------------------------------------------
Changes (by dustin):

  * type:  undecided => enhancement
  * milestone:  undecided => 0.8.3


Old description:

> If there are two c['status'].append(html.WebStatus(...)) lines in the
> configuration file, like below:
>
> from buildbot.status import html
> c['status'].append(html.WebStatus(http_port=8010,allowForce=True))
>
> which are very easy to add by mistake, by just uncommenting allowForce
> line in the sample config, buildbot checkconfig completes successfully,
> and buildbot successfully starts, but is unable to see any of its slaves.
>
> An error is produced into the log, but the message is quite cryptic:
>
>         twisted.internet.error.CannotListenError: Couldn't listen on
> any:8010: [Errno 98] Address already in use.

New description:

 If there are two
 {{{
 c['status'].append(html.WebStatus(...))
 }}}
 lines in the configuration file, like below:

 {{{
 from buildbot.status import html
 c['status'].append(html.WebStatus(http_port=8010,allowForce=True))
 }}}

 which are very easy to add by mistake, by just uncommenting allowForce
 line in the sample config, buildbot checkconfig completes successfully,
 and buildbot successfully starts, but is unable to see any of its slaves.

 An error is produced into the log, but the message is quite cryptic:

 {{{
         twisted.internet.error.CannotListenError: Couldn't listen on
 any:8010: [Errno 98] Address already in use.
 }}}

--

Comment:

 This should have some kind of check in the early parts of the
 {{{loadConfig}}} process.

-- 
Ticket URL: <http://buildbot.net/trac/ticket/1684#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits

Reply via email to