STINNER Victor added the comment:
I confirm the issue. test_logging hangs if the resolution of the hostname fails
with a timeout.
I worked again the issue by adding my hostname to /etc/hosts.
--
nosy: +vstinner
___
Python tracker
KMiNT21 added the comment:
The same bug for me:
3.6.5 and 3.6.4 -hangs on test_logging forever.
Thanks to this report - I've commented some lines in /etc/host
and after 'test_logging' passed OK!
--
nosy: +KMiNT21
___
Python tracker
New submission from Brian Vandenberg:
On some of the linux boxes on our (air-gapped, if that matters) network it
looks like some of them were mis-configured and their /etc/hosts file looks
something like this:
$ cat /etc/hosts
127.0.0.1 snoopy.the.internal.domain snoopy localhost4