Skip to content
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

net: TestUnixgramServer failure with "i/o timeout" on linux-riscv64-jsing #50227

Closed
bcmills opened this issue Dec 16, 2021 · 2 comments
Closed
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. Testing An issue that has been verified to require only test changes, not just a test failure.
Milestone

Comments

@bcmills
Copy link
Contributor

bcmills commented Dec 16, 2021

--- FAIL: TestUnixgramServer (14.14s)
    server_test.go:358: dial unixgram /home/gopher/build/tmp/1873893632/sock->/home/gopher/build/tmp/3614897465/sock: i/o timeout
FAIL
FAIL	net	58.680s

greplogs --dashboard -md -l -e 'FAIL: TestUnixgramServer '

2021-12-16T00:34:10-7f23145/linux-riscv64-jsing

@bcmills
Copy link
Contributor Author

bcmills commented Dec 16, 2021

The timeout in question is this one:
https://cs.opensource.google/go/go/+/master:src/net/conn_test.go;l=17-20;drc=b55cbbb9e76969d67fbc6e264a584ad18c2f95fa

// someTimeout is used just to test that net.Conn implementations
// don't explode when their SetFooDeadline methods are called.
// It isn't actually used for testing timeouts.
const someTimeout = 10 * time.Second

10 seconds seems awfully short for a timeout that “isn't actually used for testing timeouts”. Let's try just making it long enough not to matter.

@bcmills bcmills added NeedsFix The path to resolution is known, but the work has not been done. Testing An issue that has been verified to require only test changes, not just a test failure. labels Dec 16, 2021
@bcmills bcmills added this to the Go1.18 milestone Dec 16, 2021
@bcmills bcmills self-assigned this Dec 16, 2021
@gopherbot
Copy link

Change https://golang.org/cl/372796 mentions this issue: net: lengthen arbitrary SetDeadline timeout by a few orders of magnitude

@rsc rsc unassigned bcmills Jun 22, 2022
@golang golang locked and limited conversation to collaborators Jun 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. Testing An issue that has been verified to require only test changes, not just a test failure.
Projects
None yet
Development

No branches or pull requests

2 participants