[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: cvs2svn: run-tests.py does not work on Win32

From: Erik Huelsmann <e.huelsmann_at_gmx.net>
Date: 2004-01-02 19:53:39 CET

> Erik Huelsmann wrote:
> > The cvs2svn.py test-script does not run (successfully) on Win32. Should
> I
> > file an issue for this?
>
> It used to. Can you give a little detail about the nature of the failure,
> to
> discuss here, before filing an issue?

Ah, yeah. sure. Sorry for the vague report.

In order to test some of the extentions I wanted to do to the script I
wanted to have a testing environment on Win32 too. So I:

- installed WinXP
- downloaded ActiveState Python 2.3.2 build 232 (coincidence)
- downloaded Subversion 0.35.1
- downloaded TortoiseSVN 0.24
- downloaded RCS 5.7 from ftp.leo.org

And installed all of the above. Then I checked out Subversion trunk HEAD.
(At first to My Documents, but the run-tests.py script does not seem to
tolerate that, since there is a space in the name of the repositories then. After
that I checked out to \Subversion which *did* work for run-tests.py)

I put co.exe from the RCS package in the directory with cvs2svn.py.

Then I ran the run-tests.py test script which generated the following
output:

PASS: run-tests.py 1: cvs2svn with no arguments shows usage
PASS: run-tests.py 2: fail on encountering an invalid symbolic name
PASS: run-tests.py 3: fail early on encountering a branch with two names
FAIL: run-tests.py 4: detection of the executable flag
PASS: run-tests.py 5: conversion of filename with a space
PASS: run-tests.py 6: two commits in quick succession
Revision 7 failed to remove '/trunk/full-prune/first'.
FAIL: run-tests.py 7: prune, but never too much
FAIL: run-tests.py 8: simple trunk commits
FAIL: run-tests.py 9: two interleaved trunk commits, different log msgs
FAIL: run-tests.py 10: simple tags
FAIL: run-tests.py 11: simple branch commits
FAIL: run-tests.py 12: a commit affecting both trunk and a branch
Even the valid good,v was not converted.
FAIL: run-tests.py 13: convert as much as can, despite a corrupt ,v file
Revision 4 not as expected.
FAIL: run-tests.py 14: convert a branch file rooted in a 'dead' revision
Revision 1 of 'ctrl-char-in-log,v' was not converted successfully.
FAIL: run-tests.py 15: handle a control char in a log message
PASS: run-tests.py 16: handle tags rooted in a redeleted revision
FAIL: run-tests.py 17: file deleted twice, in the root of the repository
PASS: run-tests.py 18: branch created from both trunk and another branch
PASS: run-tests.py 19: resyncing should not misorder commit groups

Which is what caused me to send the bugreport above. The log below shows
the output of the test script with the --verbose flag. Now that I'm looking at
the output again, I start to think this has to do with the virusscanner
problems... (trying to run with virusscanner disabled now...: Nope still the same
problem)

bye,

Erik.

CMD: python "J:\Subversion\tools\cvs2svn\cvs2svn.py" <TIME = 1.375000>
PASS: run-tests.py 1: cvs2svn with no arguments shows usage
CMD: python "J:\Subversion\tools\cvs2svn\cvs2svn.py" "--create" "-s"
"bogus-tag-svnrepos" "J:\Subversion\tools\cvs2svn\test-data\bogus-tag-cvsrepos"
<TIME = 0.985000>
PASS: run-tests.py 2: fail on encountering an invalid symbolic name
CMD: python "J:\Subversion\tools\cvs2svn\cvs2svn.py" "--create" "-s"
"overlapping-branch-svnrepos"
"J:\Subversion\tools\cvs2svn\test-data\overlapping-branch-cvsrepos" <TIME = 0.937000>
PASS: run-tests.py 3: fail early on encountering a branch with two names
UNEXPECTED EXCEPTION:
Traceback (most recent call last):
  File "J:\Documents and Settings\Erik\Mijn
documenten\Subversion\subversion\tests\clients\cmdline\svntest\testcase.py", line 101, in run
    rc = apply(self.pred.func, args)
  File "J:\Subversion\tools\cvs2svn\run-tests.py", line 370, in attr_exec
    repos, wc, logs = ensure_conversion('main')
  File "J:\Subversion\tools\cvs2svn\run-tests.py", line 295, in
ensure_conversion
    erase(wc)
  File "J:\Subversion\tools\cvs2svn\run-tests.py", line 238, in erase
    shutil.rmtree(path)
  File "J:\Python23\lib\shutil.py", line 140, in rmtree
    raise exc[0], (exc[1][0], exc[1][1] + ' removing '+arg)
OSError: [Errno 13] Permission denied removing main-wc\.svn\README.txt
FAIL: run-tests.py 4: detection of the executable flag
UNEXPECTED EXCEPTION:
Traceback (most recent call last):
  File "J:\Documents and Settings\Erik\Mijn
documenten\Subversion\subversion\tests\clients\cmdline\svntest\testcase.py", line 101, in run
    rc = apply(self.pred.func, args)
  File "J:\Subversion\tools\cvs2svn\run-tests.py", line 378, in space_fname
    repos, wc, logs = ensure_conversion('main')
  File "J:\Subversion\tools\cvs2svn\run-tests.py", line 295, in
ensure_conversion
    erase(wc)
  File "J:\Subversion\tools\cvs2svn\run-tests.py", line 238, in erase
    shutil.rmtree(path)
  File "J:\Python23\lib\shutil.py", line 140, in rmtree
    raise exc[0], (exc[1][0], exc[1][1] + ' removing '+arg)
OSError: [Errno 13] Permission denied removing main-wc\.svn\README.txt
FAIL: run-tests.py 5: conversion of filename with a space
UNEXPECTED EXCEPTION:
Traceback (most recent call last):
  File "J:\Documents and Settings\Erik\Mijn
documenten\Subversion\subversion\tests\clients\cmdline\svntest\testcase.py", line 101, in run
    rc = apply(self.pred.func, args)
  File "J:\Subversion\tools\cvs2svn\run-tests.py", line 386, in two_quick
    repos, wc, logs = ensure_conversion('main')
  File "J:\Subversion\tools\cvs2svn\run-tests.py", line 295, in
ensure_conversion
    erase(wc)
  File "J:\Subversion\tools\cvs2svn\run-tests.py", line 238, in erase
    shutil.rmtree(path)
  File "J:\Python23\lib\shutil.py", line 140, in rmtree
    raise exc[0], (exc[1][0], exc[1][1] + ' removing '+arg)
OSError: [Errno 13] Permission denied removing main-wc\.svn\README.txt
FAIL: run-tests.py 6: two commits in quick succession
UNEXPECTED EXCEPTION:
Traceback (most recent call last):
  File "J:\Documents and Settings\Erik\Mijn
documenten\Subversion\subversion\tests\clients\cmdline\svntest\testcase.py", line 101, in run
    rc = apply(self.pred.func, args)
  File "J:\Subversion\tools\cvs2svn\run-tests.py", line 427, in
prune_with_care
    repos, wc, logs = ensure_conversion('main')
  File "J:\Subversion\tools\cvs2svn\run-tests.py", line 295, in
ensure_conversion
    erase(wc)
  File "J:\Subversion\tools\cvs2svn\run-tests.py", line 238, in erase
    shutil.rmtree(path)
  File "J:\Python23\lib\shutil.py", line 140, in rmtree
    raise exc[0], (exc[1][0], exc[1][1] + ' removing '+arg)
OSError: [Errno 13] Permission denied removing main-wc\.svn\README.txt
FAIL: run-tests.py 7: prune, but never too much
UNEXPECTED EXCEPTION:
Traceback (most recent call last):
  File "J:\Documents and Settings\Erik\Mijn
documenten\Subversion\subversion\tests\clients\cmdline\svntest\testcase.py", line 101, in run
    rc = apply(self.pred.func, args)
  File "J:\Subversion\tools\cvs2svn\run-tests.py", line 469, in
simple_commits
    repos, wc, logs = ensure_conversion('main')
  File "J:\Subversion\tools\cvs2svn\run-tests.py", line 295, in
ensure_conversion
    erase(wc)
  File "J:\Subversion\tools\cvs2svn\run-tests.py", line 238, in erase
    shutil.rmtree(path)
  File "J:\Python23\lib\shutil.py", line 140, in rmtree
    raise exc[0], (exc[1][0], exc[1][1] + ' removing '+arg)
OSError: [Errno 13] Permission denied removing main-wc\.svn\README.txt
FAIL: run-tests.py 8: simple trunk commits
UNEXPECTED EXCEPTION:
Traceback (most recent call last):
  File "J:\Documents and Settings\Erik\Mijn
documenten\Subversion\subversion\tests\clients\cmdline\svntest\testcase.py", line 101, in run
    rc = apply(self.pred.func, args)
  File "J:\Subversion\tools\cvs2svn\run-tests.py", line 513, in
interleaved_commits
    repos, wc, logs = ensure_conversion('main')
  File "J:\Subversion\tools\cvs2svn\run-tests.py", line 295, in
ensure_conversion
    erase(wc)
  File "J:\Subversion\tools\cvs2svn\run-tests.py", line 238, in erase
    shutil.rmtree(path)
  File "J:\Python23\lib\shutil.py", line 140, in rmtree
    raise exc[0], (exc[1][0], exc[1][1] + ' removing '+arg)
OSError: [Errno 13] Permission denied removing main-wc\.svn\README.txt
FAIL: run-tests.py 9: two interleaved trunk commits, different log msgs
UNEXPECTED EXCEPTION:
Traceback (most recent call last):
  File "J:\Documents and Settings\Erik\Mijn
documenten\Subversion\subversion\tests\clients\cmdline\svntest\testcase.py", line 101, in run
    rc = apply(self.pred.func, args)
  File "J:\Subversion\tools\cvs2svn\run-tests.py", line 576, in simple_tags
    repos, wc, logs = ensure_conversion('main')
  File "J:\Subversion\tools\cvs2svn\run-tests.py", line 295, in
ensure_conversion
    erase(wc)
  File "J:\Subversion\tools\cvs2svn\run-tests.py", line 238, in erase
    shutil.rmtree(path)
  File "J:\Python23\lib\shutil.py", line 140, in rmtree
    raise exc[0], (exc[1][0], exc[1][1] + ' removing '+arg)
OSError: [Errno 13] Permission denied removing main-wc\.svn\README.txt
FAIL: run-tests.py 10: simple tags
UNEXPECTED EXCEPTION:
Traceback (most recent call last):
  File "J:\Documents and Settings\Erik\Mijn
documenten\Subversion\subversion\tests\clients\cmdline\svntest\testcase.py", line 101, in run
    rc = apply(self.pred.func, args)
  File "J:\Subversion\tools\cvs2svn\run-tests.py", line 632, in
simple_branch_commits
    repos, wc, logs = ensure_conversion('main')
  File "J:\Subversion\tools\cvs2svn\run-tests.py", line 295, in
ensure_conversion
    erase(wc)
  File "J:\Subversion\tools\cvs2svn\run-tests.py", line 238, in erase
    shutil.rmtree(path)
  File "J:\Python23\lib\shutil.py", line 140, in rmtree
    raise exc[0], (exc[1][0], exc[1][1] + ' removing '+arg)
OSError: [Errno 13] Permission denied removing main-wc\.svn\README.txt
FAIL: run-tests.py 11: simple branch commits
UNEXPECTED EXCEPTION:
Traceback (most recent call last):
  File "J:\Documents and Settings\Erik\Mijn
documenten\Subversion\subversion\tests\clients\cmdline\svntest\testcase.py", line 101, in run
    rc = apply(self.pred.func, args)
  File "J:\Subversion\tools\cvs2svn\run-tests.py", line 651, in mixed_commit
    repos, wc, logs = ensure_conversion('main')
  File "J:\Subversion\tools\cvs2svn\run-tests.py", line 295, in
ensure_conversion
    erase(wc)

-- 
+++ GMX - die erste Adresse für Mail, Message, More +++
Neu: Preissenkung für MMS und FreeMMS! http://www.gmx.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 2 19:54:14 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.