net: TestUDPReadSizeError failure with read of length 0 #50870
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
greplogs --dashboard -md -l -e 'FAIL: TestUDPReadSizeError'
2022-01-27T19:55:38-1a2435c/darwin-amd64-11_0
The assertion is from this section of the test:
https://cs.opensource.google/go/go/+/master:src/net/udpsock_test.go;l=420-432;drc=b55cbbb9e76969d67fbc6e264a584ad18c2f95fa
The test was added in CL 92475 (CC @m4ns0ur), and this is the first such failure I can find in the logs.
The test appears to accept a
Timeout
error on any platform — or any error at all on Windows — but then still expects theRead
to have returned an exact number of bytes. However, it's not clear to me how we can be sure that theWrite
has actually made it through the kernel before the timeout fires.The text was updated successfully, but these errors were encountered: