Automatic import from svn repository at SourceForge fails

Asked by Roland Clobus

See http://launchpadlibrarian.net/58768665/vcs-imports-pioneer-trunk.log for the log about my latest attempt to manually start the automatic import.

The import of the subversion repository that is hosted on SourceForge fails.
The last import was 2010-10-26, and that same the the import started to fail.

With kind regards,
Roland Clobus
Developer for Pioneers

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Tim Penhey
Solved:
Last query:
Last reply:
Revision history for this message
Curtis Hovey (sinzui) said :
#1

This is a question

Revision history for this message
Roland Clobus (rclobus) said :
#2

The most relevant part in the log file is:
---
Traceback (most recent call last):
  File "/srv/importd.launchpad.net/production/launchpad-rev-11824/scripts/code-import-worker.py", line 82, in <module>
    sys.exit(script.main())
  File "/srv/importd.launchpad.net/production/launchpad-rev-11824/scripts/code-import-worker.py", line 77, in main
    return import_worker.run()
  File "/srv/importd.launchpad.net/production/launchpad-rev-11824/lib/lp/codehosting/codeimport/worker.py", line 452, in run
    return self._doImport()
  File "/srv/importd.launchpad.net/production/launchpad-rev-11824/lib/lp/codehosting/codeimport/worker.py", line 536, in _doImport
    self.importToBazaar(foreign_tree, bazaar_branch)
  File "/srv/importd.launchpad.net/production/launchpad-rev-11824/lib/lp/codehosting/codeimport/worker.py", line 514, in importToBazaar
    foreign_directory, "-SC", "%s::" % last_commit, bzr_directory)
  File "/srv/importd.launchpad.net/production/launchpad-rev-11824/lib/lp/codehosting/codeimport/worker.py", line 531, in _runToBaz
    totla.totla(config, self._logger, config.args, SCM.tree(source_dir))
  File "/srv/importd.launchpad.net/production/launchpad-rev-11824/lib/cscvs/cmds/totla.py", line 252, in totla
    apply_changeset(source_tree, logger, apply, revision, target_tree, revisions)
  File "/srv/importd.launchpad.net/production/launchpad-rev-11824/lib/cscvs/cmds/totla.py", line 122, in apply_changeset
    fileChange.apply(logger, target_tree, prune)
  File "/srv/importd.launchpad.net/production/launchpad-rev-11824/lib/svn_oo/PatchedFile.py", line 32, in apply
    target_tree, self.relpath(), self.url(), self.revision)
  File "/srv/importd.launchpad.net/production/launchpad-rev-11824/lib/svn_oo/util.py", line 91, in writeFile
    client.cat(url, revision=revision.rev),
pysvn._pysvn_2_6.ClientError: GET of '/svnroot/pio/!svn/bc/1596/trunk/pioneers/po/nl.po': Could not read response body: Connection reset by peer (http://pio.svn.sourceforge.net)
Exception AttributeError: "'NoneType' object has no attribute 'close'" in <function terminate at 0x448caa0> ignored
---

This indicates that the code running on Launchpad crashes/throws an exception.
To me, that indicates a bug, not a user question.

Revision history for this message
Best Tim Penhey (thumper) said :
#3

The underlying problem here is this one: Connection reset by peer (http://pio.svn.sourceforge.net)

The import is using CSCVS to import the code. This has known speed issues.

All new imports use bzr-svn, which is much faster and likely to be fine. The difference is that a new import using bzr-svn will not have common history with the existing import.

Revision history for this message
Roland Clobus (rclobus) said :
#4

I've requested an import again, for the second time.
It appears to work now.

Revision history for this message
Roland Clobus (rclobus) said :
#5

Thanks Tim Penhey, that solved my question.