Source: mercurial
Version: 6.7.4-1
Severity: normal
Tags: ftbfs

Dear Maintainer,

test-bundle.t fails:

test-bundle.t
test-bundle.t ... # Test test-bundle.t 
# Running sh "/tmp/hgtests.dnrnpeia/child163/test-bundle.t.sh" 
# Timout reached for process 2680 
# Ret was: 0 (test-persistent-nodemap.t) 
ok
test-revert.t
test-revert.t ... # Test test-revert.t 
# Running sh "/tmp/hgtests.dnrnpeia/child164/test-revert.t.sh" 
# Timout reached for process 3637 

--- /<<PKGBUILDDIR>>/tests/test-bundle.t
+++ /<<PKGBUILDDIR>>/tests/test-bundle.t.err
@@ -1106,13 +1106,7 @@
   DEBUG-UNBUNDLING:     full:        ?????????????? seconds (???% of total) 
(glob)
   DEBUG-UNBUNDLING:       cached:    ?????????????? seconds (???% of total) 
(glob)
   DEBUG-UNBUNDLING:   manifests:
-  DEBUG-UNBUNDLING:     full:        ?????????????? seconds (???% of total) 
(glob)
-  DEBUG-UNBUNDLING:       cached:    ?????????????? seconds (???% of total) 
(glob)
-  DEBUG-UNBUNDLING:     delta:       ?????????????? seconds (???% of total) 
(glob)
-  DEBUG-UNBUNDLING:       cached:    ?????????????? seconds (???% of total) 
(glob)
   DEBUG-UNBUNDLING:   files:
-  DEBUG-UNBUNDLING:     full:        ?????????????? seconds (???% of total) 
(glob)
-  DEBUG-UNBUNDLING:       cached:    ?????????????? seconds (???% of total) 
(glob)
   added 3 changesets with 3 changes to 3 files
   new changesets 4fe08cd4693e:4652c276ac4f (3 drafts)
   (run 'hg update' to get a working copy)

ERROR: test-bundle.t output changed
!# Ret was: 0 (test-bundle.t) 

Full log is here:
https://buildd.debian.org/status/fetch.php?pkg=mercurial&arch=hppa&ver=6.7.4-1&stamp=1718444852&raw=0

test-bundle.t is the only test that fails with 6.7.4-1 when the testsuite
is run on real hardware. There are more errors with qemu buildds.

I don't see #929756 anymore.

I saw this output when I built mercurial with dpkg-buildpackage:

--- /home/dave/debian/mercurial/mercurial-6.7.4/tests/test-bundle.t
+++ /home/dave/debian/mercurial/mercurial-6.7.4/tests/test-bundle.t.err
@@ -1086,33 +1086,76 @@
   DEBUG-UNBUNDLING:   manifests:              3             ( 33%)
   DEBUG-UNBUNDLING:   files:                  3             ( 33%)
   DEBUG-UNBUNDLING: total-time:      ?????????????? seconds (glob)
-  DEBUG-UNBUNDLING:   changelog:     ?????????????? seconds (???%) (glob)
-  DEBUG-UNBUNDLING:   manifests:     ?????????????? seconds (???%) (glob)
-  DEBUG-UNBUNDLING:   files:         ?????????????? seconds (???%) (glob)
-  DEBUG-UNBUNDLING: type-count:
-  DEBUG-UNBUNDLING:   changelog:
-  DEBUG-UNBUNDLING:     full:                 3
-  DEBUG-UNBUNDLING:       cached:             3             (100%)
-  DEBUG-UNBUNDLING:   manifests:
-  DEBUG-UNBUNDLING:     full:                 1
-  DEBUG-UNBUNDLING:       cached:             1             (100%)
-  DEBUG-UNBUNDLING:     delta:                2
-  DEBUG-UNBUNDLING:       cached:             2             (100%)
-  DEBUG-UNBUNDLING:   files:
-  DEBUG-UNBUNDLING:     full:                 3
-  DEBUG-UNBUNDLING:       cached:             3             (100%)
-  DEBUG-UNBUNDLING: type-time:
-  DEBUG-UNBUNDLING:   changelog:
-  DEBUG-UNBUNDLING:     full:        ?????????????? seconds (???% of total) 
(glob)
-  DEBUG-UNBUNDLING:       cached:    ?????????????? seconds (???% of total) 
(glob)
-  DEBUG-UNBUNDLING:   manifests:
-  DEBUG-UNBUNDLING:     full:        ?????????????? seconds (???% of total) 
(glob)
-  DEBUG-UNBUNDLING:       cached:    ?????????????? seconds (???% of total) 
(glob)
-  DEBUG-UNBUNDLING:     delta:       ?????????????? seconds (???% of total) 
(glob)
-  DEBUG-UNBUNDLING:       cached:    ?????????????? seconds (???% of total) 
(glob)
-  DEBUG-UNBUNDLING:   files:
-  DEBUG-UNBUNDLING:     full:        ?????????????? seconds (???% of total) 
(glob)
-  DEBUG-UNBUNDLING:       cached:    ?????????????? seconds (???% of total) 
(glob)
-  added 3 changesets with 3 changes to 3 files
-  new changesets 4fe08cd4693e:4652c276ac4f (3 drafts)
-  (run 'hg update' to get a working copy)
+  transaction abort!
+  rollback completed
+  ** unknown exception encountered, please report by visiting
+  ** https://mercurial-scm.org/wiki/BugTracker
+  ** Python 3.11.9 (main, Apr 10 2024, 13:16:36) [GCC 13.2.0]
+  ** Mercurial Distributed SCM (version 6.7.4)
+  ** Extensions loaded:
+  Traceback (most recent call last):
+    File "/tmp/hgtests.7tftf1lf/install/bin/hg", line 59, in <module>
+      dispatch.run()
+    File "/tmp/hgtests.7tftf1lf/install/lib/python/mercurial/dispatch.py", 
line 142, in run
+      status = dispatch(req)
+               ^^^^^^^^^^^^^
+    File "/tmp/hgtests.7tftf1lf/install/lib/python/mercurial/dispatch.py", 
line 231, in dispatch
+      status = _rundispatch(req)
+               ^^^^^^^^^^^^^^^^^
+    File "/tmp/hgtests.7tftf1lf/install/lib/python/mercurial/dispatch.py", 
line 275, in _rundispatch
+      ret = _runcatch(req) or 0
+            ^^^^^^^^^^^^^^
+    File "/tmp/hgtests.7tftf1lf/install/lib/python/mercurial/dispatch.py", 
line 456, in _runcatch
+      return _callcatch(ui, _runcatchfunc)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+    File "/tmp/hgtests.7tftf1lf/install/lib/python/mercurial/dispatch.py", 
line 466, in _callcatch
+      return scmutil.callcatch(ui, func)
+             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
+    File "/tmp/hgtests.7tftf1lf/install/lib/python/mercurial/scmutil.py", line 
152, in callcatch
+      return func()
+             ^^^^^^
+    File "/tmp/hgtests.7tftf1lf/install/lib/python/mercurial/dispatch.py", 
line 446, in _runcatchfunc
+      return _dispatch(req)
+             ^^^^^^^^^^^^^^
+    File "/tmp/hgtests.7tftf1lf/install/lib/python/mercurial/dispatch.py", 
line 1271, in _dispatch
+      return runcommand(
+             ^^^^^^^^^^^
+    File "/tmp/hgtests.7tftf1lf/install/lib/python/mercurial/dispatch.py", 
line 904, in runcommand
+      ret = _runcommand(ui, options, cmd, d)
+            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+    File "/tmp/hgtests.7tftf1lf/install/lib/python/mercurial/dispatch.py", 
line 1283, in _runcommand
+      return cmdfunc()
+             ^^^^^^^^^
+    File "/tmp/hgtests.7tftf1lf/install/lib/python/mercurial/dispatch.py", 
line 1269, in <lambda>
+      d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+    File "/tmp/hgtests.7tftf1lf/install/lib/python/mercurial/util.py", line 
1878, in check
+      return func(*args, **kwargs)
+             ^^^^^^^^^^^^^^^^^^^^^
+    File "/tmp/hgtests.7tftf1lf/install/lib/python/mercurial/commands.py", 
line 7760, in unbundle
+      op = bundle2.applybundle(
+           ^^^^^^^^^^^^^^^^^^^^
+    File "/tmp/hgtests.7tftf1lf/install/lib/python/mercurial/bundle2.py", line 
383, in applybundle
+      return processbundle(
+             ^^^^^^^^^^^^^^
+    File "/tmp/hgtests.7tftf1lf/install/lib/python/mercurial/bundle2.py", line 
508, in processbundle
+      processparts(repo, op, unbundler)
+    File "/tmp/hgtests.7tftf1lf/install/lib/python/mercurial/bundle2.py", line 
516, in processparts
+      _processpart(op, part)
+    File "/tmp/hgtests.7tftf1lf/install/lib/python/mercurial/bundle2.py", line 
594, in _processpart
+      handler(op, part)
+    File "/tmp/hgtests.7tftf1lf/install/lib/python/mercurial/bundle2.py", line 
2096, in handlechangegroup
+      ret = _processchangegroup(
+            ^^^^^^^^^^^^^^^^^^^^
+    File "/tmp/hgtests.7tftf1lf/install/lib/python/mercurial/bundle2.py", line 
524, in _processchangegroup
+      ret = cg.apply(op.repo, tr, source, url, **kwargs)
+            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+    File "/tmp/hgtests.7tftf1lf/install/lib/python/mercurial/changegroup.py", 
line 761, in apply
+      display_unbundle_debug_info(repo.ui, debug_info)
+    File "/tmp/hgtests.7tftf1lf/install/lib/python/mercurial/changegroup.py", 
line 198, in display_unbundle_debug_info
+      _dbg_ubdl_line(ui, 1, key, _sumf(durations), total_duration)
+    File "/tmp/hgtests.7tftf1lf/install/lib/python/mercurial/changegroup.py", 
line 136, in _dbg_ubdl_line
+      percentage = base_value * 100 // percentage_base
+                   ~~~~~~~~~~~~~~~~~^^~~~~~~~~~~~~~~~~
+  ZeroDivisionError: float floor division by zero
+  [1]

ERROR: test-bundle.t output changed
!# Ret was: 0 (test-bundle.t)

Regards,
Dave Anglin

-- System Information:
Debian Release: trixie/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'buildd-unstable'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 6.10.0-rc3-dirty (SMP w/4 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to