Connection reset during CVS import of LTP

Asked by Robbie Williamson on 2008-11-14

Everytime an import is started for the ltp project, the process bombs out because the Sourceforge CVS server seems to reset the connection. I suspect it's because the import is taking too long, as I can pull the tree to my laptop anonymously, and with ssh developer access, without any problems. Is there any way around this issue? Here is the error output from a recent import log
Traceback (most recent call last):
  File "/srv/", line 46, in ?
  File "/srv/", line 41, in main
  File "/srv/", line 372, in run
    self.importToBazaar(foreign_tree, bazaar_tree)
  File "/srv/", line 314, in importToBazaar
  File "/srv/", line 340, in _runToBaz
    totla.totla(config, self._logger, config.args, SCM.tree(source_dir))
  File "/srv/", line 252, in totla
    apply_changeset(source_tree, logger, apply, revision, target_tree, revisions)
  File "/srv/", line 122, in apply_changeset
    fileChange.apply(logger, target_tree, prune)
  File "/srv/", line 912, in apply
    self._add(logger, target_tree)
  File "/srv/", line 835, in _add
    delta, mode = self._get_with_perms()
  File "/srv/", line 895, in _get_with_perms
    return self.tree().module().getFileRevisionStat(self.filename, self.revision)
  File "/srv/", line 774, in getFileRevisionStat
    return self._getFileRevisionStatNative(file, revision)
  File "/srv/", line 783, in _getFileRevisionStatNative
    return self._getFileRevisionStatReconnecting(filename, revision)
  File "/srv/", line 820, in _getFileRevisionStatReconnecting
    "%s/%s" % (, file), revision)
  File "/srv/", line 1156, in getFileRevisionStat
    self._writeExpandModulesRequest(reporoot, filename)
  File "/srv/", line 1167, in _writeExpandModulesRequest
    self._sendList(["Argument %s" % filename,
  File "/srv/", line 1042, in _sendList
  File "/srv/", line 397, in flush
  File "/usr/lib/python2.4/", line 235, in flush
socket.error: (104, 'Connection reset by peer')
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.

Question information

English Edit question
Launchpad itself Edit question
Michael Hudson-Doyle Edit question
Solved by:
Michael Hudson-Doyle
Last query:
Last reply:
Michael: can you look at this please?

I don't have any real answer to this other than it looks like the server's connection to the internet is too flaky for the import to complete. This is most unlike SF though, their servers are usually pretty reliable...

Sorry this isn't very helpful.

Robbie Williamson (robbiew) said : #2

Perhaps I'll contact SF, as I have experienced this in the past when I did releases working for IBM...but always figured it was due to a funky corporate firewall setting. Thanks!