Your message dated Sun, 16 Jun 2019 18:33:39 +0000
with message-id <[email protected]>
and subject line Bug#928042: fixed in pikepdf 1.0.5+dfsg-3~deb10u1
has caused the Debian Bug report #928042,
regarding pikepdf: flaky autopkgtest: random input results in failing test
sometimes
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 [email protected]
immediately.)
--
928042: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=928042
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pikepdf
Version: 1.0.5+dfsg-2
Severity: important
X-Debbugs-CC: [email protected]
User: [email protected]
Usertags: flaky
Dear maintainers,
With a recent upload of glibc the autopkgtest of pikepdf fails in
testing when that autopkgtest is run with the binary packages of glibc
from unstable. However, when I triggered a retry, the test passed. I
looked into the history of your autopkgtest and it fails once in a while
with the same error every time (as far as I checked). The failing test
*seems* to be using some random input. I suspect there are possible
inputs that result in the failure.
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 wasting peoples time. Please either fix the test to be more robust,
or mark the test as "flaky".
I copied some of the output at the bottom of this report.
Paul
https://ci.debian.net/data/autopkgtest/testing/amd64/p/pikepdf/2299297/log.gz
=================================== FAILURES
===================================
______________________________ test_random_dates
_______________________________
@given(
> integers(-9999, 9999),
integers(0, 99),
integers(0, 99),
integers(0, 99),
integers(0, 99),
integers(0, 99),
)
def test_random_dates(year, month, day, hour, mins, sec):
tests/test_metadata.py:248:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
/usr/lib/python3/dist-packages/hypothesis/core.py:519: in execute
result = self.test_runner(data, run)
/usr/lib/python3/dist-packages/hypothesis/executors.py:58: in
default_new_style_executor
return function(data)
/usr/lib/python3/dist-packages/hypothesis/core.py:517: in run
return test(*args, **kwargs)
tests/test_metadata.py:248: in test_random_dates
integers(-9999, 9999),
/usr/lib/python3/dist-packages/hypothesis/core.py:464: in test
result = self.test(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
year = 1, month = 1, day = 1, hour = 0, mins = 0, sec = 0
@given(
integers(-9999, 9999),
integers(0, 99),
integers(0, 99),
integers(0, 99),
integers(0, 99),
integers(0, 99),
)
def test_random_dates(year, month, day, hour, mins, sec):
date_args = year, month, day, hour, mins, sec
xmp = '{:04d}-{:02d}-{:02d}T{:02d}:{:02d}:{:02d}'.format(*date_args)
docinfo = '{:04d}{:02d}{:02d}{:02d}{:02d}{:02d}'.format(*date_args)
try:
converted = DateConverter.docinfo_from_xmp(xmp)
except ValueError:
pass
else:
> assert converted == docinfo
E AssertionError: assert '10101000000' == '00010101000000'
E - 10101000000
E + 00010101000000
E ? +++
tests/test_metadata.py:265: AssertionError
---------------------------------- Hypothesis
----------------------------------
Falsifying example: test_random_dates(year=1, month=1, day=1, hour=0,
mins=0, sec=0)
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source: pikepdf
Source-Version: 1.0.5+dfsg-3~deb10u1
We believe that the bug you reported is fixed in the latest version of
pikepdf, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sean Whitton <[email protected]> (supplier of updated pikepdf 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 16 Jun 2019 19:00:54 +0100
Source: pikepdf
Architecture: source
Version: 1.0.5+dfsg-3~deb10u1
Distribution: buster
Urgency: medium
Maintainer: Debian Python Modules Team
<[email protected]>
Changed-By: Sean Whitton <[email protected]>
Closes: 928042
Changes:
pikepdf (1.0.5+dfsg-3~deb10u1) buster; urgency=medium
.
* Upload to buster-proposed-updates. See #930597.
.
pikepdf (1.0.5+dfsg-3) unstable; urgency=medium
.
* Cherry pick upstream commit 4d22fe4 as
Fix-issue-25-year-missing-leading-zero-on-some-platforms.patch
(Closes: #928042).
Checksums-Sha1:
1884424647e2fa8a749c4470e7f64e1b0740b3de 2659 pikepdf_1.0.5+dfsg-3~deb10u1.dsc
1ffa1aab6ca2b3770a735f0212f7510cd0aeb1c9 1921576
pikepdf_1.0.5+dfsg-3~deb10u1.debian.tar.xz
Checksums-Sha256:
99e544501fb81d3d942845a172c453e35a839bc3ec185e1cb2f6c57e4e4240fa 2659
pikepdf_1.0.5+dfsg-3~deb10u1.dsc
7430d7ac6f55bf664fe028a3f772f276b68be695196c6abc2d173df1393b95cc 1921576
pikepdf_1.0.5+dfsg-3~deb10u1.debian.tar.xz
Files:
a2ed273c91799deca4773e91deb0e27c 2659 python optional
pikepdf_1.0.5+dfsg-3~deb10u1.dsc
1818413176c6303ab9816ece36a9a395 1921576 python optional
pikepdf_1.0.5+dfsg-3~deb10u1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAl0GhpMACgkQaVt65L8G
YkAWDg//cmGDEt1dyvI5fPcVV5ajT/D0EC3P1RWIw9agzoYvBiy0kA8BatZTvKeh
3WxZThSC7pScc3YLfb8Yc2sMobOtuUrBl9WaZw/E7XXwah+LI+AGfsGBJ9/3RIiY
BD/fy/Z/9r8VS5B1gZ6P0MvpUcl7qzaDKBF7vwB04Xd/5i9JMGWnoggnnR1EQr8n
0yvetwUezBLxShmwAjDqYeycM/AppWs8y9u0vTYW/ES/FYe/KrvH5zCgvwsafu2n
ZSch8EYocdiIp5jrCqmrgV7dsjfOuWaQH9eX0fzLmrDk/E4OQn7ZSYP+5ngVy2Ae
7BpL69/tyOpZtx2EcVHWGhEl8aqkDMjxAERs3WUTWLWN3JbEDheqJcYftUiMZvFA
maf8c94gP5TwkhhWiVYJ0YHufTq4QaniPoofOvjonYOuQJsyF1sY/jxPOV1vg7FP
o/GYun7wUApqXXEb+lqjXFZ8X68l/q3uhy3LHV2bJp0kH6Dd94qjnPolPvgKDaf/
J1gH0a4Q5BjkExcHylBdzoaFPOzDW/S3RkG7mreN+BHGgBfzGomLmQF02bz42XXY
YVBZ4ZKRXPYoDwKxVCjf9rawB5nRvoeBpP0lzWuCOcBF9Z7vqrSBuoVDlrW/xwlo
d+JkWiz3kCyInp/3tw7lmHXDiCvo5ZxNoa/dw2ju8L3o3E15/fA=
=CBb/
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team