Your message dated Sun, 31 May 2026 16:04:42 +0000
with message-id <[email protected]>
and subject line Bug#1137653: fixed in pytest-httpbin 2.1.0-3
has caused the Debian Bug report #1137653,
regarding pytest-httpbin: FTBFS in trixie
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.)
--
1137653: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1137653
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:pytest-httpbin
Version: 2.1.0-1
Severity: important
Tags: ftbfs trixie patch
Control: forwarded -1 https://github.com/kevin1024/pytest-httpbin/issues/99
Dear maintainer:
During a rebuild of all packages in trixie, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/trixie/
Note: I managed to fix this by applying this simple patch:
--- a/pytest_httpbin/serve.py
+++ b/pytest_httpbin/serve.py
@@ -68,8 +68,8 @@ class SecureWSGIServer(WSGIServer):
address,
)
except Exception as e:
- print("pytest-httpbin server hit an exception serving request: %s"
% e)
- print("attempting to ignore so the rest of the tests can run")
+ print("pytest-httpbin server hit an exception serving request: %s"
% e, flush=True)
+ print("attempting to ignore so the rest of the tests can run",
flush=True)
raise
def setup_environ(self):
which I also forwarded upstream:
https://github.com/kevin1024/pytest-httpbin/pull/100
The test failure does not seem to happen in forky/sid, but I believe the patch
is
correct anyway, so my plan is to apply the patch in unstable first (for
completeness),
and then make an upload for stable-proposed-updates.
Note: If you want to reproduce this in trixie, please try
GRUB_CMDLINE_LINUX="nr_cpus=1"
first, as the probability of failure seems to be a lot higher that way.
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:pytest-httpbin, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
tests/test_server.py::test_dont_crash_on_handshake_timeout pytest-httpbin
server hit an exception serving request: _ssl.c:1012: The handshake operation
timed out
attempting to ignore so the rest of the tests can run
FAILED
=================================== FAILURES ===================================
_____________________ test_dont_crash_on_handshake_timeout _____________________
httpbin_secure = <pytest_httpbin.serve.SecureServer object at 0x7f2c829e7cb0>
capsys = <_pytest.capture.CaptureFixture object at 0x7f2c82884050>
def test_dont_crash_on_handshake_timeout(httpbin_secure, capsys):
with socket.socket() as sock:
sock.connect((httpbin_secure.host, httpbin_secure.port))
# this request used to hang
assert sock.recv(1) == b""
> assert (
re.match(
r"pytest-httpbin server hit an exception serving request:.* The
"
"handshake operation timed out\nattempting to ignore so the
rest "
"of the tests can run\n",
capsys.readouterr().out,
)
is not None
)
E AssertionError: assert None is not None
E + where None = <function match at 0x7f2c84d8a8e0>('pytest-httpbin
server hit an exception serving request:.* The handshake operation timed
out\nattempting to ignore so the rest of the tests can run\n', '')
E + where <function match at 0x7f2c84d8a8e0> = re.match
E + and '' = CaptureResult(out='', err='').out
E + where CaptureResult(out='', err='') = readouterr()
E + where readouterr = <_pytest.capture.CaptureFixture object at
0x7f2c82884050>.readouterr
tests/test_server.py:63: AssertionError
=========================== short test summary info ============================
FAILED tests/test_server.py::test_dont_crash_on_handshake_timeout - Assertion...
!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
========================= 1 failed, 19 passed in 2.17s =========================
E: pybuild pybuild:389: test: plugin custom failed with: exit code=1:
python3.13 -m pytest -v -x -s
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13
returned exit code 13
make[1]: *** [debian/rules:15: override_dh_auto_install] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
Source: pytest-httpbin
Source-Version: 2.1.0-3
Done: Santiago Vila <[email protected]>
We believe that the bug you reported is fixed in the latest version of
pytest-httpbin, 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.
Santiago Vila <[email protected]> (supplier of updated pytest-httpbin 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, 31 May 2026 17:35:00 +0200
Source: pytest-httpbin
Architecture: source
Version: 2.1.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Santiago Vila <[email protected]>
Closes: 1137653
Changes:
pytest-httpbin (2.1.0-3) unstable; urgency=medium
.
* Team upload.
* Fix flaky test. Closes: #1137653.
* Drop "Priority: optional" (default).
* Update standards-version.
* Fine-tune salsa-ci.yml.
Checksums-Sha1:
1417bdb63cc3a430a7295ab3e40228785ce1f179 1948 pytest-httpbin_2.1.0-3.dsc
1b552d29451b54bdac3d827ffd3185e732d8ee73 5588
pytest-httpbin_2.1.0-3.debian.tar.xz
ac0fbc89a1fb92f355892ccbf14bf3e8aefbeebe 6519
pytest-httpbin_2.1.0-3_source.buildinfo
Checksums-Sha256:
b84d904633bb0cf306f776fc591053b34f30511855b4d420ee59b4b37007c746 1948
pytest-httpbin_2.1.0-3.dsc
11e0bc1194d1900775c2532112e7bfee38e0cfb8425990b5accc40d96f518dac 5588
pytest-httpbin_2.1.0-3.debian.tar.xz
d89403d5d42c0d558d1fa1c12f6b67e4c45ca95b90bb0a57f77831284f531c1a 6519
pytest-httpbin_2.1.0-3_source.buildinfo
Files:
84ebed9c023efa00baa5d8da4c6c4584 1948 python optional
pytest-httpbin_2.1.0-3.dsc
a14e90fdfc5ef8e41949cb48b592e70f 5588 python optional
pytest-httpbin_2.1.0-3.debian.tar.xz
3968fff2a810310cbfa360a140141e1d 6519 python optional
pytest-httpbin_2.1.0-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCgAdFiEE1Uw7+v+wQt44LaXXQc5/C58bizIFAmocVg4ACgkQQc5/C58b
izI4Swf/SpEK/tnNfeDnmB+vJ1qkbDU7Lc7G3gfrzRjD8NksUS5JbRK8YjiRByEe
rc8SfMUmMQlai6fa2JH4VJlqi8O6D2bXs0QoqPmqsMKj9i9/Sef3mZYVApUlesuJ
6PjHZvx5Y9D6+70bGhCeyjxGDHfiruLVA0gppXlgzplJlDLXgW1UdJJnjoONd8Sj
19JKZsg4s4zE95UEthcGcgQcJgeIIoIEzp80mhOrsBVTi67o8EYM9TWZ8ceSsTfp
uOOGdxlmHGOr90LZHTxzkmQ5w/Gr0NrYZqEkM/fJytenKgwyPxpavCc5X1/bBVE/
fV3/N6S+5XOIW9JlgBRC0JIpaDuHuw==
=j82d
-----END PGP SIGNATURE-----
pgp2PWZCfjshp.pgp
Description: PGP signature
--- End Message ---