On Jan 30, 2008 10:20 AM, Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu> wrote:
>
> Dan Christian wrote:
> > I just did a build (64bit linux) and davautocheck and hit this error:
> > Running all tests in blame_tests.py [42/56]...FAILURE
> >
> > Here is the relevant part of tests.log
> > CMD: /tmp/working.15627/subversion/subversion/svn/svn ci -m "Create
> > branches/a from trunk." --username copier --config-dir
> > /tmp/working.15627/subversion/subversion/tests/cmdline/svn-test-work/local_t
> > mp/config --password rayjandom --no-auth-cache exited with 1
> > CMD: svnadmin create svn-test-work/repositories/blame_tests-10
> > --bdb-txn-nosync <TIME = 0.037974>
> > CMD: svn co http://localhost:3321/svn-test-work/repositories/blame_tests-10
> > svn-test-work/working_copies/blame_tests-10 --config-dir
> > /tmp/working.15627/subversion/subversion/tests/cmdline/svn-test-wo
> > rk/local_tmp/config --password rayjandom --no-auth-cache --username
> > jrandom <TIME = 0.049941>
> > CMD: svn mkdir trunk --config-dir
> > /tmp/working.15627/subversion/subversion/tests/cmdline/svn-test-work/local_tmp/config
> > --password rayjandom --no-auth-cache --username jrandom <TIME =
> > 0.033653>
> > CMD: svn mkdir tags --config-dir
> > /tmp/working.15627/subversion/subversion/tests/cmdline/svn-test-work/local_tmp/config
> > --password rayjandom --no-auth-cache --username jrandom <TIME =
> > 0.033407>
> > CMD: svn mkdir branches --config-dir
> > /tmp/working.15627/subversion/subversion/tests/cmdline/svn-test-work/local_tmp/config
> > --password rayjandom --no-auth-cache --username jrandom <TIME =
> > 0.031384>
> > CMD: svn ci -m "Add trunk/tags/branches structure." --config-dir
> > /tmp/working.15627/subversion/subversion/tests/cmdline/svn-test-work/local_tmp/config
> > --password rayjandom --no-auth-cache --username
> > jrandom <TIME = 0.067917>
> > CMD: svn add trunk/A trunk/iota --config-dir
> > /tmp/working.15627/subversion/subversion/tests/cmdline/svn-test-work/local_tmp/config
> > --password rayjandom --no-auth-cache --username jrandom <TIME = 0.03
> > 8370>
> > CMD: svn ci -m "Import greek tree into trunk." --config-dir
> > /tmp/working.15627/subversion/subversion/tests/cmdline/svn-test-work/local_tmp/config
> > --password rayjandom --no-auth-cache --username jrand
> > om <TIME = 0.121600>
> > CMD: svn up --config-dir
> > /tmp/working.15627/subversion/subversion/tests/cmdline/svn-test-work/local_tmp/config
> > --password rayjandom --no-auth-cache --username jrandom <TIME =
> > 0.044060>
> > CMD: svn cp trunk branches/a --config-dir
> > /tmp/working.15627/subversion/subversion/tests/cmdline/svn-test-work/local_tmp/config
> > --password rayjandom --no-auth-cache --username jrandom <TIME =
> > 0.05400
> > 2>
> > CMD: svn ci -m "Create branches/a from trunk." --username copier
> > --config-dir /tmp/working.15627/subversion/subversion/tests/cmdline/svn-test-work/local_tmp/config
> > --password rayjandom --no-auth-cach
> > e <TIME = 0.038139>
> > Authentication realm: <http://localhost:3321> Subversion Repository
> > Username: svn: Commit failed (details follow):
> > svn: OPTIONS of
> > 'http://localhost:3321/svn-test-work/repositories/blame_tests-10/branches':
> > authorization failed (http://localhost:3321)
> > Traceback (most recent call last):
> > File "/tmp/working.15627/subversion/subversion/tests/cmdline/svntest/main.py",
> > line 1059, in run
> > rc = apply(self.pred.run, (), kw)
> > File "/tmp/working.15627/subversion/subversion/tests/cmdline/svntest/testcase.py",
> > line 203, in run
> > return self.test_case.run(sandbox=sandbox)
> > File "/tmp/working.15627/subversion/subversion/tests/cmdline/svntest/testcase.py",
> > line 121, in run
> > return self.func(sandbox)
> > File "/tmp/working.15627/subversion/subversion/tests/cmdline/blame_tests.py",
> > line 450, in blame_merge_info
> > merge_history_repos(sbox)
> > File "/tmp/working.15627/subversion/subversion/tests/cmdline/log_tests.py",
> > line 243, in merge_history_repos
> > '--username', 'copier')
> > File "/tmp/working.15627/subversion/subversion/tests/cmdline/svntest/main.py",
> > line 493, in run_svn
> > return run_command(svn_binary, error_expected, 0,
> > File "/tmp/working.15627/subversion/subversion/tests/cmdline/svntest/main.py",
> > line 313, in run_command
> > None, *varargs)
> > File "/tmp/working.15627/subversion/subversion/tests/cmdline/svntest/main.py",
> > line 435, in run_command_stdin
> > raise Failure
> > Failure
> > FAIL: blame_tests.py 10: test 'svn blame -g'
> >
> > The test is fine when run outside of davautocheck. All the other tests pass.
>
> In r29075, I added a couple of other users, 'merger' and 'copier'. They
> must not be configured correctly in the mod_dav_svn authz file. I
> looked into using svntest.main.write_authz_file(), but using it requires
> running all the blame_tests serially. Are there other ways around this?
I think the file is written by davautocheck itself? Just fix that, or
go back to using jrandom/jconstant?
--dave
--
David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-01-30 19:23:20 CET