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: TestListenConfigControl failure with EADDRINUSE #52798

Closed
bcmills opened this issue May 9, 2022 · 1 comment
Closed

net: TestListenConfigControl failure with EADDRINUSE #52798

bcmills opened this issue May 9, 2022 · 1 comment
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. 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 May 9, 2022

--- FAIL: TestListenConfigControl (0.01s)
    --- FAIL: TestListenConfigControl/StreamListen (0.00s)
        listen_test.go:746: listen tcp 127.0.0.1:42307: bind: address already in use
FAIL
FAIL	net	23.399s

greplogs -l -e 'FAIL: TestListenConfigControl .*(\n\s+.*)* address already in use'
2022-05-07T10:56:06-a131fd1/openbsd-arm64-jsing

This failure has only been observed on the openbsd-arm64-jsing builder, but the failure mode does not appear to be platform-dependent: I noticed in https://go.dev/cl/370696 that the test appears to be racy and added a comment to that effect.

This test was added in CL 72810 (CC @ianlancetaylor @bradfitz @AudriusButkevicius)

@bcmills bcmills added Testing An issue that has been verified to require only test changes, not just a test failure. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels May 9, 2022
@bcmills bcmills modified the milestones: Backlog, Go1.19 May 9, 2022
@bcmills bcmills self-assigned this May 9, 2022
@gopherbot
Copy link

Change https://go.dev/cl/405214 mentions this issue: net: avoid racing on port reuse in TestListenConfigControl

@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 NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. 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