You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test-buffer-tostring-rangeerror is flaky (timeout) #52964
not ok 1244 parallel/test-buffer-tostring-rangeerror --- duration_ms: 120073.76400 severity: fail exitcode: -15 stack: |- timeout (node:2934155) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use `node --trace-deprecation ...` to show where the warning was created) ...
I'm able to reproduce locally: running the test 100'000 times, I got 6 timeouts. If I add a console.log("pass") at the end of the file, it gets printed even when the test times out. Adding process.exit(); does not help.
Removing either the second buffer.toString call, the ../common import, adding a console.log('pass') at the end or using a debug build will make it not reproduce anymore. 🙃 🤔
Could we try to add --no-warnings CLI flag and see if that would have any effect? EDIT: nope, I tried with both --no-warnings and --no-deprecation, and I was still getting timeouts
I got curious again by #52959 (comment) and indeed this doesn't reproduce on 07f481c but does on 91661ec so it looks like something in #52293 introduced this flakiness as well / aka probably it's the same root cause.
I got curious again by #52959 (comment) and indeed this doesn't reproduce on 07f481c but does on 91661ec so it looks like something in #52293 introduced this flakiness as well / aka probably it's the same root cause.
Actually, I'm sorry, I think I have to take this back. I now reproduced a bunch of times on 07f481c as well. It might happen less prior to the v8 update, but it can be reproduced as well.
This issue has been marked as stale due to 210 days of inactivity.
It will be automatically closed in 30 days if no further activity occurs. If this is still relevant, please leave a comment or update it to keep it open.
This issue has been automatically closed after 30 days of inactivity following its stale status (no activity for a total of 240 days).
If this is still relevant, feel free to reopen it or leave a comment with additional details so we can continue the discussion.
Activity
aduh95 commentedon May 12, 2024
I'm able to reproduce locally: running the test 100'000 times, I got 6 timeouts. If I add a
console.log("pass")at the end of the file, it gets printed even when the test times out. Addingprocess.exit();does not help.fahrradflucht commentedon May 12, 2024
I also investigated this a bit earlier. I was able to reproduce it quite consistently with just a 1000 runs and reduced it to this:
Removing either the second
buffer.toStringcall, the../commonimport, adding aconsole.log('pass')at the end or using a debug build will make it not reproduce anymore. 🙃 🤔aduh95 commentedon May 12, 2024
Could we try to add
--no-warningsCLI flag and see if that would have any effect? EDIT: nope, I tried with both--no-warningsand--no-deprecation, and I was still getting timeoutsfahrradflucht commentedon May 16, 2024
I got curious again by #52959 (comment) and indeed this doesn't reproduce on 07f481c but does on 91661ec so it looks like something in #52293 introduced this flakiness as well / aka probably it's the same root cause.
lpinca commentedon May 16, 2024
@fahrradflucht can you try with the
--jitlessflag?fahrradflucht commentedon May 16, 2024
It indeed does not reproduce with
--jitlesson 91661ec.fahrradflucht commentedon May 16, 2024
Actually, I'm sorry, I think I have to take this back. I now reproduced a bunch of times on 07f481c as well. It might happen less prior to the v8 update, but it can be reproduced as well.
jakecastelli commentedon Jun 27, 2024
what environment did you guys reproduce it locally? @aduh95 @fahrradflucht
github-actions commentedon May 21, 2026
This issue has been marked as stale due to 210 days of inactivity.
It will be automatically closed in 30 days if no further activity occurs. If this is still relevant, please leave a comment or update it to keep it open.
github-actions commentedon Jun 20, 2026
This issue has been automatically closed after 30 days of inactivity following its stale status (no activity for a total of 240 days).
If this is still relevant, feel free to reopen it or leave a comment with additional details so we can continue the discussion.