Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 348499

Summary: Stabilize =dev-vcs/mercurial-1.7
Product: Gentoo Linux Reporter: Krzysztof Pawlik (RETIRED) <nelchael>
Component: New packagesAssignee: Krzysztof Pawlik (RETIRED) <nelchael>
Status: RESOLVED FIXED    
Severity: enhancement CC: djc
Priority: High Keywords: STABLEREQ
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: tests failure on x86
tests failure on SPARC
dev-vcs:mercurial-1.7:20101223-190044.log buildlog on ARM

Description Krzysztof Pawlik (RETIRED) gentoo-dev 2010-12-12 11:47:13 UTC
Please test and stabilize =dev-vcs/mercurial-1.7, unfortunately we (me and Dirkjan) are aware of some test failures (it heavily depends on other packages, like test failures in bzr import, environment, arch, etc).

Please *do* report those issues, but unless it's something like most of them failing please *do* stabilize mercurial. It's not optimal, but we really, really need newer mercurial stabilized on most arches.
Comment 1 Agostino Sarubbo gentoo-dev 2010-12-12 12:31:26 UTC
amd64 ok
Comment 2 David Abbott (RETIRED) gentoo-dev 2010-12-14 18:44:25 UTC
Tested on x86, all good here.
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2010-12-15 12:38:05 UTC
amd64 done. Thanks Agostino
Comment 4 Florent D'halluin (Flal) 2010-12-16 17:37:09 UTC
compile and run nicely on x86  but tests are failing. (see attached emerge --log) 
Comment 5 Florent D'halluin (Flal) 2010-12-16 17:40:14 UTC
Created attachment 257341 [details]
tests failure on x86

the build.log with failing tests
Comment 6 Thomas Kahle (RETIRED) gentoo-dev 2010-12-17 13:02:04 UTC
x86 done. Thanks everyone!
Comment 7 Alex Buell 2010-12-19 09:48:19 UTC
Testing on SPARC, Mercurial 1.5 failed 4 out of 347 tests. Testing Mercurial 1.7 generated 16 failures from 377 tests. These failures are:

Failed test-bheads.t: output changed and returned error code -15
Failed test-keyword.t: output changed and returned error code -15
Failed test-mq.t: output changed and returned error code -15
Failed test-command-template.t: output changed and returned error code -15
Failed test-fetch.t: output changed and returned error code -15
Failed test-import.t: output changed and returned error code -15
Failed test-log.t: output changed and returned error code -15
Failed test-mq-header-from.t: output changed and returned error code -15
Failed test-push-warn.t: output changed and returned error code -15
Failed test-mq-guards.t: output changed and returned error code -15
Failed test-mv-cp-st-diff.t: output changed and returned error code -15
Failed test-rename-merge2.t: output changed and returned error code -15
Failed test-revset.t: output changed and returned error code -15
Failed test-merge-tools.t: output changed and returned error code -15
Failed test-mq-header-date.t: output changed and returned error code -15
Failed test-pull-pull-corruption2.t: output changed
Comment 8 Krzysztof Pawlik (RETIRED) gentoo-dev 2010-12-19 09:51:06 UTC
Alex: could you attach build.log? If those are timeouts please see bug 348854.
Comment 9 Alex Buell 2010-12-19 10:05:43 UTC
Created attachment 257531 [details]
tests failure on SPARC
Comment 10 Krzysztof Pawlik (RETIRED) gentoo-dev 2010-12-19 10:18:50 UTC
Alex: yes, all of those failures seem to be timeouts. It's an issue with how many tests are run at the same time, bug 348854.
Comment 11 Krzysztof Pawlik (RETIRED) gentoo-dev 2010-12-19 10:20:22 UTC
Small correction: all except test-pull-pull-corruption2.t:

ERROR: /var/tmp/portage/dev-vcs/mercurial-1.7/work/mercurial-1.7/tests/test-pull-pull-corruption2.t output changed
--- /var/tmp/portage/dev-vcs/mercurial-1.7/work/mercurial-1.7/tests/test-pull-pull-corruption2.t 
+++ /var/tmp/portage/dev-vcs/mercurial-1.7/work/mercurial-1.7/tests/test-pull-pull-corruption2.t.err 
@@ -16,6 +16,7 @@
   $ hg init version2
   $ hg -R version2 pull source1 &
   $ sleep 1
+  $ hg clone --pull -U version2 corrupted
   pulling from source1
   requesting all changes
   adding changesets
@@ -23,7 +24,6 @@
   adding file changes
   added 10 changesets with 10 changes to 1 files
   (run 'hg update' to get a working copy)
-  $ hg clone --pull -U version2 corrupted
   requesting all changes
   adding changesets
   adding manifests
Comment 12 Markus Meier gentoo-dev 2010-12-25 14:03:07 UTC
Created attachment 258017 [details]
dev-vcs:mercurial-1.7:20101223-190044.log buildlog on ARM

build log on arm. Krzysztof, is there anything else than the timeouts?
Comment 13 Krzysztof Pawlik (RETIRED) gentoo-dev 2010-12-25 15:02:50 UTC
Markus: all of failures (even those not marked with timeout) look to me like the effects of -j4.

Dirkjan: -j4 has more side effects than only timeouts:

ERROR: /var/tmp/portage/dev-vcs/mercurial-1.7/work/mercurial-1.7/tests/test-hgweb.t output changed
--- /var/tmp/portage/dev-vcs/mercurial-1.7/work/mercurial-1.7/tests/test-hgweb.t 
+++ /var/tmp/portage/dev-vcs/mercurial-1.7/work/mercurial-1.7/tests/test-hgweb.t.err 
@@ -9,421 +9,72 @@
   adding da/foo
   adding foo
   $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
+  abort: cannot start server at ':$HGPORT': Address already in use
+  abort: child process failed to start
+  [255]
   $ cat hg.pid >> $DAEMON_PIDS
+  cat: hg.pid: No such file or directory
+  [1]
Comment 14 Krzysztof Pawlik (RETIRED) gentoo-dev 2010-12-25 15:07:30 UTC
I've removed -j4 from 1.7, 1.7.1 and 1.7.2 - this should help with test failures.
Comment 15 Markus Meier gentoo-dev 2010-12-26 13:45:24 UTC
arm stable
Comment 16 Alex Buell 2010-12-29 16:36:57 UTC
Test failures on SPARC are now much less:

Failed test-mq-header-date.t: output changed and returned error code -15
Failed test-mq-header-from.t: output changed and returned error code -15
Failed test-mq.t: output changed and returned error code -15
Failed test-rename-merge2.t: output changed and returned error code -15
# Ran 376 tests, 12 skipped, 4 failed.

Could definitely consider this a candidate for stabilisation on SPARC. 
Comment 17 Krzysztof Pawlik (RETIRED) gentoo-dev 2010-12-29 22:13:16 UTC
(In reply to comment #16)
> Test failures on SPARC are now much less:
> 
> Failed test-mq-header-date.t: output changed and returned error code -15
> Failed test-mq-header-from.t: output changed and returned error code -15
> Failed test-mq.t: output changed and returned error code -15
> Failed test-rename-merge2.t: output changed and returned error code -15
> # Ran 376 tests, 12 skipped, 4 failed.
> 
> Could definitely consider this a candidate for stabilisation on SPARC. 

Awesome! It's definitively better than previous stable anyway :)

As a side note: please full build log or just tests output - that way we can check why there are test failure.
Comment 18 Brent Baude (RETIRED) gentoo-dev 2011-01-13 22:41:34 UTC
ppc stable
Comment 19 Raúl Porcel (RETIRED) gentoo-dev 2011-01-15 11:58:27 UTC
alpha/ia64/sparc stable
Comment 20 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2011-02-26 07:48:19 UTC
ppc64 stable
Comment 21 Jeroen Roovers (RETIRED) gentoo-dev 2011-03-29 12:48:33 UTC
Stable for HPPA and closing.