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/importd.launchpad.net/production/launchpad-rev-7188/scripts/../scripts/code-import-worker.py", line 46, in ?
    script.main()
  File "/srv/importd.launchpad.net/production/launchpad-rev-7188/scripts/../scripts/code-import-worker.py", line 41, in main
    import_worker.run()
  File "/srv/importd.launchpad.net/production/launchpad-rev-7188/utilities/../lib/canonical/codehosting/codeimport/worker.py", line 372, in run
    self.importToBazaar(foreign_tree, bazaar_tree)
  File "/srv/importd.launchpad.net/production/launchpad-rev-7188/utilities/../lib/canonical/codehosting/codeimport/worker.py", line 314, in importToBazaar
    self._runToBaz(
  File "/srv/importd.launchpad.net/production/launchpad-rev-7188/utilities/../lib/canonical/codehosting/codeimport/worker.py", line 340, in _runToBaz
    totla.totla(config, self._logger, config.args, SCM.tree(source_dir))
  File "/srv/importd.launchpad.net/production/launchpad-rev-7188/utilities/../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-7188/utilities/../lib/cscvs/cmds/totla.py", line 122, in apply_changeset
    fileChange.apply(logger, target_tree, prune)
  File "/srv/importd.launchpad.net/production/launchpad-rev-7188/scripts/../lib/CVS/StorageLayer.py", line 912, in apply
    self._add(logger, target_tree)
  File "/srv/importd.launchpad.net/production/launchpad-rev-7188/scripts/../lib/CVS/StorageLayer.py", line 835, in _add
    delta, mode = self._get_with_perms()
  File "/srv/importd.launchpad.net/production/launchpad-rev-7188/scripts/../lib/CVS/StorageLayer.py", line 895, in _get_with_perms
    return self.tree().module().getFileRevisionStat(self.filename, self.revision)
  File "/srv/importd.launchpad.net/production/launchpad-rev-7188/utilities/../lib/CVS/__init__.py", line 774, in getFileRevisionStat
    return self._getFileRevisionStatNative(file, revision)
  File "/srv/importd.launchpad.net/production/launchpad-rev-7188/utilities/../lib/CVS/__init__.py", line 783, in _getFileRevisionStatNative
    return self._getFileRevisionStatReconnecting(filename, revision)
  File "/srv/importd.launchpad.net/production/launchpad-rev-7188/utilities/../lib/CVS/__init__.py", line 820, in _getFileRevisionStatReconnecting
    "%s/%s" % (self.name(), file), revision)
  File "/srv/importd.launchpad.net/production/launchpad-rev-7188/utilities/../lib/CVS/__init__.py", line 1156, in getFileRevisionStat
    self._writeExpandModulesRequest(reporoot, filename)
  File "/srv/importd.launchpad.net/production/launchpad-rev-7188/utilities/../lib/CVS/__init__.py", line 1167, in _writeExpandModulesRequest
    self._sendList(["Argument %s" % filename,
  File "/srv/importd.launchpad.net/production/launchpad-rev-7188/utilities/../lib/CVS/__init__.py", line 1042, in _sendList
    self._connection.flush();
  File "/srv/importd.launchpad.net/production/launchpad-rev-7188/utilities/../lib/CVS/protocol.py", line 397, in flush
    self._get_write_pipe().flush()
  File "/usr/lib/python2.4/socket.py", line 235, in flush
    self._sock.sendall(buffer)
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

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
Michael Hudson-Doyle Edit question
Solved by:
Michael Hudson-Doyle
Solved:
2008-11-19
Last query:
2008-11-19
Last reply:
2008-11-19
Whiteboard:
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!