Your message dated Fri, 06 Nov 2026 17:10:53 +0000
with message-id <[email protected]>
and subject line Bug#1153145: fixed in locust 2.46.7-6
has caused the Debian Bug report #1153145,
regarding locust: autopkgtest missing needs-internet restriction
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.)


-- 
1153145: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1153145
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: locust
Version: 2.46.7-5
Severity: important
User: [email protected]
Usertags: needs-internet

Dear maintainer(s),

I looked at the results of the autopkgtest of your package and I noticed it's failures loong64. It seems to fail sometimes while connecting to https://www.locust.io and , but on loong64 we don't run tests with the needs-internet restriction. Please ensure that tests that need internet have the needs-internet restriction added such that they can be skipped on the right hosts.

Don't hesitate to reach out if you need help and some more information
from our infrastructure.

Paul


https://ci.debian.net/packages/l/locust/testing/loong64/77465460/

313s =================================== FAILURES =================================== 313s _________________________ test_fasthttp_catch_response _________________________
313s
313s self = <locust.contrib.fasthttp.ResponseContextManager object at 0x7fffe343aeb0>
313s
313s     @property
313s     def content(self) -> bytes:
313s """Unzips if necessary and buffers the received body. Careful with large files!"""
313s         try:
313s >           return self._cached_content
313s                    ^^^^^^^^^^^^^^^^^^^^
313s E AttributeError: 'locust.contrib.fasthttp.ResponseContextManager' object has no attribute '_cached_content'
313s
313s /usr/lib/python3/dist-packages/geventhttpclient/useragent.py:385: AttributeError
313s
313s During handling of the above exception, another exception occurred:
313s
313s fastsession = <locust.contrib.fasthttp.FastHttpSession object at 0x7fffe3403920>
313s
313s     def test_fasthttp_catch_response(fastsession: FastHttpSession):
313s with fastsession.get("https://www.locust.io/";, catch_response=True) as resp:
313s >           if not resp.text or not "asdfasdf" in resp.text:
313s                    ^^^^^^^^^
313s
313s locust/test/test_pytest_locustfile.py:43:
313s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
313s locust/contrib/fasthttp.py:496: in text
313s     if self.content is None:
313s        ^^^^^^^^^^^^
313s /usr/lib/python3/dist-packages/geventhttpclient/useragent.py:387: in content
313s     self._cached_content = self._content()
313s                            ^^^^^^^^^^^^^^^
313s locust/contrib/fasthttp.py:580: in _content
313s     return super()._content()
313s            ^^^^^^^^^^^^^^^^^^
313s /usr/lib/python3/dist-packages/geventhttpclient/useragent.py:404: in _content
313s     ret = self.unzipped(gzip=False, br=True)
313s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
313s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
313s
313s self = <locust.contrib.fasthttp.ResponseContextManager object at 0x7fffe343aeb0>
313s gzip = False, br = True
313s
313s     def unzipped(self, gzip: bool = True, br: bool = False) -> bytes:
313s         bodystr = self._response.read()
313s         if gzip:
313s             return zlib.decompress(bodystr, 16 + zlib.MAX_WBITS)
313s         elif br:
313s >           return cast(bytes, brotli.decompress(bodystr))
313s                                ^^^^^^^^^^^^^^^^^^^^^^^^^^
313s E           brotli.error: brotli: decoder failed
313s
313s /usr/lib/python3/dist-packages/geventhttpclient/useragent.py:372: error

--- End Message ---
--- Begin Message ---
Source: locust
Source-Version: 2.46.7-6
Done: Sandro Tosi <[email protected]>

We believe that the bug you reported is fixed in the latest version of
locust, 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.
Sandro Tosi <[email protected]> (supplier of updated locust 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: Fri, 06 Nov 2026 11:36:47 -0500
Source: locust
Architecture: source
Version: 2.46.7-6
Distribution: unstable
Urgency: medium
Maintainer: Sandro Tosi <[email protected]>
Changed-By: Sandro Tosi <[email protected]>
Closes: 1153145
Changes:
 locust (2.46.7-6) unstable; urgency=medium
 .
   * debian/patches/PR3569-test-pytest-locustfile-local-server.patch
     - run test_pytest_locustfile against a local server instead of
       www.locust.io, patch from upstream: its tests also pass without network,
       but on loong64, where tests needing the internet are not run, a garbled
       response failed test_fasthttp_catch_response and test_regular hung until
       the timeout; to be removed with 2.47.0, which has it; Closes: #1153145
Checksums-Sha1:
 3926301188c4c74ab171dc0be9e1b448056cfb84 2983 locust_2.46.7-6.dsc
 2f4e28f2fa68e233747cf9f4a3b2bc07af41f019 14380 locust_2.46.7-6.debian.tar.xz
 70338f28d5d3873be45d54459c715683ce3a60e7 10126 locust_2.46.7-6_source.buildinfo
Checksums-Sha256:
 f07b34d008938114fc1628e6724595dd84d0f71bea4245ddc377159970b0adf0 2983 
locust_2.46.7-6.dsc
 e50f8f1cbbd69be0b05e9a8f4b4f5eb85bbc4e173acc971f0791ffbd5883f5f6 14380 
locust_2.46.7-6.debian.tar.xz
 f112c150800e383222356aea42ab63623b45784767ba96f7c5bea4492f708095 10126 
locust_2.46.7-6_source.buildinfo
Files:
 10006aec9eb04672d5d0d0a64055beef 2983 python optional locust_2.46.7-6.dsc
 8f5bb68c6f2fa705a7eb1051706931f0 14380 python optional 
locust_2.46.7-6.debian.tar.xz
 7d46540030b7b4219621a76fcb936b03 10126 python optional 
locust_2.46.7-6_source.buildinfo

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

iQIzBAEBCgAdFiEEufrTGSrz5KUwnZ05h588mTgBqU8FAmruAi4ACgkQh588mTgB
qU/jchAAwClZvl+q4GGfzerzitSqB35to+KQHVj02tXyARLqPsrVPJMnrdWNqZag
MM8SlzcpPtOn7+ZdeNgMMOqCW44QO/LqRyP4CXRxcTrg/4rURxw7Mq2UFqPbSwkA
byswcnjG9ZqRyqCrVEUw+e02mH7fhDd1tLmRp7D8bKpy5vMKFsE/uPRiHsJKnfYQ
XTwyTXzdu/+cYmNa6T19fJ4KDCMSfqMjma5lMTcUkHGksh8Ffwdo3uSbQW5D7dkM
OwGhfgJI4WXxSqe78OsAj8P/uZhpRzwFWVaqyzfcMhdq0f3qoJQeTfGYHYxceRK7
7Ax01AHLQCncJ/wxMhWQ2wnQwmJD3i2s/t5XStY2SQnx1RJNZINjnhasxBMBCNYT
3KmBIrk+52XVs2kXfI0OLBQZo+jq+T864thZqI7mXqrSFZyPeCsToV16YRiHWJwU
8PtywzNTP9AKFvepDlZfIjhtq0HKY5vjz5sGNaAjlQnyqaeg9wVQCmJEs4OkLXRS
KyisCPaR4fFn2yX31+N2kWlpihuZkO6+lPTN7RJqy2h88+6r6sObbA0BLUQwUawP
w8twyQ1Jv+cP10dSJPjofIaWbatiCVpxGtX+hXQrUmAUvbHzdNQj2B9Z7jlD6+kj
1A2xQn5TX+cwv+L7790b4U8lxKa9DUoIz37zMlm41J2K3YtHPiM=
=Fx1y
-----END PGP SIGNATURE-----

Attachment: pgpKwSmbbSuuf.pgp
Description: PGP signature


--- End Message ---

Reply via email to