[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1002588: wurlitzer: autopkgtest regression on ppc64el: AssertionError: assert 65536 == 32768



Source: wurlitzer
Version: 3.0.2-3
X-Debbugs-CC: debian-ci@lists.debian.org
Severity: serious
User: debian-ci@lists.debian.org
Usertags: regression

Dear maintainer(s),

With a recent upload of wurlitzer the autopkgtest of wurlitzer fails in testing when that autopkgtest is run with the binary packages of wurlitzer from unstable on ppc64el. It passes when run with only packages from testing. In tabular form:

                       pass            fail
wurlitzer              from testing    3.0.2-3
versioned deps [0]     from testing    from unstable
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration to testing [1]. Can you please investigate the situation and fix it?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=wurlitzer

https://ci.debian.net/data/autopkgtest/testing/ppc64el/w/wurlitzer/17814179/log.gz

Testing with python3.9:
============================= test session starts ==============================
platform linux -- Python 3.9.9, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
rootdir: /tmp/autopkgtest-lxc.yxsc4awn/downtmp/autopkgtest_tmp
collected 12 items

test.py ...........F [100%]

=================================== FAILURES =================================== _________________________________ test_bufsize _________________________________

    @pytest.mark.skipif(
wurlitzer._get_max_pipe_size() is None, reason="requires _get_max_pipe_size"
    )
    def test_bufsize():
        default_bufsize = wurlitzer._get_max_pipe_size()
        with wurlitzer.pipes() as (stdout, stderr):
assert fcntl(sys.__stdout__, wurlitzer.F_GETPIPE_SZ) == default_bufsize assert fcntl(sys.__stderr__, wurlitzer.F_GETPIPE_SZ) == default_bufsize
            bufsize = 32768  # seems to only accept powers of two?
        with wurlitzer.pipes(bufsize=bufsize) as (stdout, stderr):
          assert fcntl(sys.__stdout__, wurlitzer.F_GETPIPE_SZ) == bufsize
E           AssertionError: assert 65536 == 32768
E + where 65536 = fcntl(<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, 1032) E + where <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'> = sys.__stdout__
E            +    and   1032 = wurlitzer.F_GETPIPE_SZ

test.py:178: AssertionError
=========================== short test summary info ============================
FAILED test.py::test_bufsize - AssertionError: assert 65536 == 32768
========================= 1 failed, 11 passed in 0.72s =========================
autopkgtest [17:10:38]: test pytest

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: