Timeout during https checkout

Bug #56647 reported by Harald Meland
6
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Fix Released
High
Jelmer Vernooij

Bug Description

Hi, I'm hoping to be able to use this plugin to do my own development under bzr even though upstream uses svn. However, when I try to branch upstream, things go wrong:

1) AutoREALM, https branch on SourceForge:

$ bzr.dev branch svn+https://svn.sourceforge.net/svnroot/autorealm/autorealm_wx/trunk autorealm
bzr: ERROR: libsvn._core.SubversionException: ("REPORT request failed on '/svnroot/autorealm/!svn/vcc/default'", 175002)

Traceback (most recent call last):
  File "/home/hmeland/src/bzr/bzr.dev/bzrlib/commands.py", line 697, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/home/hmeland/src/bzr/bzr.dev/bzrlib/commands.py", line 659, in run_bzr
    ret = run(*run_argv)
  File "/home/hmeland/src/bzr/bzr.dev/bzrlib/commands.py", line 281, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/hmeland/src/bzr/bzr.dev/bzrlib/builtins.py", line 675, in run
    revision_id, basis_dir)
  File "/home/hmeland/.bazaar/plugins/svn/format.py", line 80, in sprout
    result_repo = repo.clone(result, revision_id, basis)
  File "/home/hmeland/src/bzr/bzr.dev/bzrlib/decorators.py", line 38, in read_locked
    return unbound(self, *args, **kwargs)
  File "/home/hmeland/src/bzr/bzr.dev/bzrlib/repository.py", line 282, in clone
    self.copy_content_into(result, revision_id, basis)
  File "/home/hmeland/src/bzr/bzr.dev/bzrlib/repository.py", line 234, in copy_content_into
    return InterRepository.get(self, destination).copy_content(revision_id, basis)
  File "/home/hmeland/src/bzr/bzr.dev/bzrlib/decorators.py", line 51, in write_locked
    return unbound(self, *args, **kwargs)
  File "/home/hmeland/.bazaar/plugins/svn/fetch.py", line 366, in copy_content
    svn.ra.reporter2_invoke_finish_report(reporter, reporter_baton)
  File "/usr/lib/python2.4/site-packages/libsvn/ra.py", line 741, in svn_ra_reporter2_invoke_finish_report
    return apply(_ra.svn_ra_reporter2_invoke_finish_report, args)
SubversionException: ("REPORT request failed on '/svnroot/autorealm/!svn/vcc/default'", 175002)

bzr 0.9.0dev0 on python 2.4.3.final.0 (linux2)
arguments: ['/home/hmeland/src/bzr/bzr.dev/bzr', 'branch', 'svn+https://svn.sourceforge.net/svnroot/autorealm/autorealm_wx/trunk', 'autorealm']

** please send this report to <email address hidden>

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This looks like a bug in the python-subversion package. I'll see if I can get it updated, thanks for the report.

Jelmer Vernooij (jelmer)
Changed in bzr-svn:
assignee: nobody → jelmer
importance: Untriaged → Medium
status: Unconfirmed → Confirmed
Jelmer Vernooij (jelmer)
Changed in bzr-svn:
importance: Medium → High
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This problem appears to affect a large number of people using svn+http://
branches. It's specific to the http transport in Subversion - the same repository can work fine over svn:// or file:// but will fail with http://

It'd be nice to be able to test for this bug in the testsuite, if there is some way to do so without installing and configuring apache2 with the svn module enabled.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

I *think* this is fixed now, at least I can no longer reproduce it with the repositories mentioned in this bug report.

Changed in bzr-svn:
status: Confirmed → Fix Committed
Revision history for this message
David Cournapeau (david-ar) wrote :

it looks like the last fixes demand a new version of python wrappers for svn. Would it be possible to know which version is necessary ?

I got the following:

AttributeError: 'module' object has no attribute 'SVN_DIRENT_KIND'

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Looks like I reacted a bit premature. I can no longer reproduce checking out the autorealm branch.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This works sometimes and fails other times, it appears to be related to timeouts of the REPORT request.

description: updated
Jelmer Vernooij (jelmer)
Changed in bzr-svn:
status: Fix Committed → Fix Released
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.