lp:~vcs-imports/empathy/master import failing

Bug #382609 reported by Tim Penhey on 2009-06-02
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar Git Plugin
High
Jelmer Vernooij
Launchpad itself
Medium
Michael Hudson-Doyle

Bug Description

Filing a bug to track the fixing.

Here is a snippit from the import log: http://launchpadlibrarian.net/27352555/empathy-master-log.txt

2009-06-01 05:33:56 INFO 48 bytes transferred |
2009-06-01 05:34:02 INFO git: Counting objects: 4, done. 0
2009-06-01 05:34:02 INFO finding revisions to fetch:generating index 0/4
2009-06-01 05:34:02 INFO finding revisions to fetch 1
2009-06-01 05:34:03 INFO fetching revisions:updating git map 0/3203
2009-06-01 05:34:04 INFO
Traceback (most recent call last):
  File "/srv/importd.launchpad.net/production/launchpad-rev-8105/scripts/code-import-worker.py", line 56, in ?
    script.main()
  File "/srv/importd.launchpad.net/production/launchpad-rev-8105/scripts/code-import-worker.py", line 51, in main
    import_worker.run()
  File "/srv/importd.launchpad.net/production/launchpad-rev-8105/scripts/../lib/lp/codehosting/codeimport/worker.py", line 337, in run
    self._doImport()
  File "/srv/importd.launchpad.net/production/launchpad-rev-8105/scripts/../lib/lp/codehosting/codeimport/worker.py", line 451, in _doImport
    overwrite=True)
  File "<string>", line 4, in pull_write_locked
  File "/srv/importd.launchpad.net/production/launchpad-rev-8105/utilities/../lib/bzrlib/branch.py", line 2253, in pull
    _override_hook_target=_override_hook_target)
  File "<string>", line 4, in pull_write_locked
  File "/srv/importd.launchpad.net/production/launchpad-rev-8105/utilities/../lib/bzrlib/branch.py", line 2078, in pull
    graph=graph)
  File "<string>", line 4, in update_revisions_write_locked
  File "/srv/importd.launchpad.net/production/launchpad-rev-8105/utilities/../lib/bzrlib/branch.py", line 776, in update_revisions
    overwrite, graph)
  File "/srv/importd.launchpad.net/production/launchpad-rev-8105/optionalbzrplugins/git/branch.py", line 313, in update_revisions
    interrepo.fetch_objects(determine_wants, self.source.mapping)
  File "/srv/importd.launchpad.net/production/launchpad-rev-8105/optionalbzrplugins/git/fetch.py", line 448, in fetch_objects
    target_git_object_retriever, recorded_wants, pb)
  File "/srv/importd.launchpad.net/production/launchpad-rev-8105/optionalbzrplugins/git/fetch.py", line 351, in import_git_objects
    parent_invs, target_git_object_retriever._idmap, lookup_object)
  File "/srv/importd.launchpad.net/production/launchpad-rev-8105/optionalbzrplugins/git/fetch.py", line 265, in import_git_tree
    bool(fs_mode & 0111), symlink)
  File "/srv/importd.launchpad.net/production/launchpad-rev-8105/optionalbzrplugins/git/fetch.py", line 166, in import_git_blob
    blob = lookup_object(hexsha)
  File "/srv/importd.launchpad.net/production/launchpad-rev-8105/optionalbzrplugins/git/fetch.py", line 336, in lookup_object
    return target_git_object_retriever[sha]
  File "/srv/importd.launchpad.net/production/launchpad-rev-8105/optionalbzrplugins/git/converter.py", line 195, in __getitem__
    (type, type_data) = self._lookup_git_sha(sha)
  File "/srv/importd.launchpad.net/production/launchpad-rev-8105/optionalbzrplugins/git/converter.py", line 191, in _lookup_git_sha
    self._update_sha_map()
  File "/srv/importd.launchpad.net/production/launchpad-rev-8105/optionalbzrplugins/git/converter.py", line 72, in _update_sha_map
    self._update_sha_map_revision(revid)
  File "/srv/importd.launchpad.net/production/launchpad-rev-8105/optionalbzrplugins/git/converter.py", line 94, 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 40c0d1ba5434b5c5d4f8b7ff6fedd1add5c03ce6, got b06a44fa824fe734cdffea78b07dc16f2c9bf39e
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.

Related branches

Jelmer Vernooij (jelmer) wrote :

I have a fix for this, working on tests

Changed in bzr-git:
assignee: nobody → Jelmer Vernooij (jelmer)
status: New → Fix Committed
Jelmer Vernooij (jelmer) on 2009-06-02
Changed in bzr-git:
status: Fix Committed → Fix Released
importance: Undecided → High
Jonathan Lange (jml) wrote :

This bug still affects Launchpad, I guess we need to rollout a new version of bzr-git.

Michael, has this been uploaded already, or is it something for the 2.2.7 rollout?

Changed in launchpad-code:
assignee: nobody → Michael Hudson (mwhudson)
importance: Undecided → Medium
status: New → Triaged
Michael Hudson-Doyle (mwhudson) wrote :

I had to delete the existing import -- the nature of the bug was that the initial import was incorrect -- but it's working now.

Changed in launchpad-code:
status: Triaged → Fix Released
Michael Kuhn (suraia) wrote :

@Michael Hudson: Could you also take a look at https://code.launchpad.net/~vcs-imports/sushi.nigiri/master and https://code.launchpad.net/~vcs-imports/sushi.tekka/master? They fail with a similar error message. Thanks!

Michael Hudson-Doyle (mwhudson) wrote :

Sure, I've made new imports for both of those and subscribed you to the branches.

We need to do a systematic round up of all the branches that failed like this...

m4v (m4v) wrote :

@Hudson
https://code.launchpad.net/~vcs-imports/scratbot/supybot seems to fail with the same msg

Ding Zhou (tualatrix) wrote :

Please help me to import, mime is still failed. Thanks.
https://code.launchpad.net/~vcs-imports/ubuntu-tweak/master

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers