-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
Investigate flaky parallel/test-async-hooks-http-parser-destroy on OS X #28112
Comments
The test duration in failed cases seems to be significant longer as in the pass case. Not sure if I have no access to OS X so hard for me to work on this. |
It fails at 120 seconds because that's the timeout duration in the test runner. So it gets caught in a deadlock or infinite loop or waiting for an event that never actually fires or (unlikely but possible) maybe just takes too darned long to run and would complete if it had more time or... |
Hmm, maybe add some more counters, e.g. one for Or hope that some OS X users gives a try to reproduce this locally and debug. |
@Flarna Are you willing to PR that change, ☝️ ? It would be very helpful if you have time to start looking into this. |
Sure, will take a look in a free slot during next days. created #28253 |
Is this still valid? PR is open since quite a while now... |
Improve asserts to distinguish between reequest and response parsers. Change the assert sequence to first assert on the number of ids to easier identify if some operation is missing/incomplete. Destroy HTTP agent once expected number of events have been seen to avoid waiting on socket timeouts. Refs: nodejs#28112
I can't reproduce locally but I'm on macOS 10.14 not 10.11. |
Improve asserts to distinguish between reequest and response parsers. Change the assert sequence to first assert on the number of ids to easier identify if some operation is missing/incomplete. Destroy HTTP agent once expected number of events have been seen to avoid waiting on socket timeouts. Refs: nodejs#28112 PR-URL: nodejs#28253 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Improve asserts to distinguish between reequest and response parsers. Change the assert sequence to first assert on the number of ids to easier identify if some operation is missing/incomplete. Destroy HTTP agent once expected number of events have been seen to avoid waiting on socket timeouts. Refs: #28112 PR-URL: #28253 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Has #28253 fixed the flaky parallel/test-async-hooks-http-parser-destroy on OS X? Don't know how to query CI statistics. |
Used Thanks, @Flarna! |
Seems to be failing regularly:
For all above, failures are identical:
Perhaps it should be marked flaky? I'm not sure how common it has to be to deserve the marking.
The text was updated successfully, but these errors were encountered: