Lots of test failures in 1.2 rc

Mads Kiilerich mads at kiilerich.com
Fri Feb 27 10:11:33 CST 2009


Neal Becker wrote:
> Linux fedora F10
>
> hg clone http://selenic.com/hg hg-1.2
> python setup.py build
> sudo python setup.py install
>   

FWIW the tests doesn't need/use this (AFAIK).

> make tests
> cd tests && python run-tests.py 
> # Testing unexpected mercurial: /usr/lib64/python2.5/site-packages/mercurial
> .............................s...................ssssss.s
> ERROR: test-convert-cvs-branch output changed
> --- Expected output 
> +++ Test output 
> @@ -13,9 +13,10 @@
>  T a
>  T b
>  cvs update: Updating .
> +U a
> +U b
>  % Modify file a, then b, then a
>   

I investigated that some time ago.

 From conversation with #mercurial at Wed 03 Dec 2008 (slightly edited):
(13:36:56) kiilerix: pmezard: any idea what is going on with the 
failures I get?
(13:38:27) pmezard: i don't know what the 'U' is about, but for the 
missing checkin perhaps the test is running too fast and we are missing 
a sleep between to commit calls
(13:38:37) pmezard: cvs may not see that a changed
(13:39:56) kiilerix: I thought cvs always checked file content?
(13:40:31) kiilerix: btw, the other cvs tests also fail with some extra "U"s
(13:41:02) pmezard: perhaps that's something new in your cvs version or 
a configuration option we do not overwrite
(13:42:39) kiilerix: pmezard: it is cvs-1.11.23-2.fc10.i386 and 
cvsps-2.2-0.1.b1.fc10.i386 - should I try to downgrade? any recommended 
versions?
(13:43:47) pmezard: I have 1.11.20 on mac.
(13:44:02) pmezard: if we can link it to a cvs version then we can fix 
the test
(13:44:23) pmezard: and cvsps is mostly optional now except for one test
(13:45:55) kiilerix: 1.11.20 is very old
(13:48:18) pmezard: osx 10.4 is old too
(13:48:59) kiilerix: ;-)
(13:49:27) pmezard: i have 1.11.22 in cygwin, will see if i can upgrade
(13:51:06) kiilerix: pmezard: with 1.11.22 (+ Fedora patches) it works 
fine - also without U problems
(13:51:09) pmezard: kiilerix: nothing in cygwin
(13:51:23) kiilerix: so seems to be caused by 1.11.23
(13:51:32) pmezard: kiilerix: ok, then a patch is welcome

- and then nothing happened :-(

As a workaround you could make sure the cvs binary isn't available when 
the tests are run. But I don't know if that is possible in the Fedora 
build mocks ... Alternatively just remove the x bit before running the 
test suite.

>  cvs commit: Examining .
> -checking in src/a,v
>  cvs commit: Examining .
>  checking in src/b,v
>  cvs commit: Examining .
> @@ -25,27 +26,24 @@
>  initializing destination src-hg repository
>  using builtin cvsps
>  collecting CVS rlog
> -7 log entries
> +6 log entries
>  creating changesets
> -5 changeset entries
> +4 changeset entries
>  connecting to cvsrepo
>  scanning source...
>  sorting...
>  converting...
> -4 Initial revision
> -3 init
> -2 mod a
> +3 Initial revision
> +2 init
>  1 mod b
>  0 mod a again
>  updating tags
>  % Check the result
> -o  5 () update tags files: .hgtags
> +o  4 () update tags files: .hgtags
>  |
> -| o  4 (BRANCH) mod a again files: a
> +| o  3 (BRANCH) mod a again files: a
>  | |
> -| o  3 (BRANCH) mod b files: b
> -| |
> -| o  2 (BRANCH) mod a files: a
> +| o  2 (BRANCH) mod b files: b
>  | |
>  | o  1 (v0) init files:
>  |/
> !
>   

I can't reproduce that, neither on F10 nor F11. But I think I have seen 
it before. I'm on i386 - perhaps it is 64-bit related?

> Skipped test-casefolding: missing feature: case insensitive file system
> Skipped test-convert-baz: missing feature: GNU Arch baz client
> Skipped test-convert-bzr: missing feature: Canonical's Bazaar client
> Skipped test-convert-bzr-directories: missing feature: Canonical's Bazaar 
> client
> Skipped test-convert-bzr-ghosts: missing feature: Canonical's Bazaar client
> Skipped test-convert-bzr-merges: missing feature: Canonical's Bazaar client
> Skipped test-convert-bzr-treeroot: missing feature: Canonical's Bazaar 
> client
> Skipped test-convert-cvs: missing feature: cvsps utility
> Skipped test-convert-darcs: missing feature: darcs client
> Skipped test-convert-mtn: missing feature: monotone client (> 0.31)
> Skipped test-convert-tla: missing feature: GNU Arch tla clien

You might want to install some of these other VCSs to get them tested too.

/Mads


More information about the Mercurial-devel mailing list