2.4.2 make tests fails on debian squeeze and wheezy

Bendtsen, Jon Jon.Bendtsen at laerdal.dk
Tue Jan 8 15:36:21 UTC 2013


Hi

mercurial-2.4.2.tar.gz make tests fails on debian squeeze and wheezy

New virtual openvz machine under proxmox VE 2.2, was installed as debian squeeze, fully updated, python 2.6. 

After make tests failed I diet-upgraded to wheezy, and remove the python 2.6 packages so it now has python 2.7




Fetched from the bottom of the output below

Skipped test-casecollision-merge.t: missing feature: case insensitive file system
Skipped test-casefolding.t: missing feature: case insensitive file system

nope, you are mistaken, it is a case SENSITIVE file system.

root at dkhg:/usr/local/src/mercurial-2.4.2/tests# touch foobar
root at dkhg:/usr/local/src/mercurial-2.4.2/tests# mkdir Foobar
root at dkhg:/usr/local/src/mercurial-2.4.2/tests# ls -lad ?oobar
drwxr-xr-x 2 root root 6 Jan  8 15:04 Foobar
-rw-r--r-- 1 root root 0 Jan  8 15:04 foobar


Skipped test-check-code-hg.t: not a Mercurial working dir
Skipped test-check-pyflakes.t: missing feature: Pyflakes python linter
Skipped test-convert-baz.t: missing feature: GNU Arch baz client
Skipped test-convert-bzr-114.t: missing feature: Canonical's Bazaar client >= 1.14
Skipped test-convert-bzr-directories.t: missing feature: Canonical's Bazaar client
Skipped test-convert-bzr-ghosts.t: missing feature: Canonical's Bazaar client
Skipped test-convert-bzr-merges.t: missing feature: Canonical's Bazaar client
Skipped test-convert-bzr-treeroot.t: missing feature: Canonical's Bazaar client
Skipped test-convert-bzr.t: missing feature: Canonical's Bazaar client
Skipped test-convert-cvs-branch.t: missing feature: cvs client/server
Skipped test-convert-cvs-detectmerge.t: missing feature: cvs client/server
Skipped test-convert-cvs-synthetic.t: missing feature: cvs client/server
Skipped test-convert-cvs.t: missing feature: cvs client/server
Skipped test-convert-cvsnt-mergepoints.t: missing feature: cvs client/server
Skipped test-convert-darcs.t: missing feature: darcs client
Skipped test-convert-git.t: missing feature: git command line client
Skipped test-convert-hg-svn.t: missing feature: subversion python bindings
Skipped test-convert-mtn.t: missing feature: monotone client (>= 1.0)
Skipped test-convert-p4-filetypes.t: missing feature: Perforce server and client
Skipped test-convert-p4.t: missing feature: Perforce server and client
Skipped test-convert-svn-branches.t: missing feature: subversion python bindings
Skipped test-convert-svn-encoding.t: missing feature: subversion python bindings
Skipped test-convert-svn-move.t: missing feature: subversion python bindings
Skipped test-convert-svn-sink.t: missing feature: subversion client and admin tools >= 1.3
Skipped test-convert-svn-source.t: missing feature: subversion python bindings
Skipped test-convert-svn-startrev.t: missing feature: subversion python bindings
Skipped test-convert-svn-tags.t: missing feature: subversion python bindings
Skipped test-convert-tagsbranch-topology.t: missing feature: git command line client
Skipped test-convert-tla.t: missing feature: GNU Arch tla client
Skipped test-https.t: missing feature: python >= 2.6 ssl module and python OpenSSL
Skipped test-i18n.t: missing feature: GNU Gettext (msgfmt)
Skipped test-mq-subrepo-svn.t: missing feature: subversion client and admin tools >= 1.3
Skipped test-no-symlinks.t: system supports symbolic links
Skipped test-subrepo-git.t: missing feature: git command line client
Skipped test-subrepo-svn.t: missing feature: subversion client and admin tools >= 1.5

running CVS and SVN on other servers, not on this one. I


Failed test-clone.t: output changed
Failed test-command-template.t: output changed
Failed test-convert.t: output changed
Failed test-extension.t: output changed
Failed test-inotify-debuginotify.t: output changed
Failed test-journal-exists.t: output changed
Failed test-lock-badness.t: output changed
Failed test-permissions.t: output changed
Failed test-pull-permission.t: output changed
Failed test-repair-strip.t: output changed
Failed test-serve.t: output changed
# Ran 416 tests, 37 skipped, 11 failed.
make: *** [tests] Error 1

You can see the output of these below.



root at dkhg:/usr/local/src/mercurial-2.4.2# make tests
cd tests && python run-tests.py 
......................................s.s..s.s......
--- /usr/local/src/mercurial-2.4.2/tests/test-clone.t
+++ /usr/local/src/mercurial-2.4.2/tests/test-clone.t.err
@@ -558,8 +558,8 @@
   $ hg init b
   $ cd b
   $ hg clone . ../a
-  abort: Permission denied: ../a
-  [255]
+  updating to branch default
+  0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ cd ..
   $ chmod 700 a
   $ rm -r a b
@@ -609,10 +609,10 @@
   $ cd ..
   $ mkdir d
   $ hg clone c d 2> err
-  [255]
+  updating to branch default
+  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ test -d d
   $ test -d d/.hg
-  [1]
 
 re-enable perm to allow deletion
 

ERROR: /usr/local/src/mercurial-2.4.2/tests/test-clone.t output changed
!
--- /usr/local/src/mercurial-2.4.2/tests/test-command-template.t
+++ /usr/local/src/mercurial-2.4.2/tests/test-command-template.t.err
@@ -446,7 +446,7 @@
   $ touch q
   $ chmod 0 q
   $ hg log --style ./q
-  abort: Permission denied: ./q
+  abort: "changeset" not in template map
   [255]
 #endif
 
@@ -475,8 +475,6 @@
   $ echo 'changeset = q' >> t
 #if unix-permissions
   $ hg log --style ./t
-  abort: template file ./q: Permission denied
-  [255]
   $ rm q
 #endif
 

ERROR: /usr/local/src/mercurial-2.4.2/tests/test-command-template.t output changed
!............sssssss.ssssss..s...ssss.sssssssss
--- /usr/local/src/mercurial-2.4.2/tests/test-convert.t
+++ /usr/local/src/mercurial-2.4.2/tests/test-convert.t.err
@@ -308,13 +308,6 @@
   $ chmod 000 bogusdir
 
   $ hg convert a bogusdir
-  abort: Permission denied: bogusdir
-  [255]
-
-user permissions should succeed
-
-  $ chmod 700 bogusdir
-  $ hg convert a bogusdir
   initializing destination bogusdir repository
   scanning source...
   sorting...
@@ -324,6 +317,14 @@
   2 c
   1 d
   0 e
+
+user permissions should succeed
+
+  $ chmod 700 bogusdir
+  $ hg convert a bogusdir
+  scanning source...
+  sorting...
+  converting...
 
 #endif
 

ERROR: /usr/local/src/mercurial-2.4.2/tests/test-convert.t output changed
!....................................................
--- /usr/local/src/mercurial-2.4.2/tests/test-extension.t
+++ /usr/local/src/mercurial-2.4.2/tests/test-extension.t.err
@@ -554,8 +554,10 @@
   $ echo 'testedwith = """'"$hgver"'"""' >> throw.py
   $ rm -f throw.pyc throw.pyo
   $ hg --config extensions.throw=throw.py throw 2>&1 | egrep '^\*\*'
-  ** unknown exception encountered, please report by visiting
-  ** http://mercurial.selenic.com/wiki/BugTracker
-  ** Python * (glob)
-  ** Mercurial Distributed SCM (*) (glob)
+  ** Unknown exception encountered with possibly-broken third-party extension throw
+  ** which supports versions unknown of Mercurial.
+  ** Please disable throw and try your action again.
+  ** If that fixes the bug please report it to http://example.com/bts
+  ** Python 2.7.3rc2 (default, Apr 22 2012, 22:35:38) [GCC 4.6.3]
+  ** Mercurial Distributed SCM (version unknown)
   ** Extensions loaded: throw

ERROR: /usr/local/src/mercurial-2.4.2/tests/test-extension.t output changed
!.........................................................s..s............
--- /usr/local/src/mercurial-2.4.2/tests/test-inotify-debuginotify.t
+++ /usr/local/src/mercurial-2.4.2/tests/test-inotify-debuginotify.t.err
@@ -38,4 +38,5 @@
   directories being watched:
     /
     .hg/
+    a/
   $ kill `cat hg.pid`

ERROR: /usr/local/src/mercurial-2.4.2/tests/test-inotify-debuginotify.t output changed
!........................
--- /usr/local/src/mercurial-2.4.2/tests/test-journal-exists.t
+++ /usr/local/src/mercurial-2.4.2/tests/test-journal-exists.t.err
@@ -28,8 +28,10 @@
 
   $ hg -R foo unbundle repo.hg
   adding changesets
-  abort: Permission denied: $TESTTMP/foo/.hg/store/.00changelog.i-* (glob)
-  [255]
+  adding manifests
+  adding file changes
+  added 0 changesets with 0 changes to 1 files
+  (run 'hg update' to get a working copy)
 
   $ if test -f foo/.hg/store/journal; then echo 'journal exists :-('; fi
 #endif

ERROR: /usr/local/src/mercurial-2.4.2/tests/test-journal-exists.t output changed
!.......
--- /usr/local/src/mercurial-2.4.2/tests/test-lock-badness.t
+++ /usr/local/src/mercurial-2.4.2/tests/test-lock-badness.t.err
@@ -17,8 +17,11 @@
 
   $ hg -R b push a
   pushing to a
-  abort: could not lock repository a: Permission denied
-  [255]
+  searching for changes
+  adding changesets
+  adding manifests
+  adding file changes
+  added 1 changesets with 1 changes to 1 files
 
   $ chmod 700 a/.hg/store
 

ERROR: /usr/local/src/mercurial-2.4.2/tests/test-lock-badness.t output changed
!.......................................................s........s...............
--- /usr/local/src/mercurial-2.4.2/tests/test-permissions.t
+++ /usr/local/src/mercurial-2.4.2/tests/test-permissions.t.err
@@ -22,8 +22,7 @@
   checking manifests
   crosschecking files in changesets and manifests
   checking files
-  abort: Permission denied: $TESTTMP/t/.hg/store/data/a.i
-  [255]
+  1 files, 1 changesets, 1 total revisions
 
   $ chmod +r .hg/store/data/a.i
 
@@ -38,19 +37,10 @@
 
   $ echo barber > a
   $ hg commit -m "2"
-  trouble committing a!
-  abort: Permission denied: $TESTTMP/t/.hg/store/data/a.i
-  [255]
 
   $ chmod -w .
 
   $ hg diff --nodates
-  diff -r 2a18120dc1c9 a
-  --- a/a
-  +++ b/a
-  @@ -1,1 +1,1 @@
-  -foo
-  +barber
 
   $ chmod +w .
 
@@ -58,12 +48,10 @@
   $ mkdir dir
   $ touch dir/a
   $ hg status
-  M a
   ? dir/a
   $ chmod -rx dir
   $ hg status
-  dir: Permission denied
-  M a
+  ? dir/a
 
 Reenable perm to allow deletion:
 

ERROR: /usr/local/src/mercurial-2.4.2/tests/test-permissions.t output changed
!......
--- /usr/local/src/mercurial-2.4.2/tests/test-pull-permission.t
+++ /usr/local/src/mercurial-2.4.2/tests/test-pull-permission.t.err
@@ -11,11 +11,6 @@
   $ cd ..
 
   $ hg clone a b
-  requesting all changes
-  adding changesets
-  adding manifests
-  adding file changes
-  added 1 changesets with 1 changes to 1 files
   updating to branch default
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
 

ERROR: /usr/local/src/mercurial-2.4.2/tests/test-pull-permission.t output changed
!.......................................
--- /usr/local/src/mercurial-2.4.2/tests/test-repair-strip.t
+++ /usr/local/src/mercurial-2.4.2/tests/test-repair-strip.t.err
@@ -41,35 +41,14 @@
   summary:     a
   
   saved backup bundle
-  transaction abort!
-  failed to truncate data/b.i
-  rollback failed - please run hg recover
-  strip failed, full bundle
-  abort: Permission denied .hg/store/data/b.i
   % after update 0, strip 2
-  abandoned transaction found - run hg recover
-  checking changesets
-  checking manifests
-  crosschecking files in changesets and manifests
-  checking files
-   b@?: rev 1 points to nonexistent changeset 2
-   (expected 1)
-   b@?: 736c29771fba not in manifests
-  warning: orphan revlog 'data/c.i'
-  2 files, 2 changesets, 3 total revisions
-  2 warnings encountered!
-  2 integrity errors encountered!
-  % journal contents
-  00changelog.i
-  00manifest.i
-  data/b.i
-  data/c.i
-  rolling back interrupted transaction
   checking changesets
   checking manifests
   crosschecking files in changesets and manifests
   checking files
   2 files, 2 changesets, 2 total revisions
+  % journal contents
+  (no journal)
   $ teststrip 0 2 r .hg/store/data/b.i
   % before update 0, strip 2
   changeset:   0:cb9a9f314b8b
@@ -77,13 +56,13 @@
   date:        Thu Jan 01 00:00:00 1970 +0000
   summary:     a
   
-  abort: Permission denied .hg/store/data/b.i
+  saved backup bundle
   % after update 0, strip 2
   checking changesets
   checking manifests
   crosschecking files in changesets and manifests
   checking files
-  3 files, 4 changesets, 4 total revisions
+  2 files, 2 changesets, 2 total revisions
   % journal contents
   (no journal)
   $ teststrip 0 2 w .hg/store/00manifest.i
@@ -94,39 +73,13 @@
   summary:     a
   
   saved backup bundle
-  transaction abort!
-  failed to truncate 00manifest.i
-  rollback failed - please run hg recover
-  strip failed, full bundle
-  abort: Permission denied .hg/store/00manifest.i
   % after update 0, strip 2
-  abandoned transaction found - run hg recover
-  checking changesets
-  checking manifests
-   manifest@?: rev 2 points to nonexistent changeset 2
-   manifest@?: 3362547cdf64 not in changesets
-   manifest@?: rev 3 points to nonexistent changeset 3
-   manifest@?: 265a85892ecb not in changesets
-  crosschecking files in changesets and manifests
-   c at 3: in manifest but not in changeset
-  checking files
-   b@?: rev 1 points to nonexistent changeset 2
-   (expected 1)
-   c@?: rev 0 points to nonexistent changeset 3
-  3 files, 2 changesets, 4 total revisions
-  1 warnings encountered!
-  7 integrity errors encountered!
-  (first damaged changeset appears to be 3)
-  % journal contents
-  00changelog.i
-  00manifest.i
-  data/b.i
-  data/c.i
-  rolling back interrupted transaction
   checking changesets
   checking manifests
   crosschecking files in changesets and manifests
   checking files
   2 files, 2 changesets, 2 total revisions
+  % journal contents
+  (no journal)
 
   $ cd ..

ERROR: /usr/local/src/mercurial-2.4.2/tests/test-repair-strip.t output changed
!..............
--- /usr/local/src/mercurial-2.4.2/tests/test-serve.t
+++ /usr/local/src/mercurial-2.4.2/tests/test-serve.t.err
@@ -52,8 +52,7 @@
 
   $ KILLQUIETLY=Y
   $ hgserve -p daytime
-  abort: cannot start server at 'localhost:13': Permission denied
-  abort: child process failed to start
+  listening at http://localhost/ (bound to 127.0.0.1:13)
   % errors
   $ KILLQUIETLY=N
 

ERROR: /usr/local/src/mercurial-2.4.2/tests/test-serve.t output changed
!.............s....s..............................
Skipped test-casecollision-merge.t: missing feature: case insensitive file system
Skipped test-casefolding.t: missing feature: case insensitive file system
Skipped test-check-code-hg.t: not a Mercurial working dir
Skipped test-check-pyflakes.t: missing feature: Pyflakes python linter
Skipped test-convert-baz.t: missing feature: GNU Arch baz client
Skipped test-convert-bzr-114.t: missing feature: Canonical's Bazaar client >= 1.14
Skipped test-convert-bzr-directories.t: missing feature: Canonical's Bazaar client
Skipped test-convert-bzr-ghosts.t: missing feature: Canonical's Bazaar client
Skipped test-convert-bzr-merges.t: missing feature: Canonical's Bazaar client
Skipped test-convert-bzr-treeroot.t: missing feature: Canonical's Bazaar client
Skipped test-convert-bzr.t: missing feature: Canonical's Bazaar client
Skipped test-convert-cvs-branch.t: missing feature: cvs client/server
Skipped test-convert-cvs-detectmerge.t: missing feature: cvs client/server
Skipped test-convert-cvs-synthetic.t: missing feature: cvs client/server
Skipped test-convert-cvs.t: missing feature: cvs client/server
Skipped test-convert-cvsnt-mergepoints.t: missing feature: cvs client/server
Skipped test-convert-darcs.t: missing feature: darcs client
Skipped test-convert-git.t: missing feature: git command line client
Skipped test-convert-hg-svn.t: missing feature: subversion python bindings
Skipped test-convert-mtn.t: missing feature: monotone client (>= 1.0)
Skipped test-convert-p4-filetypes.t: missing feature: Perforce server and client
Skipped test-convert-p4.t: missing feature: Perforce server and client
Skipped test-convert-svn-branches.t: missing feature: subversion python bindings
Skipped test-convert-svn-encoding.t: missing feature: subversion python bindings
Skipped test-convert-svn-move.t: missing feature: subversion python bindings
Skipped test-convert-svn-sink.t: missing feature: subversion client and admin tools >= 1.3
Skipped test-convert-svn-source.t: missing feature: subversion python bindings
Skipped test-convert-svn-startrev.t: missing feature: subversion python bindings
Skipped test-convert-svn-tags.t: missing feature: subversion python bindings
Skipped test-convert-tagsbranch-topology.t: missing feature: git command line client
Skipped test-convert-tla.t: missing feature: GNU Arch tla client
Skipped test-https.t: missing feature: python >= 2.6 ssl module and python OpenSSL
Skipped test-i18n.t: missing feature: GNU Gettext (msgfmt)
Skipped test-mq-subrepo-svn.t: missing feature: subversion client and admin tools >= 1.3
Skipped test-no-symlinks.t: system supports symbolic links
Skipped test-subrepo-git.t: missing feature: git command line client
Skipped test-subrepo-svn.t: missing feature: subversion client and admin tools >= 1.5
Failed test-clone.t: output changed
Failed test-command-template.t: output changed
Failed test-convert.t: output changed
Failed test-extension.t: output changed
Failed test-inotify-debuginotify.t: output changed
Failed test-journal-exists.t: output changed
Failed test-lock-badness.t: output changed
Failed test-permissions.t: output changed
Failed test-pull-permission.t: output changed
Failed test-repair-strip.t: output changed
Failed test-serve.t: output changed
# Ran 416 tests, 37 skipped, 11 failed.
make: *** [tests] Error 1



More information about the Mercurial mailing list