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

make davcheck::commit_tests.py 17, fails when it has been run through apache-mod_proxy

From: Jani Averbach <jaa_at_jaa.iki.fi>
Date: 2004-03-23 04:08:54 CET

Hi!

I ran Subversion's test suite through a proxy to check if my proxy setup
is sane and safe, and found following thing:

If I run (without proxy) 'make check BASE_URL=http://localhost:42080',
every tests will pass, as expected.

But if I run (with proxy) 'make check BASE_URL=http://localhost:80',
again every test will pass, except commit_test.py 17, which will fail
with following error:

...../commit_tests.py 17 BASE_URL=http://localhost:80
../../svn/trunk/subversion/libsvn_client/commit.c:747: (apr_err=175002)
svn: Commit failed (details follow):
../../svn/trunk/subversion/libsvn_ra_dav/util.c:285: (apr_err=175002)
svn: MKCOL of /repositories/commit_tests-17/!svn/wrk/aa845825-43d6-0310-a18f-9be654a15b98/%23!%5B%5D%7B%7D()%3C%3E%25: 400 Bad Request (http://localhost)
FAIL: commit_tests.py 17: commit files and dirs with URI-unsafe characters

Here is the MKCOL log line from proxy:
19:26:47 "MKCOL /repositories/commit_tests-17/!svn/wrk/aa845825-43d6-0310-a18f-9be654a15b98/\
%23!%5B%5D%7B%7D()%3C%3E%25 HTTP/1.1" 400 287 "-" "SVN/1.1.0 (dev build) neon/0.24.4"

My setup is:
proxy: Apache httpd 2.0.48 with mod_proxy port:80
mod_dav_svn: Apache httpd 2.0.50-dev with mod_dav_svn (r9190) port:42080

part of proxy-conf:
...
<Location /repositories>
        ProxyPass http://127.0.0.1:42080/repositories
        ProxyPassReverse http://127.0.0.1:42080/repositories
</Location>
<Location /local_tmp>
        ProxyPass http://127.0.0.1:42080/local_tmp
        ProxyPassReverse http://127.0.0.1:42080/local_tmp
</Location>
...

So if somebody with more proxy-fu could clarify if this is a bug or
not in mod_proxy or something else, that would be nice.

BR, Jani

Full access logs for proxy and svn server are:

proxy:

19:26:46 "REPORT /repositories/commit_tests-17/!svn/vcc/default HTTP/1.1" 200 10303 "-" "SVN/1.1.0 (dev build) neon/0.24.4"
19:26:47 "OPTIONS /repositories/commit_tests-17 HTTP/1.1" 200 208 "-" "SVN/1.1.0 (dev build) neon/0.24.4"
19:26:47 "MKACTIVITY /repositories/commit_tests-17/!svn/act/aa845825-43d6-0310-a18f-9be654a15b98 HTTP/1.1" 201 383 "-" "SVN/1.1.0 (dev build) neon/0.24.4"
19:26:47 "PROPFIND /repositories/commit_tests-17 HTTP/1.1" 207 472 "-" "SVN/1.1.0 (dev build) neon/0.24.4"
19:26:47 "PROPFIND /repositories/commit_tests-17/!svn/vcc/default HTTP/1.1" 207 438 "-" "SVN/1.1.0 (dev build) neon/0.24.4"
19:26:47 "CHECKOUT /repositories/commit_tests-17/!svn/bln/1 HTTP/1.1" 201 397 "-" "SVN/1.1.0 (dev build) neon/0.24.4"
19:26:47 "PROPPATCH /repositories/commit_tests-17/!svn/wbl/aa845825-43d6-0310-a18f-9be654a15b98/1 HTTP/1.1" 207 373 "-" "SVN/1.1.0 (dev build) neon/0.24.4"
19:26:47 "PROPFIND /repositories/commit_tests-17 HTTP/1.1" 207 423 "-" "SVN/1.1.0 (dev build) neon/0.24.4"
19:26:47 "CHECKOUT /repositories/commit_tests-17/!svn/ver/1/ HTTP/1.1" 201 396 "-" "SVN/1.1.0 (dev build) neon/0.24.4"
19:26:47 "MKCOL /repositories/commit_tests-17/!svn/wrk/aa845825-43d6-0310-a18f-9be654a15b98/%23!%5B%5D%7B%7D()%3C%3E%25 HTTP/1.1" 400 287 "-" "SVN/1.1.0 (dev build) neon/0.24.4"
19:26:48 "DELETE /repositories/commit_tests-17/!svn/act/aa845825-43d6-0310-a18f-9be654a15b98 HTTP/1.1" 204 - "-" "SVN/1.1.0 (dev build) neon/0.24.4"
<last line of log>

svn:

19:26:46 "PROPFIND /repositories/commit_tests-17 HTTP/1.1" 207 687 "-" "SVN/1.1.0 (dev build) neon/0.24.4"
19:26:46 "REPORT /repositories/commit_tests-17/!svn/vcc/default HTTP/1.1" 200 10303
19:26:46 "REPORT /repositories/commit_tests-17/!svn/vcc/default HTTP/1.1" 200 10303 "-" "SVN/1.1.0 (dev build) neon/0.24.4"
19:26:47 "OPTIONS /repositories/commit_tests-17 HTTP/1.1" 200 208
19:26:47 "OPTIONS /repositories/commit_tests-17 HTTP/1.1" 200 208 "-" "SVN/1.1.0 (dev build) neon/0.24.4"
19:26:47 "MKACTIVITY /repositories/commit_tests-17/!svn/act/aa845825-43d6-0310-a18f-9be654a15b98 HTTP/1.1" 201 383
19:26:47 "MKACTIVITY /repositories/commit_tests-17/!svn/act/aa845825-43d6-0310-a18f-9be654a15b98 HTTP/1.1" 201 383 "-" "SVN/1.1.0 (dev build) neon/0.24.4"
19:26:47 "PROPFIND /repositories/commit_tests-17 HTTP/1.1" 207 472
19:26:47 "PROPFIND /repositories/commit_tests-17 HTTP/1.1" 207 472 "-" "SVN/1.1.0 (dev build) neon/0.24.4"
19:26:47 "PROPFIND /repositories/commit_tests-17/!svn/vcc/default HTTP/1.1" 207 438
19:26:47 "PROPFIND /repositories/commit_tests-17/!svn/vcc/default HTTP/1.1" 207 438 "-" "SVN/1.1.0 (dev build) neon/0.24.4"
19:26:47 "CHECKOUT /repositories/commit_tests-17/!svn/bln/1 HTTP/1.1" 201 397
19:26:47 "CHECKOUT /repositories/commit_tests-17/!svn/bln/1 HTTP/1.1" 201 397 "-" "SVN/1.1.0 (dev build) neon/0.24.4"
19:26:47 "PROPPATCH /repositories/commit_tests-17/!svn/wbl/aa845825-43d6-0310-a18f-9be654a15b98/1 HTTP/1.1" 207 373
19:26:47 "PROPPATCH /repositories/commit_tests-17/!svn/wbl/aa845825-43d6-0310-a18f-9be654a15b98/1 HTTP/1.1" 207 373 "-" "SVN/1.1.0 (dev build) neon/0.24.4"
19:26:47 "PROPFIND /repositories/commit_tests-17 HTTP/1.1" 207 423
19:26:47 "PROPFIND /repositories/commit_tests-17 HTTP/1.1" 207 423 "-" "SVN/1.1.0 (dev build) neon/0.24.4"
19:26:47 "CHECKOUT /repositories/commit_tests-17/!svn/ver/1/ HTTP/1.1" 201 396
19:26:47 "CHECKOUT /repositories/commit_tests-17/!svn/ver/1/ HTTP/1.1" 201 396 "-" "SVN/1.1.0 (dev build) neon/0.24.4"
19:26:48 "DELETE /repositories/commit_tests-17/!svn/act/aa845825-43d6-0310-a18f-9be654a15b98 HTTP/1.1" 204 -
19:26:48 "DELETE /repositories/commit_tests-17/!svn/act/aa845825-43d6-0310-a18f-9be654a15b98 HTTP/1.1" 204 - "-" "SVN/1.1.0 (dev build) neon/0.24.4"
<last line of log>

-- 
Jani Averbach
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 23 04:09:06 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.