This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: snakebite.net is not available
Type: behavior Stage:
Components: Tests Versions:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, r.david.murray, serhiy.storchaka, trent, vstinner, zach.ware
Priority: normal Keywords:

Created on 2017-09-23 17:46 by serhiy.storchaka, last changed 2022-04-11 14:58 by admin.

Messages (7)
msg302793 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-09-23 17:46
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?
msg302799 - (view) Author: Trent Nelson (trent) * (Python committer) Date: 2017-09-23 19:23
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>
> _______________________________________
msg312029 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2018-02-12 05:20
Trent, any word on this?
msg312129 - (view) Author: Trent Nelson (trent) * (Python committer) Date: 2018-02-13 15:45
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.)
msg312131 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2018-02-13 16:09
There is a host dedicated to providing test infrastructure.  I forget the name.  Benjamin has done things with it in the past.
msg312136 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2018-02-13 18:44
pythontest.net
msg331995 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2018-12-17 11:44
Oh, I found the same bug: bpo-35518.
History
Date User Action Args
2022-04-11 14:58:52adminsetgithub: 75743
2018-12-17 11:44:25vstinnersetnosy: + vstinner
messages: + msg331995
2018-02-13 18:44:04benjamin.petersonsetmessages: + msg312136
2018-02-13 16:09:58r.david.murraysetnosy: + r.david.murray, benjamin.peterson
messages: + msg312131
2018-02-13 15:45:15trentsetmessages: + msg312129
2018-02-12 05:20:33zach.waresetnosy: + zach.ware
messages: + msg312029
2017-09-23 19:23:56trentsetmessages: + msg302799
2017-09-23 17:46:49serhiy.storchakacreate