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

[possibly HTTPv2] diff_tests:13/ra_neon fails locally, in a fresh trunk@HEAD checkout

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sun, 1 Aug 2010 02:59:05 +0300

I just made a fresh checkout of trunk_at_r981102 (current HEAD) using a
1.5 client, and I see the following test failure:

[[[
0:svn/trunk.d% make -s && ../runpytest diff 13 --url=http://localhost:8081/trunk2 --http-library neon
subversion/svn/diff-cmd.c:402: (apr_err=190001)
subversion/libsvn_client/diff.c:1800: (apr_err=190001)
subversion/libsvn_client/diff.c:1765: (apr_err=190001)
subversion/libsvn_ra_neon/fetch.c:2432: (apr_err=190001)
subversion/libsvn_ra_neon/util.c:1267: (apr_err=190001)
subversion/libsvn_ra_neon/util.c:1498: (apr_err=190001)
subversion/libsvn_ra_neon/util.c:732: (apr_err=190001)
svn: Unusable URI: it does not refer to this repository
Traceback (most recent call last):
  File "/home/daniel/src/svn/trunk.d/subversion/tests/cmdline/svntest/main.py", line 1192, in run
    rc = self.pred.run(sandbox)
  File "/home/daniel/src/svn/trunk.d/subversion/tests/cmdline/svntest/testcase.py", line 170, in run
    return self.func(sandbox)
  File "./diff_tests.py", line 915, in diff_head_of_moved_file
    'diff', '-r', 'HEAD', new_mu_path)
  File "/home/daniel/src/svn/trunk.d/subversion/tests/cmdline/svntest/actions.py", line 223, in run_and_verify_svn
    expected_exit, *varargs)
  File "/home/daniel/src/svn/trunk.d/subversion/tests/cmdline/svntest/actions.py", line 261, in run_and_verify_svn2
    exit_code, out, err = main.run_svn(want_err, *varargs)
  File "/home/daniel/src/svn/trunk.d/subversion/tests/cmdline/svntest/main.py", line 582, in run_svn
    *(_with_auth(_with_config_dir(varargs))))
  File "/home/daniel/src/svn/trunk.d/subversion/tests/cmdline/svntest/main.py", line 332, in run_command
    None, *varargs)
  File "/home/daniel/src/svn/trunk.d/subversion/tests/cmdline/svntest/main.py", line 515, in run_command_stdin
    raise Failure
Failure
FAIL: diff_tests.py 13: diff against the head of a moved file
zsh: exit 1 ../runpytest diff 13 --url=http://localhost:8081/trunk2 --http-library neon
1:svn/trunk.d% tail ../httpd/out/error_log | fgrep '[error]'
[Sun Aug 01 02:35:31 2010] [error] [client 127.0.0.1] Could not parse 'dst-path' URL. [500, #190001]
[Sun Aug 01 02:35:31 2010] [error] [client 127.0.0.1] Unusable URI: it does not refer to this repository [500, #190001]
0:svn/trunk.d%
]]]

Tweaking subversion/mod_dav_svn/util.c:294 to provide a bit more information
in the error yields this:
[[[
svn: Unusable URI 'tests-13/!svn/rvr': it does not refer to this repository '/trunk2/svn-test-work/repositories/diff_tests-13'
]]]

More information:
* Reverting r979045 has no effect.
* The test passes for me over serf.
* I use neon 0.28.2-6.1 from system packages, and haven't reinstalled it
  recently.
* Adding "SVNAdvertiseV2Protocol Off" to httpd.conf does /not/ make the
  error go away. (But then, it's 3am here, so I could be wrong about this.)

What's going on here? Did I stumble upon a bug, or is my local setup
broken? How to fix it?
Received on 2010-08-01 02:01:12 CEST

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