Your message dated Wed, 09 Jul 2025 18:19:37 +0000
with message-id <e1uzzol-00dnzx...@fasolo.debian.org>
and subject line Bug#1107787: fixed in paperwork 2.2.5-3
has caused the Debian Bug report #1107787,
regarding paperwork: autopkgtest regressed on s390x
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1107787: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1107787
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: paperwork
Version: 2.2.5-2
Severity: serious
User: debian...@lists.debian.org
Usertags: flaky
User: debian-s...@lists.debian.org
Usertags: s390x
X-Debbugs-CC: debian-s...@lists.debian.org

Dear maintainer(s),

I looked at the results of the autopkgtest of your package because it showed up as a regression for jq. I noticed that it regularly fails on s390x since March 2025 and it now fails more often than it passes.

I recall there was something special with NaN on s390x, but I can't find it. Maybe I'm mixing up with ppc64el which recently was on my radar because of another NaN bug.

Because the unstable-to-testing migration software now blocks on
regressions in testing, flaky tests, i.e. tests that flip between
passing and failing without changes to the list of installed packages,
are causing people unrelated to your package to spend time on these
tests.

Don't hesitate to reach out if you need help and some more information
from our infrastructure.

Paul

https://ci.debian.net/packages/p/paperwork/testing/s390x/61163824

386s =================================== FAILURES =================================== 386s ________________________ TestPageExport.test_pdf_to_img ________________________
386s
386s self = <tests.docexport.tests_export.TestPageExport testMethod=test_pdf_to_img>
386s
386s     def test_pdf_to_img(self):
386s         pipeline = [
386s self.core.call_success("export_get_pipe_by_name", "img_boxes"), 386s self.core.call_success("export_get_pipe_by_name", "unpaper"), 386s self.core.call_success("export_get_pipe_by_name", "swt_soft"),
386s             self.core.call_success("export_get_pipe_by_name", "png"),
386s         ]
386s         result = None
386s
386s         def origin():
386s             return paperwork_backend.docexport.ExportData.build_page(
386s                 # 1st page of the PDF
386s                 "some_doc_id", self.test_doc_pdf_url, 0
386s             )
386s
386s         def set_result(r):
386s             nonlocal result
386s             result = r
386s
386s         promise = openpaperwork_core.promise.Promise(self.core, origin)
386s         for pipe in pipeline:
386s             promise = promise.then(pipe.get_promise(result='preview'))
386s         promise = promise.then(set_result)
386s promise = promise.then(self.core.call_all, "mainloop_quit_graceful")
386s         promise = promise.schedule()
386s >       self.core.call_one("mainloop")
386s
386s tests/docexport/tests_export.py:118:
386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 386s /usr/lib/python3/dist-packages/openpaperwork_core/__init__.py:449: in call_one
386s     return callbacks[0][2](*args, **kwargs)
386s /usr/lib/python3/dist-packages/openpaperwork_gtk/mainloop/glib.py:79: in mainloop
386s     raise halt_cause
386s /usr/lib/python3/dist-packages/openpaperwork_gtk/mainloop/glib.py:160: in decorator
386s     func(*args, **kwargs)
386s /usr/lib/python3/dist-packages/openpaperwork_core/promise.py:80: in on_error
386s     t.on_error(exc, hide_caught_exceptions)
386s /usr/lib/python3/dist-packages/openpaperwork_core/promise.py:80: in on_error
386s     t.on_error(exc, hide_caught_exceptions)
386s /usr/lib/python3/dist-packages/openpaperwork_core/promise.py:108: in on_error
386s     raise exc
386s /usr/lib/python3/dist-packages/openpaperwork_core/promise.py:235: in _threaded_do
386s     our_r = self.func(*args, **self.kwargs)
386s /usr/lib/python3/dist-packages/paperwork_backend/docexport/img.py:141: in export
386s     for (doc_set, (doc, (page, img_boxes))) in list_img_boxes:
386s /usr/lib/python3/dist-packages/paperwork_backend/docexport/__init__.py:70: in iter
386s     for s in c.iter(dtype):
386s /usr/lib/python3/dist-packages/paperwork_backend/docexport/__init__.py:70: in iter
386s     for s in c.iter(dtype):
386s /usr/lib/python3/dist-packages/paperwork_backend/docexport/__init__.py:69: in iter
386s     for c in self.get_children():
386s /usr/lib/python3/dist-packages/paperwork_backend/docexport/__init__.py:231: in get_children
386s     for img_boxes in children:
386s /usr/lib/python3/dist-packages/paperwork_backend/docexport/__init__.py:231: in get_children
386s     for img_boxes in children:
386s /usr/lib/python3/dist-packages/paperwork_backend/docexport/img.py:50: in get_children
386s     boxes = self.core.call_success(
386s /usr/lib/python3/dist-packages/openpaperwork_core/__init__.py:498: in call_success
386s     r = callback(*args, **kwargs)
386s /usr/lib/python3/dist-packages/paperwork_backend/model/pdf.py:775: in page_get_boxes_by_url
386s     return self.core.call_one(
386s /usr/lib/python3/dist-packages/openpaperwork_core/__init__.py:449: in call_one
386s     return callbacks[0][2](*args, **kwargs)
386s /usr/lib/python3/dist-packages/openpaperwork_gtk/mainloop/glib.py:231: in mainloop_execute
386s     raise exc
386s /usr/lib/python3/dist-packages/openpaperwork_gtk/mainloop/glib.py:218: in get_result
386s     out = func(*args, **kwargs)
386s /usr/lib/python3/dist-packages/paperwork_backend/model/pdf.py:761: in _page_get_boxes_by_url
386s     word_box = PdfWordBox(word, word_rects)
386s /usr/lib/python3/dist-packages/paperwork_backend/model/pdf.py:41: in __init__
386s     self.position = minmax_rects(position)
386s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
386s
386s rects = [<Poppler.Rectangle object at 0x3ff9039cdd0 (PopplerRectangle at 0x3cfb5e0)>, <Poppler.Rectangle object at 0x3ff9039ce...9039ce90 (PopplerRectangle at 0x3cfb620)>, <Poppler.Rectangle object at 0x3ff9039cef0 (PopplerRectangle at 0x3cfb640)>]
386s
386s     def minmax_rects(rects):
386s         (mx1, my1, mx2, my2) = (math.inf, math.inf, 0, 0)
386s         for rectangle in rects:
386s             ((x1, y1), (x2, y2)) = (
386s                 (int(rectangle.x1 * PDF_RENDER_FACTOR),
386s >                int(rectangle.y2 * PDF_RENDER_FACTOR)),
386s                 (int(rectangle.x2 * PDF_RENDER_FACTOR),
386s                  int(rectangle.y1 * PDF_RENDER_FACTOR))
386s             )
386s E           ValueError: cannot convert float NaN to integer
386s
386s /usr/lib/python3/dist-packages/paperwork_backend/model/pdf.py:24: ValueError

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: paperwork
Source-Version: 2.2.5-3
Done: Thomas Perret <thomas.per...@phyx.fr>

We believe that the bug you reported is fixed in the latest version of
paperwork, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1107...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Perret <thomas.per...@phyx.fr> (supplier of updated paperwork package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 09 Jul 2025 17:22:59 +0200
Source: paperwork
Architecture: source
Version: 2.2.5-3
Distribution: unstable
Urgency: medium
Maintainer: Thomas Perret <thomas.per...@phyx.fr>
Changed-By: Thomas Perret <thomas.per...@phyx.fr>
Closes: 1107787
Changes:
 paperwork (2.2.5-3) unstable; urgency=medium
 .
   * debian/tests: Ignore a flaky test on s390x architecture (Closes: #1107787)
   * debian/control: bump Standards-Version to 4.7.2 (no changes needed)
   * debian/copyright: Update copyright year
Checksums-Sha1:
 f3d50a0b693f156f5d63020a4dfe134ede6f897f 3918 paperwork_2.2.5-3.dsc
 6d8333523a2da40eccdd9dcb995d43aa682777f7 15060 paperwork_2.2.5-3.debian.tar.xz
 a7699b713ad590890a2929d24575758ec4ebddf0 23112 
paperwork_2.2.5-3_amd64.buildinfo
Checksums-Sha256:
 a7b9507b36a7f4f0fe8d8df7028f35a82eb3e901f303ddf1c70b6d12a4620a08 3918 
paperwork_2.2.5-3.dsc
 debc01cf5efdb38b4e6c3d8399104a0efd4b62c6dd1f50d77a6b1f479e5cc1c0 15060 
paperwork_2.2.5-3.debian.tar.xz
 1ddf987a281b7fd770e07616c8d15340c6495e8a362602fc4e99504a99e4a848 23112 
paperwork_2.2.5-3_amd64.buildinfo
Files:
 d024acfbceb621c6438df5c8a867eaf3 3918 python optional paperwork_2.2.5-3.dsc
 fe61fa908272d65efce8107190090ed5 15060 python optional 
paperwork_2.2.5-3.debian.tar.xz
 d66ee5989256cb9008bd28521d78717e 23112 python optional 
paperwork_2.2.5-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEvN44oGB4ZqDxNBUTaSmcjtOQ5RwFAmhusAwACgkQaSmcjtOQ
5Ry7WQ//TtrwsMqfHmLFEklwF5TcvyPRTeLUDL4kZGDLgKlEMFPu70EgzHuFxvmE
Uau3T7Xh2qUZezPDMxSkalEWNpPrYa8sKo5JQ9YXg3Bcr6PKfJ3AwNwrAN04GrU8
ZWdJpJrhvG0XTeROJ1s7CG4B0RYH9KumG3297j8G3YvqcXdKYnipIWXfnVDFAYti
LDUAlG7b3mVVwaZyZ1km7AbdCmA3pnfbgwsKNNRX17tz0ap/FIy+K8zEuZFRxSMs
pIesrmfa3K78HeF8ho8bnAtoHQW/bTP0Tuhmx9e8M+xNgis4/S7kV1nK7FXYLLXg
QFlg42UmJRwLTzQo9fSiPIDEeNjQzge4HYqNrHrKhyYBd6f+w3hdPdscIEHKCvGd
9kopN+w1STWufGrHSopFmkXQvSb/JsjsRGn521kEB8uuJYpLWKu7EGQyzvrGa4NH
++lSO8IWpGqb3FI55hYREYu68RgWs5+Qn3TFhndjoYNuT1lUsHGqZ3ls0JqOEeWW
rQj+U3j1MQxjbkY0rN00/aI4QNQAd/0zgMwLr6lRCNIqQFhDZkmShVxdSmEUlYZj
JxUhWDM+2X8xGvCXrcVYCToKP+BIICUwC8tdoOkcpJyOzExKtDJVr5/4heTg7vHC
uig2VlrTwOkUYirvrGxwZiCFacC+HCwQqrQvVxmRF4pJa2Z6wKQ=
=5gCa
-----END PGP SIGNATURE-----

Attachment: pgpkxdco_aSHf.pgp
Description: PGP signature


--- End Message ---

Reply via email to