Skip to content

net: dial tests are flaky on BSD #15157

Closed
@bradfitz

Description

@bradfitz

These have been flaking a lot on OpenBSD ...

https://storage.googleapis.com/go-build-log/f99ca413/openbsd-amd64-gce58_83506189.log

--- FAIL: TestDialTimeoutFDLeak (1.89s)
    dial_test.go:164: got 96; want >= 100
--- FAIL: TestDialerDualStackFDLeak (0.80s)
    dial_test.go:213: dial tcp 127.0.0.1:24574: i/o timeout
    dial_test.go:213: dial tcp 127.0.0.1:24574: i/o timeout
    dial_test.go:213: dial tcp 127.0.0.1:24574: i/o timeout
    dial_test.go:213: dial tcp 127.0.0.1:24574: i/o timeout
    dial_test.go:213: dial tcp 127.0.0.1:24574: i/o timeout
    dial_test.go:213: dial tcp 127.0.0.1:24574: i/o timeout
    dial_test.go:213: dial tcp 127.0.0.1:24574: i/o timeout
    dial_test.go:213: dial tcp 127.0.0.1:24574: i/o timeout
    dial_test.go:213: dial tcp 127.0.0.1:24574: i/o timeout
    dial_test.go:213: dial tcp 127.0.0.1:24574: i/o timeout
--- FAIL: TestReadUnixgramWithUnnamedSocket (0.19s)
    unixsock_test.go:60: read unixgram /tmp/go-nettest180765192: i/o timeout
--- FAIL: TestDialTimeoutMaxDuration (0.40s)
    timeout_test.go:140: #0: Dial didn't return in an expected time
FAIL
FAIL    net 12.082s

/cc @mikioh

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.TestingAn issue that has been verified to require only test changes, not just a test failure.help wanted

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions