The testConnectTimeout in test_timeout is skipped since network resources it uses are not available. $ ./python -m test -vuall test_timeout ... testConnectTimeout (test.test_timeout.TCPTimeoutTestCase) ... skipped "Resource 'blackhole.snakebite.net' is not available" $ host blackhole.snakebite.net ;; connection timed out; no servers could be reached $ host whitehole.snakebite.net ;; connection timed out; no servers could be reached $ host snakebite.net ;; connection timed out; no servers could be reached Is it temporary or permanent issue?
Hmmmm, I'll investigate when I get home tomorrow. Sent from my iPhone > On Sep 23, 2017, at 13:46, Serhiy Storchaka <report@bugs.python.org> wrote: > > > New submission from Serhiy Storchaka: > > The testConnectTimeout in test_timeout is skipped since network resources it uses are not available. > > $ ./python -m test -vuall test_timeout > ... > testConnectTimeout (test.test_timeout.TCPTimeoutTestCase) ... skipped "Resource 'blackhole.snakebite.net' is not available" > > $ host blackhole.snakebite.net > ;; connection timed out; no servers could be reached > $ host whitehole.snakebite.net > ;; connection timed out; no servers could be reached > $ host snakebite.net > ;; connection timed out; no servers could be reached > > Is it temporary or permanent issue? > > ---------- > components: Tests > messages: 302793 > nosy: serhiy.storchaka, trent > priority: normal > severity: normal > status: open > title: snakebite.net is not available > type: behavior > > _______________________________________ > Python tracker <report@bugs.python.org> > <https://bugs.python.org/issue31562> > _______________________________________
Unfortunately the host backing blackhole.snakebite.net and whitehole.snakebite.net is no longer available. I still think the underlying test is valuable, though -- are there any PSF boxes/containers that could fulfill this role? (I used pf on FreeBSD to set up the two firewall rules: https://github.com/python/cpython/blob/master/Lib/test/test_timeout.py#L183. If a new box were to be sourced I presume it would be a Linux instance, so the rules would need to be ported to whatever the Linux firewall on the box is.)