KeyError in _check_file_version_parents during bzr check

Bug #431025 reported by David Strauss
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
High
Unassigned

Bug Description

bzr reconcile ran without issue, but check is failing. bzr upgrade --1.14-rich-root is also failing.

straussd@web3 bzr-1.18]$ ./bzr check /srv/bzr/repo/
Checking branch at 'file:///srv/bzr/repo/drupal/5/'.
Checking branch at 'file:///srv/bzr/repo/drupal/6/'.
Checking branch at 'file:///srv/bzr/repo/drupal/7/'.
Checking branch at 'file:///srv/bzr/repo/drupal/7-all-history/'.
Checking branch at 'file:///srv/bzr/repo/drupal/7-mv/'.
Checking branch at 'file:///srv/bzr/repo/drupal/modules/bakery/'.
Checking branch at 'file:///srv/bzr/repo/drupal/modules/materialized_view/6/'.
Checking branch at 'file:///srv/bzr/repo/drupal/modules/opensocial/6/'.
Checking branch at 'file:///srv/bzr/repo/mediawiki/extensions/OpenLibrary/'.
Checking branch at 'file:///srv/bzr/repo/pressflow/5/'.
Checking branch at 'file:///srv/bzr/repo/pressflow/5-patches/reverse-proxy-support/'.
Checking branch at 'file:///srv/bzr/repo/pressflow/6/'.
Checking branch at 'file:///srv/bzr/repo/pressflow/6-patches/database-replication/'.
Checking branch at 'file:///srv/bzr/repo/pressflow/6-patches/disable-aggregator-feed-block-listing/'.
Checking branch at 'file:///srv/bzr/repo/pressflow/6-patches/disable-anonymous-contact/'.
Checking branch at 'file:///srv/bzr/repo/pressflow/6-patches/external-page-cache/'.
Checking branch at 'file:///srv/bzr/repo/pressflow/6-patches/fast-path-alias-detection/'.
Checking branch at 'file:///srv/bzr/repo/pressflow/6-patches/first-path-argument-whitelist/'.
Checking branch at 'file:///srv/bzr/repo/pressflow/6-patches/fix-table-header-scrolling/'.
Checking branch at 'file:///srv/bzr/repo/pressflow/6-patches/log-book-upgrade-anomaly/'.
Checking branch at 'file:///srv/bzr/repo/pressflow/6-patches/move-user-access-timestamps/'.
Checking branch at 'file:///srv/bzr/repo/pressflow/6-patches/native-json-encoding/'.
Checking branch at 'file:///srv/bzr/repo/pressflow/6-patches/pressflow-branding/'.
Checking branch at 'file:///srv/bzr/repo/pressflow/6-patches/remove-lower/'.
Checking branch at 'file:///srv/bzr/repo/pressflow/6-patches/reverse-proxy-support/'.
Checking branch at 'file:///srv/bzr/repo/pressflow/6-patches/separate-aggregator-cron/'.
Checking branch at 'file:///srv/bzr/repo/pressflow/6-patches/separate-node-and-user-search/'.
Checking branch at 'file:///srv/bzr/repo/pressflow/6-patches/shell-based-test-execution/'.
Checking branch at 'file:///srv/bzr/repo/pressflow/6-patches/simpletest/'.
Checking branch at 'file:///srv/bzr/repo/pressflow/6-patches/svn-vendor-tools/'.
Checking branch at 'file:///srv/bzr/repo/pressflow/6-patches/write-through-variable-deletion/'.
Checking branch at 'file:///srv/bzr/repo/rpm-spec/'.
No working tree found at specified location.
Checking repository at 'file:///srv/bzr/repo/'.
bzr: ERROR: exceptions.KeyError: ('trigger.info-20081206090157-hohh42o0mhstvdpe-503', '<email address hidden>')

Traceback (most recent call last):
  File "/home/straussd/bzr-1.18/bzrlib/commands.py", line 835, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/home/straussd/bzr-1.18/bzrlib/commands.py", line 1030, in run_bzr
    ret = run(*run_argv)
  File "/home/straussd/bzr-1.18/bzrlib/commands.py", line 647, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/straussd/bzr-1.18/bzrlib/builtins.py", line 3121, in run
    check_dwim(path, verbose, do_branch=branch, do_repo=repo, do_tree=tree)
  File "/home/straussd/bzr-1.18/bzrlib/check.py", line 456, in check_dwim
    check_repo=do_repo)
  File "/home/straussd/bzr-1.18/bzrlib/decorators.py", line 138, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/home/straussd/bzr-1.18/bzrlib/repository.py", line 2719, in check
    check_repo=check_repo)
  File "/home/straussd/bzr-1.18/bzrlib/repository.py", line 2723, in _check
    result.check(callback_refs)
  File "/home/straussd/bzr-1.18/bzrlib/check.py", line 106, in check
    self.check_weaves()
  File "/home/straussd/bzr-1.18/bzrlib/check.py", line 296, in check_weaves
    self._check_weaves(storebar)
  File "/home/straussd/bzr-1.18/bzrlib/check.py", line 311, in _check_weaves
    result = weave_checker.check_file_version_parents(
  File "/home/straussd/bzr-1.18/bzrlib/repository.py", line 4054, in check_file_version_parents
    return self._check_file_version_parents(texts, progress_bar)
  File "/home/straussd/bzr-1.18/bzrlib/repository.py", line 4078, in _check_file_version_parents
    knit_parents = parent_map[key]
KeyError: ('trigger.info-20081206090157-hohh42o0mhstvdpe-503', '<email address hidden>')

bzr 1.18 on python 2.4.3 (linux2)
arguments: ['./bzr', 'check', '/srv/bzr/repo/']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  bzrtools /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools [1.11]
  launchpad /home/straussd/bzr-1.18/bzrlib/plugins/launchpad [1.18]
  loggerhead /usr/lib/python2.4/site-packages/bzrlib/plugins/loggerhead [1.11]
  netrc_credential_store /home/straussd/bzr-1.18/bzrlib/plugins/netrc_credential_store [1.18]
  search /usr/lib/python2.4/site-packages/bzrlib/plugins/search [1.7dev]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.

summary: - Trackback on check
+ Traceback on check
Martin Pool (mbp)
summary: - Traceback on check
+ KeyError in _check_file_version_parents during bzr check
Changed in bzr:
status: New → Confirmed
importance: Undecided → Medium
importance: Medium → High
Jelmer Vernooij (jelmer)
tags: added: missing-text
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
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.