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: usableLocalPort fails on Windows 7 #3219
Labels
Milestone
Comments
The exp/winfsnotify error could be a race in the test that appears only under load. I do not know if Windows guarantees to report the removal of the file before the removal of the directory containing it, but that is what the test expects. The net error could be induced by the usableLocalPort function added at: changeset: 12889:e28f1aac1223 user: Mikio Hara <mikioh.mikioh@gmail.com> date: Tue Mar 06 00:13:10 2012 +0900 summary: net: make Dial and Listen behavior consistent across over platforms It could be that the socket is really not being closed, or that again there is a race between l.Close happening and the the socket being used in the test. The net/http failure could be a bug in Windows networking. Perhaps closing the connection on the server side does not wait for the sent data to be received, so that ReadResponse does not actually receive the header it expects. But all three of these failures appeared simultaneously, and only the net test has been edited recently. I think that maybe the tests are buggy _and_ the bugs only appear when run on a particularly loaded system. Does this happen every time you run all.bat or just occasionally? Can you make it happen again at all? If it is not 100% reproducible then I am inclined to push it to after Go 1. I am running Windows 7 x64 under VMware without problems. Labels changed: added priority-go1, removed priority-triage. Owner changed to builder@golang.org. Status changed to Accepted. |
At least one test failure has occurred every time I build since I reported the error. This morning, the failure text was different: ok mime/multipart 0.498s --- FAIL: TestSimpleUDPListener (0.00 seconds) unicast_test.go:183: First ListenPacket("udp", "127.0.0.1:62793") failed : listen udp 127.0.0.1:62793: Only one usage of each socket address (protocol/ne twork address/port) is normally permitted. FAIL FAIL net 1.246s ok net/http 2.632s |
This issue was closed by revision a385f38. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: