Fails to scan branches with ghosts

Bug #1587948 reported by Colin Watson on 2016-06-01
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Colin Watson

Bug Description

Trying to push lp:~cjwatson/launchpad/snap-fix-buildd-manager-permissions, I hit OOPS-2847f66eb896c1a4f2e77c7e3b42fa55:

  KeyError: 'Arch-1:<email address hidden>%launchpad--devel--0--patch-226'

    Traceback (most recent call last):
  Module lazr.jobrunner.jobrunner, line 194, in runJobHandleError
    self.runJob(job, fallback)
  Module, line 310, in runJob
    super(BaseJobRunner, self).runJob(IRunnableJob(job), fallback)
  Module lazr.jobrunner.jobrunner, line 162, in runJob
  Module lp.code.model.branchjob, line 343, in run
  Module lp.codehosting.scanner.bzrsync, line 66, in syncBranchAndClose
  Module lp.codehosting.scanner.bzrsync, line 111, in syncBranch
    self.insertBranchRevisions(bzr_branch, revids_to_insert)
  Module lp.codehosting.scanner.bzrsync, line 302, in insertBranchRevisions
  Module lp.code.model.branch, line 1105, in createBranchRevisionFromIDs
    for revid, seq in revision_id_sequence_pairs])
KeyError: 'Arch-1:<email address hidden>%launchpad--devel--0--patch-226'

Related branches

Colin Watson (cjwatson) on 2016-06-01
summary: - Launchpad can't scan new Launchpad branches
+ Fails to scan branches with ghosts
Colin Watson (cjwatson) on 2016-06-01
Changed in launchpad:
status: Triaged → In Progress
assignee: nobody → Colin Watson (cjwatson)
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
William Grant (wgrant) on 2016-06-02
tags: added: qa-ok
removed: qa-needstesting
Colin Watson (cjwatson) on 2016-06-02
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers