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

ra_svn deadlock on MacOS X?

From: William Uther <willu.mailingLists_at_cse.unsw.edu.au>
Date: 2002-12-10 05:26:52 CET

Hi,
   Is ra_svn supposed to be passing 'make check' yet?

   svn seems to deadlock for me in test 5 of diff_tests.py when run over
ra_svn and ssh. Details on my experiments below.

Later,

Will :-}

I have the following setup:

MacOS X 10.2.2
neon 0.23.5 with ssl and zlib (through fink)
BDB 4.0 (through fink)
BDB 4.1 (through fink) (tried with both versions of BDB libs installed,
but only one set of headers at a time - same response with both
versions. I used otool to check it was linking with the correct
libraries.)
svn revision 4062

"./configure" \
"--enable-maintainer-mode" \
"--disable-shared" \
"--with-neon=/sw" \
"--with-berkeley-db=/sw/include/db4:/sw/lib" \
"--with-dbm=db4" \
"--with-iconv=/sw" \

make check passes for ra_local
I'm not building mod_dav_svn

I then set up my system so that ssh can connect locally without a
password (using ssh authorized_hosts), and do the following:

add 'localhost' as a group in ~/.subversion/servers.
add

> [localhost]
> svn-tunnel-agent = ssh

to ~/.subversion/servers

make install (this step is important - you need to check an up to date
svnserve on the other end of the ssh pipe)

env
BASE_URL=svn://localhost/Users/willu/src/subversion/subversion/tests/
clients/cmdline make check

Most of the tests pass until I get to diff_test 5 which never completes
(The machine is ok, but you can leave it running overnight and it gets
no further. The machine load drops from just over 1 to almost 0).
Here is the tail of the output:

stdout:

Running all tests in copy_tests.py...success
Running all tests in diff_tests.py...^CTraceback (most recent call
last):
   File "./build/run_tests.py", line 170, in ?
     main()
   File "./build/run_tests.py", line 163, in main
     failed = th.run(sys.argv[base_index+5:])
   File "./build/run_tests.py", line 35, in run
     failed = self._run_test(prog) or failed
   File "./build/run_tests.py", line 97, in _run_test
     failed = self._run_prog(progname, cmdline)
   File "./build/run_tests.py", line 127, in _run_prog
     rv = os.spawnv(os.P_WAIT, progname, cmdline)
   File "/usr/lib/python2.2/os.py", line 485, in spawnv
     return _spawnvef(mode, file, args, None, execv)
   File "/usr/lib/python2.2/os.py", line 468, in _spawnvef
     wpid, sts = waitpid(pid, 0)
KeyboardInterrupt
make: *** [check] Error 1

from tests.log:

PASS: diff_tests.py 4: replace a file with a file
CMD: svn "co" "--username" "jrandom" "--password" "rayjandom"
"svn://localhost/Users/willu/src/subversion/subversion/tests/clients/
cmdline/repositories/diff_tests-5" "working_copies/diff_tests-5"
CMD: svn "up" "-rHEAD"
CMD: svn "add" "A/B/E/theta"
CMD: svn "diff"
CMD: svn "diff" "-rHEAD"
CMD: svn "ci" "-m" "log msg"
CMD: svn "up"
CMD: svn "diff" "-r" "1"
CMD: svn "up" "-rHEAD"
CMD: svn "add" "A/B/T"
CMD: svn "add" "A/B/T/phi"
CMD: svn "diff"
CMD: svn "diff" "-rHEAD"
CMD: svn "ci" "-m" "log msg"
CMD: svn "up"
CMD: svn "diff" "-r" "2"
CMD: svn "up" "-rHEAD"
CMD: svn "diff"
CMD: svn "diff" "-rHEAD"
CMD: svn "ci" "-m" "log msg"
CMD: svn "up"
CMD: svn "diff" "-r" "3"
CMD: svn "up" "-r" "4"
CMD: svn "diff" "-r" "1"
CMD: svn "diff" "-r" "1"
CMD: svn "diff" "-r" "1"
CMD: svn "up" "-r" "1"
CMD: svn "diff" "-r" "4"
CMD: svn "diff" "-r" "4"
CMD: svn "diff" "-r" "4"
CMD: svn "diff" "-r" "1:4"
Interrupted

I just tried using 'svnserve -d' and no ssh tunnelling. This time the
load dropped to 0 inside update_tests.py. tests.log reveals:

START: update_tests.py
CMD: svnadmin "create" "local_tmp/repos"
CMD: svn "import" "--username" "jrandom" "--password" "rayjandom" "-m"
"Log mess
age for revision 1."
"svn://localhost/Users/willu/src/subversion/subversion/test
s/clients/cmdline/local_tmp/repos" "local_tmp/greekfiles"
CMD: svn "co" "--username" "jrandom" "--password" "rayjandom"
"svn://localhost/U
sers/willu/src/subversion/subversion/tests/clients/cmdline/
repositories/update_t
ests-1" "working_copies/update_tests-1"
Interrupted

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 10 05:27:30 2002

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.