You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Johan Corveleyn <jc...@gmail.com> on 2010/05/01 22:06:00 UTC

Some failing tests

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

Bug in dirent_uri-test 37 (was: Re: Some failing tests)

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Johan Corveleyn wrote on Wed, 5 May 2010 at 00:15 +0200:
> AFAIK, there's nothing special concerning I/O on my machine. I don't
> have a D drive (should I have one for these tests? I'll look a bit at
> what that test really does).

I get the same error as you when I use Z: instead of D: (I have a D:
drive but not a Z: drive).

..\..\..\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 'Z:\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

IOW, it's a bug in the test: it falsely fails when there is no D: drive.

Re: Some failing tests

Posted by Johan Corveleyn <jc...@gmail.com>.
On Sat, May 15, 2010 at 5:34 PM, Daniel Shahaf <d....@daniel.shahaf.name> wrote:
> Johan Corveleyn wrote on Sat, 15 May 2010 at 14:55 +0200:
>> [...], I got the entire test suite running successfully. Woohoo,
>> finally some progress :-).
>>
>> Thanks again for your help, Daniel.
>
> You're welcome, and congratulations on (being stubborn enough to)
> getting it to work :-)
>
> Daniel
> (I almost forget why you decided to go through all this --- was it
> for fun, or was there a patch you wanted to write? ☺)

Who knows :-). I wanted to start out modest with a small fix for blame
output ([1]). But the real goal is to make blame faster ([2]). We'll
see how it goes ...

[1] http://svn.haxx.se/dev/archive-2010-04/0463.shtml
[2] http://svn.haxx.se/dev/archive-2010-03/0503.shtml

Cheers,
-- 
Johan

Re: Some failing tests

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Johan Corveleyn wrote on Sat, 15 May 2010 at 14:55 +0200:
> [...], I got the entire test suite running successfully. Woohoo,
> finally some progress :-).
> 
> Thanks again for your help, Daniel.

You're welcome, and congratulations on (being stubborn enough to)
getting it to work :-)

Daniel
(I almost forget why you decided to go through all this --- was it 
for fun, or was there a patch you wanted to write? ☺)

Re: Some failing tests

Posted by Johan Corveleyn <jc...@gmail.com>.
On Tue, May 4, 2010 at 10:49 PM, Daniel Shahaf <d....@daniel.shahaf.name> wrote:
> Daniel Shahaf wrote on Tue, 4 May 2010 at 23:43 +0300:
>> Johan Corveleyn wrote on Tue, 4 May 2010 at 22:29 +0200:
>> > > 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
>> > > ====
>> > >
>> > > ====
>> > > ERROR:  load failed; did not see revision 1
>> > > EXCEPTION: SVNRepositoryCopyFailure
>> > > FAIL:  depth_tests.py 5: update depth-immediates wc gets top file mod only
>> > > ====
>> > >
>> > > ====
>> > > 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.
>> > > ====
>> > >
>
> All three errors are in the area of files and I/O.  Maybe there's
> something odd/unusual in this aspect of your test environment?

I finally found out what was going wrong: it was the @#!%!ç# antivirus
software (AVG free edition) that was causing most of the test
failures. After switching it off I got the entire test suite running
successfully (that is, after I changed my DVD drive from E: to D: to
make dirent_uri-test 37 pass [1]). Woohoo, finally some progress :-).

Googling around for "The requested operation cannot be performed on a
file with a user-mapped section open." gave me a hint that some other
part of the system must have been interfering and locking files. That
made the AV program the prime suspect ...

Thanks again for your help, Daniel.

Cheers,
-- 
Johan

[1] http://svn.haxx.se/dev/archive-2010-05/0053.shtml

Re: Some failing tests

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Johan Corveleyn wrote on Wed, 5 May 2010 at 00:15 +0200:
> I have 2,7 Gb of free disk space on C:.  Not a lot, I know, but
> I thought it should be plenty to run these tests.

With --cleanup, you can get away with 50MB or so.  (I used to use a 50MB 
ramdisk.)  Without --cleanup, you'll need a couple of hundred MB's --- 
twenty-seven of them is more than enough.

Re: Some failing tests

Posted by Johan Corveleyn <jc...@gmail.com>.
On Tue, May 4, 2010 at 10:49 PM, Daniel Shahaf <d....@daniel.shahaf.name> wrote:
> Daniel Shahaf wrote on Tue, 4 May 2010 at 23:43 +0300:
>> Johan Corveleyn wrote on Tue, 4 May 2010 at 22:29 +0200:
>> > > 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
>> > > ====
>> > >
>> > > ====
>> > > ERROR:  load failed; did not see revision 1
>> > > EXCEPTION: SVNRepositoryCopyFailure
>> > > FAIL:  depth_tests.py 5: update depth-immediates wc gets top file mod only
>> > > ====
>> > >
>> > > ====
>> > > 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.
>> > > ====
>> > >
>
> All three errors are in the area of files and I/O.  Maybe there's
> something odd/unusual in this aspect of your test environment?

Thanks for the feedback, Daniel. I'll investigate a little bit
further, keeping an eye on I/O.

AFAIK, there's nothing special concerning I/O on my machine. I don't
have a D drive (should I have one for these tests? I'll look a bit at
what that test really does). I have 2,7 Gb of free disk space on C:.
Not a lot, I know, but I thought it should be plenty to run these
tests.

-- 
Johan

Re: Some failing tests

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Daniel Shahaf wrote on Tue, 4 May 2010 at 23:43 +0300:
> Johan Corveleyn wrote on Tue, 4 May 2010 at 22:29 +0200:
> > > 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
> > > ====
> > >
> > > ====
> > > ERROR:  load failed; did not see revision 1
> > > EXCEPTION: SVNRepositoryCopyFailure
> > > FAIL:  depth_tests.py 5: update depth-immediates wc gets top file mod only
> > > ====
> > >
> > > ====
> > > 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.
> > > ====
> > >

All three errors are in the area of files and I/O.  Maybe there's
something odd/unusual in this aspect of your test environment?

Re: Some failing tests

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
I saw it but kept silent because I had little to contribute.  (I'm not 
sure what's going on here, never saw a combination of failures resembling 
it.)  Some more comments below.

Johan Corveleyn wrote on Tue, 4 May 2010 at 22:29 +0200:
> Anyone?
> 
> A simple answer like "this is obvious problem A, just search the list
> archives" or "it's not an obvious problem, you need to do some more
> digging" would already be quite helpful...
> 
> Should this be relevant: this is a debug build (on Windows). Some dependencies:
> - APR 1.3.8
> - Neon 0.28.6 (I don't think that's relevant, since the tests are over ra_local)
> - Serf 0.3.0 (ditto)
> 

(I tried serf on windows once.  Don't remember if I succeeded.)

> Cheers,
> Johan
> 
> On Sun, May 2, 2010 at 12:06 AM, Johan Corveleyn <jc...@gmail.com> wrote:
> > 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?
> >

You can ask our buildbot/hudson instances:

<wayita> http://buildbot.subversion.org/buildbot/waterfall
<wayita> http://hudson.zones.apache.org/hudson/view/subversion/
<wayita> http://ci.apache.org/waterfall?show=slik-w2k3-x64-local&show=slik-w2k3-x64-ra

Normally trunk should be passing all tests.

> > 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
> > ====
> >

Hmm.  Longshot, but do you *have* a D: drive?  (I don't know how APR
works with paths on non-existent drives.)

> > ====
> > ERROR:  load failed; did not see revision 1
> > EXCEPTION: SVNRepositoryCopyFailure
> > FAIL:  depth_tests.py 5: update depth-immediates wc gets top file mod only
> > ====
> >

For me, this usually "out of disk space".  But you passed --cleanup...

This seems to be part of the pre-test code that initializes a blank
repository for that test to work on.  (i.e., it's not an issue specific
to depth_tests 5)

> > ====
> > 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.
> > ====
> >

Don't know.

> >
> > [1] http://svn.haxx.se/dev/archive-2010-04/0463.shtml
> >
> > Cheers,
> > --
> > Johan
> >
> 

Re: Some failing tests

Posted by Johan Corveleyn <jc...@gmail.com>.
Anyone?

A simple answer like "this is obvious problem A, just search the list
archives" or "it's not an obvious problem, you need to do some more
digging" would already be quite helpful...

Should this be relevant: this is a debug build (on Windows). Some dependencies:
- APR 1.3.8
- Neon 0.28.6 (I don't think that's relevant, since the tests are over ra_local)
- Serf 0.3.0 (ditto)

Cheers,
Johan

On Sun, May 2, 2010 at 12:06 AM, Johan Corveleyn <jc...@gmail.com> wrote:
> 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
>