cairo code import fails

Bug #248894 reported by SoloTurn on 2008-07-16
6
Affects Status Importance Assigned to Milestone
Launchpad itself
Medium
Unassigned

Bug Description

i'm not sure where whis should go but viewing the log of cairo-dock import says (https://code.edge.launchpad.net/~vcs-imports/cairo-dock/trunk, view log):

2008-07-15 01:14:26 WARNING N changeset 212
Traceback (most recent call last):
  File "/srv/importd.launchpad.net/production/launchpad/scripts/../scripts/code-import-worker.py", line 46, in ?
    script.main()
  File "/srv/importd.launchpad.net/production/launchpad/scripts/../scripts/code-import-worker.py", line 41, in main
    import_worker.run()
  File "/srv/importd.launchpad.net/production/launchpad/scripts/../lib/canonical/codehosting/codeimport/worker.py", line 438, in run
    self.importToBazaar(foreign_tree, bazaar_tree)
  File "/srv/importd.launchpad.net/production/launchpad/scripts/../lib/canonical/codehosting/codeimport/worker.py", line 388, in importToBazaar
    self._runToBaz(
  File "/srv/importd.launchpad.net/production/launchpad/scripts/../lib/canonical/codehosting/codeimport/worker.py", line 406, in _runToBaz
    totla.totla(config, self._logger, config.args, SCM.tree(source_dir))
  File "/srv/importd.launchpad.net/production/launchpad/scripts/../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/scripts/../lib/cscvs/cmds/totla.py", line 122, in apply_changeset
    fileChange.apply(logger, target_tree, prune)
  File "/srv/importd.launchpad.net/production/launchpad/scripts/../lib/svn_oo/AddedFile.py", line 27, in apply
    self.url(), self.revision)
  File "/srv/importd.launchpad.net/production/launchpad/scripts/../lib/svn_oo/util.py", line 81, in addFile
    writeFile(target_tree, relpath, url, revision)
  File "/srv/importd.launchpad.net/production/launchpad/scripts/../lib/svn_oo/util.py", line 92, in writeFile
    filemode(url, revision))
  File "/srv/importd.launchpad.net/production/launchpad/cronscripts/../lib/SCM/__init__.py", line 206, in write_file_breaking_links
    file = open(newname, "w")
IOError: [Errno 2] No such file or directory: u'/srv/importd.launchpad.net/data/worker-for-branch-8150/bzr_working_tree/cairo-dock/data/,,new.0.352449323552.cairo-dock-easy-en.conf'
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.

SoloTurn (soloturn) on 2008-07-16
description: updated
SoloTurn (soloturn) wrote :

now its

Permission denied (publickey).

Traceback (most recent call last):
  File "/srv/importd.launchpad.net/production/launchpad/scripts/../scripts/code-import-worker.py", line 46, in ?
    script.main()
  File "/srv/importd.launchpad.net/production/launchpad/scripts/../scripts/code-import-worker.py", line 41, in main
    import_worker.run()
  File "/srv/importd.launchpad.net/production/launchpad/scripts/../lib/canonical/codehosting/codeimport/worker.py", line 436, in run
    foreign_tree = self.getForeignTree()
  File "/srv/importd.launchpad.net/production/launchpad/scripts/../lib/canonical/codehosting/codeimport/worker.py", line 362, in getForeignTree
    return self.foreign_tree_store.fetch(
  File "/srv/importd.launchpad.net/production/launchpad/scripts/../lib/canonical/codehosting/codeimport/worker.py", line 262, in fetch
    return self.fetchFromArchive(source_details, target_path)
  File "/srv/importd.launchpad.net/production/launchpad/scripts/../lib/canonical/codehosting/codeimport/worker.py", line 283, in fetchFromArchive
    if not self.transport.has(tarball_name):
  File "/srv/importd.launchpad.net/production/launchpad/scripts/../lib/bzrlib/transport/sftp.py", line 213, in has
    self._get_sftp().stat(self._remote_path(relpath))
  File "/srv/importd.launchpad.net/production/launchpad/scripts/../lib/bzrlib/transport/sftp.py", line 204, in _get_sftp
    connection, credentials = self._create_connection()
  File "/srv/importd.launchpad.net/production/launchpad/scripts/../lib/bzrlib/transport/sftp.py", line 196, in _create_connection
    self._host, self._port)
  File "/srv/importd.launchpad.net/production/launchpad/cronscripts/../lib/bzrlib/transport/ssh.py", line 367, in connect_sftp
    self._raise_connection_error(host, port=port, orig_error=e)
  File "/srv/importd.launchpad.net/production/launchpad/cronscripts/../lib/bzrlib/transport/ssh.py", line 243, in _raise_connection_error
    orig_error=orig_error)
bzrlib.errors.SocketConnectionError: Unable to connect to SSH host escudero; EOF during negotiation
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.

Michael Hudson-Doyle (mwhudson) wrote :

The import seems to fail for a variety of reasons that basically suggests to me that the server is a bit too flaky for cscvs's fragile importing to be able to deal with :( We can do the initial import from a tarball of the repository, if you can get one of them.

(The 'permission denied' errors were a temporary operational problem that affected most imports and was quickly fixed).

Jonathan Lange (jml) wrote :

This is an issue with a particular import rather than a systemic bug. Converting to question.

Changed in launchpad-bazaar:
status: New → Invalid
Barry Warsaw (barry) wrote :

It looks like it's happening for other projects. See

https://answers.edge.launchpad.net/launchpad-bazaar/+question/53946

So I'm converting this back into a bug because I think it might be systemic after all.

Changed in launchpad-bazaar:
status: Invalid → New
Barry Warsaw (barry) wrote :

Well, the specific issue might be different, but still, shouldn't the import be more robust and/or provide better error diagnostics? At least there should be instructions in the help wiki about what the user can do when faced with such errors. Do they try again? Give up? Post more questions to Launchpad? What can /we/ do when failures like this happen?

Paul Hummer (rockstar) on 2008-12-18
Changed in launchpad-bazaar:
assignee: nobody → rockstar
importance: Undecided → Medium
status: New → Triaged
Paul Hummer (rockstar) on 2009-02-16
Changed in launchpad-bazaar:
assignee: rockstar → nobody
Artur Rona (ari-tczew) wrote :

I can't import git repo.
2009-07-24 15:51:45 INFO updating git map 0/650
2009-07-24 15:51:46 INFO
Traceback (most recent call last):
  File "/srv/importd.launchpad.net/production/launchpad-rev-8312/scripts/code-import-worker.py", line 61, in ?
    script.main()
  File "/srv/importd.launchpad.net/production/launchpad-rev-8312/scripts/code-import-worker.py", line 56, in main
    import_worker.run()
  File "/srv/importd.launchpad.net/production/launchpad-rev-8312/lib/lp/codehosting/codeimport/worker.py", line 396, in run
    self._doImport()
  File "/srv/importd.launchpad.net/production/launchpad-rev-8312/lib/lp/codehosting/codeimport/worker.py", line 494, in _doImport
    overwrite=True)
  File "<string>", line 4, in pull_write_locked
  File "/srv/importd.launchpad.net/production/launchpad-rev-8312/eggs/bzr-1.17-py2.4-linux-x86_64.egg/bzrlib/branch.py", line 891, in pull
    possible_transports=possible_transports, *args, **kwargs)
  File "/srv/importd.launchpad.net/production/launchpad-rev-8312/optionalbzrplugins/git/branch.py", line 392, in pull
    graph=graph)
  File "/srv/importd.launchpad.net/production/launchpad-rev-8312/optionalbzrplugins/git/branch.py", line 355, in update_revisions
    interrepo.fetch_objects(determine_wants, self.source.mapping)
  File "/srv/importd.launchpad.net/production/launchpad-rev-8312/optionalbzrplugins/git/fetch.py", line 437, in fetch_objects
    graph_walker = store.get_graph_walker(
  File "/srv/importd.launchpad.net/production/launchpad-rev-8312/optionalbzrplugins/git/object_store.py", line 200, in _lookup_revision_sha1
    self._update_sha_map(revid)
  File "/srv/importd.launchpad.net/production/launchpad-rev-8312/optionalbzrplugins/git/object_store.py", line 89, in _update_sha_map
    self._update_sha_map_revision(revid)
  File "/srv/importd.launchpad.net/production/launchpad-rev-8312/optionalbzrplugins/git/object_store.py", line 112, in _update_sha_map_revision
    raise AssertionError("recreated git commit had different sha1: expected %s, got %s" % (foreign_revid, commit_obj.id))
AssertionError: recreated git commit had different sha1: expected e4bc013299b49b69417ade4339dd5a84fd9491ab, got 75165e0da0edd87568c8763d99468e29049f9c59
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.

What's wrong?

Michael Hudson-Doyle (mwhudson) wrote :

This branch looks ok to me: https://code.edge.launchpad.net/~vcs-imports/cairo-dock/trunk

Can you ask a question with more details please? I don't understand your issue and this isn't the place to talk about it.

Michael Hudson-Doyle (mwhudson) wrote :

I still don't think there's an actual specific problem deserving of a bug report here.

Changed in launchpad-code:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions