Your message dated Mon, 29 Apr 2024 13:38:15 +0000
with message-id <[email protected]>
and subject line Bug#1064926: fixed in python-requests-unixsocket 0.3.0-4
has caused the Debian Bug report #1064926,
regarding python-requests-unixsocket: test flake on HEAD request that can lead 
to FTBFS
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.)


-- 
1064926: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1064926
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-requests-unixsocket
Version: 0.3.0-3
Severity: normal
Tags: ftbfs
X-Debbugs-Cc: [email protected]

Dear Maintainer,

While doing an upload to Ubuntu for another python-requests-unixsocket
fix (Debian bug 1063892), we observed that the package may FTBFS on the
testsuite. The HEAD request portion of some of the tests may fail,
apparently due to particular write/read patterns that can leave excess
data around for the next test request - the unread body.

In local testing the failure rate was small (< 5%), but on official
buidlers it was apparently 100%, so system load is likely a factor.

To that end an upstream PR has been opened:
https://github.com/msabramo/requests-unixsocket/pull/71

--- a/requests_unixsocket/testutils.py
+++ b/requests_unixsocket/testutils.py
@@ -51,6 +51,8 @@
             ('X-Requested-Query-String', environ['QUERY_STRING']),
             ('X-Requested-Path', environ['PATH_INFO'])]
         body_bytes = b'Hello world!'
+        if environ["REQUEST_METHOD"] == "HEAD":
+            body_bytes = b''
         start_response(status_text, response_headers)
         logger.debug(
             'WSGIApp.__call__: Responding with '

Also filed in Ubuntu as https://pad.lv/2053154

-Dan

--- End Message ---
--- Begin Message ---
Source: python-requests-unixsocket
Source-Version: 0.3.0-4
Done: Thomas Goirand <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-requests-unixsocket, 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.
Thomas Goirand <[email protected]> (supplier of updated 
python-requests-unixsocket 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: SHA256

Format: 1.8
Date: Mon, 29 Apr 2024 15:10:08 +0200
Source: python-requests-unixsocket
Architecture: source
Version: 0.3.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Closes: 1063892 1064017 1064926
Changes:
 python-requests-unixsocket (0.3.0-4) unstable; urgency=medium
 .
   * Apply Ubuntu patch (Closes: #1063892):
     - 0001-Inherit-HTTPConnection-through-urllib3.connection-no.patch
   * Add testutils-fix-test-flake-on-HEAD-request.patch (Closes: #1064926).
   * Add autopkgtest, thanks to Olivier Gayot <[email protected]>
     (Closes: #1064017).
Checksums-Sha1:
 261de31d8186db81e8484d9779a5a245e661ed00 2359 
python-requests-unixsocket_0.3.0-4.dsc
 f8ba9b6f20b7c6f5cb64a1047763f2d22c545378 4136 
python-requests-unixsocket_0.3.0-4.debian.tar.xz
 248ee859e1538924f338e797bb9f8ec962be6de4 7747 
python-requests-unixsocket_0.3.0-4_amd64.buildinfo
Checksums-Sha256:
 e78c64552b61d373d9ca65bbc63e125f5d1b689492e726c8927a680548518b44 2359 
python-requests-unixsocket_0.3.0-4.dsc
 3c572156c28b0a4e31da691eeccd44d6c363410edcd089bf102c2bb915c61cac 4136 
python-requests-unixsocket_0.3.0-4.debian.tar.xz
 11346d55e35d822af5b2773c751b03ac98ba25164dbfc35288f24faed59a753f 7747 
python-requests-unixsocket_0.3.0-4_amd64.buildinfo
Files:
 17db69882e44091982faec9ca46ddb5a 2359 python optional 
python-requests-unixsocket_0.3.0-4.dsc
 46d540286cb2ebb0becf9b1cb18eca65 4136 python optional 
python-requests-unixsocket_0.3.0-4.debian.tar.xz
 15be9054294bc8b251bc5b4b56514147 7747 python optional 
python-requests-unixsocket_0.3.0-4_amd64.buildinfo

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

iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmYvnbYACgkQ1BatFaxr
Q/6OFQ/+J59A7meSdCyVfiQsqogqwOEJ5wMo3bD31mZZapPRZefstDYjSLiEvF2v
MROLA7sWJQTmQ+N0LEQNLm5BwVHRjZwCgbAhMttjrLafTlOips92aWwQV7Kx9p9L
qlofjZA76HxvmA95pEM7PnVukie1SpJho25oLEBNxbXbZkytpp45c+pIr2XzIfb8
Y7pLnnz8N2ksbbH0rFiq3aesKoBxoOY2f0HxF6YROIGJbwrlEuAZud7HpqV1tcq2
5IUlwpzMcJTW62/6vBeNs2O6thrwVN2gCUN9yAaE6/8T9NuuMePsQ5XbDdAN2rEc
7+RamFULGL5530H8wa3B/wRiGExaLHO8KNOROh0aoabfF2G/Qyz0fEZHxEKCts+E
OGWiZ78bM87PelZZYOLvh3tF+E1l69oYWrmccS9fg+IGiMQ8R5rHLvXloWG8/nx0
PKEpy2fs7YtY/OfFSIWUXrT4jkBTH+kwBgxcx4i1jD2fN83BtW4RVowpTj69H44W
A29Yco+Q5MM/Wp1QZmv/Gqxzq4lgP2S354mbgBS77gqmSrZx9Cu+7rk+D2qrShaP
YgNTn/oRfXZ7G8E9vZTzIKfKR0JjXkgZL+ukJodagbdkvSajLfmQRnnV1ZVc1a1c
fZUGlxCVtvxL7nAj+PttWPCiA6M+TAxRvWVrPnADAmvK/CMtQhc=
=YnZK
-----END PGP SIGNATURE-----

Attachment: pgpyaTNffN2RV.pgp
Description: PGP signature


--- End Message ---

Reply via email to