bzr branch from launchpad hangs after one hour
I've been trying to branch web2py from launchpad -- I've tried with a previous bzr version and now with 2.1.0. It starts off fine, but at the one hour mark, it stops doing anything. Here's where it had gotten to when it stopped:
$ bzr branch -Dhpss -Dhpssdetail lp:~mdipierro/web2py/devel web2py
- 106420KB 29KB/s | Fetching revisions:Inserting stream
(The rate is steady at about 30KB/s up to the point where it stops.)
The bzr branch command waits for some while after activity stops, then exits with this message:
FATAL ERROR: Server unexpectedly closed network connection
bzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist.
HPSS calls: 7 (0 vfs) SmartSSHClientM
I have no trouble branching sahanapy, where the branch completes in under an hour.
I did bzr lp-login, so this isn't the same as question #84616. Can't tell if question #81139 is related -- I'm not using the same ssh, and the server in my case is launchpad.
I'm wondering if either bzr has a one hour timeout (I'm expecting it doesn't) or if launchpad has a process killer that nukes some types of processes after an hour (e.g. those servicing ports), on the expectation that if they hang around for an hour, they must be dead (seems more likely than a timeout in bzr).
If it is launchpad that's doing it, and if the launchpad admins don't want to up the timeout, does bzr have a checkpoint and restart mechanism for branches / checkouts / other potentially long commands?
Client is running on WinXP, in a cygwin bash terminal, with putty (pageant) ssh. Version of bzr is 2.1.0. Network connection is DSL, not fast but seems quite reliable -- I haven't seen it drop the connection (except once when my phone went dead as well -- the external phone line was out).
Below is the log, with the long middle section of "NNN byte part read" lines omitted. (In case it's relevant, the values of NNN stayed at around 400-600 for a while, then started creeping up, then started having bursts with numbers reaching just over 2000000.)
Thanks!
-- Pat
Wed 2010-03-10 14:05:20 -0800
0.140 bazaar version: 2.1.0
0.140 bzr arguments: [u'branch', u'-Dhpss', u'-Dhpssdetail', u'lp:~mdipierro/web2py/devel', u'web2py']
0.156 looking for plugins in C:/Documents and Settings/Patricia Tressel/Application Data/bazaar/
0.156 looking for plugins in C:/Program Files/Bazaar/
0.343 encoding stdout as sys.stdout encoding 'cp437'
2.671 hpss: Built a new medium: SmartSSHClientM
2.765 bzr-svn: using Subversion 1.6.6 ()
2.859 hpss call: 'BzrDir.open_2.1', '~mdipierro/
2.859 (to bzr+ssh:
8.437 result: ('yes', 'no')
8.437 hpss call: 'BzrDir.
8.437 (to bzr+ssh:
8.656 result: ('branch', 'Bazaar Branch Format 6 (bzr 0.15)\n')
8.671 hpss call: 'BzrDir.
8.671 (to bzr+ssh:
8.875 result: ('ok', '', 'no', 'no', 'no', 'Bazaar pack repository format 1 (needs bzr 0.92)\n')
8.890 hpss call: 'Branch.
8.890 (to bzr+ssh:
9.343 result: ('UnstackableBr
9.343 hpss call: 'Branch.
9.343 (to bzr+ssh:
9.796 result: ('ok', '1738', '<email address hidden>')
9.812 hpss call: 'BzrDir.
9.812 (to bzr+ssh:
10.312 result: ('Bazaar-NG meta directory, format 1\n', 'Bazaar pack repository format 1 (needs bzr 0.92)\n', ('branch', 'Bazaar Branch Format 6 (bzr 0.15)\n'))
10.375 creating repository in file://
10.453 Using fetch logic to copy between RemoteRepositor
10.453 hpss call w/body: 'Repository.
10.453 86 bytes
12.156 result: ('ok',)
12.156 42 byte part read
12.156 54 byte part read
12.156 548 byte part read
12.171 574 byte part read
...
3516.000 431 byte part read
3516.000 417 byte part read
3526.343 322989 byte part read
3586.671 1862204 byte part read
3589.156 61915 byte part read
3589.156 434 byte part read
3589.171 424 byte part read
3603.171 391488 byte part read
7204.296 decoder state: buf[:10]
7204.343 Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\fetch.pyo", line 83, in __init__
File "bzrlib\fetch.pyo", line 109, in __fetch
File "bzrlib\fetch.pyo", line 137, in _fetch_
File "bzrlib\
File "bzrlib\
File "bzrlib\knit.pyo", line 1599, in insert_
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
ConnectionReset: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist.
7204.343 Transferred: 106455KiB (14.8K/s r:106454K w:1K)
7204.343 return code 3
[ 4476] 2010-03-10 16:05:24.342 INFO: HPSS calls: 7 (0 vfs) SmartSSHClientM
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Bazaar Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Andrew Bennetts
- Solved:
- Last query:
- Last reply: