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

net/http: failures with ERROR_OPERATION_ABORTED on windows/arm64 #53584

Closed
bcmills opened this issue Jun 28, 2022 · 5 comments
Closed

net/http: failures with ERROR_OPERATION_ABORTED on windows/arm64 #53584

bcmills opened this issue Jun 28, 2022 · 5 comments
Labels
arch-arm64 FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Windows WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@bcmills
Copy link
Contributor

bcmills commented Jun 28, 2022

--- FAIL: TestServerHijackGetsBackgroundByte (0.00s)
    serve_test.go:5911: Peek = "", read tcp 127.0.0.1:51202->127.0.0.1:51203: wsarecv: The I/O operation has been aborted because of either a thread exit or an application request.; want foo, nil
    serve_test.go:5916: context unexpectedly canceled
FAIL
FAIL	net/http	7.162s

greplogs -l -e 'The I/O operation has been aborted(?:.*\n)*FAIL\s+net/http'
2022-06-28T16:57:18-533082d/windows-arm64-11

This is the same error message observed on this platform (in a different test) in #52893.

This error code seems to be ERROR_OPERATION_ABORTED.
(https://docs.microsoft.com/en-us/windows/win32/debug/system-error-codes--500-999-)

(CC @neild @golang/windows @qmuntal)

@bcmills bcmills added OS-Windows NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. arch-arm64 labels Jun 28, 2022
@bcmills bcmills added this to the Backlog milestone Jun 28, 2022
@bcmills bcmills changed the title net/http: TestServerHijackGetsBackgroundByte failure with ERROR_OPERATION_ABORTED on windows/arm64 net/http: failures with ERROR_OPERATION_ABORTED on windows/arm64 Jul 11, 2022
@bcmills
Copy link
Contributor Author

bcmills commented Jul 11, 2022

2022-07-07T19:06:45-84e58bf-8ac58de/windows-arm64-10:

2022/07/07 20:56:22 Close("uploads/20220708.1/0.txt") took 0.00 seconds
2022/07/07 20:56:22 query: q="label0:0" sql={"SELECT r.Content FROM (SELECT UploadID, RecordID FROM RecordLabels WHERE Name = ? AND Value = ?) t0 LEFT JOIN Records r USING (UploadID, RecordID)" []interface {}{"label0", "0"}}
2022/07/07 20:56:22 query: q="label1:0" sql={"SELECT r.Content FROM (SELECT UploadID, RecordID FROM RecordLabels WHERE Name = ? AND Value = ?) t0 LEFT JOIN Records r USING (UploadID, RecordID)" []interface {}{"label1", "0"}}
2022/07/07 20:56:22 query: q="label0:5 name:Name" sql={"SELECT r.Content FROM (SELECT UploadID, RecordID FROM RecordLabels WHERE Name = ? AND Value = ?) t0 INNER JOIN (SELECT UploadID, RecordID FROM RecordLabels WHERE Name = ? AND Value = ?) t1 USING (UploadID, RecordID) LEFT JOIN Records r USING (UploadID, RecordID)" []interface {}{"label0", "5", "name", "Name"}}
2022/07/07 20:56:22 query: q="label0:0 label0:5" err=EOF
2022/07/07 20:56:22 Close("uploads/20220708.1/0.txt") took 0.00 seconds
2022/07/07 20:56:22 Close("uploads/20220708.2/0.txt") took 0.00 seconds
2022/07/07 20:56:22 multipart: NextPart: read tcp 127.0.0.1:49791->127.0.0.1:49792: wsarecv: The I/O operation has been aborted because of either a thread exit or an application request.
--- FAIL: TestUploads (0.00s)
    upload_test.go:90: /upload response:
        {"uploadid":"20220708.1","fileids":["20220708.1/0"],"viewurl":"view:20220708.1"}
    upload_test.go:90: /upload response:
        {"uploadid":"20220708.2","fileids":["20220708.2/0"],"viewurl":"view:20220708.2"}
    upload_test.go:84: post /upload: 500 Internal Server Error
2022/07/07 20:56:22 Close("uploads/20220708.1/0.txt") took 0.00 seconds
FAIL
FAIL	golang.org/x/perf/storage/app	0.239s

@bcmills
Copy link
Contributor Author

bcmills commented Jul 11, 2022

Gathering all of these occurrences in one place, since this looks like either a net/http bug or a platform bug exposed by net/http.

greplogs -l -e 'The I/O operation has been aborted'
2022-07-07T19:06:45-84e58bf-8ac58de/windows-arm64-10
2022-06-28T16:57:18-533082d/windows-arm64-11
2022-06-06T20:48:03-c960675-a71ca3d/windows-arm64-10
2022-06-01T22:59:44-c960675-46ab7a5/windows-arm64-11
2022-05-23T22:10:24-2e3eb7b-2138124/windows-arm64-10

@qmuntal
Copy link
Member

qmuntal commented Jul 12, 2022

I'm looking into this. Still trying to reproduce it.

@bcmills
Copy link
Contributor Author

bcmills commented Aug 30, 2023

There have been a lot of net/http fixes since this issue was filed, and watchflakes will file a new issue should it recur.

@qmuntal, should we close this as obsolete?

@bcmills bcmills added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Aug 30, 2023
@qmuntal
Copy link
Member

qmuntal commented Aug 30, 2023

@qmuntal, should we close this as obsolete?

Yes, I couldn't repro nor find the culprit.

@qmuntal qmuntal closed this as completed Aug 30, 2023
@bcmills bcmills closed this as not planned Won't fix, can't repro, duplicate, stale Aug 30, 2023
@golang golang locked and limited conversation to collaborators Aug 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-arm64 FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Windows WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

3 participants