Skip to content

net/http: TestTransportEventTraceRealDNS broken on one smartos buidler, mips64le #15685

Closed
@bradfitz

Description

@bradfitz

The recent commit 19619c2 broke one of the SmartOS builders.

It seems to resolve the hostname "dns-should-not-resolve.golang" to 127.0.0.1.

https://build.golang.org/log/31d47308bf9f4bfcc3ce7d6118ef51b9640726a3

--- FAIL: TestTransportEventTraceRealDNS (0.08s)
    transport_test.go:3344: expected substring "DNSDone: {Addrs:[] Err:" in output.
    transport_test.go:3350: should not see Connect events
    transport_test.go:3353: Output:
        DNSStart: {Host:dns-should-not-resolve.golang}
        DNSDone: {Addrs:[{IP:127.0.0.1 Zone:}] Err:<nil> Coalesced:false}
        ConnectStart: tcp 127.0.0.1:80
        ConnectDone: tcp 127.0.0.1:80 dial tcp 127.0.0.1:80: getsockopt: connection refused
FAIL
FAIL    net/http    10.005s

Why?

Fix the DNS there, or skip the test on that builder?

/cc @tombergan @4ad

Metadata

Metadata

Assignees

No one assigned

    Labels

    Buildersx/build issues (builders, bots, dashboards)FrozenDueToAgeTestingAn issue that has been verified to require only test changes, not just a test failure.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions