You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Blair Zajac <bl...@orcaware.com> on 2007/02/20 19:01:42 UTC

1.4.3 and svnserve/db45 transient testsuite failures

I'm rebuilding our internal Subversion RPMs for Centos 4.x and decided
to update it to use the latest apr 1.2.8 and db 4.5.20.

I'm seeing random testsuite failures in 'make svncheck', never with 
'make check'.

The first time it happened, I just redid the build without paying too 
much attention, but it happened again in a difference test, but I 
noticed that the last error message was the same:

CMD: svnadmin "create" "svn-test-work/repositories/diff_tests-9"
"--bdb-txn-nosync" "--fs-type=bdb" <TIME = 0.755776>
CMD: svnadmin dump "svn-test-work/local_tmp/repos" | svnadmin load
"svn-test-work/repositories/diff_tests-9" <TIME = 0.016075>
CMD: svn "co" "--username" "jrandom" "--password" "rayjandom"
"svn://localhost/svn-test-work/repositories/diff_tests-9"
"svn-test-work/working_copies/diff_tests-9" "--config-dir"
"/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 

<TIME = 0.720149>
CMD: svn "ci" "-m" "log msg" "--config-dir"
"/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 

<TIME = 0.991461>
CMD: svn "add" "A/B/T" "--config-dir"
"/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 

<TIME = 0.099086>
CMD: svn "add" "A/B/T/phi" "--config-dir"
"/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 

<TIME = 0.095007>
CMD: svn "ci" "-m" "log msg" "--config-dir"
"/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 

<TIME = 0.805195>
CMD: svn "add" "A/B/E/theta" "--config-dir"
"/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 

<TIME = 0.095168>
CMD: svn "ci" "-m" "log msg" "--config-dir"
"/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 

<TIME = -0.094310>
CMD: svn "ci" "-m" "log msg" "--config-dir"
"/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 

<TIME = 0.096994>
CMD: svn "up" "-r" "2" "--config-dir"
"/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 

<TIME = 0.902179>
CMD: svn "diff" "-c" "2" "--username" "jrandom" "--password" "rayjandom"
"svn://localhost/svn-test-work/repositories/diff_tests-9" "--config-dir"
"/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 

<TIME = 0.115927>
CMD: svn "diff" "-r" "1:2" "--username" "jrandom" "--password"
"rayjandom" "--config-dir"
"/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 

<TIME = 0.116916>
CMD: svn "diff" "-c" "3" "--username" "jrandom" "--password" "rayjandom"
"svn://localhost/svn-test-work/repositories/diff_tests-9" "--config-dir"
"/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 

<TIME = 0.114490>
CMD: svn "diff" "-r" "2:3" "--username" "jrandom" "--password"
"rayjandom" "--config-dir"
"/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 

<TIME = 0.115573>
CMD: svn "diff" "-c" "5" "--username" "jrandom" "--password" "rayjandom"
"svn://localhost/svn-test-work/repositories/diff_tests-9" "--config-dir"
"/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 

<TIME = 0.100645>
svn: Reference to non-existent revision 5 in filesystem
'/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/repositories/diff_tests-9/db'
FAIL:  diff_tests.py 9: pure repository diff update a file

I did the build again and this time it ran into no problems.

The error is odd that it doesn't see the latest revision in the 
repository.  Could this have something to do with the --bdb-txn-nosync 
flag and db 4.5?

Regards,
Blair

-- 
Blair Zajac, Ph.D.
<bl...@orcaware.com>
Subversion training, consulting and support
http://www.orcaware.com/svn/

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

Re: 1.4.3 and svnserve/db45 transient testsuite failures

Posted by "C. Michael Pilato" <cm...@collab.net>.
Blair Zajac wrote:
> Well, I would rather not count on that, as it sounds like the easy
> answer (go check your memory, so I don't have to look for the hard
> heisenbugs :) )
> 
> Seriously:
> 
> 1) This is the same box I do all my previous svn builds on and it's
> never had this issue.
> 2) It's in a nice managed server room.
> 3) It's used by 50 developers as a standard compile box.
> 
> Maybe we should just bookmark this and if other people see similar
> results with db45, then we can look into it further.
> 
> Regards,
> Blair

Some months ago I did some quicky testing of Subversion + BDB 4.5 (see
http://svn.haxx.se/dev/archive-2006-11/0104.shtml).  But I only ran the C
test suite.  It seems like you're seeing problems in other tests, possibly
ones which open up multiple connections to the DB at the same time (very
unlike the C tests).

Have you tried the same testing with BDB 4.4?

-- 
C. Michael Pilato <cm...@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand


Re: 1.4.3 and svnserve/db45 transient testsuite failures

Posted by Blair Zajac <bl...@orcaware.com>.
Well, I would rather not count on that, as it sounds like the easy 
answer (go check your memory, so I don't have to look for the hard 
heisenbugs :) )

Seriously:

1) This is the same box I do all my previous svn builds on and it's 
never had this issue.
2) It's in a nice managed server room.
3) It's used by 50 developers as a standard compile box.

Maybe we should just bookmark this and if other people see similar 
results with db45, then we can look into it further.

Regards,
Blair


David Summers wrote:
> 
> Please verify your box is not having hardware memory problems.  Last 
> time I saw intermittent stuff (last month) like this it turned out to be 
> bad memory.
> 
> On Tue, 20 Feb 2007, Blair Zajac wrote:
>> I'm rebuilding our internal Subversion RPMs for Centos 4.x and decided
>> to update it to use the latest apr 1.2.8 and db 4.5.20.
>>
>> I'm seeing random testsuite failures in 'make svncheck', never with 
>> 'make check'.
>>
>> The first time it happened, I just redid the build without paying too 
>> much attention, but it happened again in a difference test, but I 
>> noticed that the last error message was the same:
>>
>> CMD: svnadmin "create" "svn-test-work/repositories/diff_tests-9"
>> "--bdb-txn-nosync" "--fs-type=bdb" <TIME = 0.755776>
>> CMD: svnadmin dump "svn-test-work/local_tmp/repos" | svnadmin load
>> "svn-test-work/repositories/diff_tests-9" <TIME = 0.016075>
>> CMD: svn "co" "--username" "jrandom" "--password" "rayjandom"
>> "svn://localhost/svn-test-work/repositories/diff_tests-9"
>> "svn-test-work/working_copies/diff_tests-9" "--config-dir"
>> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
>> <TIME = 0.720149>
>> CMD: svn "ci" "-m" "log msg" "--config-dir"
>> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
>> <TIME = 0.991461>
>> CMD: svn "add" "A/B/T" "--config-dir"
>> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
>> <TIME = 0.099086>
>> CMD: svn "add" "A/B/T/phi" "--config-dir"
>> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
>> <TIME = 0.095007>
>> CMD: svn "ci" "-m" "log msg" "--config-dir"
>> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
>> <TIME = 0.805195>
>> CMD: svn "add" "A/B/E/theta" "--config-dir"
>> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
>> <TIME = 0.095168>
>> CMD: svn "ci" "-m" "log msg" "--config-dir"
>> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
>> <TIME = -0.094310>
>> CMD: svn "ci" "-m" "log msg" "--config-dir"
>> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
>> <TIME = 0.096994>
>> CMD: svn "up" "-r" "2" "--config-dir"
>> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
>> <TIME = 0.902179>
>> CMD: svn "diff" "-c" "2" "--username" "jrandom" "--password" "rayjandom"
>> "svn://localhost/svn-test-work/repositories/diff_tests-9" "--config-dir"
>> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
>> <TIME = 0.115927>
>> CMD: svn "diff" "-r" "1:2" "--username" "jrandom" "--password"
>> "rayjandom" "--config-dir"
>> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
>> <TIME = 0.116916>
>> CMD: svn "diff" "-c" "3" "--username" "jrandom" "--password" "rayjandom"
>> "svn://localhost/svn-test-work/repositories/diff_tests-9" "--config-dir"
>> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
>> <TIME = 0.114490>
>> CMD: svn "diff" "-r" "2:3" "--username" "jrandom" "--password"
>> "rayjandom" "--config-dir"
>> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
>> <TIME = 0.115573>
>> CMD: svn "diff" "-c" "5" "--username" "jrandom" "--password" "rayjandom"
>> "svn://localhost/svn-test-work/repositories/diff_tests-9" "--config-dir"
>> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
>> <TIME = 0.100645>
>> svn: Reference to non-existent revision 5 in filesystem
>> '/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/repositories/diff_tests-9/db' 
>>
>> FAIL:  diff_tests.py 9: pure repository diff update a file
>>
>> I did the build again and this time it ran into no problems.
>>
>> The error is odd that it doesn't see the latest revision in the 
>> repository. Could this have something to do with the --bdb-txn-nosync 
>> flag and db 4.5?
>>
> 
> David Wayne Summers        "Linux: Because reboots are for hardware 
> upgrades!"
> david@summersoft.fay.ar.us PGP Key: 
> http://summersoft.fay.ar.us/~david/pgp.txt
> PGP Key fingerprint =  0B44 B118 85CC F4EC 7021  1ED4 1516 5B78 E320 2001
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
> 

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

Re: 1.4.3 and svnserve/db45 transient testsuite failures

Posted by David Summers <da...@summersoft.fay.ar.us>.
Please verify your box is not having hardware memory problems.  Last time 
I saw intermittent stuff (last month) like this it turned out to be bad 
memory.

On Tue, 20 Feb 2007, Blair Zajac wrote:
> I'm rebuilding our internal Subversion RPMs for Centos 4.x and decided
> to update it to use the latest apr 1.2.8 and db 4.5.20.
>
> I'm seeing random testsuite failures in 'make svncheck', never with 'make 
> check'.
>
> The first time it happened, I just redid the build without paying too much 
> attention, but it happened again in a difference test, but I noticed that the 
> last error message was the same:
>
> CMD: svnadmin "create" "svn-test-work/repositories/diff_tests-9"
> "--bdb-txn-nosync" "--fs-type=bdb" <TIME = 0.755776>
> CMD: svnadmin dump "svn-test-work/local_tmp/repos" | svnadmin load
> "svn-test-work/repositories/diff_tests-9" <TIME = 0.016075>
> CMD: svn "co" "--username" "jrandom" "--password" "rayjandom"
> "svn://localhost/svn-test-work/repositories/diff_tests-9"
> "svn-test-work/working_copies/diff_tests-9" "--config-dir"
> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
> <TIME = 0.720149>
> CMD: svn "ci" "-m" "log msg" "--config-dir"
> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
> <TIME = 0.991461>
> CMD: svn "add" "A/B/T" "--config-dir"
> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
> <TIME = 0.099086>
> CMD: svn "add" "A/B/T/phi" "--config-dir"
> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
> <TIME = 0.095007>
> CMD: svn "ci" "-m" "log msg" "--config-dir"
> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
> <TIME = 0.805195>
> CMD: svn "add" "A/B/E/theta" "--config-dir"
> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
> <TIME = 0.095168>
> CMD: svn "ci" "-m" "log msg" "--config-dir"
> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
> <TIME = -0.094310>
> CMD: svn "ci" "-m" "log msg" "--config-dir"
> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
> <TIME = 0.096994>
> CMD: svn "up" "-r" "2" "--config-dir"
> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
> <TIME = 0.902179>
> CMD: svn "diff" "-c" "2" "--username" "jrandom" "--password" "rayjandom"
> "svn://localhost/svn-test-work/repositories/diff_tests-9" "--config-dir"
> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
> <TIME = 0.115927>
> CMD: svn "diff" "-r" "1:2" "--username" "jrandom" "--password"
> "rayjandom" "--config-dir"
> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
> <TIME = 0.116916>
> CMD: svn "diff" "-c" "3" "--username" "jrandom" "--password" "rayjandom"
> "svn://localhost/svn-test-work/repositories/diff_tests-9" "--config-dir"
> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
> <TIME = 0.114490>
> CMD: svn "diff" "-r" "2:3" "--username" "jrandom" "--password"
> "rayjandom" "--config-dir"
> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
> <TIME = 0.115573>
> CMD: svn "diff" "-c" "5" "--username" "jrandom" "--password" "rayjandom"
> "svn://localhost/svn-test-work/repositories/diff_tests-9" "--config-dir"
> "/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/local_tmp/config" 
> <TIME = 0.100645>
> svn: Reference to non-existent revision 5 in filesystem
> '/var/tmp/rpmbuilding/blair/BUILD_i386/subversion-1.4.3/subversion/tests/cmdline/svn-test-work/repositories/diff_tests-9/db'
> FAIL:  diff_tests.py 9: pure repository diff update a file
>
> I did the build again and this time it ran into no problems.
>
> The error is odd that it doesn't see the latest revision in the repository. 
> Could this have something to do with the --bdb-txn-nosync flag and db 4.5?
>

David Wayne Summers        "Linux: Because reboots are for hardware upgrades!"
david@summersoft.fay.ar.us PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  0B44 B118 85CC F4EC 7021  1ED4 1516 5B78 E320 2001

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