Path: csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!bofh.it!news.nic.it!robomod From: Emmanuel Arias Newsgroups: linux.debian.maint.python Subject: Re: python-anyio failing testsuite on buildd, not locally Date: Fri, 21 Jan 2022 13:50:02 +0100 Message-ID: References: X-Original-To: Julien Puydt X-Mailbox-Line: From debian-python-request@lists.debian.org Fri Jan 21 12:44:06 2022 Old-Return-Path: X-Amavis-Spam-Status: No, score=-4 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, GMAIL=1, HTML_MESSAGE=2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .yaerobi. - helo: .mail-ed1-x535.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5 X-Gm-Message-State: AOAM531nGvwJiq48irp7i+F64mNA+pEHThUp4xBZF/z9MKxx/ZIWjKF2 5YDGwiaSax2n+0iwKPu2Rdjz/pV3ySNYyvzLv08YQEdlBlWzxA== X-Google-SMTP-Source: ABdhPJxipzl1t5tflBO49FzBgWJc4325QNzOeIvvgyZxRe6SLwfby97IPJTJxG9IjWnpA9HuOUczfDWYC/uRQDdSggo= X-Received: by 2002:a05:6402:42ce:: with SMTP id i14mr4055277edc.126.1642769030902; Fri, 21 Jan 2022 04:43:50 -0800 (PST) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000008909ab05d616f8cc" X-Mailing-List: archive/latest/19709 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/CAFNO5oeqCEgp8nypbxxFffTq=Mk_3+3KiR1qbK=PC3+5bXyF6A@mail.gmail.com Approved: robomod@news.nic.it Lines: 135 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Debian Python X-Original-Date: Fri, 21 Jan 2022 09:43:40 -0300 X-Original-Message-ID: X-Original-References: <3ebc79bbaa22693657b3c03c9beb7257041f3c86.camel@gmail.com> Xref: csiph.com linux.debian.maint.python:13896 --0000000000008909ab05d616f8cc Content-Type: text/plain; charset="UTF-8" Hi, Most of the tests that fail use *-ipv4 parameter. With ipv6 seems to be ok. I don't know if that can give us some clues. Cheers, On Wed, Jan 19, 2022 at 12:52 PM Julien Puydt wrote: > Hi, > > I check my packages in a schroot on my computer before uploading ; that > way I detect problems like missing deps or network access, and I'm > pretty confident things will go well on the buildd network. > > But today's upload of python-anyio is broken... and I'm clueless as to > why. From the repeated error, it looks like 'localhost' isn't known, > which doesn't make sense. > > Here is a link to the full log: > > https://buildd.debian.org/status/fetch.php?pkg=python-anyio&arch=all&ver=3.5.0-1&stamp=1642600026&raw=0 > > and a sample error: > > __________________ TestTCPListener.test_accept[asyncio-ipv4] > ___________________ > tests/test_sockets.py:464: in test_accept > async with await create_tcp_listener(local_host='localhost', > family=family) as multi: > anyio/_core/_sockets.py:236: in create_tcp_listener > gai_res = await getaddrinfo(local_host, local_port, family=family, > # type: ignore[arg-type] > anyio/_core/_sockets.py:419: in getaddrinfo > gai_res = await get_asynclib().getaddrinfo(encoded_host, port, > family=family, type=type, > anyio/_backends/_asyncio.py:1570: in getaddrinfo > result = await get_running_loop().getaddrinfo( > /usr/lib/python3.9/asyncio/base_events.py:856: in getaddrinfo > return await self.run_in_executor( > /usr/lib/python3.9/concurrent/futures/thread.py:58: in run > result = self.fn(*self.args, **self.kwargs) > /usr/lib/python3.9/asyncio/base_events.py:839: in _getaddrinfo_debug > addrinfo = socket.getaddrinfo(host, port, family, type, proto, > flags) > /usr/lib/python3.9/socket.py:954: in getaddrinfo > for res in _socket.getaddrinfo(host, port, family, type, proto, > flags): > E socket.gaierror: [Errno -2] Name or service not known > > If someone has a lead on the issue... > > Thanks, > > J.Puydt > > --0000000000008909ab05d616f8cc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,=C2=A0

Most of the tests that = fail use *-ipv4 parameter. With ipv6 seems= to be ok.
I don't know if = that can give us some clues.

Cheers,

On Wed, Jan 19, 2022 at 12:52 PM Julien Puydt <julien.puydt@gmail.com> wrote:
Hi,

I check my packages in a schroot on my computer before uploading ; that
way I detect problems like missing deps or network access, and I'm
pretty confident things will go well on the buildd network.

But today's upload of python-anyio is broken... and I'm clueless as= to
why. From the repeated error, it looks like 'localhost' isn't k= nown,
which doesn't make sense.

Here is a link to the full log:
https://buildd.debian.org/status/fetch.php?pkg= =3Dpython-anyio&arch=3Dall&ver=3D3.5.0-1&stamp=3D1642600026&= ;raw=3D0

and a sample error:

__________________ TestTCPListener.test_accept[asyncio-ipv4]
___________________
tests/test_sockets.py:464: in test_accept
=C2=A0 =C2=A0 async with await create_tcp_listener(local_host=3D'localh= ost',
family=3Dfamily) as multi:
anyio/_core/_sockets.py:236: in create_tcp_listener
=C2=A0 =C2=A0 gai_res =3D await getaddrinfo(local_host, local_port, family= =3Dfamily,
# type: ignore[arg-type]
anyio/_core/_sockets.py:419: in getaddrinfo
=C2=A0 =C2=A0 gai_res =3D await get_asynclib().getaddrinfo(encoded_host, po= rt,
family=3Dfamily, type=3Dtype,
anyio/_backends/_asyncio.py:1570: in getaddrinfo
=C2=A0 =C2=A0 result =3D await get_running_loop().getaddrinfo(
/usr/lib/python3.9/asyncio/base_events.py:856: in getaddrinfo
=C2=A0 =C2=A0 return await self.run_in_executor(
/usr/lib/python3.9/concurrent/futures/thread.py:58: in run
=C2=A0 =C2=A0 result =3D self.fn(*self.args, **self.kwargs)
/usr/lib/python3.9/asyncio/base_events.py:839: in _getaddrinfo_debug
=C2=A0 =C2=A0 addrinfo =3D socket.getaddrinfo(host, port, family, type, pro= to,
flags)
/usr/lib/python3.9/socket.py:954: in getaddrinfo
=C2=A0 =C2=A0 for res in _socket.getaddrinfo(host, port, family, type, prot= o,
flags):
E=C2=A0 =C2=A0socket.gaierror: [Errno -2] Name or service not known

If someone has a lead on the issue...

Thanks,

J.Puydt

--0000000000008909ab05d616f8cc--