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

Re: subversion 1.2.0 fails a number of self tests

From: OpenMacNews <OpenMacNews_at_speakeasy.net>
Date: 2005-05-28 01:23:35 CEST

hi stephen,

more info.

while digging further into these failing tests, i find --

SHORT STORY: building svn120-rel on OSX 10.4.1 w/ gcc4

        (1) 'make check' for SVN-120 'without' Apache only fails one test
        (2) 'make check' for SVN-120 'with' Apache fails a bunch of test
        (3) running an individual test shows (me) no additional info/detail
            (how to be more verbose?)
        (4) the failed tests in (2) are due to "image not found" of
"libsvn_test-1.dylib"
        (5) the client and/or servers execute 'correctly' in/for my usage
            (so far, at least) in either case ...

LONG STORY -- the details follow ...

if i configure SVN-120 "w/o apache & apxs" as:

        ./configure \
        --prefix=/usr/local/subversion120 \
        --disable-experimental-libtool \
        --disable-shared --enable-static \
        --disable-debug \
        --with-neon=/usr/local/neon0247 \
        --enable-neon-version-check \
        --disable-maintainer-mode \
        --disable-nls \
        --without-apache \
        --without-apxs \
        --with-swig=/usr/local/swig/bin/swig \
        --with-berkeley-db=/usr/local/berkeley-db \
        --with-zlib \
        --enable-javahl \
        --with-jdk

the SVN client works fine, and 'make check' results in just ONE test failure:

        Running all tests in compat-test...success
        Running all tests in config-test...success
        Running all tests in diff-diff3-test...success
        Running all tests in hashdump-test...success
        Running all tests in locks-test...success
        Running all tests in opt-test...success
        Running all tests in path-test...success
        Running all tests in ra-local-test...success
        Running all tests in random-test...success
        Running all tests in repos-test...success
        Running all tests in stream-test...success
        Running all tests in string-test...success
        Running all tests in time-test...success
        Running all tests in translate-test...FAILURE
        Running all tests in utf-test...success
        Running all tests in target-test.py...success
        Running all tests in getopt_tests.py...success
        Running all tests in basic_tests.py...success
        Running all tests in commit_tests.py...success
        Running all tests in update_tests.py...success
        Running all tests in switch_tests.py...success
        Running all tests in prop_tests.py...success
        Running all tests in schedule_tests.py...success
        Running all tests in log_tests.py...success
        Running all tests in copy_tests.py...success
        Running all tests in diff_tests.py...success
        Running all tests in export_tests.py...success
        Running all tests in externals_tests.py...success
        Running all tests in merge_tests.py...success
        Running all tests in revert_tests.py...success
        Running all tests in stat_tests.py...success
        Running all tests in trans_tests.py...success
        Running all tests in autoprop_tests.py...success
        Running all tests in blame_tests.py...success
        Running all tests in special_tests.py...success
        Running all tests in svnadmin_tests.py...success
        Running all tests in svnlook_tests.py...success
        Running all tests in svnversion_tests.py...success
        Running all tests in utf8_tests.py...success
        Running all tests in history_tests.py...success
        Running all tests in lock_tests.py...success
        Running all tests in cat_tests.py...success
        Running all tests in import_tests.py...success
        Running all tests in changes-test...success
        Running all tests in fs-test...success
        Running all tests in key-test...success
        Running all tests in skel-test...success
        Running all tests in strings-reps-test...success
        At least one test FAILED, checking /usr/ports/subversion120/tests.log
        At least one test was SKIPPED, checking /usr/ports/subversion120/tests.log
        SKIP: revert_tests.py 2: reverting to corrupt text base should fail
        SKIP: utf8_tests.py 1: conversion of paths and logs to/from utf8
        make: *** [check] Error 1

however, if I build SVN-120 w/ my apache:

        % httpd -V
                Server version: Apache/2.1.5-dev
                Server MPM: Worker
                  threaded: yes (fixed thread count)
                        forked: yes (variable process count)
        % apr-config --version
                1.2.0
        % apu-config --version
                1.2.0

configuring as:

        ./configure \
        --prefix=/usr/local/subversion120 \
        --enable-experimental-libtool \
        --enable-shared --disable-static \
        --disable-debug \
        --disable-maintainer-mode \
        --disable-nls \
        --with-apr=/usr/local/apache2/bin/apr-1-config \
        --with-apr-util=/usr/local/apache2/bin/apu-1-config \
        --with-apxs=/usr/local/apache2/sbin/apxs \
        --without-apache \
        --with-neon=/usr/local/neon0247 \
        --enable-neon-version-check \
        --with-swig=/usr/local/swig/bin/swig \
        --with-berkeley-db=/usr/local/berkeley-db \
        --with-zlib \
        --enable-javahl \
        --with-jdk

the SVN client still works fine, as do now the webdav: and svn: servers, but
'make check' now results in:

        Running all tests in compat-test...FAILURE
        Running all tests in config-test...FAILURE
        Running all tests in diff-diff3-test...FAILURE
        Running all tests in hashdump-test...FAILURE
        Running all tests in locks-test...FAILURE
        Running all tests in opt-test...FAILURE
        Running all tests in path-test...FAILURE
        Running all tests in ra-local-test...FAILURE
        Running all tests in random-test...FAILURE
        Running all tests in repos-test...FAILURE
        Running all tests in stream-test...FAILURE
        Running all tests in string-test...FAILURE
        Running all tests in time-test...FAILURE
        Running all tests in translate-test...FAILURE
        Running all tests in utf-test...FAILURE
        Running all tests in target-test.py...success
        Running all tests in getopt_tests.py...success
        Running all tests in basic_tests.py...success
        Running all tests in commit_tests.py...success
        Running all tests in update_tests.py...success
        Running all tests in switch_tests.py...success
        Running all tests in prop_tests.py...
        ... etc etc as posted b4 ...

as to manually running an invididual test, ok.

let's try for "Running all tests in diff-diff3-test...FAILURE"

% cd /usr/ports/subversion120/subversion/tests/libsvn_diff
% ls -al diff-diff3-test
        -rwxr-xr-x 1 root 500 30832 May 27 15:36 diff-diff3-test

% otool -L ./diff-diff3-test
        ./diff-diff3-test:
                /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
88.0.0)
                /usr/local/subversion120/lib/libsvn_test-1.dylib (compatibility version
1.0.0, current version 1.0.0)
                /usr/local/subversion120/lib/libsvn_diff-1.dylib (compatibility version
1.0.0, current version 1.0.0)
                /usr/local/subversion120/lib/libsvn_subr-1.dylib (compatibility version
1.0.0, current version 1.0.0)
                /usr/local/apache2/lib/libaprutil.dylib (compatibility version 2.0.0, current
version 2.0.0)
                /usr/local/berkeley-db/lib/libdb-4.3.dylib (compatibility version 0.0.0,
current version 0.0.0)
                /usr/lib/libsqlite3.0.dylib (compatibility version 9.0.0, current version
9.6.0)
                /usr/local/lib/libexpat.0.dylib (compatibility version 6.0.0, current version
6.0.0)
                /usr/lib/libiconv.2.dylib (compatibility version 5.0.0, current version 5.0.0)
                /usr/local/apache2/lib/libapr.dylib (compatibility version 2.0.0, current
version 2.0.0)
                /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.2)
                /usr/lib/libmx.A.dylib (compatibility version 1.0.0, current version 92.0.0)

% ./diff-diff3-test
        dyld: Library not loaded: /usr/local/subversion120/lib/libsvn_test-1.dylib
          Referenced from:
/Volumes/g4_PORTS/ports/subversion120/subversion/tests/libsvn_diff/./diff-diff3-test
          Reason: image not found
        Trace/BPT trap

which, except for the addition of the " Trace/BPT trap" is the same info I find
in "test.log":

    ...
        START: diff-diff3-test
        dyld: Library not loaded: /usr/local/subversion120/lib/libsvn_test-1.dylib
          Referenced from:
/Volumes/g4_PORTS/ports/subversion120/subversion/tests/libsvn_diff/./diff-diff3-test
          Reason: image not found
        END: diff-diff3-test
    ...

given the error's/failure's "REASON" of "image not found", looking:

% ls -al /usr/local/subversion120/lib/libsvn_test-1.dylib
        /usr/local/bin/ls: /usr/local/subversion120/lib/libsvn_test-1.dylib: No such
file or directory

it's not 'there' ...

whereas there _are_:

% ls -al /usr/local/subversion120/lib/
        total 2980
        drwxr-xr-x 41 root admin 1394 May 27 15:44 .
        drwxr-xr-x 7 root admin 238 May 27 15:44 ..
        -rwxr-xr-x 1 root admin 288208 May 27 15:44 libsvn_client-1.a
        -rwxr-xr-x 1 root admin 147680 May 27 15:44 libsvn_client-1.dylib
        -rwxr-xr-x 1 root admin 29 May 27 15:44 libsvn_client-1.la
        -rwxr-xr-x 1 root admin 45744 May 27 15:43 libsvn_delta-1.a
        -rwxr-xr-x 1 root admin 35496 May 27 15:43 libsvn_delta-1.dylib
        -rwxr-xr-x 1 root admin 29 May 27 15:43 libsvn_delta-1.la
        -rwxr-xr-x 1 root admin 31128 May 27 15:44 libsvn_diff-1.a
        -rwxr-xr-x 1 root admin 29556 May 27 15:44 libsvn_diff-1.dylib
        -rwxr-xr-x 1 root admin 29 May 27 15:43 libsvn_diff-1.la
        -rwxr-xr-x 1 root admin 20664 May 27 15:43 libsvn_fs-1.a
        -rwxr-xr-x 1 root admin 23780 May 27 15:43 libsvn_fs-1.dylib
        -rwxr-xr-x 1 root admin 29 May 27 15:43 libsvn_fs-1.la
        -rwxr-xr-x 1 root admin 258352 May 27 15:43 libsvn_fs_base-1.a
        -rwxr-xr-x 1 root admin 154400 May 27 15:43 libsvn_fs_base-1.dylib
        -rwxr-xr-x 1 root admin 29 May 27 15:43 libsvn_fs_base-1.la
        -rwxr-xr-x 1 root admin 163688 May 27 15:43 libsvn_fs_fs-1.a
        -rwxr-xr-x 1 root admin 104084 May 27 15:43 libsvn_fs_fs-1.dylib
        -rwxr-xr-x 1 root admin 29 May 27 15:43 libsvn_fs_fs-1.la
        -rwxr-xr-x 1 root admin 9328 May 27 15:44 libsvn_ra-1.a
        -rwxr-xr-x 1 root admin 15952 May 27 15:44 libsvn_ra-1.dylib
        -rwxr-xr-x 1 root admin 29 May 27 15:44 libsvn_ra-1.la
        -rwxr-xr-x 1 root admin 163568 May 27 15:43 libsvn_ra_dav-1.a
        -rwxr-xr-x 1 root admin 96012 May 27 15:43 libsvn_ra_dav-1.dylib
        -rwxr-xr-x 1 root admin 29 May 27 15:43 libsvn_ra_dav-1.la
        -rwxr-xr-x 1 root admin 26672 May 27 15:43 libsvn_ra_local-1.a
        -rwxr-xr-x 1 root admin 28404 May 27 15:43 libsvn_ra_local-1.dylib
        -rwxr-xr-x 1 root admin 29 May 27 15:43 libsvn_ra_local-1.la
        -rwxr-xr-x 1 root admin 105160 May 27 15:43 libsvn_ra_svn-1.a
        -rwxr-xr-x 1 root admin 72020 May 27 15:43 libsvn_ra_svn-1.dylib
        -rwxr-xr-x 1 root admin 29 May 27 15:43 libsvn_ra_svn-1.la
        -rwxr-xr-x 1 root admin 171552 May 27 15:43 libsvn_repos-1.a
        -rwxr-xr-x 1 root admin 112676 May 27 15:43 libsvn_repos-1.dylib
        -rwxr-xr-x 1 root admin 29 May 27 15:43 libsvn_repos-1.la
        -rwxr-xr-x 1 root admin 257480 May 27 15:43 libsvn_subr-1.a
        -rwxr-xr-x 1 root admin 159728 May 27 15:43 libsvn_subr-1.dylib
        -rwxr-xr-x 1 root admin 29 May 27 15:43 libsvn_subr-1.la
        -rwxr-xr-x 1 root admin 278464 May 27 15:44 libsvn_wc-1.a
        -rwxr-xr-x 1 root admin 152204 May 27 15:44 libsvn_wc-1.dylib
        -rwxr-xr-x 1 root admin 29 May 27 15:44 libsvn_wc-1.la

'smells' like (still) an issue with a missing "libsvn_test-1.dylib" ...

thoughts? more info i can provide?

cheers,

richard

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat May 28 01:25:32 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.