[Bug 6898] New: test-lfs-serve-access failure
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Thu Aug 8 08:01:37 UTC 2024
https://bz.mercurial-scm.org/show_bug.cgi?id=6898
Bug ID: 6898
Summary: test-lfs-serve-access failure
Product: Mercurial
Version: 6.8.1
Hardware: All
OS: NetBSD
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: Mercurial
Assignee: bugzilla at mercurial-scm.org
Reporter: wiz at gatalith.at
CC: mercurial-devel at mercurial-scm.org
Python Version: ---
While updating the pkgsrc package to 6.8.1 I noticed a new error (compared to
6.7) when testing with Python 3.12.5. I guess Python 3.12 handling is missing
in the patch?
Here's the output:
---
/scratch/devel/py-mercurial/work/mercurial-6.8.1/tests/test-lfs-serve-access.t
+++
/scratch/devel/py-mercurial/work/mercurial-6.8.1/tests/test-lfs-serve-access.t.err
@@ -364,20 +364,22 @@
self.do_write()
self.do_hgweb()
for chunk in self.server.application(env, self._start_response):
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
for r in self._runwsgi(req, res, repo):
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (py311 !)
- handled = wireprotoserver.handlewsgirequest( (py38 !)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (py311 !)
- return _processbasictransfer( (py38 !)
- ^^^^^^^^^^^^^^^^^^^^^^ (py311 !)
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ handled = wireprotoserver.handlewsgirequest(
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ return _processbasictransfer(
rctx, req, res, self.check_perm (no-py38 !)
rctx.repo, req, res, lambda perm: checkperm(rctx, req, perm) (no-py38 !)
+ ^^^^^^^^^^^^^^^^^^^^^^
res.setbodybytes(localstore.read(oid))
- ^^^^^^^^^^^^^^^^^^^^ (py311 !)
+ ^^^^^^^^^^^^^^^^^^^^
blob = self._read(self.vfs, oid, verify)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (py311 !)
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
raise IOError(errno.EIO, r'%s: I/O error' % oid.decode("utf-8"))
*Error: [Errno *]
276f73cfd75f9fb519810df5f5d96d6594ca2521abd86cbcd92122f7d51a1f3d: I/O error
(glob)
+ $LOCALIP - - [$ERRDATE$] HG error: hint=_(b'run hg verify'), (glob)
(no-py38 !)
$LOCALIP - - [$ERRDATE$] HG error: Exception happened while processing
request
'/.hg/lfs/objects/276f73cfd75f9fb519810df5f5d96d6594ca2521abd86cbcd92122f7d51a1f3d':
(glob)
$LOCALIP - - [$ERRDATE$] HG error: Traceback (most recent call last):
(glob)
@@ -387,7 +389,6 @@
$LOCALIP - - [$ERRDATE$] HG error:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (glob) (py311 !)
$LOCALIP - - [$ERRDATE$] HG error: blobstore._verify(oid, b'dummy
content') (glob)
$LOCALIP - - [$ERRDATE$] HG error: raise LfsCorruptionError( (glob)
(py38 !)
- $LOCALIP - - [$ERRDATE$] HG error: hint=_(b'run hg verify'), (glob)
(no-py38 !)
$LOCALIP - - [$ERRDATE$] HG error: hgext.lfs.blobstore.LfsCorruptionError:
detected corrupt lfs object:
276f73cfd75f9fb519810df5f5d96d6594ca2521abd86cbcd92122f7d51a1f3d (glob)
$LOCALIP - - [$ERRDATE$] HG error: (glob)
ERROR: test-lfs-serve-access.t output changed
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list