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

Source: wurlitzer
Version: 3.0.2-3
X-Debbugs-CC: debian...@lists.debian.org
Severity: serious
User: debian...@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


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


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

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


wurlitzer._get_max_pipe_size() is None, reason=”requires

    def test_bufsize():
        default_bufsize = wurlitzer._get_max_pipe_size()
        with wurlitzer.pipes() as (stdout, stderr):

assert fcntl(sys.__stdout__, wurlitzer.F_GETPIPE_SZ) ==
assert fcntl(sys.__stderr__, wurlitzer.F_GETPIPE_SZ) ==

            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(, 1032)
E + where = 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


Description: OpenPGP digital signature

Read more here: Source link