failure to push to Launchpad 'branchlock'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I just updated to bzr.dev 6345 today and I started getting failures trying to do just a plain "bzr push" to update one of my branches. I'll include the traceback.
The weirdest part is the failure is:
LockFailed: Cannot lock LockDir(
Now, this is pushing to my ~jameinel branch so it shouldn't be a readonly issue. Further, it is saying it cannot lock .../.bzr/branchlock which isn't a directory we should be using, instead we should be using .bzr/branch/lock.
My guess is that we're missing a trailing slash somewhere on .bzr/branch/ when combining to create .bzr/branch/lock url.
I tried doing "bzr revert -r 6145" and it still failed. On IRC mgz mentioned revision 6079 as being known-buggy, so I reverted back to "bzr revert -r 6078" and that push did, indeed, work.
I tried figuring out what revision of bzr.dev I was using previously, but we don't seem to log that yet. "history-db" seems to indicate I added 24 mainline revs, 101 total revs, which would be consistent with updating from ~revno 6322 up to 6345. (bzr log -n1 -r-24 | grep revno shows 101 revisions added)
3.924 result: ('yes', 'no')
3.924 hpss call: 'BzrDir.
3.924 (to bzr+ssh:
4.051 result: ('branch', 'Bazaar Branch Format 7 (needs bzr 1.6)\n')
4.051 hpss call: 'BzrDir.
4.051 (to bzr+ssh:
4.106 result: ('ok', '', 'yes', 'no', 'yes', 'Bazaar repository format 2a (needs bzr 1.16 or later)\n')
4.109 hpss call: 'Branch.
4.109 (to bzr+ssh:
4.170 result: ('ok', '/+branch-
4.171 hpss call: 'BzrDir.open_2.1', '+branch-
4.171 (to bzr+ssh:
4.294 result: ('yes', 'no')
4.294 hpss call: 'BzrDir.
4.294 (to bzr+ssh:
4.352 result: ('branch', 'Bazaar Branch Format 7 (needs bzr 1.6)\n')
4.354 hpss call: 'BzrDir.
4.354 (to bzr+ssh:
4.418 result: ('ok', '', 'yes', 'no', 'yes', 'Bazaar repository format 2a (needs bzr 1.16 or later)\n')
4.422 hpss call: 'Branch.
4.422 (to bzr+ssh:
4.487 result: ('NotStacked',)
4.519 hpss call: 'Branch.
4.520 (to bzr+ssh:
4.607 result: ('LockFailed', 'LockDir(
4.608 Transferred: 2kB (0.7kB/s r:1kB w:1kB)
4.628 Traceback (most recent call last):
File "C:\dev\
return the_callable(*args, **kwargs)
File "C:\dev\
ret = run(*run_argv)
File "C:\dev\
return self.run(
File "C:\dev\
return self._operation
File "C:\dev\
self.cleanups, self.func, *args, **kwargs)
File "C:\dev\
result = func(*args, **kwargs)
File "C:\dev\
use_
File "C:\dev\
remember, create_prefix)
File "C:\dev\
overwrite, stop_revision=
File "C:\dev\
lossy, *args, **kwargs)
File "C:\dev\
op.
File "C:\dev\
remote_tokens = self._remote_
File "C:\dev\
repo_token or '', **err_context)
File "C:\dev\
self.
File "C:\dev\
self.
File "C:\dev\
self.
File "C:\dev\
_translate_
File "C:\dev\
raise translator(err)
LockFailed: Cannot lock LockDir(
4.630 return code 3
[ 6560] 2011-12-06 14:59:13.571 INFO: HPSS calls: 9 (0 vfs) SmartSSHClientM
Note, I was able to reproduce this several times until I finally succeeded with bzr.dev 6078, and now I cannot reproduce with the same branch.