[Buildbot-commits] [buildbot/buildbot] 720c6c: Fixes for interrupting builds before steps have st...

noreply at github.com noreply at github.com
Fri Aug 20 01:24:50 UTC 2010


Branch: refs/heads/master
Home:   http://github.com/buildbot/buildbot

Commit: 720c6c8bb557f559339ecfdec023e451683122cf
    http://github.com/buildbot/buildbot/commit/720c6c8bb557f559339ecfdec023e451683122cf
Author: Chris AtLee <catlee at mozilla.com>
Date:   2010-08-19 (Thu, 19 Aug 2010)

Changed paths:
  M master/buildbot/locks.py
  M master/buildbot/process/base.py
  M master/buildbot/process/buildstep.py
  M master/buildbot/status/builder.py
  M master/buildbot/status/web/build.py
  M master/buildbot/status/web/builder.py
  M master/buildbot/status/web/files/default.css
  M master/buildbot/status/web/templates/build.html
  A master/buildbot/test/unit/test_process_base.py

Log Message:
-----------
Fixes for interrupting builds before steps have started.

Added methods to BaseLock class to stop waiting on a lock, and to
determine if an object is an owner of the lock.  stopBuild will now
stop the build properly even if it's waiting for a lock.

Moved call to build_status.buildStarted(self) to before the call to
acquireLocks so that the build now shows up in the waterfall and
database.

Removed logging of acquire/releaseLocks if there are no locks
configured.

Add current step display to the per-build web status, which will also
indicate if the build is waiting for a lock.

Fixes: #389






More information about the Commits mailing list