Your message dated Thu, 19 Feb 2026 01:34:27 +0000
with message-id <[email protected]>
and subject line Bug#1127528: fixed in python-msrest 0.6.21-8
has caused the Debian Bug report #1127528,
regarding python-msrest: FTBFS: FAILED 
tests/asynctests/test_async_client.py::TestServiceClient::test_client_send
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.)


-- 
1127528: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1127528
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-msrest
Version: 0.6.21-7
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, 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/202602/

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:python-msrest, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:142: Building wheel for python3.14 with "build" 
module
I: pybuild base:384: python3.14 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_msrest  
* Building wheel...
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.

[... snipped ...]

            cert=None,
            headers={
                'User-Agent': current_ua,
                'Test': 'true'  # From global config
            },
            stream=False,
            timeout=100,
            verify=True
        )
        assert session.resolve_redirects.is_msrest_patched
    
        client.send(request, headers={'id':'1234'}, content={'Test':'Data'}, 
stream=False)
        session.request.assert_called_with(
            'GET',
            '/',
            data='{"Test": "Data"}',
            allow_redirects=True,
            cert=None,
            headers={
                'User-Agent': current_ua,
                'Content-Length': '16',
                'id':'1234',
                'Test': 'true'  # From global config
            },
            stream=False,
            timeout=100,
            verify=True
        )
>       self.assertEqual(session.request.call_count, 1)
E       AssertionError: 2 != 1

tests/test_client.py:329: AssertionError
=============================== warnings summary ===============================
.pybuild/cpython3_3.14_msrest/build/tests/test_client.py::TestServiceClient::test_client_request
.pybuild/cpython3_3.14_msrest/build/tests/test_client.py::TestServiceClient::test_deprecated_creds
.pybuild/cpython3_3.14_msrest/build/tests/test_runtime.py::TestRuntimeRetry::test_request_retry_3_times
.pybuild/cpython3_3.14_msrest/build/tests/test_runtime.py::TestRuntimeRetry::test_request_retry_404
.pybuild/cpython3_3.14_msrest/build/tests/test_runtime.py::TestRuntimeRetry::test_request_retry_408
.pybuild/cpython3_3.14_msrest/build/tests/test_runtime.py::TestRuntimeRetry::test_request_retry_501
.pybuild/cpython3_3.14_msrest/build/tests/test_runtime.py::TestRuntimeRetry::test_request_retry_502
.pybuild/cpython3_3.14_msrest/build/tests/test_runtime.py::TestRuntimeRetry::test_request_retry_505
.pybuild/cpython3_3.14_msrest/build/tests/test_runtime.py::TestRuntimeRetry::test_request_retry_max
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_msrest/build/msrest/service_client.py:259:
 DeprecationWarning: Creds parameter is deprecated. Set config.credentials 
instead.
    warnings.warn("Creds parameter is deprecated. Set config.credentials 
instead.",

.pybuild/cpython3_3.14_msrest/build/tests/test_runtime.py: 31 warnings
  /usr/lib/python3/dist-packages/httpretty/core.py:1077: DeprecationWarning: 
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future 
version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.now(datetime.UTC).
    now = datetime.utcnow()

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
============================= slowest 10 durations =============================
2.00s call     
.pybuild/cpython3_3.14_msrest/build/tests/asynctests/test_polling.py::test_poller
1.00s call     
.pybuild/cpython3_3.14_msrest/build/tests/test_polling.py::test_poller
0.02s call     
.pybuild/cpython3_3.14_msrest/build/tests/asynctests/test_async_client.py::TestServiceClient::test_client_send
0.02s call     
.pybuild/cpython3_3.14_msrest/build/tests/test_client.py::TestServiceClient::test_client_send
0.01s call     
.pybuild/cpython3_3.14_msrest/build/tests/test_client.py::TestServiceClient::test_format_url
0.01s call     
.pybuild/cpython3_3.14_msrest/build/tests/test_client.py::TestServiceClient::test_context_manager
0.01s call     
.pybuild/cpython3_3.14_msrest/build/tests/test_client.py::TestServiceClient::test_keep_alive
0.01s call     
.pybuild/cpython3_3.14_msrest/build/tests/test_client.py::TestServiceClient::test_sdk_context_manager
0.01s call     
.pybuild/cpython3_3.14_msrest/build/tests/test_runtime.py::TestRuntime::test_request_proxy
0.01s call     
.pybuild/cpython3_3.14_msrest/build/tests/test_client.py::TestServiceClient::test_format_data
=========================== short test summary info ============================
FAILED 
tests/asynctests/test_async_client.py::TestServiceClient::test_client_send
FAILED tests/test_client.py::TestServiceClient::test_client_send - AssertionE...
================== 2 failed, 191 passed, 40 warnings in 3.59s ==================
E: pybuild pybuild:483: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_msrest/build; python3.14 -m pytest 
--ignore=tests/asynctests/test_universal_http.py 
--ignore=tests/asynctests/test_pipeline.py --ignore=tests/test_auth.py
I: pybuild pybuild:388: cp -r /<<PKGBUILDDIR>>/tests 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_msrest/build
I: pybuild base:384: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_msrest/build; 
python3.13 -m pytest --ignore=tests/asynctests/test_universal_http.py 
--ignore=tests/asynctests/test_pipeline.py --ignore=tests/test_auth.py
============================= test session starts ==============================
platform linux -- Python 3.13.12, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: asyncio-1.3.0, typeguard-4.4.4
asyncio: mode=Mode.STRICT, debug=False, 
asyncio_default_fixture_loop_scope=None, 
asyncio_default_test_loop_scope=function
collected 193 items

tests/asynctests/test_async_client.py F.                                 [  1%]
tests/asynctests/test_async_paging.py .....                              [  3%]
tests/asynctests/test_polling.py ....                                    [  5%]
tests/test_client.py ..F........                                         [ 11%]
tests/test_exceptions.py ..                                              [ 12%]
tests/test_paging.py .....                                               [ 15%]
tests/test_pipeline.py .....                                             [ 17%]
tests/test_polling.py ....                                               [ 19%]
tests/test_requests_universal.py ....                                    [ 21%]
tests/test_runtime.py ...............                                    [ 29%]
tests/test_serialization.py ............................................ [ 52%]
......................................                                   [ 72%]
tests/test_universal_pipeline.py ...                                     [ 73%]
tests/test_xml_serialization.py ........................................ [ 94%]
...........                                                              [100%]

=================================== FAILURES ===================================
______________________ TestServiceClient.test_client_send ______________________

self = <test_async_client.TestServiceClient object at 0x7ff69da42990>

    @pytest.mark.asyncio
    async def test_client_send(self):
    
        cfg = Configuration("/")
        cfg.headers = {'Test': 'true'}
        cfg.credentials = mock.create_autospec(OAuthTokenAuthentication)
    
        client = ServiceClientAsync(cfg)
    
        req_response = requests.Response()
        req_response._content = br'{"real": true}'  # Has to be valid bytes JSON
        req_response._content_consumed = True
        req_response.status_code = 200
    
        def side_effect(*args, **kwargs):
            return req_response
    
        session = mock.create_autospec(requests.Session)
        session.request.side_effect = side_effect
        session.adapters = {
            "http://": HTTPAdapter(),
            "https://": HTTPAdapter(),
        }
        # Be sure the mock does not trick me
        assert not hasattr(session.resolve_redirects, 'is_msrest_patched')
    
        client.config.pipeline._sender.driver.session = session
        client.config.credentials.signed_session.return_value = session
        client.config.credentials.refresh_session.return_value = session
    
        request = ClientRequest('GET', '/')
        await client.async_send(request, stream=False)
        session.request.call_count = 0
        session.request.assert_called_with(
            'GET',
            '/',
            allow_redirects=True,
            cert=None,
            headers={
                'User-Agent': cfg.user_agent,
                'Test': 'true'  # From global config
            },
            stream=False,
            timeout=100,
            verify=True
        )
        assert session.resolve_redirects.is_msrest_patched
    
        request = client.get('/', headers={'id':'1234'}, 
content={'Test':'Data'})
        await client.async_send(request, stream=False)
        session.request.assert_called_with(
            'GET',
            '/',
            data='{"Test": "Data"}',
            allow_redirects=True,
            cert=None,
            headers={
                'User-Agent': cfg.user_agent,
                'Content-Length': '16',
                'id':'1234',
                'Accept': 'application/json',
                'Test': 'true'  # From global config
            },
            stream=False,
            timeout=100,
            verify=True
        )
>       assert session.request.call_count == 1
E       AssertionError: assert 2 == 1
E        +  where 2 = <MagicMock name='mock.signed_session().request' 
spec='function' id='140697180661344'>.call_count
E        +    where <MagicMock name='mock.signed_session().request' 
spec='function' id='140697180661344'> = <MagicMock name='mock.signed_session()' 
spec='Session' id='140697181200336'>.request

tests/asynctests/test_async_client.py:123: AssertionError
______________________ TestServiceClient.test_client_send ______________________

self = <tests.test_client.TestServiceClient testMethod=test_client_send>

    def test_client_send(self):
        current_ua = self.cfg.user_agent
    
        client = ServiceClient(self.creds, self.cfg)
        client.config.keep_alive = True
    
        req_response = requests.Response()
        req_response._content = br'{"real": true}'  # Has to be valid bytes JSON
        req_response._content_consumed = True
        req_response.status_code = 200
    
        def side_effect(*args, **kwargs):
            return req_response
    
        session = mock.create_autospec(requests.Session)
        session.request.side_effect = side_effect
        session.adapters = {
            "http://": HTTPAdapter(),
            "https://": HTTPAdapter(),
        }
        # Be sure the mock does not trick me
        assert not hasattr(session.resolve_redirects, 'is_msrest_patched')
    
        client.config.pipeline._sender.driver.session = session
    
        client.config.credentials.signed_session.return_value = session
        client.config.credentials.refresh_session.return_value = session
    
        request = ClientRequest('GET', '/')
        client.send(request, stream=False)
        session.request.call_count = 0
        session.request.assert_called_with(
            'GET',
            '/',
            allow_redirects=True,
            cert=None,
            headers={
                'User-Agent': current_ua,
                'Test': 'true'  # From global config
            },
            stream=False,
            timeout=100,
            verify=True
        )
        assert session.resolve_redirects.is_msrest_patched
    
        client.send(request, headers={'id':'1234'}, content={'Test':'Data'}, 
stream=False)
        session.request.assert_called_with(
            'GET',
            '/',
            data='{"Test": "Data"}',
            allow_redirects=True,
            cert=None,
            headers={
                'User-Agent': current_ua,
                'Content-Length': '16',
                'id':'1234',
                'Test': 'true'  # From global config
            },
            stream=False,
            timeout=100,
            verify=True
        )
>       self.assertEqual(session.request.call_count, 1)
E       AssertionError: 2 != 1

tests/test_client.py:329: AssertionError
=============================== warnings summary ===============================
.pybuild/cpython3_3.13_msrest/build/tests/test_client.py::TestServiceClient::test_client_request
.pybuild/cpython3_3.13_msrest/build/tests/test_client.py::TestServiceClient::test_deprecated_creds
.pybuild/cpython3_3.13_msrest/build/tests/test_runtime.py::TestRuntimeRetry::test_request_retry_3_times
.pybuild/cpython3_3.13_msrest/build/tests/test_runtime.py::TestRuntimeRetry::test_request_retry_404
.pybuild/cpython3_3.13_msrest/build/tests/test_runtime.py::TestRuntimeRetry::test_request_retry_408
.pybuild/cpython3_3.13_msrest/build/tests/test_runtime.py::TestRuntimeRetry::test_request_retry_501
.pybuild/cpython3_3.13_msrest/build/tests/test_runtime.py::TestRuntimeRetry::test_request_retry_502
.pybuild/cpython3_3.13_msrest/build/tests/test_runtime.py::TestRuntimeRetry::test_request_retry_505
.pybuild/cpython3_3.13_msrest/build/tests/test_runtime.py::TestRuntimeRetry::test_request_retry_max
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_msrest/build/msrest/service_client.py:259:
 DeprecationWarning: Creds parameter is deprecated. Set config.credentials 
instead.
    warnings.warn("Creds parameter is deprecated. Set config.credentials 
instead.",

.pybuild/cpython3_3.13_msrest/build/tests/test_runtime.py: 31 warnings
  /usr/lib/python3/dist-packages/httpretty/core.py:1077: DeprecationWarning: 
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future 
version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.now(datetime.UTC).
    now = datetime.utcnow()

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
============================= slowest 10 durations =============================
2.00s call     
.pybuild/cpython3_3.13_msrest/build/tests/asynctests/test_polling.py::test_poller
1.00s call     
.pybuild/cpython3_3.13_msrest/build/tests/test_polling.py::test_poller
0.02s call     
.pybuild/cpython3_3.13_msrest/build/tests/asynctests/test_async_client.py::TestServiceClient::test_client_send
0.02s call     
.pybuild/cpython3_3.13_msrest/build/tests/test_client.py::TestServiceClient::test_format_url
0.02s call     
.pybuild/cpython3_3.13_msrest/build/tests/test_client.py::TestServiceClient::test_client_send
0.01s call     
.pybuild/cpython3_3.13_msrest/build/tests/test_client.py::TestServiceClient::test_context_manager
0.01s call     
.pybuild/cpython3_3.13_msrest/build/tests/test_client.py::TestServiceClient::test_keep_alive
0.01s call     
.pybuild/cpython3_3.13_msrest/build/tests/test_client.py::TestServiceClient::test_sdk_context_manager
0.01s call     
.pybuild/cpython3_3.13_msrest/build/tests/test_client.py::TestServiceClient::test_client_request
0.01s call     
.pybuild/cpython3_3.13_msrest/build/tests/test_runtime.py::TestRuntime::test_request_proxy
=========================== short test summary info ============================
FAILED 
tests/asynctests/test_async_client.py::TestServiceClient::test_client_send
FAILED tests/test_client.py::TestServiceClient::test_client_send - AssertionE...
================== 2 failed, 191 passed, 40 warnings in 3.61s ==================
E: pybuild pybuild:483: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_msrest/build; python3.13 -m pytest 
--ignore=tests/asynctests/test_universal_http.py 
--ignore=tests/asynctests/test_pipeline.py --ignore=tests/test_auth.py
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" returned exit code 13
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: python-msrest
Source-Version: 0.6.21-8
Done: Colin Watson <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-msrest, 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.
Colin Watson <[email protected]> (supplier of updated python-msrest 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: Thu, 19 Feb 2026 01:12:38 +0000
Source: python-msrest
Architecture: source
Version: 0.6.21-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1127528
Changes:
 python-msrest (0.6.21-8) unstable; urgency=medium
 .
   * Team upload.
   * Reset mocks more cleanly (closes: #1127528).
Checksums-Sha1:
 261912f0bb81461d622dad013c9aeb89c2744924 2810 python-msrest_0.6.21-8.dsc
 f0c06d3d4253b1c32058a0d8bee2aef2a9d82392 4528 
python-msrest_0.6.21-8.debian.tar.xz
 95a69044497623972229760057d8fd1daf5fae7b 257316 
python-msrest_0.6.21-8.git.tar.xz
 2d78a14bcf6bffe8b788329a3c0406aa43435c23 17322 
python-msrest_0.6.21-8_source.buildinfo
Checksums-Sha256:
 b012bb659faaaab28c8e8b8f5a1dc414b05734ae695c8901eeca6e002b7b8321 2810 
python-msrest_0.6.21-8.dsc
 b39f396bb9ecc1cb0b7f3334e0b8f7a42894d78ad7c29fe4e7006528467ee131 4528 
python-msrest_0.6.21-8.debian.tar.xz
 dcf9267b7b604c8bd4c4b11f3938f5d72a12f4ddaaf91c1f9ab37d85c9e021f3 257316 
python-msrest_0.6.21-8.git.tar.xz
 d1ff5f80bf654e9c349d5e4dfdad5141420cbd5469a3fddcaa06f691fb05a5d9 17322 
python-msrest_0.6.21-8_source.buildinfo
Files:
 2b93f28932dc8dd3d4c9d2948e5dfa23 2810 python optional 
python-msrest_0.6.21-8.dsc
 543ab0c5234f6b5298384955bc789048 4528 python optional 
python-msrest_0.6.21-8.debian.tar.xz
 7c0cbe2f8aef2740acb396c7963bb3e9 257316 python optional 
python-msrest_0.6.21-8.git.tar.xz
 4f21ad41295577d9f01c4a5ea067901c 17322 python optional 
python-msrest_0.6.21-8_source.buildinfo
Git-Tag-Info: tag=90b432b779439be0a4a361945ea56bbcf46f3344 
fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <[email protected]>

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

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmmWY90ACgkQYG0ITkaD
wHmtBxAAuq1d9PP8PP7qOYnZulOtOuX5dwMPoC9WJDZ6OSjHo7G2BuenJ9uebu+s
LVJksAe1fr9Ov47tgl//JEm/Lhe4vM28kcxE68F2PH2peA10ipYbJtUHIl0z80k3
FRoXW0JrUZ2DUv7WEsq6G9PPAZgm6h/sXarTPWJqufPElD2rEpC0pxaR7jLuzIFu
1VyjMS4HZjFpuvdFNGYdRGaxvmrxxdNtRVRBSRePy2qrjFsC3jHT8ivMjzjD2pdX
QpVGWpeuKHf1XC5/uBCjHZ6Cf9jSjYkndD00+lQwZxn7pA9SFNfHbWQdKxlEZp7Z
P1QYFRW1ktg86wAcWQ2zJLAI7Gy+du0JRLx8aephZPBsDGNAHGl5FPXUcBKm4wh1
Ms7nDa8KqGUKNTVAIf7IKcrj1+UP5/j6gByGJDEZ280rnHIYeMSXD36+WlwdB3N3
tYUT+L/83MQ2zJuMMABDqrI9KfUIY1k3Q3hAYx2vS5+3vjwQzq7b4g8hdJkjVh56
XFstRXkDjdFtyQ5SxYCTZwiKg0RTL86EDaa/aLjnysjOlUcJhHHOpDYIJFQzROpd
prYh88PzlxH1TObkjVKe7q5BXroNHJHQPDUisVHFTKIauhWfK7qSHEVsgqIeZmlR
v7AjPimjKFFKG8O/URIRsiH1lKVbDJbcprywMqqFWog96qRKg78=
=uRvd
-----END PGP SIGNATURE-----

Attachment: pgpf3KwktZDdG.pgp
Description: PGP signature


--- End Message ---

Reply via email to