Ticket #1035 (closed defect: fixed)
builds automatically retried every hour
| Reported by: | dustin | Owned by: | dustin |
|---|---|---|---|
| Priority: | major | Milestone: | 0.8.3 |
| Version: | 0.8.1 | Keywords: | db |
| Cc: |
Description
The buildrequest-claiming machinery marks the time a build is claimed, and considers it stale if the build is not claimed in RECLAIM_INTERVAL - by default, one hour. The comments indicate that the timestamp should be updated periodically, but this is not the case.
This was discovered at Mozilla in https://bugzilla.mozilla.org/show_bug.cgi?id=608886.
Change History
comment:2 Changed 3 years ago by catlee
So the cause of this was an exception raised inside the reclaimAllBuilds call when DNS went away temporarily, the master couldn't resolve the hostname of the database server. The uncaught exception broke the TimerService?.
Note: See
TracTickets for help on using
tickets.
![[Buildbot Logo]](/chrome/site/header-text-transparent.png)
There's something more subtle going on here - builder.py does, indeed, contain a TimerService that should re-claim all buildrequests every 10 minutes.