[Python-modules-team] Bug#958569: python-azure autopkgtest uses internet but doesn't declare it.

peter green plugwash at p10link.net
Thu Apr 23 20:40:26 BST 2020


Package: python-azure
Version: 20200130+git-3

https://ci.debian.net/data/autopkgtest/testing/arm64/p/python-azure/5102081/log.gz

> =================================== FAILURES ===================================
> ________________________ test_conf_async_trio_requests _________________________
>
>      def test_conf_async_trio_requests():
>      
>          async def do():
>              request = HttpRequest("GET", "https://www.bing.com/")
>              async with TrioRequestsTransport() as sender:
>                  return await sender.send(request)
>                  assert response.body() is not None
>      
>          response = trio.run(do)
> >       assert response.status_code == 200
> E       assert 302 == 200
> E        +  where 302 = <azure.core.pipeline.transport._requests_trio.TrioRequestsTransportResponse object at 0xffff89b3cee0>.status_code
>
> tests/azure_core_asynctests/test_universal_http.py:89: AssertionError
> =============================== warnings summary ====================
The cause of this seems to be that the test runner is located in china and has restricted internet access. Please either make your test suite not depend on internet access or add the "needs-internet" restriction to your test definition.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20200423/65babcaf/attachment-0001.html>


More information about the Python-modules-team mailing list