Diff for "VcsImportRequests"

Not logged in - Log In / Register

Differences between revisions 232 and 238 (spanning 6 versions)
Revision 232 as of 2007-11-15 12:08:39
Size: 37416
Editor: 62-31-157-102
Comment:
Revision 238 as of 2008-01-04 17:00:24
Size: 36991
Editor: 62-31-157-102
Comment:
Deletions are marked like this. Additions are marked like this.
Line 68: Line 68:
> > > * Don't rely on listdir() kind results. Fixes imports of several  > > > * Don't rely on listdir() kind results. Fixes imports of several
Line 99: Line 99:
 
Line 146: Line 146:
 * nobody: [https://launchpad.net/products/ubuntu-tweak/0.2 ubuntu-tweak/0.2] [[BR]] http://ubuntu-tweak.googlecode.com/svn/trunk [[BR]] [[Date(2007-11-15T12:14:18Z)]]

 * nobody: [https://launchpad.net/products/flax/trunk flax/trunk] [[BR]] http://flaxcode.googlecode.com/svn/trunk [[BR]] [[Date(2007-11-27T10:12:42Z)]]
Line 148: Line 152:
cscvs uses the svn_client API to libsvn to retrieve data (on [[Date(2006-11-09T14:31:29Z)]]), but does not correctly uri-encode locations. So file names that contain characters that must be escaped cause import failures.

 * nobody: [https://launchpad.net/products/dcsharp/trunk dcsharp/trunk] [[BR]] [[Date(2006-11-09T14:31:29Z)]]

 * nobody: [https://launchpad.net/products/wxmsn/trunk wxmsn/trunk] [[BR]] [[Date(2006-11-09T14:34:42Z)]]

 * nobody: [https://launchpad.net/products/tmw/trunk tmw/trunk] [[BR]] https://svn.sourceforge.net/svnroot/themanaworld/tmw/trunk [[BR]] [[[Date(2006-09-29T15:57:33Z)]]]

 * nobody: [https://launchpad.net/pychess/trunk pychess/trunk] [[BR]] http://pychess.googlecode.com/svn/trunk [[BR]] [[Date(2007-02-15T16:52:47Z)]]
This is [https://bugs.edge.launchpad.net/launchpad-cscvs/+bug/69517 bug 69517] which is fixed at long last.
Line 159: Line 155:
   * Completed now, would like to contact johnmark somehow.
Line 161: Line 158:

 * nobody: [https://launchpad.net/presbyterysite/trunk presbyterysite/trunk] [[BR]] :pserver:cvsread@cvs.php.net:/repository [[BR]] [[Date(2007-04-30T16:07:03Z)]]

 * nobody: [https://launchpad.net/sound-juicer/main sound-juicer/main] [[BR]] http://svn.gnome.org/svn/sound-juicer/trunk [[BR]] [[Date(2007-06-04T18:13:10Z)]]
  * `pysvn._pysvn.ClientError: URL 'http://svn.gnome.org/svn/sound-juicer/trunk/help/sound-juicer/nl/figures ' non-existent in that revision`

 * nobody: [https://launchpad.net/products/wired/trunk wired/trunk] [[BR]] https://wired.svn.sourceforge.net/svnroot/wired/trunk/wired [[BR]] [[Date(2007-09-27T08:11:22Z)]]
  * A file called .#Makefile.in.1.4

 * [https://answers.edge.launchpad.net/~frederik-carlier Frederik Carlier]: [https://launchpad.net/products/opendental/trunk opendental/trunk] [[BR]] https://70.90.133.65:23793/svn/opendental/head [[BR]] [[Date(2007-10-16T22:02:30Z)]]
  * A directory called "Forms Reports"
   * Scared to try this :)
Line 273: Line 260:
 * nobody: [https://launchpad.net/products/freedroid/trunk freedroid/trunk] [[BR]] http://freedroid.svn.sourceforge.net/svnroot/freedroid [[BR]] [[Date(2008-01-04T17:00:24Z)]]
Line 371: Line 360:

 * nobody: [https://launchpad.net/products/pedagogy-planner/trunk pedagogy-planner/trunk] [[BR]] svn+ssh://unix.rn.informatics.scitech.sussex.ac.uk/research/hct/ideas/riddles/darren/svnroots/lpp/trunk/java [[BR]] [[Date(2007-11-15T12:14:18Z)]]

 * nobody: [https://launchpad.net/products/ereports/trunk ereports/trunk] [[BR]] http://tools.assembla.com/svn/ccD8lSyLCr3lfrabIlDkbG [[BR]] [[Date(2007-11-15T12:14:18Z)]]

 * nobody: [https://launchpad.net/products/warsow/0.4 warsow/0.4] [[BR]] svn://70.86.44.155/warsow/trunk [[BR]] [[Date(2008-01-04T17:00:24Z)]]
Line 559: Line 554:
 * nobody: [https://launchpad.net/products/blasterclient/trunk blasterclient/trunk] [[BR]] https://blasterclientv4.svn.sourceforge.net/svnroot/blasterclientv4 [[BR]] [[Date(2007-09-03T13:17:41Z)]]   * nobody: [https://launchpad.net/products/blasterclient/trunk blasterclient/trunk] [[BR]] https://blasterclientv4.svn.sourceforge.net/svnroot/blasterclientv4 [[BR]] [[Date(2007-09-03T13:17:41Z)]]
Line 573: Line 568:
   Fails with {{{E cvs [rlog aborted]: unexpected '\x0' reading revision number in RCS file /lustre/lustre-core/demos/Attic/snaprest.sh,v}}} after 18 megs of output.    Fails with
  
{{{
   
E cvs [rlog aborted]: unexpected '\x0' reading revision number in RCS file /lustre/lustre-core/demos/Attic/snaprest.sh,v
   
}}}
  
after 18 megs of output.
Line 577: Line 576:
   Fails with {{{E lock.c:223: failed assertion `strncmp (repository, current_parsed_root->directory, strlen (current_parsed_root->directory)) == 0'
E cvs [rlog aborted]: received abort signal}}}, quite rapidly.
   Fails with
  
{{{
   
E lock.c:223: failed assertion `strncmp (repository, current_parsed_root->directory, strlen (current_parsed_root->directory)) == 0'
   E cvs [rlog aborted]: received abort signal
   
}}}
  
quite rapidly.

This page tracks requests for actions from the vcs-imports operator.

To request an import, please see the instructions on VcsImports.

Note that we only do imports of MAIN branches on CVS (the form will have to be updated to remove the "branch" field) and trunk branches on Subversion.

We will handle your request and keep you informed of progress or issues. You can contact the vcs-imports operator: ddaa in #launchpad on irc.freenode.net.

Template to request an import:


TableOfContents()


Incoming

Open requests

Imports that need intervention from the vcs-imports operator.

In progress

Imports being processed.

Blocked

Imports that are currently failing, and for which no fix is currently being worked on.

[svn] svn_subst_translate_stream3

Imports that failed with the following error:

python2.4: /build/buildd/subversion-1.3.1/subversion/libsvn_subr/subst.c:809: svn_subst_translate_stream3: Assertion `eol_str || keywords' failed.
process killed by signal 6

It looks like a problem in the svn code for keyword expansion.

[svn] bogus repository root detection

[https://bugs.launchpad.net/bugs/156744 Bug 156744].

[svn] unreliable server

The current svn import code makes many connections and does not retry when one fails. If the server is in the least unreliable (one failure every few thousand attempts to create a session) that will cause the import to fail.

See [https://launchpad.net/bugs/120992 bug 120992] (use persistent svn_ra sessions and reconnect on failure).

It could be that some of these failures are caused by another specific bug. From a discussion with Jelmer:

> > >    * Don't rely on listdir() kind results. Fixes imports of several
> > >      repositories. (#56647)
> > I'm curious about this bug. Can you tell me more?
> It turned out that the .kind member of dirents returned by
> svn.ra.get_dir2() is (semi-?)random when used against older Subversion
> servers. It would occasionally be 1 (svn.core.svn_node_file) even though
> the entry in question was a directory. This took me a while to track
> down. Instead, I've switched to always trying to open something as a
> directory and catching the appropriate exception that indicates it's a
> file.

That's very interesting. A number of Launchpad imports fail in a not-deterministic way with "failed REPORT". Currently I just classify those failures as "unreliable server", but I was puzzled by a pattern I noticed: the failures did not happen in a really random way.

It might be the same bug.

[svn] missing uri-encoding

This is [https://bugs.edge.launchpad.net/launchpad-cscvs/+bug/69517 bug 69517] which is fixed at long last.

[svn] import stalls, or is too slow

The import system will kill any job that does produce output for "a long time" (4 hours, at time of writing, on Date(2007-02-15T17:32:46Z)). So if, for some reason, an import does not report progress for a long time, either because it is stuck or because it is really slow, it will fail.

[cvs] failed to open the modules file

cscvs needs to read the modules file to ignore configs (aka externals, nested trees).

$ cvs -d :pserver:guest:guest@mozdev.org:/cvs co -c
cvs [checkout aborted]: failed to open the modules file

Anchor(cvs-file-added-on-branch)

[cvs] file created by merge

Relevant fragment of the cvs log:

$ cvs rlog epiphany/data\/ui/epiphany-toolbar.xml.in

RCS file: /cvs/gnome/epiphany/data/ui/Attic/epiphany-toolbar.xml.in,v
head: 1.17
branch:
locks: strict
access list:
symbolic names:
[...]
        eog-menu-api: 1.1.0.2
keyword substitution: kv
total revisions: 19;    selected revisions: 19
description:
----------------------------
[...]
----------------------------
revision 1.2
date: 2003/01/20 18:57:15;  author: mpeseng;  state: Exp;  lines: +15 -0
2003-01-20  Marco Pesenti Gritti  <marco@it.gnome.org>

        * Merge eog-menu-api branch
----------------------------
revision 1.1
date: 2003/01/20 17:53:25;  author: mpeseng;  state: dead;
branches:  1.1.2;
file epiphany-toolbar.xml.in was initially added on branch eog-menu-api.
----------------------------
revision 1.1.2.1
date: 2003/01/20 17:53:25;  author: mpeseng;  state: Exp;  lines: +15 -0
implement context menus
----------------------------
[...]

[svn] Cannot import whole repository

The svn import code fails at processing imports at the root of a svn repository. Some repository are set up that way, with the actual root containing the source code. That's broken, but people actually do this.

See bug [https://bugs.edge.launchpad.net/launchpad-cscvs/+bug/145240 145240].

https://pygx.svn.sourceforge.net/svnroot/pygx BR Date(2007-09-26T14:53:06Z)

Anchor(squid)

[cvs] None branch in findLastFileRevision

While creating changesets: assertion error, branchName is None in findLastFileRevision CVS/CacheGenerator.py:160

It looks like it means something is really busted with filler revisions and default branches.

File name not supported by bzr

This is [https://bugs.launchpad.net/bzr/+bug/58180 bzr bug #58180]. When/if that gets fixed, all these could be retried.

[cvs] Absurd filler revision

Anchor(xrms)

  • nobody: [https://launchpad.net/products/xrms/trunk xrms/trunk] BR :pserver:anonymous@xrms.cvs.sourceforge.net:/cvsroot/xrms/ xrms BR [Date(2006-09-29T21:20:41Z)]

    • on changeset MAIN.4167: BR CRITICAL: requested checkout of reporoot '/cvsroot/xrms', file 'xrms/include/adodb/pear/Attic/readme.Auth.txt', revision '1.1.1.2' BR CRITICAL: log of checkout responses follow. BR CRITICAL: "E cvs checkout: cannot find module BR `xrms/include/adodb/pear/Attic/readme.Auth.txt' - ignored\n" BR CRITICAL: 'error \n'

    • cscvs creates a filler changeset 1.1->1.1.1.2 for include/adodb/pear/readme.Auth.txt, but there is no revision 1.1.1.2 for that file. The cvs rlog shows revision 1.1 (branches: 1.1.1) used in changeset MAIN.915, revision 1.1.1.1, not used by cscvs. The cvs log header for that file reads "head: 1.1" and "branch: 1.1.1".

lifeless suggests:

(15:28:25) lifeless: I'd do a search in the file revision table for that file, all revisions, see what cscvs is thinking happened to it
(15:29:45) ddaa: you suggest it might be a problem in the log parser and checking the catalog contents would help narrowing the cause of the problem?
(15:33:11) lifeless: something is inventing the .2
(15:33:22) lifeless: if its in the catalog then the catalog generator can be checked
(15:33:42) lifeless: if its not in the catalog then the application-of-changesets can be checked
(15:33:45) lifeless: it will narrow it down
(15:34:03) lifeless: As its a very small rlog I'd make a test case from it
  • [https://launchpad.net/people/jordi jordi]: [https://launchpad.net/products/gtetrinet/trunk gtetrinet/trunk] BR :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome gtetrinet BR Date(2006-11-30T17:27:49Z)

    • on changeset MAIN.394 BR CRITICAL: requested checkout of reporoot '/cvs/gnome', file 'gtetrinet/src/Attic/tetris.h', revision '1.15.2.2' BR CRITICAL: log of checkout responses follow. BR CRITICAL: "E cvs server: cannot find module `gtetrinet/src/Attic/tetris.h' - ignored\n" BR CRITICAL: 'error \n'

    • cscvs creates a filler changeset 1.1->1.15.2.2 for gtetrinet/src/tetris.h but the log of that file only has revisions 1.1, 1.1.1.1, 1.1.1.1.2.2, 1.1.1.1.2.1.

[cvs] Checkout gave no file data

Anchor(tomboy)

WARNING: N changeset MAIN.745
CRITICAL: checkout did not give file data and did not indicate file was removed.
CRITICAL: requested checkout of reporoot '/cvs/gnome', file 'tomboy/www/img/intro.gif', revision '1.1'
CRITICAL: log of checkout responses follow.
CRITICAL: 'ok\n'

The cscvs log for this changeset:

ChangeSet: 745
Author: orph
Date: 2004/09/18 08:52:21
Branch: MAIN
CVSDefaultFiller
Revisions:
        F www/img/intro.gif [1.1->1.1] +0-0

Filler changeset 1.1->1.1

[svn] repository password protected

[svn] svn:special with bad file content

http://ascendsvn.cheme.cmu.edu/ascend/code/trunk/pygtk/interface/config.guess@416 has svn:special set but contains real source, instead of special content.

[svn] ClientError: Code: 00020f58

Cryptic and mysterious error from libsvn. Completely reproducible.

Failure reproduced on Date(2007-04-05T17:54:02Z).

WARNING: change 166
Traceback (most recent call last):
  File "/home/importd/dists/launchpad/lib/importd/CommandLineRunner.py", line 67, in ?
    main()
  File "/home/importd/dists/launchpad/lib/importd/CommandLineRunner.py", line 64, in main
    doer.runMethod(method, dirname)
  File "/home/importd/dists/launchpad/lib/importd/CommandLineRunner.py", line 57, in runMethod
    getattr(self._job, method)(logger=self.logger, dir=dirname)
  File "/home/importd/dists/launchpad/lib/importd/Job.py", line 188, in runJob
    strategy(self, dir, logger)
  File "/home/importd/dists/launchpad/lib/importd/JobStrategy.py", line 102, in Import
    self.runtobaz("-SI", "%s.1" % aJob.branchfrom, target_path, logger)
  File "/home/importd/dists/launchpad/lib/importd/JobStrategy.py", line 86, in runtobaz
    totla.totla(config, logger, config.args, self.sourceTree())
  File "/home/importd/dists/launchpad/lib/cscvs/cmds/totla.py", line 261, in totla
    apply_changeset(source_tree, logger, apply, revision, target_tree, revisions)
  File "/home/importd/dists/launchpad/lib/cscvs/cmds/totla.py", line 129, in apply_changeset
    fileChange.apply(logger, target_tree, prune)
  File "/home/importd/dists/launchpad/lib/svn_oo/PresentFile.py", line 27, in apply
    self.url(), self.revision)
  File "/home/importd/dists/launchpad/lib/svn_oo/util.py", line 90, in writeFile
    client.cat(url, revision=revision.rev),
pysvn._pysvn.ClientError: Code: 00020f58
program finished with exit code 1

Anchor(ext-method)

[cvs] unsupported connection method 'ext'

Regression in cscvs for the support of the :ext: connection method. Example traceback:

WARNING: CVS checkout: ['cvs', '-q', '-d', ':ext:anoncvs@anoncvs.mindrot.org:/cvs', 'co', '-Pd', 'cvsworking', 'openssh']
WARNING: checking out: 32 kB
WARNING: checking out: 1380 kB
WARNING: checking out: 2892 kB
CRITICAL: Repository base not available -- catalog created with an older cscvs? Rebuilding
ERROR: protocol initialisation failed: Error: unsupported connection method 'ext'
Traceback (most recent call last):
  File "/home/importd/dists/launchpad/lib/importd/CommandLineRunner.py", line 67, in ?
    main()
[...]
  File "/srv/importd.ubuntu.com/dists/launchpad/lib/CVS/__init__.py", line 620, in newCatalog
    if self.repository().protocol() is not None:
  File "/srv/importd.ubuntu.com/dists/launchpad/lib/CVS/__init__.py", line 335, in protocol
    self._initProtocol()
  File "/srv/importd.ubuntu.com/dists/launchpad/lib/CVS/__init__.py", line 278, in _initProtocol
    self._protocol.initialiseServer()
  File "/srv/importd.ubuntu.com/dists/launchpad/lib/CVS/__init__.py", line 1114, in initialiseServer
    self._sendList([ "Root %s" % self._repository,
  File "/srv/importd.ubuntu.com/dists/launchpad/lib/CVS/__init__.py", line 1045, in _sendList
    self._connection.writeline(line);
  File "/srv/importd.ubuntu.com/dists/launchpad/lib/CVS/protocol.py", line 393, in writeline
    self._get_write_pipe().write("%s\n" % line)
  File "/srv/importd.ubuntu.com/dists/launchpad/lib/CVS/protocol.py", line 320, in _get_write_pipe
    return self._get_pipes()[1]
  File "/srv/importd.ubuntu.com/dists/launchpad/lib/CVS/protocol.py", line 310, in _get_pipes
    raise Connection.Error(
CVS.protocol.Error: unsupported connection method 'ext'

Problems with unicode filename

https://bugs.launchpad.net/launchpad-cscvs/+bug/114034

  File "/home/importd/dists/launchpad/lib/svn_oo/util.py", line 80, in addFile
    writeFile(target_tree, relpath, url, revision)
  File "/home/importd/dists/launchpad/lib/svn_oo/util.py", line 91, in writeFile
    filemode(url, revision))
  File "/home/importd/dists/launchpad/lib/SCM/__init__.py", line 203, in write_file_breaking_links
    os.unlink(newname)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa7' in position 96: ordinal not in range(128)

[svn] failed to find repository root

Unknown failures

Failed to fork, memory error

Some large imports fail to os.fork() (when spawning gpg to sign a revision) with "OSError: [Errno 12] Cannot allocate memory". It's not clear why that happen, since Linux should overcommit memory up to 50x (the value of /proc/sys/vm/overcommit_ratio) and allow large processes like cscvs to spawn small processes like gpg.

[svn] mystery 403

It may be that the server has DOS protection, and thinks we're attacking it.

WARNING: N changeset 531
Traceback (most recent call last):
  File "/home/importd/dists/launchpad/lib/importd/CommandLineRunner.py", line 67, in ?
    main()
  File "/home/importd/dists/launchpad/lib/importd/CommandLineRunner.py", line 64, in main
    doer.runMethod(method, dirname)
  File "/home/importd/dists/launchpad/lib/importd/CommandLineRunner.py", line 57, in runMethod
    getattr(self._job, method)(logger=self.logger, dir=dirname)
  File "/srv/importd.ubuntu.com/dists/launchpad/lib/importd/Job.py", line 188, in runJob
    strategy(self, dir, logger)
  File "/srv/importd.ubuntu.com/dists/launchpad/lib/importd/JobStrategy.py", line 108, in Import
    self._importIncrementally(target_path)
  File "/srv/importd.ubuntu.com/dists/launchpad/lib/importd/JobStrategy.py", line 153, in _importIncrementally
    self.runtobaz("-SC", "%s::" % lastCommit, target_path, self.logger)
  File "/srv/importd.ubuntu.com/dists/launchpad/lib/importd/JobStrategy.py", line 86, in runtobaz
    totla.totla(config, logger, config.args, self.sourceTree())
  File "/srv/importd.ubuntu.com/dists/launchpad/lib/cscvs/cmds/totla.py", line 252, in totla
    apply_changeset(source_tree, logger, apply, revision, target_tree, revisions)
  File "/srv/importd.ubuntu.com/dists/launchpad/lib/cscvs/cmds/totla.py", line 122, in apply_changeset
    fileChange.apply(logger, target_tree, prune)
  File "/srv/importd.ubuntu.com/dists/launchpad/lib/svn_oo/PatchedFile.py", line 31, in apply
    svn_oo.util.writeFile(
  File "/srv/importd.ubuntu.com/dists/launchpad/lib/svn_oo/util.py", line 91, in writeFile
    filemode(url, revision))
  File "/srv/importd.ubuntu.com/dists/launchpad/lib/svn_oo/util.py", line 42, in filemode
    proplist = client.propget('svn:executable', url, revision=revision.rev)
pysvn._pysvn.ClientError: PROPFIND request failed on '/parrot/trunk/t/op/time.t'
PROPFIND of '/parrot/trunk/t/op/time.t': 403 Forbidden (http://svn.perl.org)

Problems with filename containing ..

The programmatic API for adding files to a tree has different expectations than the user friendly API the command line uses ([https://bugs.launchpad.net/bzr/+bug/132639 bug 132639]). Depending on how this bug gets resolved, the following import could be retried after it is fixed.

[svn] cannot easily import from a url that does not contain 'trunk'

(see [https://bugs.launchpad.net/launchpad-bazaar/+bug/130883 bug 130883], which should be fixed very soon).

cvs rlog fails

This means the server/repo is broken.

Fix in progress

Failures for which a fix is currently being worked on.

VcsImportRequests (last edited 2021-05-27 14:19:59 by cjwatson)