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/net: "sendmsg: function not implemented" on AIX since 2022-07-25 #54099

Closed
cherrymui opened this issue Jul 27, 2022 · 2 comments
Closed

x/net: "sendmsg: function not implemented" on AIX since 2022-07-25 #54099

cherrymui opened this issue Jul 27, 2022 · 2 comments
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@cherrymui
Copy link
Member

--- FAIL: TestUDP (0.00s)
    --- FAIL: TestUDP/Message (0.00s)
        socket_test.go:208: sendmsg: function not implemented
    --- FAIL: TestUDP/Message-dialed (0.00s)
        socket_test.go:208: sendmsg: function not implemented
FAIL
FAIL	golang.org/x/net/internal/socket	1.187s
ok  	golang.org/x/net/internal/socks	2.586s
ok  	golang.org/x/net/internal/sockstest	0.035s
ok  	golang.org/x/net/internal/timeseries	0.049s
--- FAIL: TestPacketConnReadWriteMulticastUDP (0.01s)
    --- FAIL: TestPacketConnReadWriteMulticastUDP/addr=224.0.0.0:0/grp=224.0.0.254/src=<nil> (0.00s)
        multicast_test.go:111: write udp 0.0.0.0:36424->224.0.0.254:36424: sendmsg: function not implemented
--- FAIL: TestPacketConnReadWriteMulticastICMP (1.09s)
    --- FAIL: TestPacketConnReadWriteMulticastICMP/grp=224.0.0.254/src=<nil> (0.00s)
        multicast_test.go:231: write ip 0.0.0.0->224.0.0.254: sendmsg: function not implemented
--- FAIL: TestPacketConnConcurrentReadWriteUnicastUDP (0.00s)
    readwrite_test.go:269: read udp 127.0.0.1:36439: recvmsg: function not implemented
--- FAIL: TestPacketConnConcurrentReadWriteUnicast (0.00s)
    --- FAIL: TestPacketConnConcurrentReadWriteUnicast/UDP (0.00s)
        --- FAIL: TestPacketConnConcurrentReadWriteUnicast/UDP/ToFrom (0.00s)
            readwrite_test.go:420: read udp 127.0.0.1:36440: recvmsg: function not implemented
        --- FAIL: TestPacketConnConcurrentReadWriteUnicast/UDP/Batch (0.00s)
            readwrite_test.go:358: raw-control udp4 127.0.0.1:36440: use of closed network connection
    --- FAIL: TestPacketConnConcurrentReadWriteUnicast/IP (0.00s)
        --- FAIL: TestPacketConnConcurrentReadWriteUnicast/IP/ToFrom (0.00s)
            readwrite_test.go:420: read ip 127.0.0.1: recvmsg: function not implemented
        --- FAIL: TestPacketConnConcurrentReadWriteUnicast/IP/Batch (0.00s)
            readwrite_test.go:379: raw-control ip4 127.0.0.1: use of closed network connection
--- FAIL: TestPacketConnReadWriteUnicastUDP (0.00s)
    unicast_test.go:66: write udp 127.0.0.1:36441->127.0.0.1:36441: sendmsg: function not implemented
--- FAIL: TestPacketConnReadWriteUnicastICMP (0.00s)
    unicast_test.go:150: write ip 0.0.0.0->127.0.0.1: sendmsg: function not implemented
--- FAIL: TestRawConnReadWriteUnicastICMP (0.00s)
    unicast_test.go:246: write ip 0.0.0.0->127.0.0.1: sendmsg: function not implemented
FAIL
FAIL	golang.org/x/net/ipv4	1.138s
--- FAIL: TestPacketConnConcurrentReadWriteUnicastUDP (0.00s)
    readwrite_test.go:272: read udp [::1]:36433: recvmsg: function not implemented
--- FAIL: TestPacketConnConcurrentReadWriteUnicast (0.00s)
    --- FAIL: TestPacketConnConcurrentReadWriteUnicast/UDP (0.00s)
        --- FAIL: TestPacketConnConcurrentReadWriteUnicast/UDP/ToFrom (0.00s)
            readwrite_test.go:417: read udp [::1]:36434: recvmsg: function not implemented
        --- FAIL: TestPacketConnConcurrentReadWriteUnicast/UDP/Batch (0.00s)
            readwrite_test.go:391: raw-control udp6 [::1]:36434: use of closed network connection
    --- FAIL: TestPacketConnConcurrentReadWriteUnicast/IP (0.00s)
        --- FAIL: TestPacketConnConcurrentReadWriteUnicast/IP/ToFrom (0.00s)
            readwrite_test.go:417: read ip ::1: recvmsg: function not implemented
        --- FAIL: TestPacketConnConcurrentReadWriteUnicast/IP/Batch (0.00s)
            readwrite_test.go:391: raw-control ip6 ::1: use of closed network connection
--- FAIL: TestPacketConnReadWriteUnicastUDP (0.00s)
    unicast_test.go:72: write udp [::1]:36435->[::1]:36435: sendmsg: function not implemented
--- FAIL: TestPacketConnReadWriteUnicastICMP (0.00s)
    unicast_test.go:185: write ip ::1->::1: sendmsg: function not implemented
FAIL
FAIL	golang.org/x/net/ipv6	1.314s

2022-07-26T23:03:23-0699458-faf4e97/aix-ppc64
2022-07-26T23:03:23-0699458-ed50277/aix-ppc64
2022-07-26T23:03:23-0699458-d9242f7/aix-ppc64
2022-07-26T20:27:23-46097bf-faf4e97/aix-ppc64
2022-07-26T14:20:34-46097bf-ceefd3a/aix-ppc64
2022-07-26T14:16:52-46097bf-d9242f7/aix-ppc64
2022-07-26T14:15:46-46097bf-ed50277/aix-ppc64
etc.

It seems related to CL https://go-review.googlesource.com/c/net/+/419175 .
cc @ianlancetaylor @tklauser @golang/aix

@gopherbot gopherbot added this to the Unreleased milestone Jul 27, 2022
@cherrymui cherrymui added the NeedsFix The path to resolution is known, but the work has not been done. label Jul 27, 2022
@gopherbot
Copy link

Change https://go.dev/cl/419396 mentions this issue: unix: implement recvmsgRaw and sendmsgN on aix

gopherbot pushed a commit to golang/sys that referenced this issue Jul 28, 2022
This allows using RecvmsgBuffers and SendmsgBuffers on aix in x/net.

For golang/go#54099

Change-Id: Ib21c59244c9d74b826f4fc8ba3314e3602fd9a8a
Reviewed-on: https://go-review.googlesource.com/c/sys/+/419396
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
@gopherbot
Copy link

Change https://go.dev/cl/419858 mentions this issue: net: update to new x/sys version

WeiminShang added a commit to WeiminShang/net that referenced this issue Nov 16, 2022
Bring in https://go.dev/cl/419396 which fixes recmsg/sendmsg on AIX.

Fixes golang/go#54099

Change-Id: Icd525e4feb4d8a045e5a7ea1c137a66311e5644a
Reviewed-on: https://go-review.googlesource.com/c/net/+/419858
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
@golang golang locked and limited conversation to collaborators Jul 28, 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.
Projects
None yet
Development

No branches or pull requests

2 participants