golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
122.74k stars 17.5k forks source link

cmd/go, net, runtime: TestScript flake with "Failed to find getsockname procedure in ws2_32.dll: The specified procedure could not be found." #36029

Open odeke-em opened 4 years ago

odeke-em commented 4 years ago

Just seen at https://storage.googleapis.com/go-build-log/40de7642/windows-amd64-2016_533e366a.log, there is a panic Failed to find getsockname procedure in ws2_32.dll: The specified procedure could not be found.

Perhaps this is just a flake but failing to find getsockname in the Windows Socket DLL looks serious. Kindly paging some related/interested parties @bcmills @alexbrainman @bradfitz @randall77

alexbrainman commented 4 years ago

Thank you for creating this issue.

Perhaps this is just a flake but failing to find getsockname in the Windows Socket DLL looks serious.

I agree, it looks like we could not find getsockname function in ws2_32.dll. The error is ERROR_PROC_NOT_FOUND.

The error does look unusual. I am not sure we can do anything about that. Maybe @zx2c4 has some bright ideas.

Alex