You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=Nonecreated_at=<Date2017-09-23.17:46:49.604>labels= ['type-bug', 'tests']
title='snakebite.net is not available'updated_at=<Date2018-12-17.11:44:25.744>user='https://github.com/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
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
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?
Activity
serhiy-storchaka commentedon Sep 23, 2017
The testConnectTimeout in test_timeout is skipped since network resources it uses are not available.
Is it temporary or permanent issue?
tpn commentedon Sep 23, 2017
Hmmmm, I'll investigate when I get home tomorrow.
Sent from my iPhone
zware commentedon Feb 12, 2018
Trent, any word on this?
tpn commentedon Feb 13, 2018
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.)
bitdancer commentedon Feb 13, 2018
There is a host dedicated to providing test infrastructure. I forget the name. Benjamin has done things with it in the past.
benjaminp commentedon Feb 13, 2018
pythontest.net
vstinner commentedon Dec 17, 2018
Oh, I found the same bug: bpo-35518.
pythongh-75743: Remove test_timeout.testConnectTimeout()
pythongh-75743: Remove test_timeout.testConnectTimeout()
pythongh-75743: Remove test_timeout.testConnectTimeout()
configure {black,white}hole ports on pythontest
ewdurbin commentedon Sep 7, 2023
python/psf-salt@ed19ff8 Adds firewall rules so that
pythontest.net:56666works a stand in forblackhole.snakebite.net:56666and
pythontest.net:56667works a stand in forwhitehole.snakebite.net:56667pythongh-75743: Restore test_timeout.testConnectTimeout()
gh-75743: Restore test_timeout.testConnectTimeout() (#109087)
pythongh-75743: Restore test_timeout.testConnectTimeout() (pythonGH-1…
pythongh-75743: Restore test_timeout.testConnectTimeout() (pythonGH-1…
vstinner commentedon Sep 7, 2023
Fixed by @ewdurbin in commit 1829a3c.
[3.11] gh-75743: Restore test_timeout.testConnectTimeout() (GH-109087) (
[3.12] gh-75743: Restore test_timeout.testConnectTimeout() (GH-109087) (