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

RE: make check fails on commit_tests.py and log_tests.py

From: <Anders.Strandberg_at_tietoenator.com>
Date: Fri, 22 Aug 2008 16:12:46 +0200

Hi,

I have struggled to resolved this, but have not found a solution. I
tried to build with with different versions of Python (currently using
Python-2.5.2) . The result is basically the same, so it should be
something else. Perhaps someone could verify running make check for
subversion 1.5.1 on SLES 9 and/or SLED 10 ?

The build is completed when excluding make check, but I find it
uncomfortable that vital checks fail. I assume they should pass on any
platform where the build succeeds.

The configure line:

  $ ./configure --prefix=/app/subversion/1.5.x --with-apr=/app/apr/1.2.x
--with-apr-util=/app/apr-util/1.2.x --with-gnu-ld
--with-neon=/app/neon/0.26.x --with-berkeley-db=/app/db/4.3.x --with-ssl
--with-zlib=/app/zlib/1.2.x --disable-nls --enable-javahl
--disable-neon-version-check

Failing tests:

Running all tests in commit_tests.py [25/61]...FAILURE
Running all tests in log_tests.py [30/61]...FAILURE
Running all tests in merge_tests.py [35/61]...FAILURE
Running all tests in mergeinfo_tests.py [38/61]...FAILURE

Result from make check:

+ /app/make/3.79.1/bin/make check
Running all tests in client-test [1/61]...success
Running all tests in compat-test [2/61]...success
Running all tests in config-test [3/61]...success
Running all tests in diff-diff3-test [4/61]...success
Running all tests in error-test [5/61]...success
Running all tests in fs-test [6/61]...success
Running all tests in hashdump-test [7/61]...success
Running all tests in locks-test [8/61]...success
Running all tests in mergeinfo-test [9/61]...success
Running all tests in opt-test [10/61]...success
Running all tests in path-test [11/61]...success
Running all tests in ra-local-test [12/61]...success
Running all tests in random-test [13/61]...success
Running all tests in repos-test [14/61]...success
Running all tests in revision-test [15/61]...success
Running all tests in stream-test [16/61]...success
Running all tests in string-test [17/61]...success
Running all tests in time-test [18/61]...success
Running all tests in translate-test [19/61]...success
Running all tests in utf-test [20/61]...success
Running all tests in target-test.py [21/61]...success
Running all tests in getopt_tests.py [22/61]...success
Running all tests in basic_tests.py [23/61]...success
Running all tests in checkout_tests.py [24/61]...success
Running all tests in commit_tests.py [25/61]...FAILURE
Running all tests in update_tests.py [26/61]...success
Running all tests in switch_tests.py [27/61]...success
Running all tests in prop_tests.py [28/61]...success
Running all tests in schedule_tests.py [29/61]...success
Running all tests in log_tests.py [30/61]...FAILURE
Running all tests in copy_tests.py [31/61]...success
Running all tests in diff_tests.py [32/61]...success
Running all tests in export_tests.py [33/61]...success
Running all tests in externals_tests.py [34/61]...success
Running all tests in merge_tests.py [35/61]...FAILURE
Running all tests in merge_authz_tests.py [36/61]...success
Running all tests in revert_tests.py [37/61]...success
Running all tests in mergeinfo_tests.py [38/61]...FAILURE
Running all tests in stat_tests.py [39/61]...success
Running all tests in trans_tests.py [40/61]...success
Running all tests in autoprop_tests.py [41/61]...success
Running all tests in blame_tests.py [42/61]...success
Running all tests in special_tests.py [43/61]...success
Running all tests in svnadmin_tests.py [44/61]...success
Running all tests in svnlook_tests.py [45/61]...success
Running all tests in svnversion_tests.py [46/61]...success
Running all tests in utf8_tests.py [47/61]...success
Running all tests in history_tests.py [48/61]...success
Running all tests in lock_tests.py [49/61]...success
Running all tests in cat_tests.py [50/61]...success
Running all tests in import_tests.py [51/61]...success
Running all tests in svnsync_tests.py [52/61]...success
Running all tests in authz_tests.py [53/61]...success
Running all tests in depth_tests.py [54/61]...success
Running all tests in svndumpfilter_tests.py [55/61]...success
Running all tests in changelist_tests.py [56/61]...success
Running all tests in changes-test [57/61]...success
Running all tests in fs-base-test [58/61]...success
Running all tests in key-test [59/61]...success
Running all tests in skel-test [60/61]...success
Running all tests in strings-reps-test [61/61]...success
At least one test was SKIPPED, checking
/var/tmp/BUILD/subversion-1.5.1/tests.log
SKIP: update_tests.py 32: update wc on the root of a Windows (virtual)
drive
SKIP: merge_tests.py 99: commits to subtrees added by merge wreak havoc
SKIP: merge_authz_tests.py 1: skipped paths get overriding mergeinfo
SKIP: utf8_tests.py 1: conversion of paths and logs to/from utf8
SKIP: svnsync_tests.py 14: verify that unreadable content is not synced
SKIP: svnsync_tests.py 15: verify that copies from unreadable dirs work
SKIP: svnsync_tests.py 16: verify copies with mods from unreadable dirs
SKIP: svnsync_tests.py 17: verify copies with mods from unreadable dirs
+copy
SKIP: authz_tests.py 1: authz issue #2486 - open root
SKIP: authz_tests.py 2: authz issue #2486 - open directory
SKIP: authz_tests.py 3: broken authz files cause errors
SKIP: authz_tests.py 4: test authz for read operations
SKIP: authz_tests.py 5: test authz for write operations
SKIP: authz_tests.py 6: test authz for checkout
SKIP: authz_tests.py 7: test authz for log and tracing path changes
SKIP: authz_tests.py 8: test authz for checkout and update
SKIP: authz_tests.py 9: test authz for export with unreadable subfolder
SKIP: authz_tests.py 10: test authz for aliases
SKIP: authz_tests.py 11: test the authz validation rules
SKIP: authz_tests.py 12: test authz for locking
SKIP: authz_tests.py 13: authz issue #2712
SKIP: authz_tests.py 14: switched to directory, no read access on
parents
At least one test FAILED, checking
/var/tmp/BUILD/subversion-1.5.1/tests.log
FAIL: commit_tests.py 56: commit a missing to-be-added file should fail
FAIL: log_tests.py 16: test 'svn log -g' on a single revision
FAIL: log_tests.py 18: test 'svn log -g' on a non-branching revision
FAIL: log_tests.py 27: log -g and explicit mergeinfo replacing
inherited
FAIL: merge_tests.py 49: merge to switched path does not inherit or
elide
FAIL: merge_tests.py 50: merge to path with switched children
FAIL: merge_tests.py 61: merge fails if subtree is deleted on src
FAIL: merge_tests.py 77: subtrees added after start of merge range are
ok
FAIL: merge_tests.py 92: dont merge revs into a subtree that predate it
FAIL: merge_tests.py 93: don't explicitly record implicit mergeinfo
FAIL: merge_tests.py 94: merge with broken symlinks in target
FAIL: merge_tests.py 95: subtree ranges might not intersect with target
FAIL: merge_tests.py 96: merge fails with renamed subtrees with
mergeinfo
FAIL: merge_tests.py 98: mergeinfo not set on subtree with empty
mergeinfo
FAIL: mergeinfo_tests.py 3: 'mergeinfo' with source selection
make: *** [check] Error 1

---------------------------------------------------------
Example commit_tests.py:
---------------------------------------------------------

/app/Python/2.5.x/bin/python ./commit_tests.py -v 56
CMD: svnadmin create svn-test-work/local_tmp/repos --bdb-txn-nosync
<TIME = 0.589897>
CMD: svn import -m "Log message for revision 1."
svn-test-work/local_tmp/greekfiles
file:///var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svn-test
-work/local_tmp/repos --config-dir
/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svn-test-work/l
ocal_tmp/config --password rayjandom --no-auth-cache --username jrandom
<TIME = 0.344374>
CMD: svnadmin create svn-test-work/repositories/commit_tests-56
--bdb-txn-nosync <TIME = 0.225155>
CMD: svnadmin dump "svn-test-work/local_tmp/repos" | svnadmin load
"svn-test-work/repositories/commit_tests-56" --ignore-uuid <TIME =
0.001921>
CMD: svn co
file:///var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svn-test
-work/repositories/commit_tests-56
svn-test-work/working_copies/commit_tests-56 --config-dir
/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svn-test-work/l
ocal_tmp/config --password rayjandom --no-auth-cache --username jrandom
<TIME = 0.169111>
CMD: svn cp svn-test-work/working_copies/commit_tests-56/A/mu
svn-test-work/working_copies/commit_tests-56/A/a.txt --config-dir
/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svn-test-work/l
ocal_tmp/config --password rayjandom --no-auth-cache --username jrandom
<TIME = 0.077166>
CMD: svn cp svn-test-work/working_copies/commit_tests-56/A/mu
svn-test-work/working_copies/commit_tests-56/A/b.txt --config-dir
/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svn-test-work/l
ocal_tmp/config --password rayjandom --no-auth-cache --username jrandom
<TIME = 0.075974>
CMD: /var/tmp/BUILD/subversion-1.5.1/subversion/svn/svn commit -m logmsg
svn-test-work/working_copies/commit_tests-56 --config-dir
/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svn-test-work/l
ocal_tmp/config --password rayjandom --no-auth-cache --username jrandom
exited with 1
CMD: svn commit -m logmsg svn-test-work/working_copies/commit_tests-56
--config-dir
/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svn-test-work/l
ocal_tmp/config --password rayjandom --no-auth-cache --username jrandom
<TIME = 0.328600>
Commit should have failed
EXPECTED STDERR (regexp):
.* is scheduled for addition, but is missing
ACTUAL STDERR:
svn: Commit succeeded, but other errors follow:
svn: Error bumping revisions post-commit (details follow):
svn: In directory
'/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svn-test-work/
working_copies/commit_tests-56/A'
svn: Error processing command 'committed' in
'/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svn-test-work/
working_copies/commit_tests-56/A'
svn: Error getting 'affected time' of
'/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svn-test-work/
working_copies/commit_tests-56/A/b.txt'
svn: Can't stat
'/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svn-test-work/
working_copies/commit_tests-56/A/b.txt': No such file or directory
EXCEPTION: SVNUnmatchedError
Traceback (most recent call last):
  File
"/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svntest/main.p
y", line 1078, in run
    rc = apply(self.pred.run, (), kw)
  File
"/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svntest/testca
se.py", line 121, in run
    return self.func(sandbox)
  File "./commit_tests.py", line 2512, in commit_added_missing
    'commit', '-m', 'logmsg', wc_dir)
  File
"/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svntest/action
s.py", line 176, in run_and_verify_svn
    verify.verify_outputs(message, out, err, expected_stdout,
expected_stderr)
  File
"/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svntest/verify
.py", line 324, in verify_outputs
    compare_and_display_lines(message, label, expected, actual,
raisable)
  File
"/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svntest/verify
.py", line 298, in compare_and_display_lines
    raise raisable
SVNUnmatchedError
FAIL: commit_tests.py 56: commit a missing to-be-added file should fail

------------------------------------------------------------------------
-
Example (merginfo_test.py):
------------------------------------------------------------------------
-

/app/Python/2.5.x/bin/python ./mergeinfo_tests.py -v 3
CMD: svnadmin create svn-test-work/local_tmp/repos --bdb-txn-nosync
<TIME = 1.663297>
CMD: svn import -m "Log message for revision 1."
svn-test-work/local_tmp/greekfiles
file:///var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svn-test
-work/local_tmp/repos --config-dir
/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svn-test-work/l
ocal_tmp/config --password rayjandom --no-auth-cache --username jrandom
<TIME = 0.870046>
CMD: svnadmin create svn-test-work/repositories/mergeinfo_tests-3
--bdb-txn-nosync <TIME = 0.195397>
CMD: svnadmin dump "svn-test-work/local_tmp/repos" | svnadmin load
"svn-test-work/repositories/mergeinfo_tests-3" --ignore-uuid <TIME =
0.001514>
CMD: svn co
file:///var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svn-test
-work/repositories/mergeinfo_tests-3
svn-test-work/working_copies/mergeinfo_tests-3 --config-dir
/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svn-test-work/l
ocal_tmp/config --password rayjandom --no-auth-cache --username jrandom
<TIME = 0.121088>
CMD: svn propset -F
svn-test-work/working_copies/mergeinfo_tests-3/propval.tmp svn:mergeinfo
svn-test-work/working_copies/mergeinfo_tests-3/A/D/H --config-dir
/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svn-test-work/l
ocal_tmp/config --password rayjandom --no-auth-cache --username jrandom
<TIME = 0.073712>
CMD: svn cp svn-test-work/working_copies/mergeinfo_tests-3/A/D/H
svn-test-work/working_copies/mergeinfo_tests-3/A/D/H2 --config-dir
/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svn-test-work/l
ocal_tmp/config --password rayjandom --no-auth-cache --username jrandom
<TIME = 0.084154>
CMD: svn ci -m r2 svn-test-work/working_copies/mergeinfo_tests-3
--config-dir
/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svn-test-work/l
ocal_tmp/config --password rayjandom --no-auth-cache --username jrandom
<TIME = 0.306876>
CMD: svn mergeinfo
file:///var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svn-test
-work/repositories/mergeinfo_tests-3/A/B
svn-test-work/working_copies/mergeinfo_tests-3/A/D/H --config-dir
/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svn-test-work/l
ocal_tmp/config --password rayjandom --no-auth-cache --username jrandom
<TIME = 0.076517>
lt-svn: subversion/libsvn_client/mergeinfo.c:1147:
svn_client_mergeinfo_log_merged: Assertion
`svn_path_is_url(merge_source_url)' failed.
CMD: /var/tmp/BUILD/subversion-1.5.1/subversion/svn/svn mergeinfo
svn-test-work/working_copies/mergeinfo_tests-3/A/B
svn-test-work/working_copies/mergeinfo_tests-3/A/D/H --config-dir
/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svn-test-work/l
ocal_tmp/config --password rayjandom --no-auth-cache --username jrandom
terminated by signal 6
CMD: svn mergeinfo svn-test-work/working_copies/mergeinfo_tests-3/A/B
svn-test-work/working_copies/mergeinfo_tests-3/A/D/H --config-dir
/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svn-test-work/l
ocal_tmp/config --password rayjandom --no-auth-cache --username
jrandomEXCEPTION: SVNProcessTerminatedBySignal
Traceback (most recent call last):
  File
"/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svntest/main.p
y", line 1078, in run
    rc = apply(self.pred.run, (), kw)
  File
"/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svntest/testca
se.py", line 203, in run
    return self.test_case.run(sandbox=sandbox)
  File
"/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svntest/testca
se.py", line 121, in run
    return self.func(sandbox)
  File "./mergeinfo_tests.py", line 94, in explicit_mergeinfo_source
    [1], B_path, H_path)
  File
"/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svntest/action
s.py", line 763, in run_and_verify_mergeinfo
    out, err = main.run_svn(error_re_string, *mergeinfo_command)
  File
"/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svntest/main.p
y", line 494, in run_svn
    *(_with_auth(_with_config_dir(varargs))))
  File
"/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svntest/main.p
y", line 313, in run_command
    None, *varargs)
  File
"/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svntest/main.p
y", line 427, in run_command_stdin
    *varargs)
  File
"/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svntest/main.p
y", line 407, in spawn_process
    exit_code = wait_on_pipe(kid, stdout_lines, stderr_lines)
  File
"/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svntest/main.p
y", line 374, in wait_on_pipe
    raise SVNProcessTerminatedBySignal
SVNProcessTerminatedBySignal
FAIL: mergeinfo_tests.py 3: 'mergeinfo' with source selection

------------------------------------------------------------------------
-

Regards,
Anders

-----Original Message-----
From: Strandberg Anders
Sent: den 19 augusti 2008 16:57
To: 'users_at_subversion.tigris.org'
Subject: make check fails on commit_tests.py and log_tests.py

Hi,

I am trying to build a subversion 1.5.1. on Solaris and SLES/SLED

Build and make check for subversion 1.5.0 works fine, but make check
fails for subversion 1.5.1 with the same build environment.

Platform: Linux SLES 9 and SLED 10

Output from tests.log 1.5.1:

FAIL: commit_tests.py 56: commit a missing to-be-added file should fail

FAIL: log_tests.py 16: test 'svn log -g' on a single revision
FAIL: log_tests.py 18: test 'svn log -g' on a non-branching revision
FAIL: log_tests.py 27: log -g and explicit mergeinfo replacing
inherited

I noticed that the tests differs, i.e. things included in 1.5.1-tests
may not be included in 1.5.0-tests.

Example of first failing test:

cmdline 102 > ./commit_tests.py 56
Commit should have failed
EXPECTED STDERR (regexp):
.* is scheduled for addition, but is missing ACTUAL STDERR:
svn: Commit succeeded, but other errors follow:
svn: Error bumping revisions post-commit (details follow):
svn: In directory
'/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svn-test-work/
working_copies/commit_tests-56/A'
svn: Error processing command 'committed' in
'/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svn-test-work/
working_copies/commit_tests-56/A'
svn: Error getting 'affected time' of
'/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svn-test-work/
working_copies/commit_tests-56/A/b.txt'
svn: Can't stat
'/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svn-test-work/
working_copies/commit_tests-56/A/b.txt': No such file or directory
EXCEPTION: SVNUnmatchedError
Traceback (most recent call last):
  File
"/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svntest/main.p
y", line 1078, in run
    rc = apply(self.pred.run, (), kw)
  File
"/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svntest/testca
se.py", line 121, in run
    return self.func(sandbox)
  File "./commit_tests.py", line 2512, in commit_added_missing
    'commit', '-m', 'logmsg', wc_dir)
  File
"/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svntest/action
s.py", line 176, in run_and_verify_svn
    verify.verify_outputs(message, out, err, expected_stdout,
expected_stderr)
  File
"/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svntest/verify
.py", line 324, in verify_outputs
    compare_and_display_lines(message, label, expected, actual,
raisable)
  File
"/var/tmp/BUILD/subversion-1.5.1/subversion/tests/cmdline/svntest/verify
.py", line 298, in compare_and_display_lines
    raise raisable
SVNUnmatchedError
FAIL: commit_tests.py 56: commit a missing to-be-added file should fail
cmdline 103 >

Where do I look for explanation and possible solutions for this ?

Regards,
Anders

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-22 16:13:30 CEST

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.