[Buildbot] #3330: LatentBuildSlave not starting or properly queuing builds

Buildbot trac trac at buildbot.net
Thu Aug 13 17:18:38 UTC 2015


#3330: LatentBuildSlave not starting or properly queuing builds
-------------------+------------------------
Reporter:  devoid  |       Owner:
    Type:  defect  |      Status:  new
Priority:  major   |   Milestone:  undecided
 Version:  0.8.12  |  Resolution:
Keywords:          |
-------------------+------------------------

Comment (by devoid):

 So the changes to DockerLatentBuildSlave are necessary as the Buildbot
 master runs in a docker container and needs to link the slave to itself
 during startup. I've updated the code to add the handle_stream_line
 function and a few missing imports. Here is the twistd.log after updating
 the code:

 https://gist.github.com/devoid/f2c81b0c8c7fd6836b7e

 Current test code commit
 https://github.com/devoid/bb-latent-slave-
 bug/commit/4dd952448bdad897260e5cd26e1314775b534096

 And the state of buildrequests table after running the test:
 {{{
 select * from buildrequests
 id          buildsetid  buildername  priority    complete    results
 submitted_at      complete_at
 ----------  ----------  -----------  ----------  ----------  ----------
 ----------------  ----------------
 1           1           builder      0           1           0
 1438924114.48515  1438924125.22559
 2           2           builder      0           0           -1
 1438924115.45787
 3           3           builder      0           0           -1
 1438924116.26734
 }}}

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


More information about the bugs mailing list