Ticket #1035 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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:1 Changed 3 years ago by dustin

There's something more subtle going on here - builder.py does, indeed, contain a TimerService that should re-claim all buildrequests every 10 minutes.

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?.

comment:3 Changed 3 years ago by dustin

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.