Uh oh!
There was an error while loading. Please reload this page.
test: deflake test-buffer-large-size - #57789
Conversation
jakecastelli
commented
Apr 8, 2025
queued a stress test - https://ci.nodejs.org/job/node-stress-single-test/557/ |
Uh oh!
There was an error while loading. Please reload this page.
lpinca
commented
Apr 8, 2025
I'm not sure I understand the difference. Why using a |
jakecastelli
commented
Apr 8, 2025
Currently it is only one test that attempts to allocate 8GB of memory, the purpose of the for loop is to make them into 4 separate tests. I think it could have 2 benefits:
|
Actually - now I see my stress tests start to fail on |
lpinca
commented
Apr 8, 2025
Yes, probably. |
58ebe5a to
5fae384Comparejakecastelli
commented
Apr 8, 2025
I've attempted to add major gc after each allocation and queued another stress test - https://ci.nodejs.org/job/node-stress-single-test/558/. This test seems having a way too high failure rate. |
RaisinTen
commented
Apr 8, 2025
Might be worth checking if distributing each of these into separate test files improves things |
nodejs-github-bot
commented
Apr 8, 2025
jakecastelli
commented
Apr 9, 2025
The stress tests seem ok, the CI failures relate to other flaky tests. Are we happy to do major gc or better off separate them into different files? |
5fae384 to
4e19317Comparejakecastelli
commented
Apr 9, 2025
Any further actionable item should I take?
Happy to take either path 👍 |
lpinca
commented
Apr 9, 2025
I would try to separate into multiple files without manually triggering GC and see what happens. Manually calling the GC is not a fix. |
4e19317 to
920046fCompare920046f to
e6b2341Comparejakecastelli
commented
Apr 9, 2025
what are the practical ways to verify if things've improved?
Any other suggestions? |
RaisinTen
left a comment
There was a problem hiding this comment.
LGTM
Added some optional suggestions to simplify the tests
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@## main #57789 +/- ##
==========================================
- Coverage 90.23% 90.22% -0.02%
==========================================
Files 630 630 Lines 185288 185518 +230 Branches 36344 36380 +36 ==========================================
+ Hits 167203 167387 +184 - Misses 11006 11027 +21 - Partials 7079 7104 +25 🚀 New features to boost your workflow:
|
nodejs-github-bot
commented
Apr 9, 2025
nodejs-github-bot
commented
Apr 11, 2025
Landed in 795dd8e |
PR-URL: #57789 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: #57789 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: #57789 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
aduh95
commented
May 6, 2025
Tests are failing on GHA with this change (https://github.com/nodejs/node/actions/runs/14865929007/job/41742567775), we'd need a manual backport PR if we want to port this change. |
jakecastelli
commented
May 7, 2025
I will look into the backport |
jakecastelli
commented
May 8, 2025
Hi @aduh95 I took a look and realised this PR was fixing the flaky test introduced in #51821 which 51821 is a
semver-major |
The test has failed 25+ times on 7th of April and 24 times 8th of April in our CI.
This PR attempts to spread the tests into multiple file to reduce the flakiness.