Skip to content

test failure: net::tcp::tests::connect_timeout_unroutable #44698

Closed
@RalfJung

Description

@RalfJung

When I run ./x.py test -i src/libstd, I reliably get a test failure

---- net::tcp::tests::connect_timeout_unroutable stdout ----
        thread 'net::tcp::tests::connect_timeout_unroutable' panicked at 'called `Result::unwrap_err()` on an `Ok` value: TcpStream { addr: V4(139.19.184.5:41902), fd: 13 }', src/libcore/result.rs:906:4


failures:
    net::tcp::tests::connect_timeout_unroutable

test result: FAILED. 803 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out

error: test failed, to rerun pass '--lib'


command did not execute successfully: "/home/r/src/rust/rustc/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "test" "--target" "x86_64-unknown-linux-gnu" "-j" "8" "--release" "--features" "panic-unwind debug-jemalloc jemalloc backtrace" "--manifest-path" "/home/r/src/rust/rustc/src/libstd/Cargo.toml" "-p" "std" "--"
expected success, got: exit code: 101

It 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions