"Lieven Govaerts" <lgo@mobsol.be> writes:
> I checked the tests that fail like this, all of them fail because they use:
> svntest.main.run_svn (None, 'ci', '-F', msg_file)
> instead of:
> svntest.actions.run_and_verify_commit(wc_dir,
> expected_output,...
>
> In r19143, run_and_verify_commit was modified to always pass user and
> password to subversion, which is now required for ra_svn and ra_dav tests.
That's quite an old change; I haven't run the tests since March, have
they really been failing since April?
>
> Probably these tests almost never fail because when you run other tests
> first the account & pwd are cached.
Which "other tests"? I get the failure when I run 'make svncheck' as
well as when I run log_tests.py explicitly.
Ah, I think it's a combination of r19143 (assuming that introduced an
auth requirement) and the recent hotcopy/relocate stuff.
>> $ .../log_tests.py -v --url svn://localhost 1
>> CMD: svnadmin "create" "svn-test-work/local_tmp/repos"
>> "--bdb-txn-nosync" <TIME = 0.183733>
>> CMD: svn "import" "--username" "jrandom" "--password"
>> "rayjandom" "-m" "Log message for revision 1."
>> "svn-test-work/local_tmp/greekfiles"
>> "file:///home/pm/sw/subversion/obj/subversion/tests/cmdline/sv
>> n-test-work/local_tmp/repos" "--config-dir"
>> "/home/pm/sw/subversion/obj/subversion/tests/cmdline/svn-test-
>> work/local_tmp/config" <TIME = 0.362535>
>> CMD: svnadmin "hotcopy" "svn-test-work/local_tmp/repos"
>> "svn-test-work/repositories/log_tests-1" <TIME = 0.181440>
>> CMD: svn "co" "--username" "jrandom" "--password" "rayjandom"
>> "file:///home/pm/sw/subversion/obj/subversion/tests/cmdline/sv
>> n-test-work/local_tmp/repos" "svn-test-work/local_tmp/wc"
>> "--config-dir"
>> "/home/pm/sw/subversion/obj/subversion/tests/cmdline/svn-test-
>> work/local_tmp/config" <TIME = 0.652981>
The above checkout uses file:// even for ra_svn tests. If it used
svn:// before the hotcopy/relocate changes would that have cached
credentials?
>> CMD: svn "switch" "--relocate" "--username" "jrandom"
>> "--password" "rayjandom"
>> "file:///home/pm/sw/subversion/obj/subversion/tests/cmdline/sv
>> n-test-work/local_tmp/repos"
>> "svn://localhost/svn-test-work/repositories/log_tests-1"
>> "svn-test-work/working_copies/log_tests-1" "--config-dir"
>> "/home/pm/sw/subversion/obj/subversion/tests/cmdline/svn-test-
>> work/local_tmp/config" <TIME = 0.280113> Password for 'pm':
>> CMD: svn "ci" "-F"
>> "/home/pm/sw/subversion/obj/subversion/tests/cmdline/svn-test-
>> work/repositories/log_tests-1/log-msg" "--config-dir"
>> "/home/pm/sw/subversion/obj/subversion/tests/cmdline/svn-test-
>> work/local_tmp/config" <TIME = 1.921146> Authentication
>> realm: <svn://localhost:3690> caf9b323-0318-0410-93c6-2d89483b7472
>> Authentication realm: <svn://localhost:3690>
>> caf9b323-0318-0410-93c6-2d89483b7472
>> Username: ../svn/subversion/libsvn_client/commit.c:866:
>> (apr_err=70014)
>> svn: Commit failed (details follow):
>> ../svn/subversion/libsvn_subr/prompt.c:119: (apr_err=70014)
>> svn: Can't read stdin: End of file found
>> FAIL: log_tests.py 1: 'svn log', no args, top of wc
>>
>> --
>> Philip Martin
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: dev-help@subversion.tigris.org
>>
>
>
--
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 7 23:10:31 2006