Import of https://code.launchpad.net/~lyx-outline-devel/lyx/lyx_2.0.x not importing

Asked by Rainer

The branch

https://code.launchpad.net/~lyx-outline-devel/lyx/lyx_2.0.x

is not importing any more for the last 15 hours and gives an error message

Traceback (most recent call last):
  File "/srv/importd.launchpad.net/production/launchpad-rev-13265/scripts/code-import-worker.py", line 82, in <module>
    sys.exit(script.main())
  File "/srv/importd.launchpad.net/production/launchpad-rev-13265/scripts/code-import-worker.py", line 77, in main
    return import_worker.run()
  File "/srv/importd.launchpad.net/production/launchpad-rev-13265/lib/lp/codehosting/codeimport/worker.py", line 452, in run
    return self._doImport()
  File "/srv/importd.launchpad.net/production/launchpad-rev-13265/lib/lp/codehosting/codeimport/worker.py", line 596, in _doImport
    self.pushBazaarBranch(bazaar_branch)
  File "/srv/importd.launchpad.net/production/launchpad-rev-13265/lib/lp/codehosting/codeimport/worker.py", line 420, in pushBazaarBranch
    self.required_format)
  File "/srv/importd.launchpad.net/production/launchpad-rev-13265/lib/lp/codehosting/codeimport/worker.py", line 140, in push
    remote_branch.repository.fetch(bzr_branch.repository)
  File "/srv/importd.launchpad.net/production/launchpad-rev-13265/eggs/bzr-2.3.3-py2.6-linux-x86_64.egg/bzrlib/repository.py", line 1781, in fetch
    find_ghosts=find_ghosts, fetch_spec=fetch_spec)
  File "<string>", line 4, in fetch_write_locked
  File "/srv/importd.launchpad.net/production/launchpad-rev-13265/eggs/bzr-2.3.3-py2.6-linux-x86_64.egg/bzrlib/repository.py", line 3437, in fetch
    find_ghosts=find_ghosts)
  File "/srv/importd.launchpad.net/production/launchpad-rev-13265/eggs/bzr-2.3.3-py2.6-linux-x86_64.egg/bzrlib/fetch.py", line 73, in __init__
    self.__fetch()
  File "/srv/importd.launchpad.net/production/launchpad-rev-13265/eggs/bzr-2.3.3-py2.6-linux-x86_64.egg/bzrlib/fetch.py", line 99, in __fetch
    self._fetch_everything_for_search(search)
  File "/srv/importd.launchpad.net/production/launchpad-rev-13265/eggs/bzr-2.3.3-py2.6-linux-x86_64.egg/bzrlib/fetch.py", line 133, in _fetch_everything_for_search
    stream, from_format, resume_tokens)
  File "/srv/importd.launchpad.net/production/launchpad-rev-13265/eggs/bzr-2.3.3-py2.6-linux-x86_64.egg/bzrlib/repository.py", line 4105, in insert_stream
    hint = self.target_repo.commit_write_group()
  File "/srv/importd.launchpad.net/production/launchpad-rev-13265/eggs/bzr-2.3.3-py2.6-linux-x86_64.egg/bzrlib/repository.py", line 1640, in commit_write_group
    result = self._commit_write_group()
  File "/srv/importd.launchpad.net/production/launchpad-rev-13265/eggs/bzr-2.3.3-py2.6-linux-x86_64.egg/bzrlib/repofmt/pack_repo.py", line 2333, in _commit_write_group
    hint = self._pack_collection._commit_write_group()
  File "/srv/importd.launchpad.net/production/launchpad-rev-13265/eggs/bzr-2.3.3-py2.6-linux-x86_64.egg/bzrlib/repofmt/pack_repo.py", line 2188, in _commit_write_group
    resumed_pack.finish()
  File "/srv/importd.launchpad.net/production/launchpad-rev-13265/eggs/bzr-2.3.3-py2.6-linux-x86_64.egg/bzrlib/repofmt/pack_repo.py", line 324, in finish
    self.upload_transport.rename(old_name, new_name)
  File "/srv/importd.launchpad.net/production/launchpad-rev-13265/eggs/bzr-2.3.3-py2.6-linux-x86_64.egg/bzrlib/transport/sftp.py", line 753, in rename
    ': unable to rename to %r' % (rel_to))
  File "/srv/importd.launchpad.net/production/launchpad-rev-13265/eggs/bzr-2.3.3-py2.6-linux-x86_64.egg/bzrlib/transport/sftp.py", line 716, in _translate_io_exception
    raise failure_exc(path, str(e) + more_info)
bzrlib.errors.PathError: Generic path error: '4d28ec951c2cd6f54f2f6567909f2054.rix': Failure: unable to rename to '../indices/4d28ec951c2cd6f54f2f6567909f2054.rix')
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.

The full log is at

http://launchpadlibrarian.net/74011932/lyx-outline-devel-lyx-lyx_2.0.x.log

Cheers,

Rainer

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
[LEGACY] Canonical WebOps Edit question
Last query:
Last reply:
Revision history for this message
Gary Poster (gary) said :
#1

We're working on this.

Revision history for this message
Gary Poster (gary) said :
#2

Notes for the next CHR person:

abentley looked at the error. He saw two issues.

1) "This looks like a timeout. The import system kills timed-out workers with SIGINT. I think what's happening is that repacking is taking too long and not giving enough progress updates, so the import system concludes that it's hung. [T]his could probably be fixed by having a LOSA manually issue "bzr pack" on the branch."

2) "...[T]he following failures were different. e.g. bzrlib.errors.PathError: Generic path error: '4d28ec951c2cd6f54f2f6567909f2054.rix': Failure: unable to rename to '../indices/4d28ec951c2cd6f54f2f6567909f2054.rix' You'd have to get a losa to examine the branch, but I suspect the repository is broken. Probably has an ../indices/4d28ec951c2cd6f54f2f6567909f2054.rix without the rest of the related files."

I had a few tasks following this discussion. For the immediate problem with this branch, get a LOSA to try bzr pack, and then to try deleting the branch. For the longer term problems, file bugs (from abentley again: "There are at least two bugs; the repack timeout, and the inability to continue after the repack timeout.").

I went to LOSAs, asking them to find the branch and then do the following. "...[F]irst try a bzr pack. If that works, stop--let's see if that makes things better. If not, please delete the repo for that import, and we'll hope it is better.". gnuoy responded and tried unsuccessfully to find the branch on the machine. abentley shared my impression that it should exist despite the import failing, but was not confident. gnuoy EoD'd and no other LOSAs are available until Monday.

Suggested follow-ups to next CHR:

 - File two bugs per abentley's descriptions above.
 - Contact LOSAs Monday morning to pursue the steps I asked for (find branch, try bzr pack, and then delete the repo if that doesn't work/doesn't help)
 - If LOSA cannot find branch, contact mwhudson or thumper and ask for assistance.

Revision history for this message
Rainer (rainer-krugs) said :
#3

Any news on this issue?

Rainer

Revision history for this message
Gary Poster (gary) said :
#4

We have verified that the branch does not exist, and so we cannot pursue the bzr pack or repo deletion strategies. The next step is to contact mwhudson or thumper and ask for assistance, which I am doing now.

Revision history for this message
Stefan Stasik (stefan-stasik) said :
#5

Hello: after getting some direction from Gary (thanks again), we found the offending branch on our servers, did a bzr pack, and re-tried the import, and that seemed to work fine.

The Branch should be imported and stay synced properly now.

Regards, Stefan

Revision history for this message
Gary Poster (gary) said :
#6

Can you help with this problem?

Provide an answer of your own, or ask Rainer for more information if necessary.

To post a message you must log in.