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

Open
bcmills opened this issue Jun 28, 2022 · 3 comments
Open

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

bcmills opened this issue Jun 28, 2022 · 3 comments
Labels
arch-arm64 NeedsInvestigation OS-Windows
Milestone

Comments

@bcmills
Copy link
Member

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 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
Member 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
Member 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
Contributor

qmuntal commented Jul 12, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-arm64 NeedsInvestigation OS-Windows
Projects
None yet
Development

No branches or pull requests

2 participants