buildd-manager failure counting is too trigger-happy when killing virtual builders

Bug #1039935 reported by William Grant
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Colin Watson

Bug Description

lp.buildmaster.manager.assessFailureCounts is a little too trigger-happy when it determines that a virtual builder has failed:

    if builder.failure_count > job_failure_count:
        if current_job is not None:
            current_job.reset()
        if builder.failure_count >= Builder.FAILURE_THRESHOLD:
            builder.failBuilder(fail_notes)

If a virtual builder has failed, we immediately try manually ppa-resetting it. buildd-manager could do that for us before giving up.

This is closely related to bug #1039927.

Related branches

Haw Loeung (hloeung)
tags: added: canonical-losa-lp
William Grant (wgrant)
tags: added: buildd-manager
Colin Watson (cjwatson)
Changed in launchpad:
assignee: nobody → Colin Watson (cjwatson)
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
William Grant (wgrant)
tags: added: qa-ok
removed: qa-needstesting
William Grant (wgrant)
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.