Hi devs,
As I said in the mail thread about the misaligned blame output [1], I
wanted to get the test suite running first. However, after spending
some time with it, I still have 15 failing tests. I'd like that number
to be 0 before I start hacking. Or is it known/expected that certain
tests are currently failing on trunk?
I quite a newbie with this stuff, so any help is appreciated. Can
someone give me a hint or point me in the right direction? I'm
running on Windows, built svn from trunk r940092, and this is the
command I used to run the tests:
python win-tests.py --verbose --cleanup --bin=$(TARGETDIR)\bin --debug -f fsfs
The failing tests are:
FAIL: dirent_uri-test.exe 37: test svn_dirent_condense_targets
FAIL: depth_tests.py 5: update depth-immediates wc gets top file mod only
FAIL: lock_tests.py 9: verify svn:needs-lock read-only behavior
FAIL: log_tests.py 5: 'svn log -r COMMITTED' of dynamic/local WC rev
FAIL: log_tests.py 17: test 'svn log -g' on a branching revision
FAIL: log_tests.py 18: test 'svn log -g' on a non-branching revision
FAIL: merge_tests.py 15: merge one file (issue #1150) using the -c option
FAIL: merge_tests.py 20: merge into missing must not break working copy
FAIL: merge_tests.py 25: merge prop change into deleted target
FAIL: merge_tests.py 106: merge two successive edits to the same property
FAIL: merge_tests.py 123: no self referential filtering on added path
FAIL: merge_tests.py 140: merge into WC of deleted branch should work
FAIL: mergeinfo_tests.py 7: test svn mergeinfo -R
FAIL: update_tests.py 34: update handles obstructing paths scheduled for add
FAIL: update_tests.py 47: tree conflicts 1.2: tree del, leaf del on update
Some excerpts from tests.log:
====
..\..\..\subversion\tests\libsvn_subr\dirent_uri-test.c:2420: (apr_err=125001)
..\..\..\subversion\libsvn_subr\dirent_uri.c:1980: (apr_err=125001)
..\..\..\subversion\libsvn_subr\dirent_uri.c:1651: (apr_err=125001)
svn_tests: Couldn't determine absolute path of 'D:\dir'
..\..\..\subversion\libsvn_subr\dirent_uri.c:1651: (apr_err=20024)
svn_tests: The given path is misformatted or contained invalid characters
FAIL: dirent_uri-test.exe 37: test svn_dirent_condense_targets
====
====
CMD: svnadmin.exe create "svn-test-work\repositories\depth_tests-5"
--bdb-txn-nosync "--fs-type=fsfs"
<TIME = 0.140000>
CMD: svnadmin.exe dump svn-test-work\local_tmp\repos | svnadmin.exe
load svn-test-work\repositories\depth_tests-5 --ignore-uuid
<TIME = 0.016000>
ERROR: load failed; did not see revision 1
EXCEPTION: SVNRepositoryCopyFailure
Traceback (most recent call last):
File "C:\research\svn\client_build\svn_trunk\subversion\tests\cmdline\svntest\main.py",
line 1234, in run
rc = self.pred.run(sandbox)
File "C:\research\svn\client_build\svn_trunk\subversion\tests\cmdline\svntest\testcase.py",
line 160, in run
return self.func(sandbox)
File "C:\research\svn\client_build\svn_trunk\subversion/tests/cmdline/depth_tests.py",
line 221, in depth_immediates_get_top_file_mod_only
= set_up_depthy_working_copies(sbox, immediates=True, infinity=True)
File "C:\research\svn\client_build\svn_trunk\subversion/tests/cmdline/depth_tests.py",
line 61, in set_up_depthy_working_copies
sbox.build()
File "C:\research\svn\client_build\svn_trunk\subversion\tests\cmdline\svntest\sandbox.py",
line 99, in build
if svntest.actions.make_repo_and_wc(self, create_wc, read_only):
File "C:\research\svn\client_build\svn_trunk\subversion\tests\cmdline\svntest\actions.py",
line 1531, in make_repo_and_wc
guarantee_greek_repository(sbox.repo_dir)
File "C:\research\svn\client_build\svn_trunk\subversion\tests\cmdline\svntest\actions.py",
line 136, in guarantee_greek_repository
if main.copy_repos(main.pristine_dir, path, 1):
File "C:\research\svn\client_build\svn_trunk\subversion\tests\cmdline\svntest\main.py",
line 873, in copy_repos
raise SVNRepositoryCopyFailure
SVNRepositoryCopyFailure
FAIL: depth_tests.py 5: update depth-immediates wc gets top file mod only
====
====
...
CMD: svn.exe ci -F
"C:\research\svn\client_build\svn_trunk\Debug\subversion\tests\cmdline\svn-test-work\repositories\log_tests-5\log-msg"
--config-dir "C:\research\svn\client_build\svn_trunk\Debug\subversion\tests\cmdline\svn-test-work\local_tmp\config"
--password rayjandom --no-auth-cache --username jrandom
<TIME = 0.609000>
Adding A\D\G\rho
..\..\..\subversion\svn\commit-cmd.c:142: (apr_err=721224)
..\..\..\subversion\libsvn_client\commit.c:852: (apr_err=721224)
svn: Commit failed (details follow):
..\..\..\subversion\libsvn_client\commit_util.c:1658: (apr_err=721224)
..\..\..\subversion\libsvn_delta\path_driver.c:254: (apr_err=721224)
..\..\..\subversion\libsvn_client\commit_util.c:1441: (apr_err=721224)
..\..\..\subversion\libsvn_repos\commit.c:505: (apr_err=721224)
..\..\..\subversion\libsvn_fs_fs\tree.c:2246: (apr_err=721224)
..\..\..\subversion\libsvn_fs_fs\tree.c:2246: (apr_err=721224)
..\..\..\subversion\libsvn_fs_fs\fs_fs.c:4910: (apr_err=721224)
..\..\..\subversion\libsvn_fs_fs\fs_fs.c:4797: (apr_err=721224)
..\..\..\subversion\libsvn_fs_fs\fs_fs.c:4721: (apr_err=721224)
..\..\..\subversion\libsvn_subr\io.c:2704: (apr_err=721224)
svn: Can't open file
'C:\research\svn\client_build\svn_trunk\Debug\subversion\tests\cmdline\svn-test-work\repositories\log_tests-5\db\transactions\7-7.txn\next-ids':
The requested operation cannot be performed on a file with a
user-mapped section open.
Traceback (most recent call last):
File "C:\research\svn\client_build\svn_trunk\subversion\tests\cmdline\svntest\main.py",
line 1234, in run
rc = self.pred.run(sandbox)
File "C:\research\svn\client_build\svn_trunk\subversion\tests\cmdline\svntest\testcase.py",
line 160, in run
return self.func(sandbox)
File "C:\research\svn\client_build\svn_trunk\subversion/tests/cmdline/log_tests.py",
line 737, in dynamic_revision
guarantee_repos_and_wc(sbox)
File "C:\research\svn\client_build\svn_trunk\subversion/tests/cmdline/log_tests.py",
line 179, in guarantee_repos_and_wc
'ci', '-F', msg_file)
File "C:\research\svn\client_build\svn_trunk\subversion\tests\cmdline\svntest\main.py",
line 619, in run_svn
*(_with_auth(_with_config_dir(varargs))))
File "C:\research\svn\client_build\svn_trunk\subversion\tests\cmdline\svntest\main.py",
line 369, in run_command
None, *varargs)
File "C:\research\svn\client_build\svn_trunk\subversion\tests\cmdline\svntest\main.py",
line 552, in run_command_stdin
raise Failure
Failure
FAIL: log_tests.py 5: 'svn log -r COMMITTED' of dynamic/local WC rev
====
[1] http://svn.haxx.se/dev/archive-2010-04/0463.shtml
Cheers,
--
Johan
Received on 2010-05-02 00:06:29 CEST