You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ben Collins-Sussman <su...@collab.net> on 2001/08/15 15:29:15 UTC

ra_dav testing: the fun begins

Okay, I've got the python tests running over ra_dav like so:

       ./basic_tests.py --url http://newton.collab.net

The first two tests pass, which do nothing but run 'svn co' and 'svn st'.

The third test fails, seemingly the very first time it makes a call to
'svn ci'.  I'll investigate further, but the error is:

svn_error: #21073 : <RA layer's server request failed> 
The CHECKOUT request failed (http #409) (/repositories/current-repo/$svn/bln/1)

Note that this error is talking about a DAV checkout, which is a DAV
request issued when doing a commit:

        MKACTIVITY
        CHECKOUT object activity
        PROPPATCH object
        PUT object
        MERGE

Looking in the apache access log, I see:

216.127.237.130 - - [15/Aug/2001:10:18:53 -0500] "MKACTIVITY /repositories/curr\ent-repo/$svn/act//744b93d6-d11d-b211-8ee0-ca62cd8d3872 HTTP/1.1" 201 327
216.127.237.130 - - [15/Aug/2001:10:18:55 -0500] "PROPFIND /repositories/curren\t-repo HTTP/1.1" 207 414
216.127.237.130 - - [15/Aug/2001:10:18:55 -0500] "PROPFIND /repositories/curren\t-repo/$svn/vcc/default HTTP/1.1" 207 380
216.127.237.130 - - [15/Aug/2001:10:18:55 -0500] "CHECKOUT /repositories/curren\t-repo/$svn/bln/1 HTTP/1.1" 409 305


And in the error log, I see:

[Wed Aug 15 10:18:55 2001] [error] [client 216.127.237.130] Could not CHECKOUT \resource /repositories/current-repo/$svn/bln/1.  [409, #0]
[Wed Aug 15 10:18:55 2001] [error] [client 216.127.237.130] The specified activ\ity does not exist.  [409, #0]


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: ra_dav testing: the fun begins

Posted by Greg Stein <gs...@lyra.org>.
Hmm. I just updated my svn, built, and tried this with an existing svn WC.
Made a change and commited. Worked fine.

I'm unclear on how a CHECKOUT of the baseline could fail like that. The
activity was created moments before. You don't even get a chance to get in
there and monkey with the repository...

hmm. Unless somebody else was running a test against the same repository,
and that testing process included copying a pristine repository over the top
of the one in question.

You have four requests: MKACTIVITY, PROPFIND, PROPFIND, CHECKOUT (boom!).
For the activity to disappear from R1 to R4... that is just wrong.

Cheers,
-g

On Wed, Aug 15, 2001 at 10:29:15AM -0500, Ben Collins-Sussman wrote:
> 
> Okay, I've got the python tests running over ra_dav like so:
> 
>        ./basic_tests.py --url http://newton.collab.net
> 
> The first two tests pass, which do nothing but run 'svn co' and 'svn st'.
> 
> The third test fails, seemingly the very first time it makes a call to
> 'svn ci'.  I'll investigate further, but the error is:
> 
> svn_error: #21073 : <RA layer's server request failed> 
> The CHECKOUT request failed (http #409) (/repositories/current-repo/$svn/bln/1)
> 
> Note that this error is talking about a DAV checkout, which is a DAV
> request issued when doing a commit:
> 
>         MKACTIVITY
>         CHECKOUT object activity
>         PROPPATCH object
>         PUT object
>         MERGE
> 
> Looking in the apache access log, I see:
> 
> 216.127.237.130 - - [15/Aug/2001:10:18:53 -0500] "MKACTIVITY /repositories/curr\ent-repo/$svn/act//744b93d6-d11d-b211-8ee0-ca62cd8d3872 HTTP/1.1" 201 327
> 216.127.237.130 - - [15/Aug/2001:10:18:55 -0500] "PROPFIND /repositories/curren\t-repo HTTP/1.1" 207 414
> 216.127.237.130 - - [15/Aug/2001:10:18:55 -0500] "PROPFIND /repositories/curren\t-repo/$svn/vcc/default HTTP/1.1" 207 380
> 216.127.237.130 - - [15/Aug/2001:10:18:55 -0500] "CHECKOUT /repositories/curren\t-repo/$svn/bln/1 HTTP/1.1" 409 305
> 
> 
> And in the error log, I see:
> 
> [Wed Aug 15 10:18:55 2001] [error] [client 216.127.237.130] Could not CHECKOUT \resource /repositories/current-repo/$svn/bln/1.  [409, #0]
> [Wed Aug 15 10:18:55 2001] [error] [client 216.127.237.130] The specified activ\ity does not exist.  [409, #0]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

-- 
Greg Stein, http://www.lyra.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org