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

Failing test basic_tests.py 29 (check that repos root gets set on checkout)

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Mon, 16 Apr 2012 23:33:00 +0200

When testing trunk with ra_local (on Win XP), I get the following
failure in basic_tests.py:

[[[
2012-04-16 22:56:41 [WARNING] Bad or missing repository root
2012-04-16 22:56:41 [WARNING]
Traceback (most recent call last):
  File "C:\research\svn\client_build\trunk2\subversion\tests\cmdline\svntest\main.py",
line 1332, in run
    rc = self.pred.run(sandbox)
  File "C:\research\svn\client_build\trunk2\subversion\tests\cmdline\svntest\testcase.py",
line 176, in run
    return self.func(sandbox)
  File "C:\research\svn\client_build\trunk2\subversion\tests\cmdline\basic_tests.py",
line 1709, in repos_root
    check_repos_root(output)
  File "C:\research\svn\client_build\trunk2\subversion\tests\cmdline\basic_tests.py",
line 1703, in check_repos_root
    raise svntest.Failure
Failure
FAIL: basic_tests.py 29: check that repos root gets set on checkout
]]]

Apparently, the test is comparing the 'Repository Root' from the
output of 'svn info' with the expected repository url. When I run 'svn
info' manually on ...\svn-test-work\working_copies\basic_tests-29, I
see the following:

[[[
Path: R:\test\subversion\tests\cmdline\svn-test-work\working_copies\basic_tests-29
Working Copy Root Path:
R:\test\subversion\tests\cmdline\svn-test-work\working_copies\basic_tests-29
URL: file:///R%7C/test/subversion/tests/cmdline/svn-test-work/local_tmp/repos
Repository Root:
file:///R%7C/test/subversion/tests/cmdline/svn-test-work/local_tmp/repos
]]]

So the '%7C' instead of ':' seems to be the problem (BTW, %7C is the
pipe symbol, which seems quite strange here).

When I use the same svn binary to do a new checkout of the same
repository, over file://, I don't get this problem. So that indicates
it's a problem with the test suite.

Anyone aware of recent work in encoding/escaping/... of paths in the
test suite that might have caused this?

BTW, I'm running this as follows:
    python win-tests.py -c --debug -t basic_tests.py R:\test

I'm not sure why I'm seeing this but the buildbots aren't.

-- 
Johan
Received on 2012-04-16 23:33:58 CEST

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