You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Brian Denny <br...@briandenny.net> on 2002/10/15 01:56:07 UTC
running tests on windows
i haven't been able to successfully run the tests on windows.
i can check out, and build, no problem. (using vc++ 6.0 with
updated platform sdk). and svn seems to work.
i run 'python win-tests.py' from the windows command prompt.
basic_tests.py is the first to have failures.
most of the python test files thereafter have failures also.
following is an excerpt from tests.log.
i'd be happy to provide more output, but first i thought i'd
double-check that the tests are succeeding for others on
windows.
my python version is 2.2.1.
-brian
START: basic_tests.py
PASS: basic_tests.py 1: basic checkout of a wc
PASS: basic_tests.py 2: basic status command
PASS: basic_tests.py 3: basic commit command
PASS: basic_tests.py 4: basic update command
FAIL: basic_tests.py 5: basic corruption detection
PASS: basic_tests.py 6: receiving text merges as part of an update
PASS: basic_tests.py 7: basic conflict creation and resolution
PASS: basic_tests.py 8: basic cleanup command
=============================================================
Expected rho and actual rho are different!
=============================================================
EXPECTED NODE TO BE:
=============================================================
* Node name: rho
Path: working_copies/basic_tests-9/A/D/G/rho
Contents: None
Properties: {}
Attributes: {'status': 'M ', 'repos_rev': '1', 'wc_rev': '1'}
Children: is a file.
=============================================================
ACTUAL NODE FOUND:
=============================================================
* Node name: rho
Path: working_copies/basic_tests-9/A/D/G/rho
Contents: None
Properties: {}
Attributes: {'status': '_ ', 'repos_rev': '1', 'wc_rev': '1'}
Children: is a file.
Unequal at node rho
Unequal at node G
Unequal at node D
Unequal at node A
Unequal at node basic_tests-9
Unequal at node working_copies
EXPECTED OUTPUT TREE:
ROOT
+-- working_copies
+-- basic_tests-9
|-- A
| |-- B
| | |-- E
| | | |-- beta
| | | +-- alpha
| | |-- F
| | +-- lambda
| |-- D
| | |-- G
| | | |-- rho
| | | |-- pi
| | | +-- tau
| | |-- H
| | | |-- chi
| | | |-- zeta
| | | |-- psi
| | | +-- omega
| | +-- gamma
| |-- C
| +-- mu
+-- iota
ACTUAL OUTPUT TREE:
ROOT
+-- working_copies
+-- basic_tests-9
|-- A
| |-- B
| | |-- E
| | | |-- beta
| | | +-- alpha
| | |-- F
| | +-- lambda
| |-- D
| | |-- G
| | | |-- rho
| | | |-- pi
| | | +-- tau
| | |-- H
| | | |-- chi
| | | |-- zeta
| | | |-- psi
| | | +-- omega
| | +-- gamma
| |-- C
| +-- mu
+-- iota
FAIL: basic_tests.py 9: basic revert command
PASS: basic_tests.py 10: basic switch command
PASS: basic_tests.py 11: basic delete command
PASS: basic_tests.py 12: checkout a path no longer in HEAD
PASS: basic_tests.py 13: attempt to change node kind
PASS: basic_tests.py 14: basic import of (possibly executable) files
PASS: basic_tests.py 15: 'svn log file:///nonexistent_path' should fail
END: basic_tests.py
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: running tests on windows
Posted by Branko Čibej <br...@xbc.nu>.
Brian Denny wrote:
>Brane <br...@xbc.org> wrote:
>
>
>
>>Looking through the log file, the failures are definitely weird. Some of them
>>look suspiciously like errors in the Python tests, not the code itself; and
>>that's very strange indeed, because I run the tests with Python 2.2, with no
>>problems.
>>
>>
>
>tonight i ran the test suite three times: once
>with neon 0.23.3, and then twice in a row
>(without rebuilding subversion) with neon 0.23.5.
>
>i got significantly different results each time.
>(the attached files show the failures, sans details,
>for each run separately).
>
>normally when i see random behavior, i think
>hardware or OS-level problem. but none of my
>other software is behaving strangely... my disk
>is nowhere near full... i am stymied.
>
>any ideas?
>
>
I confess I have no idea what's going on. The warnings during the
apr-iconv build are the only clue. Did you test the release build, or
just the debug?
--
Brane Čibej <br...@xbc.nu> http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: running tests on windows
Posted by Brian Denny <br...@briandenny.net>.
Brane <br...@xbc.org> wrote:
>
> Looking through the log file, the failures are definitely weird. Some of them
> look suspiciously like errors in the Python tests, not the code itself; and
> that's very strange indeed, because I run the tests with Python 2.2, with no
> problems.
tonight i ran the test suite three times: once
with neon 0.23.3, and then twice in a row
(without rebuilding subversion) with neon 0.23.5.
i got significantly different results each time.
(the attached files show the failures, sans details,
for each run separately).
normally when i see random behavior, i think
hardware or OS-level problem. but none of my
other software is behaving strangely... my disk
is nowhere near full... i am stymied.
any ideas?
-brian
Re: running tests on windows
Posted by Branko Čibej <br...@xbc.nu>.
Brian Denny wrote:
>>>integral size mismatch in argument; conversion supplied
>>>E:\programming\svn\apr-iconv\lib\iconv_ces_euc.c(143) : warning C4761:
>>>integral size mismatch in argument; conversion supplied
>>>
>>>
>>>
>>>
>>Aha! I blame your apr-iconv. How old is it?
>>
>>
>
>cvs head as of last tuesday...
>[fiddle]
>or as of today, same warnings.
>
Well, let's figure out what those warnings mean. The funny thing is, I'm
not seeing them, and I'm also using the most up-to-date apr-iconv, with
MSVC 6.5. (Although, looking at the code, I suspect I should be seing
those warnings, too...)
Hm, I wonder if I simply disabled the conversions somehow.
--
Brane Čibej <br...@xbc.nu> http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: running tests on windows
Posted by Brian Denny <br...@briandenny.net>.
> >integral size mismatch in argument; conversion supplied
> >E:\programming\svn\apr-iconv\lib\iconv_ces_euc.c(143) : warning C4761:
> >integral size mismatch in argument; conversion supplied
> >
> >
> Aha! I blame your apr-iconv. How old is it?
cvs head as of last tuesday...
[fiddle]
or as of today, same warnings.
-brian
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: running tests on windows
Posted by Branko Čibej <br...@xbc.nu>.
Brian Denny wrote:
>
>
>
>>O.K., here's the first discrepancy. I'm using neon 0.23.3, and get only 23
>>warnings during the build. It would be interesting to know what the differences are.
>>
>>
>
>hm. i tried with neon 0.23.3, and still got 27 warnings. (unless
>i have to do anything special to switch other than move the existing
><svn>/neon folder out of the way, replace it with the new one, and
>'Rebuild All'.
>
>here are the warnings i get. (other build output snipped.)
>
>Build : warning : failed to (or don't know how to) build 'E:\programming\svn\apr-util\uri\gen_uri_delims.exe'
>E:\programming\svn\apr-iconv\lib\iconv_ces_iso2022.c(157) : warning C4761: integral size mismatch in argument; conversion supplied
>E:\programming\svn\apr-iconv\lib\iconv_ces_iso2022.c(244) : warning C4761: integral size mismatch in argument; conversion supplied
>E:\programming\svn\apr-iconv\lib\iconv_ces_euc.c(97) : warning C4761: integral size mismatch in argument; conversion supplied
>E:\programming\svn\apr-iconv\lib\iconv_ces_euc.c(143) : warning C4761: integral size mismatch in argument; conversion supplied
>
>
Aha! I blame your apr-iconv. How old is it?
--
Brane Čibej <br...@xbc.nu> http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: running tests on windows
Posted by Brian Denny <br...@briandenny.net>.
> O.K., here's the first discrepancy. I'm using neon 0.23.3, and get only 23
> warnings during the build. It would be interesting to know what the differences are.
hm. i tried with neon 0.23.3, and still got 27 warnings. (unless
i have to do anything special to switch other than move the existing
<svn>/neon folder out of the way, replace it with the new one, and
'Rebuild All'.
here are the warnings i get. (other build output snipped.)
Build : warning : failed to (or don't know how to) build 'E:\programming\svn\apr-util\uri\gen_uri_delims.exe'
E:\programming\svn\apr-iconv\lib\iconv_ces_iso2022.c(157) : warning C4761: integral size mismatch in argument; conversion supplied
E:\programming\svn\apr-iconv\lib\iconv_ces_iso2022.c(244) : warning C4761: integral size mismatch in argument; conversion supplied
E:\programming\svn\apr-iconv\lib\iconv_ces_euc.c(97) : warning C4761: integral size mismatch in argument; conversion supplied
E:\programming\svn\apr-iconv\lib\iconv_ces_euc.c(143) : warning C4761: integral size mismatch in argument; conversion supplied
e:\programming\svn\subversion\libsvn_delta\compose_delta.c(679) : warning C4244: 'initializing' : conversion from '__int64 ' to 'const unsigned int ', possible loss of data
e:\programming\svn\subversion\libsvn_delta\compose_delta.c(694) : warning C4244: 'initializing' : conversion from 'const __int64 ' to 'const unsigned int ', possible loss of data
e:\programming\svn\subversion\libsvn_delta\svndiff.c(298) : warning C4244: '=' : conversion from '__int64 ' to 'unsigned int ', possible loss of data
e:\programming\svn\subversion\libsvn_delta\svndiff.c(305) : warning C4244: '=' : conversion from '__int64 ' to 'unsigned int ', possible loss of data
e:\programming\svn\subversion\libsvn_delta\svndiff.c(449) : warning C4244: '=' : conversion from '__int64 ' to 'unsigned int ', possible loss of data
e:\programming\svn\subversion\libsvn_delta\svndiff.c(454) : warning C4244: '=' : conversion from '__int64 ' to 'unsigned int ', possible loss of data
e:\programming\svn\subversion\libsvn_delta\svndiff.c(459) : warning C4244: '=' : conversion from '__int64 ' to 'unsigned int ', possible loss of data
e:\programming\svn\subversion\libsvn_delta\svndiff.c(464) : warning C4244: '=' : conversion from '__int64 ' to 'unsigned int ', possible loss of data
e:\programming\svn\subversion\libsvn_delta\text_delta.c(150) : warning C4244: '+=' : conversion from '__int64 ' to 'unsigned int ', possible loss of data
e:\programming\svn\subversion\libsvn_delta\text_delta.c(153) : warning C4244: 'function' : conversion from '__int64 ' to 'const unsigned int ', possible loss of data
e:\programming\svn\subversion\libsvn_delta\text_delta.c(185) : warning C4244: '=' : conversion from '__int64 ' to 'unsigned int ', possible loss of data
e:\programming\svn\subversion\libsvn_delta\text_delta.c(186) : warning C4244: '=' : conversion from '__int64 ' to 'unsigned int ', possible loss of data
e:\programming\svn\subversion\libsvn_delta\text_delta.c(191) : warning C4244: '=' : conversion from '__int64 ' to 'unsigned int ', possible loss of data
e:\programming\svn\subversion\libsvn_delta\text_delta.c(192) : warning C4244: 'function' : conversion from '__int64 ' to 'const unsigned int ', possible loss of data
e:\programming\svn\subversion\libsvn_delta\text_delta.c(153) : warning C4761: integral size mismatch in argument; conversion supplied
e:\programming\svn\subversion\libsvn_delta\text_delta.c(192) : warning subversion/libsvn_subr/getdate.y(81) : warning C4273: 'gmtime' : inconsistent dll linkage. dllexport assumed.
subversion/libsvn_subr/getdate.y(82) : warning C4273: 'localtime' : inconsistent dll linkage. dllexport assumed.
subversion/libsvn_subr/getdate.y(561) : warning C4028: formal parameter 1 different from declaration
e:\programming\svn\subversion\libsvn_subr\utf.c(438) : warning C4244: 'function' : conversion from '__int64 ' to 'unsigned int ', possible loss of data
e:\programming\svn\subversion\libsvn_subr\utf.c(438) : warning C4761: integral size mismatch in argument; conversion supplied
Could Not Find E:\programming\svn\neon\libneonD.lib
Could Not Find E:\programming\svn\neon\src\config.h
src\ne_socket.c(356) : warning C4018: '==' : signed/unsigned mismatch
src\ne_socket.c(759) : warning C4761: integral size mismatch in argument; conversion supplied
__build__ - 0 error(s), 27 warning(s)
let me know if anything in the above output jups out at you.
i'll continue looking into it.
-brian
>
> Looking through the log file, the failures are definitely weird. Some of them
> look suspiciously like errors in the Python tests, not the code itself; and
> that's very strange indeed, because I run the tests with Python 2.2, with no
> problems.
>
>
> O.K., can anyone else reproduce what's happening to Brian? My gut feeling is
> that he's doing something wrong, but I can't imagine what. It would be a bit
> disconcerting if it turned out that I was the only person able to run the tests
> on Windows...
>
> Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: running tests on windows
Posted by Brian Denny <br...@briandenny.net>.
here is what i did, and the results.
checkout fresh copy of svn to <SVN>
checkout apr, apr-util, and apr-iconv into <SVN>/apr*
download db4 binary from subversion site and unzip to <SVN>/db4-win32
added <SVN>/db4-win32/bin to %PATH%
download neon-0.23.5 and untar to <SVN>/neon
open subversion.dsw and build => 0 errors, 27 warnings.
python win-tests.py
as you will see i get quite a number of unexpected failures.
am i doing something wrong?
the STDOUT is shown inline. tests.log is attached. i am running win2k.
tomorrow i can look more specifically into what is causing these failures.
svn.exe appears to work fine.
-brian
E:\programming\svn>python win-tests.py
================================================================
WARNING: You did not define a shell interpreter.
The following tests will be skipped:
subversion/tests/clients/cmdline/xmltests/svn-test.sh
subversion/tests/clients/cmdline/xmltests/svn-test2.sh
================================================================
copy: subversion\tests\libsvn_repos\Debug\repos-test.exe
to: subversion\tests\libsvn_repos\repos-test.exe
copy: subversion\tests\libsvn_subr\Debug\hashdump-test.exe
to: subversion\tests\libsvn_subr\hashdump-test.exe
copy: subversion\tests\libsvn_subr\Debug\path-test.exe
to: subversion\tests\libsvn_subr\path-test.exe
copy: subversion\tests\libsvn_subr\Debug\stringtest.exe
to: subversion\tests\libsvn_subr\stringtest.exe
copy: subversion\tests\libsvn_subr\Debug\target-test.exe
to: subversion\tests\libsvn_subr\target-test.exe
copy: subversion\tests\libsvn_subr\Debug\time-test.exe
to: subversion\tests\libsvn_subr\time-test.exe
copy: subversion\tests\libsvn_wc\Debug\checkout-test.exe
to: subversion\tests\libsvn_wc\checkout-test.exe
copy: subversion\tests\libsvn_wc\Debug\translate-test.exe
to: subversion\tests\libsvn_wc\translate-test.exe
copy: subversion\tests\libsvn_fs\Debug\skel-test.exe
to: subversion\tests\libsvn_fs\skel-test.exe
copy: subversion\tests\libsvn_fs\Debug\key-test.exe
to: subversion\tests\libsvn_fs\key-test.exe
copy: subversion\tests\libsvn_fs\Debug\strings-reps-test.exe
to: subversion\tests\libsvn_fs\strings-reps-test.exe
copy: subversion\tests\libsvn_fs\Debug\changes-test.exe
to: subversion\tests\libsvn_fs\changes-test.exe
copy: subversion\tests\libsvn_fs\Debug\fs-test.exe
to: subversion\tests\libsvn_fs\fs-test.exe
copy: subversion\tests\libsvn_delta\Debug\deltaparse-test.exe
to: subversion\tests\libsvn_delta\deltaparse-test.exe
copy: subversion\tests\libsvn_delta\Debug\random-test.exe
to: subversion\tests\libsvn_delta\random-test.exe
copy: subversion\tests\libsvn_delta\Debug\svndiff-test.exe
to: subversion\tests\libsvn_delta\svndiff-test.exe
copy: subversion\tests\libsvn_delta\Debug\vdelta-test.exe
to: subversion\tests\libsvn_delta\vdelta-test.exe
copy: subversion\tests\libsvn_delta\Debug\xml-output-test.exe
to: subversion\tests\libsvn_delta\xml-output-test.exe
copy: subversion\clients\cmdline\Debug\svn.exe
to: subversion\clients\cmdline\svn.exe
copy: subversion\svnlook\Debug\svnlook.exe
to: subversion\svnlook\svnlook.exe
copy: subversion\svnadmin\Debug\svnadmin.exe
to: subversion\svnadmin\svnadmin.exe
Running all tests in hashdump-test.exe...success
Running all tests in stringtest.exe...success
Running all tests in path-test.exe...success
Running all tests in time-test.exe...success
Running all tests in translate-test.exe...success
Running all tests in random-test.exe...success
Running all tests in target-test.py...success
Running all tests in run-fs-tests.py...success
Running all tests in run-repos-tests.py...success
Running all tests in getopt_tests.py...success
Running all tests in basic_tests.py...FAILURE
Running all tests in commit_tests.py...FAILURE
Running all tests in update_tests.py...FAILURE
Running all tests in switch_tests.py...FAILURE
Running all tests in prop_tests.py...success
Running all tests in schedule_tests.py...success
Running all tests in log_tests.py...success
Running all tests in copy_tests.py...FAILURE
Running all tests in diff_tests.py...FAILURE
Running all tests in module_tests.py...FAILURE
Running all tests in merge_tests.py...success
Running all tests in stat_tests.py...success
Running all tests in trans_tests.py...success
Running all tests in svnadmin_tests.py...FAILURE
At least one test FAILED, checking E:\programming\svn\tests.log
FAIL: basic_tests.py 5: basic corruption detection
FAIL: basic_tests.py 11: basic delete command
FAIL: commit_tests.py 16: commit files and dirs with URI-unsafe characters
FAIL: commit_tests.py 21: commit from a dir with a longer name than the wc
FAIL: commit_tests.py 22: try to commit when directory is locked
FAIL: commit_tests.py 23: commit the current directory
FAIL: update_tests.py 1: update a locally-modified binary file
FAIL: update_tests.py 2: update to an old revision of a binary files
FAIL: update_tests.py 5: make sure overlapping identical changes do not conflict
FAIL: update_tests.py 7: update that deletes modifed files
FAIL: switch_tests.py 2: commits after some basic switching operations
FAIL: copy_tests.py 7: copy a directory hierarchy and modify before commit
FAIL: diff_tests.py 9: pure repository diff update a file
FAIL: module_tests.py 4: Update to receive a change to an unmodifed external module.
FAIL: svnadmin_tests.py 2: test 'svnadmin youngest' subcommand
FAIL: svnadmin_tests.py 5: test 'svnadmin lsrevs' subcommand
At least one test was SKIPPED, checking E:\programming\svn\tests.log
SKIP: schedule_tests.py 4: schedule: add some executable files
SKIP: schedule_tests.py 10: revert: add some executable files
SKIP: schedule_tests.py 16: commit: add some executable files
kill: subversion\tests\libsvn_repos\repos-test.exe
kill: subversion\tests\libsvn_subr\hashdump-test.exe
kill: subversion\tests\libsvn_subr\path-test.exe
kill: subversion\tests\libsvn_subr\stringtest.exe
kill: subversion\tests\libsvn_subr\target-test.exe
kill: subversion\tests\libsvn_subr\time-test.exe
kill: subversion\tests\libsvn_wc\checkout-test.exe
kill: subversion\tests\libsvn_wc\translate-test.exe
kill: subversion\tests\libsvn_fs\skel-test.exe
kill: subversion\tests\libsvn_fs\key-test.exe
kill: subversion\tests\libsvn_fs\strings-reps-test.exe
kill: subversion\tests\libsvn_fs\changes-test.exe
kill: subversion\tests\libsvn_fs\fs-test.exe
kill: subversion\tests\libsvn_delta\deltaparse-test.exe
kill: subversion\tests\libsvn_delta\random-test.exe
kill: subversion\tests\libsvn_delta\svndiff-test.exe
kill: subversion\tests\libsvn_delta\vdelta-test.exe
kill: subversion\tests\libsvn_delta\xml-output-test.exe
kill: subversion\clients\cmdline\svn.exe
kill: subversion\svnlook\svnlook.exe
kill: subversion\svnadmin\svnadmin.exe
FAIL: win-tests.py
E:\programming\svn>
Re: running tests on windows
Posted by Branko Čibej <br...@xbc.nu>.
Brian Denny wrote:
>i haven't been able to successfully run the tests on windows.
>
>i can check out, and build, no problem. (using vc++ 6.0 with
>updated platform sdk). and svn seems to work.
>
>i run 'python win-tests.py' from the windows command prompt.
>
>basic_tests.py is the first to have failures.
>most of the python test files thereafter have failures also.
>
>following is an excerpt from tests.log.
>
>i'd be happy to provide more output, but first i thought i'd
>double-check that the tests are succeeding for others on
>windows.
>
There are four expected failures on Windows 2000, and three tests are
skipped on all Windows platforms:
FAIL: commit_tests.py 16: commit files and dirs with URI-unsafe characters
FAIL: commit_tests.py 21: commit from a dir with a longer name than the wc
FAIL: update_tests.py 1: update a locally-modified binary file
FAIL: update_tests.py 2: update to an old revision of a binary files
SKIP: schedule_tests.py 4: schedule: add some executable files
SKIP: schedule_tests.py 10: revert: add some executable files
SKIP: schedule_tests.py 16: commit: add some executable files
One of those (don't know which) passes on Windows XP. All other tests
should pass. If you're seeing different output, please try to track down
the failures. I'm especially worried that you have a failure without an
accompanying error message.
--
Brane Čibej <br...@xbc.nu> http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org