svn import fails

Asked by David Graf

Hello
Since three days, I try to import an sourceforge svn repository into launchpad (https://code.launchpad.net/~zorba-coders/zorba/sf-trunk). Unfortunately, it fails every time with the following error msg:

Traceback (most recent call last):
  File "/srv/importd.launchpad.net/production/launchpad-rev-13900/scripts/code-import-worker.py", line 98, in <module>
    sys.exit(script.main())
  File "/srv/importd.launchpad.net/production/launchpad-rev-13900/scripts/code-import-worker.py", line 93, in main
    return import_worker.run()
  File "/srv/importd.launchpad.net/production/launchpad-rev-13900/lib/lp/codehosting/codeimport/worker.py", line 546, in run
    return self._doImport()
  File "/srv/importd.launchpad.net/production/launchpad-rev-13900/lib/lp/codehosting/codeimport/worker.py", line 720, in _doImport
    inter_branch.fetch(limit=revision_limit)
  File "/srv/importd.launchpad.net/production/launchpad-rev-13900/bzrplugins/optional/svn/branch.py", line 718, in fetch
    self._fetch_revmetas(todo, find_ghosts=find_ghosts, limit=limit)
  File "/srv/importd.launchpad.net/production/launchpad-rev-13900/bzrplugins/optional/svn/branch.py", line 728, in _fetch_revmetas
    project=self.source.project, mapping=self.source.mapping)
  File "/srv/importd.launchpad.net/production/launchpad-rev-13900/bzrplugins/optional/svn/fetch.py", line 1568, in fetch
    pack_hint = self._fetch_revisions(needed, pb)
  File "/srv/importd.launchpad.net/production/launchpad-rev-13900/bzrplugins/optional/svn/fetch.py", line 1493, in _fetch_revisions
    use_replay=self._use_replay)
  File "/srv/importd.launchpad.net/production/launchpad-rev-13900/bzrplugins/optional/svn/fetch.py", line 1463, in _fetch_revisions_nochunks
    parent_revmeta)
  File "/srv/importd.launchpad.net/production/launchpad-rev-13900/bzrplugins/optional/svn/fetch.py", line 1403, in _fetch_revision_switch
    report_inventory_contents(reporter, parent_revnum, start_empty)
  File "/srv/importd.launchpad.net/production/launchpad-rev-13900/bzrplugins/optional/svn/errors.py", line 141, in convert
    return unbound(*args, **kwargs)
  File "/srv/importd.launchpad.net/production/launchpad-rev-13900/bzrplugins/optional/svn/fetch.py", line 1126, in report_inventory_contents
    reporter.finish()
  File "/srv/importd.launchpad.net/production/launchpad-rev-13900/bzrplugins/optional/svn/fetch.py", line 354, in change_prop
    self.editor.revmeta.get_previous_fileprops())
  File "/srv/importd.launchpad.net/production/launchpad-rev-13900/bzrplugins/optional/svn/util.py", line 77, in keys
    self._ensure_init()
  File "/srv/importd.launchpad.net/production/launchpad-rev-13900/bzrplugins/optional/svn/util.py", line 29, in _ensure_init
    self.dict = self.create_fn(*self.args)
  File "/srv/importd.launchpad.net/production/launchpad-rev-13900/bzrplugins/optional/svn/branchprops.py", line 53, in _real_get_properties
    (_, _, props) = self.log._transport.get_dir(path, revnum)
  File "/srv/importd.launchpad.net/production/launchpad-rev-13900/bzrplugins/optional/svn/errors.py", line 149, in convert
    raise mapped_err
bzrlib.plugins.svn.errors.DavRequestFailed: A Subversion remote access command failed: PROPFIND of '/svnroot/zorba/trunk/zorba': SSL handshake failed: Secure connection truncated (https://zorba.svn.sourceforge.net)
Import failed:
Traceback (most recent call last):
Failure: twisted.internet.error.ProcessTerminated: A process has ended with a probable error condition: process ended with exit code 1.

First, I thought the problem is Sourceforge. Because pretty often, they have some downtime. But if I mirror the subversion repository from my own linux machine, I do not have problems at all! It takes a lot of time, but it works!

Could it be possible that something is going wrong on the launchpad servers?

To bypass this problem, I tried to push the current revisions of the sourceforge repository to the launchpad branch myself. But that's not possible because the launchpad branch is read-only.

Is it somehow possible to fix or bypass this problem?

Best
David

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Gary Poster (gary) said :
#1

Hello. We have found the http access to sourceforge to be more reliable than https. I have changed your import to http and restarted it.

Revision history for this message
Gary Poster (gary) said :
#2

This failed. I have asked for a further analysis.

Revision history for this message
David Graf (davidagraf) said :
#3

Hello Gary
What's the status on this? From time to time, I tried to run the import over the weekend. But it never worked. Actually, it always fails after some seconds.
David

Revision history for this message
Max Bowsher (maxb) said :
#4

We don't know why the SourceForge servers are so fragile to these problems, but the linked branch appears to have been deleted and recreated as a standard, not import branch, so I'm marking the question as Answered.

Revision history for this message
Mantas Kriaučiūnas (mantas) said :
#5

It seems I have the same problem with SVN import of latest stable SuperTuxKart game release (0.7.3):

2011-11-17 06:10:41 INFO Starting job.
2011-11-17 06:10:41 INFO Getting exising bzr branch from central store.
2011-11-17 06:10:42 INFO [chan bzr SocketAsChannelAdapter] Opened sftp connection (server version 3)
2011-11-17 06:10:42 INFO 253 bytes transferred
2011-11-17 06:11:01 INFO fetching svn revision info 1/1
2011-11-17 06:11:01 INFO Importing branch.
2011-11-17 06:11:04 INFO determining revisions to fetch 0/10213
2011-11-17 06:11:08 INFO
2011-11-17 06:11:09 INFO copying revision 0/5000
2011-11-17 06:12:09 INFO 28726651 bytes transferred | copying revision 15/5000
2011-11-17 06:13:09 INFO 8561807 bytes transferred | copying revision 32/5000
[..]
2011-11-17 06:30:13 INFO 6371740 bytes transferred | copying revision 338/5000
2011-11-17 06:30:44 INFO
Traceback (most recent call last):
  File "/srv/importd.launchpad.net/production/launchpad-rev-14291/scripts/code-import-worker.py", line 98, in <module>
    sys.exit(script.main())
  File "/srv/importd.launchpad.net/production/launchpad-rev-14291/scripts/code-import-worker.py", line 93, in main
    return import_worker.run()
  File "/srv/importd.launchpad.net/production/launchpad-rev-14291/lib/lp/codehosting/codeimport/worker.py", line 588, in run
    return self._doImport()
  File "/srv/importd.launchpad.net/production/launchpad-rev-14291/lib/lp/codehosting/codeimport/worker.py", line 774, in _doImport
    inter_branch.fetch(limit=revision_limit)
  File "/srv/importd.launchpad.net/production/launchpad-rev-14291/bzrplugins/optional/svn/branch.py", line 830, in fetch
    exclude_non_mainline=exclude_non_mainline)
  File "/srv/importd.launchpad.net/production/launchpad-rev-14291/bzrplugins/optional/svn/branch.py", line 842, in _fetch_revmetas
    project=self.source.project, mapping=self.source.mapping)
  File "/srv/importd.launchpad.net/production/launchpad-rev-14291/bzrplugins/optional/svn/fetch.py", line 1647, in fetch
    pack_hint = self._fetch_revisions(needed, pb)
  File "/srv/importd.launchpad.net/production/launchpad-rev-14291/bzrplugins/optional/svn/fetch.py", line 1568, in _fetch_revisions
    use_replay=self._use_replay)
  File "/srv/importd.launchpad.net/production/launchpad-rev-14291/bzrplugins/optional/svn/fetch.py", line 1538, in _fetch_revisions_nochunks
    parent_revmeta)
  File "/srv/importd.launchpad.net/production/launchpad-rev-14291/bzrplugins/optional/svn/fetch.py", line 1478, in _fetch_revision_switch
    report_inventory_contents(reporter, parent_revnum, start_empty)
  File "/srv/importd.launchpad.net/production/launchpad-rev-14291/bzrplugins/optional/svn/errors.py", line 149, in convert
    raise mapped_err
bzrlib.plugins.svn.errors.DavRequestFailed: A Subversion remote access command failed: REPORT of '/svnroot/supertuxkart/!svn/vcc/default': SSL handshake failed: Secure connection truncated (https://supertuxkart.svn.sourceforge.net)
Import failed:
Traceback (most recent call last):
Failure: twisted.internet.error.ProcessTerminated: A process has ended with a probable error condition: process ended with exit code 1.

See http://launchpadlibrarian.net/85321809/stk-stk-0.7.3.log and https://code.launchpad.net/~stk/stk/0.7.3 for more info.

Btw, SVN import of previous SuperTuxkart 0.7.2 release passed without problems, see https://code.launchpad.net/~stk/stk/0.7.2

Revision history for this message
i30817 (i30817) said :
#6
Revision history for this message
i30817 (i30817) said :
#7

Hope a solution can be found

Revision history for this message
i30817 (i30817) said :
#8

Never mind, after some partial success it imported. russkaya is consistently failing, but that's probably because it tries to import all at once.

Can you help with this problem?

Provide an answer of your own, or ask David Graf for more information if necessary.

To post a message you must log in.