bzr branch fails with certain branches

Bug #490162 reported by Joe Daly
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Undecided
Unassigned

Bug Description

Im seeing this error when I try to pull down a branch. I have tried to pull down drizzle trunk and it works fine. I have also created a new branch and pushed the tree up to launchpad and then tried bzr branch on it that works fine. It looks like it has something to do with older branches maybe.

I recently updated bzr locally to 2.0 and just now to 2.0.1. I see the problem with both revs.

jdaly@rx7:~/tmp/tmp3> bzr branch lp:~skinny.moey/drizzle/stats_revised
bzr: ERROR: exceptions.AssertionError: second push failed to complete a fetch se
t([('texts', 'sql_table.cc-20080625052902-61bbthtf22shh0p6-538', 'skinny.moey@gm
ail.com-20091116012725-3x269nngzf5zjbhn'), ('inventories', '<email address hidden>
m-20091117043412-f8zewpmjvhn2muxb'), ('texts', 'handler.cc-20080625052902-61bbth
tf22shh0p6-422', '<email address hidden>'), ('inv
entories', '<email address hidden>'), ('texts', '
alter_table.cc-20090826200200-oi6i4z9ajwzl8baw-1', '<email address hidden>
28041307-ucybpum3tm0pjxhq'), ('texts', 'enum.h-20090711025333-vtwzm2v7l0tiqsaa-1
', '<email address hidden>'), ('texts', 'sql_tabl
e.cc-20080625052902-61bbthtf22shh0p6-538', '<email address hidden>
-xyduotascsvr3d5x'), ('inventories', '<email address hidden>
lzzdz53tv4f'), ('texts', 'enum.h-20090711025333-vtwzm2v7l0tiqsaa-1', 'skinny.moe
<email address hidden>'), ('texts', 'makefile.am-2008062505
2902-61bbthtf22shh0p6-412', '<email address hidden>
7s'), ('texts', 'handler.cc-20080625052902-61bbthtf22shh0p6-422', 'skinny.moey@g
mail.com-20091116012725-3x269nngzf5zjbhn'), ('texts', 'handler.h-20080625052902-
61bbthtf22shh0p6-423', '<email address hidden>'),
 ('texts', 'handler.h-20080625052902-61bbthtf22shh0p6-423', '<email address hidden>
om-20091116020726-xyduotascsvr3d5x'), ('inventories', '<email address hidden>
91113133931-zno6nq1vc5ph2n7s')]).

Traceback (most recent call last):
  File "/usr/local/lib64/python2.6/site-packages/bzrlib/commands.py", line 842,
in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/local/lib64/python2.6/site-packages/bzrlib/commands.py", line 1037,
 in run_bzr
    ret = run(*run_argv)
  File "/usr/local/lib64/python2.6/site-packages/bzrlib/commands.py", line 654,
in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/local/lib64/python2.6/site-packages/bzrlib/builtins.py", line 1243,
 in run
    source_branch=br_from)
  File "/usr/local/lib64/python2.6/site-packages/bzrlib/bzrdir.py", line 1185, i
n sprout
    result_repo.fetch(source_repository, fetch_spec=fetch_spec)
  File "/usr/local/lib64/python2.6/site-packages/bzrlib/repository.py", line 169
5, in fetch
    find_ghosts=find_ghosts, fetch_spec=fetch_spec)
  File "/usr/local/lib64/python2.6/site-packages/bzrlib/decorators.py", line 192
, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/local/lib64/python2.6/site-packages/bzrlib/repository.py", line 341
3, in fetch
    pb=pb, find_ghosts=find_ghosts)
  File "/usr/local/lib64/python2.6/site-packages/bzrlib/fetch.py", line 81, in _
_init__
    self.__fetch()
  File "/usr/local/lib64/python2.6/site-packages/bzrlib/fetch.py", line 107, in
__fetch
    self._fetch_everything_for_search(search)
  File "/usr/local/lib64/python2.6/site-packages/bzrlib/fetch.py", line 148, in
_fetch_everything_for_search
    missing_keys,))
AssertionError: second push failed to complete a fetch set([('texts', 'sql_table
.cc-20080625052902-61bbthtf22shh0p6-538', '<email address hidden>-
3x269nngzf5zjbhn'), ('inventories', '<email address hidden>
mjvhn2muxb'), ('texts', 'handler.cc-20080625052902-61bbthtf22shh0p6-422', 'skinn
<email address hidden>'), ('inventories', 'skinny.moey
@gmail.com-20091116012725-3x269nngzf5zjbhn'), ('texts', 'alter_table.cc-20090826
200200-oi6i4z9ajwzl8baw-1', '<email address hidden>
hq'), ('texts', 'enum.h-20090711025333-vtwzm2v7l0tiqsaa-1', '<email address hidden>
om-20091116012725-3x269nngzf5zjbhn'), ('texts', 'sql_table.cc-20080625052902-61b
bthtf22shh0p6-538', '<email address hidden>'), ('
inventories', '<email address hidden>'), ('texts'
, 'enum.h-20090711025333-vtwzm2v7l0tiqsaa-1', '<email address hidden>
931-zno6nq1vc5ph2n7s'), ('texts', 'makefile.am-20080625052902-61bbthtf22shh0p6-4
12', '<email address hidden>'), ('texts', 'handle
r.cc-20080625052902-61bbthtf22shh0p6-422', '<email address hidden>
-3x269nngzf5zjbhn'), ('texts', 'handler.h-20080625052902-61bbthtf22shh0p6-423',
'<email address hidden>'), ('texts', 'handler.h-2
0080625052902-61bbthtf22shh0p6-423', '<email address hidden>
tascsvr3d5x'), ('inventories', '<email address hidden>
h2n7s')]).

bzr 2.0.1 on python 2.6.0 (Linux-2.6.27.7-9-default-x86_64-with-SuSE-11.1-x86_64
)
arguments: ['/usr/local/bin/bzr', 'branch', 'lp:~skinny.moey/drizzle/stats_revis
ed']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  launchpad /usr/local/lib64/python2.6/site-packages/bzrlib/plugins/l
aunchpad [2.0.1]
  netrc_credential_store /usr/local/lib64/python2.6/site-packages/bzrlib/plugins
/netrc_credential_store [2.0.1]

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.
jdaly@rx7:~/tmp/tmp3>

Revision history for this message
Joe Daly (skinny.moey) wrote :

I updated to 2.1.0b3 and this problem went away. This should probably be marked as fixed or invalid. Ill leave it up in case someone recognizes the problem as being fixed.

Revision history for this message
Robert Collins (lifeless) wrote :

John mentioned this as being known and fixed; I thought it was fixed in 2.0.1, but you were using that. OTOH 2.1.0b3 is clearly fixed, so thats good enough for me.

Changed in bzr:
status: New → Fix Released
Revision history for this message
Andrew Bennetts (spiv) wrote :

This would be bug #437626, which was fixed in 2.0.2 but not 2.0.1.

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.