[Buildbot-commits] [Buildbot] #1001: start_instance on a latent BuildSlave called before stop_instance finished
Buildbot
buildbot-devel at lists.sourceforge.net
Wed Sep 29 17:31:45 UTC 2010
#1001: start_instance on a latent BuildSlave called before stop_instance finished
--------------------+-------------------------------------------------------
Reporter: moschny | Owner:
Type: defect | Status: new
Priority: major | Milestone: undecided
Version: master | Keywords:
--------------------+-------------------------------------------------------
We are using a descendant of an `AbstractLatentBuildSlave`, which is
basically modeled after `LibVirtSlave`.
The idea is to have it started if needed, execute exactly one build, then
insubstantiate again.
Therefore, `max_builds` is set to 1, and the slave calls
`self.insubstantiate()` in its `buildFinished` method.
However, there is a race (imho a bug): When multiple builds are to be
performed, the slave's `start_instance` is sometimes called before
`stop_instance` is finished (i.e. before its last deferred has fired).
--
Ticket URL: <http://buildbot.net/trac/ticket/1001>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list