Activity log for bug #246880

Date Who What changed Old value New value Message
2008-07-09 10:36:50 Loïc Minier bug added bug
2008-07-09 10:38:07 Loïc Minier bug added attachment 'bzr.txt' (IRC log of #bzr where we tried to recover from this situation)
2008-07-29 06:31:11 Robert Collins bzr: status New Triaged
2008-07-29 06:31:11 Robert Collins bzr: importance Undecided High
2008-07-29 06:33:39 Robert Collins description Hi, % bzr branch lp:~ubuntu-core-dev/casper/trunk bzr: ERROR: bzrlib.errors.KnitCorrupt: Knit 9e/x_%254datt_%255aimmerman_%253cmatt.zimmerman%40canonical.com%253e_%2553un_%254dar_13_00%253a51%253a19_2005_1366.38 corrupt: line-delta from stream for version mdz@mizar-20051205230117-c327e75be767f237 references missing parent Arch-1:matt.zimmerman@canonical.com--2004%casper--main--0--patch-21 Try running "bzr check" on the source repository, and "bzr reconcile" if necessary. Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 846, in run_bzr_catch_errors return run_bzr(argv) File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 797, in run_bzr ret = run(*run_argv) File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 499, in run_argv_aliases return self.run(**all_cmd_args) File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 942, in run hardlink=hardlink) File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 998, in sprout revision_id=revision_id) File "/usr/lib/python2.5/site-packages/bzrlib/remote.py", line 679, in sprout dest_repo.fetch(self, revision_id=revision_id) File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 956, in fetch return inter.fetch(revision_id=revision_id, pb=pb, find_ghosts=find_ghosts) File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked return unbound(self, *args, **kwargs) File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 2934, in fetch pb=pb, find_ghosts=find_ghosts) File "/usr/lib/python2.5/site-packages/bzrlib/fetch.py", line 107, in __init__ self.__fetch() File "/usr/lib/python2.5/site-packages/bzrlib/fetch.py", line 139, in __fetch self._fetch_everything_for_search(search, pp) File "/usr/lib/python2.5/site-packages/bzrlib/fetch.py", line 461, in _fetch_everything_for_search self.to_repository.insert_data_stream(data_stream) File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 867, in insert_data_stream (format, data_list, reader_func)) File "/usr/lib/python2.5/site-packages/bzrlib/knit.py", line 1002, in insert_data_stream (version_id, parents[0])) KnitCorrupt: Knit 9e/x_%254datt_%255aimmerman_%253cmatt.zimmerman%40canonical.com%253e_%2553un_%254dar_13_00%253a51%253a19_2005_1366.38 corrupt: line-delta from stream for version mdz@mizar-20051205230117-c327e75be767f237 references missing parent Arch-1:matt.zimmerman@canonical.com--2004%casper--main--0--patch-21 Try running "bzr check" on the source repository, and "bzr reconcile" if necessary. bzr 1.6b2 on python 2.5.2 (linux2) arguments: ['/usr/bin/bzr', 'branch', 'lp:~ubuntu-core-dev/casper/trunk'] encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'fr_FR.UTF-8' plugins: gtk /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk [0.93.0] launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown] *** 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. I'll attach the IRC log from #bzr where we tried to recover from this situation using various bzr versions including the 1.6 beta one and older 1.3 ones. This fails with current hardy and sid versions. Bye, A problem branching : % bzr branch lp:~ubuntu-core-dev/casper/trunk bzr: ERROR: bzrlib.errors.KnitCorrupt: Knit 9e/x_%254datt_%255aimmerman_%253cmatt.zimmerman%40canonical.com%253e_%2553un_%254dar_13_00%253a51%253a19_2005_1366.38 corrupt: line-delta from stream for version mdz@mizar-20051205230117-c327e75be767f237 references missing parent Arch-1:matt.zimmerman@canonical.com--2004%casper--main--0--patch-21 Try running "bzr check" on the source repository, and "bzr reconcile" if necessary. is not fixable by reconcile, because reconcile is not keeping as a delta a file text which has no matching revision in the repository. They key thing I suspect is: compression graph: D2->D1->FT revision graph: D2:[D1] (that is both D1 and FT are ghosts) I suspect that D1 is not being correctly detected as a ghost.
2008-07-29 06:33:39 Robert Collins title Can't branch casper which misses some parents in old revisions reconcile not converting deltas to full texts appropriately
2008-07-29 06:41:12 Robert Collins bug added attachment 'casper-trunk.tar.gz' (casper branch tarball)
2008-07-29 06:47:38 Andrew Bennetts description A problem branching : % bzr branch lp:~ubuntu-core-dev/casper/trunk bzr: ERROR: bzrlib.errors.KnitCorrupt: Knit 9e/x_%254datt_%255aimmerman_%253cmatt.zimmerman%40canonical.com%253e_%2553un_%254dar_13_00%253a51%253a19_2005_1366.38 corrupt: line-delta from stream for version mdz@mizar-20051205230117-c327e75be767f237 references missing parent Arch-1:matt.zimmerman@canonical.com--2004%casper--main--0--patch-21 Try running "bzr check" on the source repository, and "bzr reconcile" if necessary. is not fixable by reconcile, because reconcile is not keeping as a delta a file text which has no matching revision in the repository. They key thing I suspect is: compression graph: D2->D1->FT revision graph: D2:[D1] (that is both D1 and FT are ghosts) I suspect that D1 is not being correctly detected as a ghost. A problem branching : % bzr branch lp:~ubuntu-core-dev/casper/trunk bzr: ERROR: bzrlib.errors.KnitCorrupt: Knit 9e/x_%254datt_%255aimmerman_%253cmatt.zimmerman%40canonical.com%253e_%2553un_%254dar_13_00%253a51%253a19_2005_1366.38 corrupt: line-delta from stream for version mdz@mizar-20051205230117-c327e75be767f237 references missing parent Arch-1:matt.zimmerman@canonical.com--2004%casper--main--0--patch-21 Try running "bzr check" on the source repository, and "bzr reconcile" if necessary. is not fixable by reconcile, because reconcile is not keeping as a delta a file text which has no matching revision in the repository. They key thing I suspect is: compression graph: D2->D1->FT revision graph: D2:[D1] (that is both D1 and FT are both ghosts in the revision graph) I suspect that D1 is not being correctly detected as a ghost.
2008-07-31 02:55:12 Robert Collins description A problem branching : % bzr branch lp:~ubuntu-core-dev/casper/trunk bzr: ERROR: bzrlib.errors.KnitCorrupt: Knit 9e/x_%254datt_%255aimmerman_%253cmatt.zimmerman%40canonical.com%253e_%2553un_%254dar_13_00%253a51%253a19_2005_1366.38 corrupt: line-delta from stream for version mdz@mizar-20051205230117-c327e75be767f237 references missing parent Arch-1:matt.zimmerman@canonical.com--2004%casper--main--0--patch-21 Try running "bzr check" on the source repository, and "bzr reconcile" if necessary. is not fixable by reconcile, because reconcile is not keeping as a delta a file text which has no matching revision in the repository. They key thing I suspect is: compression graph: D2->D1->FT revision graph: D2:[D1] (that is both D1 and FT are both ghosts in the revision graph) I suspect that D1 is not being correctly detected as a ghost. A problem branching : % bzr branch lp:~ubuntu-core-dev/casper/trunk bzr: ERROR: bzrlib.errors.KnitCorrupt: Knit 9e/x_%254datt_%255aimmerman_%253cmatt.zimmerman%40canonical.com%253e_%2553un_%254dar_13_00%253a51%253a19_2005_1366.38 corrupt: line-delta from stream for version mdz@mizar-20051205230117-c327e75be767f237 references missing parent Arch-1:matt.zimmerman@canonical.com--2004%casper--main--0--patch-21 Try running "bzr check" on the source repository, and "bzr reconcile" if necessary. is not fixable by reconcile, because reconcile is dying during the conversion of deltas to full texts. topo_order = tsort.topo_sort(ancestors) rev_order = dict(zip(topo_order, range(len(topo_order)))) bad_texts.sort(key=lambda key:rev_order[key[0][1]]) bad_texts contains a key not in rev_order
2008-07-31 02:55:12 Robert Collins title reconcile not converting deltas to full texts appropriately reconcile failing while converting deltas to full texts
2008-07-31 03:12:20 Robert Collins description A problem branching : % bzr branch lp:~ubuntu-core-dev/casper/trunk bzr: ERROR: bzrlib.errors.KnitCorrupt: Knit 9e/x_%254datt_%255aimmerman_%253cmatt.zimmerman%40canonical.com%253e_%2553un_%254dar_13_00%253a51%253a19_2005_1366.38 corrupt: line-delta from stream for version mdz@mizar-20051205230117-c327e75be767f237 references missing parent Arch-1:matt.zimmerman@canonical.com--2004%casper--main--0--patch-21 Try running "bzr check" on the source repository, and "bzr reconcile" if necessary. is not fixable by reconcile, because reconcile is dying during the conversion of deltas to full texts. topo_order = tsort.topo_sort(ancestors) rev_order = dict(zip(topo_order, range(len(topo_order)))) bad_texts.sort(key=lambda key:rev_order[key[0][1]]) bad_texts contains a key not in rev_order A problem branching : % bzr branch lp:~ubuntu-core-dev/casper/trunk bzr: ERROR: bzrlib.errors.KnitCorrupt: Knit 9e/x_%254datt_%255aimmerman_%253cmatt.zimmerman%40canonical.com%253e_%2553un_%254dar_13_00%253a51%253a19_2005_1366.38 corrupt: line-delta from stream for version mdz@mizar-20051205230117-c327e75be767f237 references missing parent Arch-1:matt.zimmerman@canonical.com--2004%casper--main--0--patch-21 Try running "bzr check" on the source repository, and "bzr reconcile" if necessary. is not fixable by reconcile, because reconcile would have to alter the inventory and does not currently do that. The symptom is that: topo_order = tsort.topo_sort(ancestors) rev_order = dict(zip(topo_order, range(len(topo_order)))) bad_texts.sort(key=lambda key:rev_order[key[0][1]]) bad_texts contains a key not in rev_order.
2008-07-31 03:12:20 Robert Collins title reconcile failing while converting deltas to full texts ghost fetch issue: fail when fetching a text referenced by a live revision introduced by a ghost revision
2008-09-15 07:24:35 Robert Collins bug added attachment 'cleaned.tar.bz2' (cleaned branch)
2008-09-15 07:25:11 Robert Collins bug added attachment 'test-all.py' (script to perform a clean)
2008-09-29 06:49:08 Martin Pool bug added attachment 'lp-pqm-20080929.tar.gz' (lp-pqm-20080929.tar.gz)
2009-06-04 21:12:47 John A Meinel bzr: status Triaged Fix Released
2009-06-04 21:12:47 John A Meinel bzr: milestone 1.16