[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Fwd: Building for Win32 - tests fail

From: David Darj <zid_at_alagazam.net>
Date: Fri, 02 Apr 2010 10:16:27 +0200

On 2010-03-31 10:12, Julian Foad wrote:
> David Darj wrote:
> [...]
>
>> But when running against http:// I get
>> 22 tests SKIPPED
>> 25 tests XFAILED
>> 74 tests FAILED (list below)
>> 1 tests XPASSED
>>
>> Searching for some of them didn't give me any clues.
>>
>> My environment:
>> WindowsXP MCE, fully updated (except IE7 and IE8) using WindowsUpdate.
>> Visual C++ 6 with SP 3
>> PlatformSDK February 2003 (latest for VC++6)
>> Python 2.6.5
>> ActivePerl 5.10.1.1007
>> Apache 2.2.15
>>
>> Anybody got some ideas?
>>
> Look in the file 'tests.log' which is created by running the test suite,
> to see the details, and this should give a clue to why they failed.
>
> If you can't figure it out, show us the part of 'tests.log'
> corresponding to one of the tests that failed, e.g. from the line after
> "PASS: basic_tests.py 41:" up to the line "FAIL: basic_tests.py 42:".
> (Please don't include the whole file - it's huge and repetitive.)
>
> - Julian
>
>
>
>> FAIL: basic_tests.py 42: basic relative url target using current dir
>> FAIL: basic_tests.py 43: basic relative url target using other targets
>>
> [...]
>
>

Seems to me there is some problem with the svn:author prop. I included
logs for two test cases below.
Do I need to do some additional setup for authorization in Apache other
then configure for mod_dav_svn
and mod_authz_svn as stated in INSTALL section E.6 ?
Any ideas?

/David

Log for basic_test.py 42

CMD: svnadmin.exe create "svn-test-work\repositories\basic_tests-42"
--bdb-txn-nosync "--fs-type=fsfs" <TIME = 0.109000>
CMD: svnadmin.exedump svn-test-work\local_tmp\repos | svnadmin.exeload
svn-test-work\repositories\basic_tests-42 --ignore-uuid <TIME = 0.000000>
CMD: svn.exe co
http://localhost/svn-test-work/repositories/basic_tests-42
"svn-test-work\working_copies\basic_tests-42" --config-dir
"C:\SVN\src-1.6.9\Release\subversion\tests\cmdline\svn-test-work\local_tmp\config"
--password rayjandom --no-auth-cache --username jrandom <TIME = 1.828000>
A svn-test-work\working_copies\basic_tests-42\A
A svn-test-work\working_copies\basic_tests-42\A\B
A svn-test-work\working_copies\basic_tests-42\A\B\lambda
A svn-test-work\working_copies\basic_tests-42\A\B\E
A svn-test-work\working_copies\basic_tests-42\A\B\E\alpha
A svn-test-work\working_copies\basic_tests-42\A\B\E\beta
A svn-test-work\working_copies\basic_tests-42\A\B\F
A svn-test-work\working_copies\basic_tests-42\A\mu
A svn-test-work\working_copies\basic_tests-42\A\C
A svn-test-work\working_copies\basic_tests-42\A\D
A svn-test-work\working_copies\basic_tests-42\A\D\gamma
A svn-test-work\working_copies\basic_tests-42\A\D\G
A svn-test-work\working_copies\basic_tests-42\A\D\G\pi
A svn-test-work\working_copies\basic_tests-42\A\D\G\rho
A svn-test-work\working_copies\basic_tests-42\A\D\G\tau
A svn-test-work\working_copies\basic_tests-42\A\D\H
A svn-test-work\working_copies\basic_tests-42\A\D\H\chi
A svn-test-work\working_copies\basic_tests-42\A\D\H\omega
A svn-test-work\working_copies\basic_tests-42\A\D\H\psi
A svn-test-work\working_copies\basic_tests-42\iota
Checked out revision 1.
CMD: svn.exe ci -m "" "svn-test-work\working_copies\basic_tests-42\iota"
--config-dir
"C:\SVN\src-1.6.9\Release\subversion\tests\cmdline\svn-test-work\local_tmp\config"
--password rayjandom --no-auth-cache --username jrandom <TIME = 0.407000>
Sending svn-test-work\working_copies\basic_tests-42\iota
Transmitting file data .
Committed revision 2.
CMD: svn.exe blame "^/iota" --config-dir
"C:\SVN\src-1.6.9\Release\subversion\tests\cmdline\svn-test-work\local_tmp\config"
--password rayjandom --no-auth-cache --username jrandom <TIME = 0.156000>
      1 - This is the file 'iota'.
      2 - New contents for iota
EXPECTED STDOUT:
      1 jrandom This is the file 'iota'.
      2 jrandom New contents for iota
ACTUAL STDOUT:
      1 - This is the file 'iota'.
      2 - New contents for iota
EXCEPTION: SVNLineUnequal
Traceback (most recent call last):
   File "C:\SVN\src-1.6.9\subversion\tests\cmdline\svntest\main.py",
line 1224, in run
     rc = self.pred.run(**kw)
   File "C:\SVN\src-1.6.9\subversion\tests\cmdline\svntest\testcase.py",
line 121, in run
     return self.func(sandbox)
   File "C:\SVN\src-1.6.9\subversion/tests/cmdline/basic_tests.py", line
2273, in basic_relative_url_using_current_dir
     'blame', '^/iota')
   File "C:\SVN\src-1.6.9\subversion\tests\cmdline\svntest\actions.py",
line 202, in run_and_verify_svn
     expected_exit, *varargs)
   File "C:\SVN\src-1.6.9\subversion\tests\cmdline\svntest\actions.py",
line 236, in run_and_verify_svn2
     verify.verify_outputs(message, out, err, expected_stdout,
expected_stderr)
   File "C:\SVN\src-1.6.9\subversion\tests\cmdline\svntest\verify.py",
line 350, in verify_outputs
     compare_and_display_lines(message, label, expected, actual, raisable)
   File "C:\SVN\src-1.6.9\subversion\tests\cmdline\svntest\verify.py",
line 322, in compare_and_display_lines
     raise raisable
SVNLineUnequal
FAIL: basic_tests.py 42: basic relative url target using current dir

commit_tests-39

CMD: svnadmin.exe create "svn-test-work\repositories\commit_tests-39"
--bdb-txn-nosync "--fs-type=fsfs" <TIME = 0.109000>
CMD: svnadmin.exedump svn-test-work\local_tmp\repos | svnadmin.exeload
svn-test-work\repositories\commit_tests-39 --ignore-uuid <TIME = 0.000000>
CMD: svn.exe co
http://localhost/svn-test-work/repositories/commit_tests-39
"svn-test-work\working_copies\commit_tests-39" --config-dir
"C:\SVN\src-1.6.9\Release\subversion\tests\cmdline\svn-test-work\local_tmp\config"
--password rayjandom --no-auth-cache --username jrandom <TIME = 2.297000>
A svn-test-work\working_copies\commit_tests-39\A
A svn-test-work\working_copies\commit_tests-39\A\B
A svn-test-work\working_copies\commit_tests-39\A\B\lambda
A svn-test-work\working_copies\commit_tests-39\A\B\E
A svn-test-work\working_copies\commit_tests-39\A\B\E\alpha
A svn-test-work\working_copies\commit_tests-39\A\B\E\beta
A svn-test-work\working_copies\commit_tests-39\A\B\F
A svn-test-work\working_copies\commit_tests-39\A\mu
A svn-test-work\working_copies\commit_tests-39\A\C
A svn-test-work\working_copies\commit_tests-39\A\D
A svn-test-work\working_copies\commit_tests-39\A\D\gamma
A svn-test-work\working_copies\commit_tests-39\A\D\G
A svn-test-work\working_copies\commit_tests-39\A\D\G\pi
A svn-test-work\working_copies\commit_tests-39\A\D\G\rho
A svn-test-work\working_copies\commit_tests-39\A\D\G\tau
A svn-test-work\working_copies\commit_tests-39\A\D\H
A svn-test-work\working_copies\commit_tests-39\A\D\H\chi
A svn-test-work\working_copies\commit_tests-39\A\D\H\omega
A svn-test-work\working_copies\commit_tests-39\A\D\H\psi
A svn-test-work\working_copies\commit_tests-39\iota
Checked out revision 1.
CMD: svn.exe mkdir -m msg --with-revprop "bug=42"
http://localhost/svn-test-work/repositories/commit_tests-39/dir
--config-dir
"C:\SVN\src-1.6.9\Release\subversion\tests\cmdline\svn-test-work\local_tmp\config"
--password rayjandom --no-auth-cache --username jrandom <TIME = 0.297000>

Committed revision 2.
CMD: svn.exe proplist --revprop -r 2
http://localhost/svn-test-work/repositories/commit_tests-39 --config-dir
"C:\SVN\src-1.6.9\Release\subversion\tests\cmdline\svn-test-work\local_tmp\config"
--password rayjandom --no-auth-cache --username jrandom <TIME = 0.125000>
Unversioned properties on revision 2:
   svn:log
   bug
   svn:date
EXPECTED STDOUT (unordered):
Unversioned properties on revision 2:
   svn:author
   svn:date
   svn:log
   bug
ACTUAL STDOUT:
Unversioned properties on revision 2:
   svn:log
   bug
   svn:date
EXCEPTION: SVNLineUnequal
Traceback (most recent call last):
   File "C:\SVN\src-1.6.9\subversion\tests\cmdline\svntest\main.py",
line 1224, in run
     rc = self.pred.run(**kw)
   File "C:\SVN\src-1.6.9\subversion\tests\cmdline\svntest\testcase.py",
line 204, in run
     return self.test_case.run(sandbox=sandbox)
   File "C:\SVN\src-1.6.9\subversion\tests\cmdline\svntest\testcase.py",
line 121, in run
     return self.func(sandbox)
   File "C:\SVN\src-1.6.9\subversion/tests/cmdline/commit_tests.py",
line 2081, in mkdir_with_revprop
     '--revprop', '-r', 2, sbox.repo_url)
   File "C:\SVN\src-1.6.9\subversion\tests\cmdline\svntest\actions.py",
line 202, in run_and_verify_svn
     expected_exit, *varargs)
   File "C:\SVN\src-1.6.9\subversion\tests\cmdline\svntest\actions.py",
line 236, in run_and_verify_svn2
     verify.verify_outputs(message, out, err, expected_stdout,
expected_stderr)
   File "C:\SVN\src-1.6.9\subversion\tests\cmdline\svntest\verify.py",
line 350, in verify_outputs
     compare_and_display_lines(message, label, expected, actual, raisable)
   File "C:\SVN\src-1.6.9\subversion\tests\cmdline\svntest\verify.py",
line 322, in compare_and_display_lines
     raise raisable
SVNLineUnequal
FAIL: commit_tests.py 39: set revision props during remote mkdir
Received on 2010-04-02 10:17:03 CEST

This is an archived mail posted to the Subversion Dev mailing list.