-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
test: mark test-net-write-fully-async-buffer
as flaky
#52959
base: main
Are you sure you want to change the base?
test: mark test-net-write-fully-async-buffer
as flaky
#52959
Conversation
test-net-write-fully-async-buffer
as flakytest-net-write-fully-async-buffer
as flaky
368473c
to
9fd9192
Compare
Co-authored-by: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Did we try to investigate? It is not flaky on my machines. |
On macOS, I actually get a 1 ‰ failures when running:
16 ‰ when running
|
Something is fishy here. I get no failures if I remove the |
#52964 (comment) also reported that removing |
Bisecting point to 1d29d81 as the first bad commit. |
I think there is a recent bug in V8 or Node.js behind the flakiness of some tests. This is one of those. I think we should not land this. |
Maybe something to do with the exit hooks |
@richardlau I tried commenting almost everything in |
I meant that it's possible that the V8 update has caused something to have changed during shutdown. |
If you are referring to |
The behavior described in #52964 (comment) also occurs for this test. It correctly finishes, the server emits the |
Adding the |
Commit Queue failed- Loading data for nodejs/node/pull/52959 ✔ Done loading data for nodejs/node/pull/52959 ----------------------------------- PR info ------------------------------------ Title test: mark `test-net-write-fully-async-buffer` as flaky (#52959) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch aduh95:test-net-write-fully-async-buffer-flaky -> nodejs:main Labels test, needs-ci, commit-queue-squash Commits 2 - test: mark `test-net-write-fully-async-buffer` as flaky - Update test/parallel/parallel.status Committers 2 - Antoine du Hamel - GitHub PR-URL: https://github.com/nodejs/node/pull/52959 Refs: https://github.com/nodejs/node/issues/47428 Reviewed-By: Benjamin Gruenbaum Reviewed-By: Ulises Gascón ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/52959 Refs: https://github.com/nodejs/node/issues/47428 Reviewed-By: Benjamin Gruenbaum Reviewed-By: Ulises Gascón -------------------------------------------------------------------------------- ℹ This PR was created on Sun, 12 May 2024 10:10:41 GMT ✔ Approvals: 2 ✔ - Benjamin Gruenbaum (@benjamingr) (TSC): https://github.com/nodejs/node/pull/52959#pullrequestreview-2052433668 ✔ - Ulises Gascón (@UlisesGascon): https://github.com/nodejs/node/pull/52959#pullrequestreview-2060894926 ✔ Last GitHub CI successful ✘ No Jenkins CI runs detected -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/9424968514 |
Is this test still flaky? If so, is this land able? |
Yes, it is still flaky. |
I have been investigating this issue as it has been failing a lot recently, here are my two quick findings:
|
Testing locally I spotted an interesting result. Posted this originally over on #54809 ... Running some local tests on If I change the allocation size of the
So far this is the only variable that I've been able to identify that reliably alters the rate of timeout on this particular test. The reason for choosing 65550 is that it is fairly close (but still over the default high water mark for the stream. Setting the highwatermark to 65600 appears to reduce the rate of timeout when using 65600 as the allocation size but does not eliminate it. This makes me think that the tests that are timing out are due to some intersection between v8 GC and streams backpressure management -- I'm unable to reproduce any timeouts for any allocations smaller than the default high water mark size. |
Refs: #47428