You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Julian Foad <ju...@btopenworld.com> on 2009/10/26 09:38:07 UTC

Diff tests failing with RA-svn - Can't open ... phi.svn-base

Is anyone else getting these failures when testing with RA-svn?

What's the error message "svn: Special code for wrapping server errors
to report to client" trying to tell me?

FAIL:  diff_tests.py 5: multiple revisions diff'd forwards and backwards
FAIL:  diff_tests.py 9: pure repository diff update a file
FAIL:  diff_tests.py 14: diff text-bases against repository
FAIL:  diff_tests.py 32: repos-wc diff showing added entries with props
FAIL:  diff_tests.py 36: wc->repos diff of added subtree
FAIL:  diff_tests.py 44: backward repos->wc diff with copied file

They all fail in a similar way to the following, which is from
diff_tests.py 5.

[[[
CMD: svn diff -r 4 --config-dir /.../subversion/tests/cmdline/svn-test-work/local_tmp/config --password rayjandom --no-auth-cache --username jrandom
CMD: /.../bin/svn diff -r 4 --config-dir /.../subversion/tests/cmdline/svn-test-work/local_tmp/config --password rayjandom --no-auth-cache --username jrandom exited with 1
<TIME = 0.093031>
/.../subversion/svn/diff-cmd.c:403: (apr_err=210000)
/.../subversion/libsvn_client/diff.c:1480: (apr_err=210000)
/.../subversion/libsvn_client/diff.c:1445: (apr_err=210000)
/.../subversion/libsvn_ra_svn/client.c:296: (apr_err=210000)
/.../subversion/svnserve/serve.c:851: (apr_err=210000)
svn: Special code for wrapping server errors to report to client
/.../subversion/libsvn_wc/diff.c:1482: (apr_err=2)
/.../subversion/libsvn_subr/stream.c:558: (apr_err=2)
/.../subversion/libsvn_subr/io.c:2766: (apr_err=2)
svn: Can't open file '/.../subversion/tests/cmdline/svn-test-work/working_copies/diff_tests-5/A/B/T/.svn/text-base/phi.svn-base': No such file or directory
Traceback (most recent call last):
  File "/.../subversion/tests/cmdline/svntest/main.py", line 1172, in run
    rc = self.pred.run(sandbox)
  File "/.../subversion/tests/cmdline/svntest/testcase.py", line 146, in run
    return self.func(sandbox)
  File "/.../subversion/tests/cmdline/diff_tests.py", line 473, in diff_multiple_reverse
    update_diff(wc_dir, 1, 4, check_update_a_file)
  File "/.../subversion/tests/cmdline/diff_tests.py", line 383, in update_diff
    just_diff(wc_dir, rev_check, check_fn)
  File "/.../subversion/tests/cmdline/diff_tests.py", line 364, in just_diff
    '-r', rev_check)
  File "/.../subversion/tests/cmdline/svntest/main.py", line 598, in run_svn
    return run_command(svn_binary, error_expected, 0,
  File "/.../subversion/tests/cmdline/svntest/main.py", line 367, in run_command
    None, *varargs)
  File "/.../subversion/tests/cmdline/svntest/main.py", line 532, in run_command_stdin
    raise Failure
Failure
FAIL:  diff_tests.py 5: multiple revisions diff'd forwards and backwards
]]]

- Julian

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2411314

Re: Diff tests failing with RA-svn - Can't open ... phi.svn-base

Posted by Julian Foad <ju...@btopenworld.com>.
Stefan Sperling wrote:
> On Mon, Oct 26, 2009 at 10:58:06AM +0100, Stefan Sperling wrote:
> > On Mon, Oct 26, 2009 at 10:38:07AM +0100, Julian Foad wrote:
> > > Is anyone else getting these failures when testing with RA-svn?
> > > 
> > > What's the error message "svn: Special code for wrapping server errors
> > > to report to client" trying to tell me?
> > > 
> > > FAIL:  diff_tests.py 5: multiple revisions diff'd forwards and backwards
> > > FAIL:  diff_tests.py 9: pure repository diff update a file
> > > FAIL:  diff_tests.py 14: diff text-bases against repository
> > > FAIL:  diff_tests.py 32: repos-wc diff showing added entries with props
> > > FAIL:  diff_tests.py 36: wc->repos diff of added subtree
> > > FAIL:  diff_tests.py 44: backward repos->wc diff with copied file
> > 
> > I may have broken these. I'll try to take a look today or tomorrow.
> 
> Turns out I cannot reproduce these failures locally. All diff tests
> pass (or xfail) for me over ra_svn.

I narrowed it down with a sequence of trial builds. The rev where they
start failing for me is r40164. 

* subversion/libsvn_wc/diff.c
  (apply_textdelta): Remove last remaining use of svn_wc_entry_t in this
file.

I don't yet know what it is about my environment that makes it fail for
me but not you or the build-bots. I always have an external diff
configured in my home directory's .subversion/config, but the test suite
should ignore that, I believe.

- Julian

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2411616

Re: Diff tests failing with RA-svn - Can't open ... phi.svn-base

Posted by Stefan Sperling <st...@elego.de>.
On Mon, Oct 26, 2009 at 10:58:06AM +0100, Stefan Sperling wrote:
> On Mon, Oct 26, 2009 at 10:38:07AM +0100, Julian Foad wrote:
> > Is anyone else getting these failures when testing with RA-svn?
> > 
> > What's the error message "svn: Special code for wrapping server errors
> > to report to client" trying to tell me?
> > 
> > FAIL:  diff_tests.py 5: multiple revisions diff'd forwards and backwards
> > FAIL:  diff_tests.py 9: pure repository diff update a file
> > FAIL:  diff_tests.py 14: diff text-bases against repository
> > FAIL:  diff_tests.py 32: repos-wc diff showing added entries with props
> > FAIL:  diff_tests.py 36: wc->repos diff of added subtree
> > FAIL:  diff_tests.py 44: backward repos->wc diff with copied file
> 
> I may have broken these. I'll try to take a look today or tomorrow.

Turns out I cannot reproduce these failures locally. All diff tests
pass (or xfail) for me over ra_svn.

Stefan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2411341

Re: Diff tests failing with RA-svn - Can't open ... phi.svn-base

Posted by Stefan Sperling <st...@elego.de>.
On Mon, Oct 26, 2009 at 10:38:07AM +0100, Julian Foad wrote:
> Is anyone else getting these failures when testing with RA-svn?
> 
> What's the error message "svn: Special code for wrapping server errors
> to report to client" trying to tell me?
> 
> FAIL:  diff_tests.py 5: multiple revisions diff'd forwards and backwards
> FAIL:  diff_tests.py 9: pure repository diff update a file
> FAIL:  diff_tests.py 14: diff text-bases against repository
> FAIL:  diff_tests.py 32: repos-wc diff showing added entries with props
> FAIL:  diff_tests.py 36: wc->repos diff of added subtree
> FAIL:  diff_tests.py 44: backward repos->wc diff with copied file

I may have broken these. I'll try to take a look today or tomorrow.

Stefan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2411323