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

x/sys/unix: failures with socket: address family not supported by protocol on linux-riscv64-unmatched #58832

Closed
gopherbot opened this issue Mar 2, 2023 · 8 comments
Assignees
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. 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

@gopherbot
Copy link

gopherbot commented Mar 2, 2023

#!watchflakes
post <- pkg == "golang.org/x/sys/unix" && `listen udp6 .*: socket: address family not supported by protocol`

Issue created automatically to collect these failures.

Example (log):

--- FAIL: TestParseOrigDstAddr (0.01s)
    --- FAIL: TestParseOrigDstAddr/udp6 (0.01s)
        creds_test.go:215: Listen: listen udp6 [::1]:0: socket: address family not supported by protocol

watchflakes

@gopherbot gopherbot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Mar 2, 2023
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/sys/unix" && test == "TestParseOrigDstAddr"
2023-02-28 18:48 linux-riscv64-unmatched sys@a6bfb89d go@02411bcd x/sys/unix.TestParseOrigDstAddr (log)
--- FAIL: TestParseOrigDstAddr (0.01s)
    --- FAIL: TestParseOrigDstAddr/udp6 (0.01s)
        creds_test.go:215: Listen: listen udp6 [::1]:0: socket: address family not supported by protocol
2023-02-28 18:48 linux-riscv64-unmatched sys@a6bfb89d go@f1ea0249 x/sys/unix.TestParseOrigDstAddr (log)
--- FAIL: TestParseOrigDstAddr (0.01s)
    --- FAIL: TestParseOrigDstAddr/udp6 (0.01s)
        creds_test.go:215: Listen: listen udp6 [::1]:0: socket: address family not supported by protocol

watchflakes

@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Mar 2, 2023
@gopherbot gopherbot added this to the Unreleased milestone Mar 2, 2023
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/sys/unix" && test == "TestParseOrigDstAddr"
2023-02-28 18:48 linux-riscv64-unmatched sys@a6bfb89d go@2f9e38a1 x/sys/unix.TestParseOrigDstAddr (log)
--- FAIL: TestParseOrigDstAddr (0.01s)
    --- FAIL: TestParseOrigDstAddr/udp6 (0.01s)
        creds_test.go:215: Listen: listen udp6 [::1]:0: socket: address family not supported by protocol

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/sys/unix" && test == "TestParseOrigDstAddr"
2023-03-02 17:30 linux-riscv64-unmatched sys@14708520 go@0487ba08 x/sys/unix.TestParseOrigDstAddr (log)
--- FAIL: TestParseOrigDstAddr (0.01s)
    --- FAIL: TestParseOrigDstAddr/udp6 (0.01s)
        creds_test.go:215: Listen: listen udp6 [::1]:0: socket: address family not supported by protocol

watchflakes

@bcmills bcmills changed the title x/sys/unix: TestParseOrigDstAddr failures x/sys/unix: TestParseOrigDstAddr failures on linux-riscv64-unmatched Mar 3, 2023
@bcmills
Copy link
Contributor

bcmills commented Mar 3, 2023

(attn @golang/riscv64)

@bcmills bcmills changed the title x/sys/unix: TestParseOrigDstAddr failures on linux-riscv64-unmatched x/sys/unix: failures with socket: address family not supported by protocol on linux-riscv64-unmatched Mar 3, 2023
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/sys/unix" && `listen udp6 .*: socket: address family not supported by protocol`
2023-03-02 17:30 linux-riscv64-unmatched sys@14708520 go@cd6d225b x/sys/unix.TestParseOrigDstAddr (log)
--- FAIL: TestParseOrigDstAddr (0.01s)
    --- FAIL: TestParseOrigDstAddr/udp6 (0.01s)
        creds_test.go:215: Listen: listen udp6 [::1]:0: socket: address family not supported by protocol

watchflakes

@mengzhuo mengzhuo self-assigned this Mar 4, 2023
@mengzhuo
Copy link
Contributor

mengzhuo commented Mar 4, 2023

All these failure logs related to a new linux-riscv64 builder that I put into farm (for faster build time)
I found that this new builder doesn't enabled ipv6 in kernel configuration, I can send a CL skip test if ipv6 is not enalbed in kernel.

@gopherbot
Copy link
Author

Change https://go.dev/cl/473257 mentions this issue: unix: skip ip related tests if EAFNOSUPPORT raised

@dmitshur dmitshur added NeedsFix The path to resolution is known, but the work has not been done. and removed NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Mar 4, 2023
@dmitshur dmitshur added the Testing An issue that has been verified to require only test changes, not just a test failure. label Mar 4, 2023
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/sys/unix" && `listen udp6 .*: socket: address family not supported by protocol`
2023-02-28 18:48 linux-riscv64-unmatched sys@a6bfb89d go@3f8f929d x/sys/unix.TestParseOrigDstAddr (log)
--- FAIL: TestParseOrigDstAddr (0.01s)
    --- FAIL: TestParseOrigDstAddr/udp6 (0.01s)
        creds_test.go:215: Listen: listen udp6 [::1]:0: socket: address family not supported by protocol

watchflakes

@golang golang locked and limited conversation to collaborators Mar 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. 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
Status: Done
Development

No branches or pull requests

4 participants