You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Christian Schaffner <ch...@users.sourceforge.net> on 2004/09/21 08:38:12 UTC

Test failures over ra_dav on Mac OS X with svn 1.1.0-rc3

Dear Subversion Developers


I am trying to prepare the Fink package for Subversion 1.1.0. When  
running the tests over ra_dav against a 1.1.0-rc3 server (using apache  
2.0.50 and bdb 4.2.52 on Mac OS X 10.3.5) running 'make check  
BASE_URL=http://localhost' i get:

At least one test FAILED, checking  
/sw/src/svn-ssl-1.1.0-rc3-11/subversion-1.1.0-rc3/tests.log
FAIL:  basic_tests.py 16: basic cat of files
FAIL:  basic_tests.py 17: basic ls
...
(in total 45 failures).

If i then check the apache error_log i see entries like:

...
[Tue Sep 21 09:48:26 2004] [error] Optional hook test said: PROPFIND  
/repositories/basic_tests-16/!svn/vcc/default HTTP/1.1
[Tue Sep 21 09:48:26 2004] [error] Optional function test said:  
PROPFIND /repositories/basic_tests-16/!svn/vcc/default HTTP/1.1
dyld: /sw/sbin/httpd Undefined symbols:
_svn_repos_trace_node_locations
dyld: /sw/sbin/httpd Undefined symbols:
_svn_repos_trace_node_locations
[Tue Sep 21 09:48:27 2004] [notice] child pid 1962 exit signal  
Trace/BPT trap (5)
[Tue Sep 21 09:48:27 2004] [notice] child pid 1791 exit signal  
Trace/BPT trap (5)
[Tue Sep 21 09:48:29 2004] [error] Optional hook test said: PROPFIND  
/repositories/basic_tests-17 HTTP/1.1
...

If i run './basic_tests.py --url http://localhost' in the  
'.../subversion/tests/clients/cmdline' directories i get the same  
failures.

However, what is really strange, is that running './basic_tests.py 16   
--url http://localhost' succeeds with:

PASS:  basic_tests.py 16: basic cat of files


Also, 'make check', 'make check FS_TYPE=fsfs',  and 'make check  
BASE_URL=svn://localhost' all passed without any errors.


Has anybody an idea, what the problem could be?

Thanks for any help,
Chris.



PS: The apache module is installed as:

otool -L /sw/lib/apache2/modules/mod_dav_svn.so
/sw/lib/apache2/modules/mod_dav_svn.so:
         /sw/lib/libsvn_repos-1.0.dylib (compatibility version 1.0.0,  
current version 1.0.0)
         /sw/lib/libsvn_fs-1.0.dylib (compatibility version 1.0.0,  
current version 1.0.0)
         /sw/lib/libsvn_delta-1.0.dylib (compatibility version 1.0.0,  
current version 1.0.0)
         /sw/lib/libsvn_subr-1.0.dylib (compatibility version 1.0.0,  
current version 1.0.0)
         /sw/lib/libintl.1.dylib (compatibility version 2.0.0, current  
version 2.1.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0,  
current version 71.1.1)


and the httpd.conf part shows:

<Location /repositories>
  DAV svn
  SVNParentPath  
/sw/src/svn-ssl-1.1.0-rc3-11/subversion-1.1.0-rc3/subversion/tests/ 
clients/cmdline/repositories
</Location>
<Location /local_tmp/repos>
  DAV svn
  SVNPath  
/sw/src/svn-ssl-1.1.0-rc3-11/subversion-1.1.0-rc3/subversion/tests/ 
clients/cmdline/local_tmp/repos
</Location>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Test failures over ra_dav on Mac OS X with svn 1.1.0-rc3

Posted by Christian Schaffner <ch...@users.sourceforge.net>.
On 22.09.2004, at 00:59, Ben Collins-Sussman wrote:

>
> On Sep 21, 2004, at 3:38 AM, Christian Schaffner wrote:
>>
>> [Tue Sep 21 09:48:26 2004] [error] Optional function test said: 
>> PROPFIND /repositories/basic_tests-16/!svn/vcc/default HTTP/1.1
>> dyld: /sw/sbin/httpd Undefined symbols:
>> _svn_repos_trace_node_locations
>> dyld: /sw/sbin/httpd Undefined symbols:
>> _svn_repos_trace_node_locations
>> [Tue Sep 21 09:48:27 2004] [notice] child pid 1962 exit signal 
>> Trace/BPT trap (5)
>> [Tue Sep 21 09:48:27 2004] [notice] child pid 1791 exit signal 
>> Trace/BPT trap (5)
>>
>
> Wow, undefined symbols followed by a httpd crash.  Those symbols are 
> "new" in svn 1.1, so it looks like you have a 1.1 mod_dav_svn module 
> that is somehow binding to a 1.0 libsvn_repos shared library.  I'm not 
> sure why that would be.  Perhaps you have old 1.0 libraries lying 
> around somewhere.

The reason was that is didn't completely stop and restart apache before 
starting the tests. And somehow the apache process was still using the 
old mod_dav_svn.so module with the missing symbol. After i stopped 
apache and restarted it, the tests went trough fine.

Thanks for your answer,
Chris.


PS: I couldn't investigate it further, but it looked as if doing 
'apachectl graceful' didn't reload the new mod_dav_svn.so module 
correctly.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Test failures over ra_dav on Mac OS X with svn 1.1.0-rc3

Posted by Ben Collins-Sussman <su...@collab.net>.
On Sep 21, 2004, at 3:38 AM, Christian Schaffner wrote:
>
> [Tue Sep 21 09:48:26 2004] [error] Optional function test said: 
> PROPFIND /repositories/basic_tests-16/!svn/vcc/default HTTP/1.1
> dyld: /sw/sbin/httpd Undefined symbols:
> _svn_repos_trace_node_locations
> dyld: /sw/sbin/httpd Undefined symbols:
> _svn_repos_trace_node_locations
> [Tue Sep 21 09:48:27 2004] [notice] child pid 1962 exit signal 
> Trace/BPT trap (5)
> [Tue Sep 21 09:48:27 2004] [notice] child pid 1791 exit signal 
> Trace/BPT trap (5)
>

Wow, undefined symbols followed by a httpd crash.  Those symbols are 
"new" in svn 1.1, so it looks like you have a 1.1 mod_dav_svn module 
that is somehow binding to a 1.0 libsvn_repos shared library.  I'm not 
sure why that would be.  Perhaps you have old 1.0 libraries lying 
around somewhere.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org