Your message dated Mon, 29 Apr 2019 01:48:27 +0000
with message-id <[email protected]>
and subject line Bug#928042: fixed in pikepdf 1.0.5+dfsg-3
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)

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: pikepdf
Source-Version: 1.0.5+dfsg-3

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, 28 Apr 2019 18:23:41 -0700
Source: pikepdf
Architecture: source
Version: 1.0.5+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<[email protected]>
Changed-By: Sean Whitton <[email protected]>
Closes: 928042
Changes:
 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:
 2e92385c1583750848559e93aa8efa879a20373c 2619 pikepdf_1.0.5+dfsg-3.dsc
 f33fc1e29a6b213042bc2e11b43503b695f49a6c 1921468 
pikepdf_1.0.5+dfsg-3.debian.tar.xz
Checksums-Sha256:
 c9d7603395c4dc973e33333069f0bd578bc57a66f4d7bdfa6c957fa77b8e2793 2619 
pikepdf_1.0.5+dfsg-3.dsc
 21a742b2d647f54c93a8cdfaf3ae1f47e23ca82a5d3ab1b9d9fba012506ad5f3 1921468 
pikepdf_1.0.5+dfsg-3.debian.tar.xz
Files:
 feba89ddbaf4023deb048530177cf21d 2619 python optional pikepdf_1.0.5+dfsg-3.dsc
 f826613e092f6c8d44ad9bb6088ea120 1921468 python optional 
pikepdf_1.0.5+dfsg-3.debian.tar.xz

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

iQIzBAEBCgAdFiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAlzGUmsACgkQaVt65L8G
YkB8yA//WsDpsgrDxelZkgMecD85NPQI31/Wao2l66VGYqsw3yc+xA/8IAHoBB54
97EtW8RkOr8p1vA6fFhpr98nOo2deHQsUqnYf5/k71ALvN6Ug5bZiOBseerzswtz
OSLFKYC/88ETrKYgGMu19CKoEVSuYHabmskMfdY8JC2Ecnv4dlVSYPzxHB3mo64r
7mRkzGgjeDKBBEJO/Jz/ot4comCxXmLvvAwuHR/PyAazrLHXD4uKXCLEEr2JAuaC
1FfgWKbFHc+pzL4bnfsdzrxAUMsrSrhnb5iJV+AEc+Sllmx4GXfYtLOV1vBBqENm
GBc78Yw6OJusrssMN5Rq3MbbUI3LsBrlurkBii/iNG0cPXW+JSchHNBz6LgGtYxa
ecktyjKmTNTB6D4hHKrkZuia8zG0LlD4KxppvBEmjxJewp4JwC1IrXG12b78oDxV
lOOlQxE/Aw0R2br3edsXNpLhJFxPWwFtfQGI6CvJFWRwYI1+p513spj17ovo7siT
dfnXnUPD93f9X0FGcnWFxCafHHLkIIzE/Wt3pZxQzIt5nEyZQVKdp6Y5HA/LpZ8d
NKEpWMlfFTs7O/WA56xK+TS9/1Isu0JtcsAyycyaTIPB6G3Ehzk5mZJLW6MxTZ+f
UY5wPg5cCEJu8T9hXbrvllLOo/vlkyfyeIW/X3xH7Rkin0Tw3yM=
=yJRR
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to