Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.2k
test: fix unreliable test-gc-http-client#23145
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
Trott commented Sep 28, 2018 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
nodejs-github-bot commented Sep 28, 2018
Trott commented Sep 28, 2018
Would like to fast-track this. 👍 if you approve. |
Trott commented Sep 28, 2018
targos commented Sep 28, 2018
Does it really fix #23066? It's not modifying the test in question. |
targos commented Sep 28, 2018
Please remove the "Fixes:" link from the commit message. |
targos left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, this test is not fixed for me
addaleax commented Sep 28, 2018
@targos Just to be clear, your red X is about the |
targos commented Sep 28, 2018
After applying this change, I ran: The test always fails before the 30th execution. |
might be an improvement, but doesn't fix flakyness
Calling `global.gc()` in multiple places leads to unreliability. Call it in the interval only. Fixes: nodejs#22336
Trott commented Sep 28, 2018
Stress test this PR: https://ci.nodejs.org/job/node-stress-single-test/2031/ Stress test master: https://ci.nodejs.org/job/node-stress-single-test/2032/ |
Trott commented Sep 28, 2018
Trott commented Sep 28, 2018
Given CI stress test results (8 failures in 1000 runs on master vs. 0 failures in 1000 runs with this PR), I'm inclined to believe that "Fixes:" is correct here, except for @targos reporting that it is still happening locally... @targos Is there any chance at all that you were testing against master and not this PR or something like that? Can you share a gist of you at least some of your output and also what platform/OS you're on? |
Trott commented Sep 28, 2018 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
ARM rebuild: https://ci.nodejs.org/job/node-test-commit-arm/18818/ ✔️ Windows rebuild: https://ci.nodejs.org/job/node-test-commit-windows-fanned/21109/ ✔️ |
targos commented Sep 29, 2018
I'm certain that I am testing against this PR applied on top of master. My platform is Linux (Fedora 28) If this fixes the issue on CI, I'm not blocking it. |
Trott commented Sep 29, 2018
@targos Thanks! Interesting! I think your gist is different than what we're seeing in CI, I think, because |
refack commented Oct 1, 2018
Resume CI (just for good measure): https://ci.nodejs.org/job/node-test-commit/21949/ |
Trott commented Oct 2, 2018
Windows timed out so will definitely remove the Fixes, just like @targos suggested. (Stress tests showing failures on master and clean runs with this PR were run on AIX.) ARM rebuild: https://ci.nodejs.org/job/node-test-commit-arm/18888/ Windows rebuild: https://ci.nodejs.org/job/node-test-commit-windows-fanned/21186/ |
Trott commented Oct 2, 2018
Windows rebuild: https://ci.nodejs.org/job/node-test-commit-windows-fanned/21188/ |
Trott commented Oct 2, 2018
Landed in 87ea0ca |
Calling `global.gc()` in multiple places leads to unreliability. Call it in the interval only. PR-URL: nodejs#23145 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: James M Snell <[email protected]>
Calling `global.gc()` in multiple places leads to unreliability. Call it in the interval only. PR-URL: #23145 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: James M Snell <[email protected]>
Calling
global.gc()in multiple places leads to unreliability. Call itin the interval only.
Fixes: #22336
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes