-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test failure: net::tcp::tests::connect_timeout_unroutable #44698
Comments
Uh oh. We may have to give up on the test unless someone knows of a "truly" unrouteable IP. |
An IP in the documentation range should work fine. Example: https://play.rust-lang.org/?gist=5e00e5f8e9b46a4b5969f2eb72601a76&version=nightly |
It turns out that I can only reproduce this problem when I am connected to my institute's network; at home, the test passes. Changing the test to use |
I'm also a +1 on this issue, my apartment's ISP is shady and will route things in |
I talked to our network admins and now have an explanation for the behavior described above: It seems that the firewall I am behind actively blocks traffic to/from reserved ranges, including the RFC 5737 documentation range. For TCP connections, "blocking" involves sending an RST, so my client gets |
Because the current address is reachable on some machines, which causes the test to fail. Fixes rust-lang#44698, rust-lang#50065.
It requires an unreachable IP address, but there is no such thing, and this has caused it to fail for multiple people. Fixes rust-lang#44698, fixes rust-lang#50065.
…utable, r=sfackler Remove the `connect_timeout_unroutable` test. It requires an unreachable IP address, but there is no such thing, and this has caused it to fail for multiple people. Fixes rust-lang#44698, fixes rust-lang#50065. r? @sfackler
…utable, r=sfackler Remove the `connect_timeout_unroutable` test. It requires an unreachable IP address, but there is no such thing, and this has caused it to fail for multiple people. Fixes rust-lang#44698, fixes rust-lang#50065. r? @sfackler
When I run
./x.py test -i src/libstd
, I reliably get a test failureIt seems my box (Linux, Debian testing amd64) considers
10.255.255.1
a fine address to route to.This is the only test that fails.
The text was updated successfully, but these errors were encountered: