Activity log for bug #2053154

Date Who What changed Old value New value Message
2024-02-14 17:24:18 Olivier Gayot bug added bug
2024-02-14 17:25:01 Olivier Gayot description When executing the test suite, sometimes the following exception gets raised: E requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine('Hello world!HTTP/1.1 200 OK\r\n')) This looks bad. According to the test definition, the string "Hello world!" is supposed to be the body of the HTTP response. And somehow it appears before the status line. We noticed this issue after uploading 0.3.0-3ubuntu1 because the package FTBFS [1] (three times out three). So Launchpad builders seem very good at reproducing the issue. That being said, the issue seems unrelated to the patch included in 0.3.0-3ubuntu1. I've been able to reproduce the exception without the patch, and also on a mantic system. Steps to reproduce: $ git ubuntu clone python-requests-unixsocket $ cd python-requests-unixsocket $ while python3 -m pytest requests_unixsocket/tests; do true; done It can take many iterations until the issue occurs. At this point I don't know yet if the issue is specific to requests-unixsocket or if it is a src:requests bug instead (or maybe something else like python-waitress?). [1] https://launchpadlibrarian.net/714333527/buildlog_ubuntu-noble-amd64.python-requests-unixsocket_0.3.0-3ubuntu1_BUILDING.txt.gz When executing the test suite, sometimes the following exception gets raised: E requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine('Hello world!HTTP/1.1 200 OK\r\n')) This looks bad. According to the test definition, the string "Hello world!" is supposed to be the body of the HTTP response. And somehow it appears before the status line. We noticed this issue after uploading 0.3.0-3ubuntu1 because the package FTBFS [1] (three times out three). So Launchpad builders seem very good at reproducing the issue (that said my PPA build was green). That being said, the issue seems unrelated to the patch included in 0.3.0-3ubuntu1. I've been able to reproduce the exception without the patch, and also on a mantic system. Steps to reproduce: $ git ubuntu clone python-requests-unixsocket $ cd python-requests-unixsocket $ while python3 -m pytest requests_unixsocket/tests; do true; done It can take many iterations until the issue occurs. At this point I don't know yet if the issue is specific to requests-unixsocket or if it is a src:requests bug instead (or maybe something else like python-waitress?). [1] https://launchpadlibrarian.net/714333527/buildlog_ubuntu-noble-amd64.python-requests-unixsocket_0.3.0-3ubuntu1_BUILDING.txt.gz
2024-02-14 17:29:24 Olivier Gayot tags update-excuse
2024-02-15 07:56:54 Dan Bungert attachment added python-requests-unixsocket-1_0.3.0-3ubuntu1_0.3.0-3ubuntu2.sponsorship-not-required https://bugs.launchpad.net/ubuntu/+source/python-requests-unixsocket/+bug/2053154/+attachment/5746406/+files/python-requests-unixsocket-1_0.3.0-3ubuntu1_0.3.0-3ubuntu2.sponsorship-not-required
2024-02-15 15:18:50 Dan Bungert python-requests-unixsocket (Ubuntu): assignee Dan Bungert (dbungert)
2024-02-15 15:19:18 Dan Bungert python-requests-unixsocket (Ubuntu): status New In Progress
2024-02-15 20:05:16 Dan Bungert python-requests-unixsocket (Ubuntu): status In Progress Fix Committed
2024-02-22 18:49:51 Launchpad Janitor python-requests-unixsocket (Ubuntu): status Fix Committed Fix Released