-
Notifications
You must be signed in to change notification settings - Fork 30k
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-cluster-shared-leak failure on windows #3956
Comments
Failed again here: Definitely one to add to the flaky tests list... |
Stress test confirming flakiness: https://ci.nodejs.org/job/node-stress-single-test/133/nodes=win2012r2/console |
test-cluster-shared-leak is flaky on Windows. Ref: nodejs#3956
The degree of flakiness apparently depends on which machine you end up with. (There are slow ones and there are fast ones.) Check out the massively different results of these identical stress test runs. The only difference is likely which Windows host the test ended up getting assigned to. |
Pinging @nodejs/build because someone with more knowledge of the build infrastructure might be able to provide some useful insight on the previous comment. The parameters for the two stress tests are identical and they checkout the same commit hash for testing, but they have nearly opposite results. The first has no failures (as of this writing--it's only about halfway done) after thousands of runs while the second has just 7 successes and hundreds of failures as of this writing. Possibilities that leap to mind for me:
I suspect the correct fix is still to rewrite the test to accommodate what the issue is, but it seems like it would be useful to know what the issue is. |
Possible fix: #4173 |
test-cluster-shared-leak.js was flaky because a worker can emit EPIPE. This error event is expected. Fixes: nodejs#3956
test-cluster-shared-leak.js was flaky because a worker can emit EPIPE. Wait for workers to be listening so that EPIPE does not happen. Fixes: nodejs#3956 PR-URL: nodejs#4173
Refactor test-cluster-shared-leak.js to remove flakiness on Windows. Fixes: nodejs#3956 PR-URL: nodejs#4173
Swallow EPIPE as there is it is expected to come up from time to time. This does not invalidate the test. Fixes: nodejs#3956 PR-URL: nodejs#4173
Wait for worker2 to come online before doing anything that might result in an EPIPE. Fixes flakiness of test on Windows. Fixes: nodejs#3956
Wait for worker2 to come online before doing anything that might result in an EPIPE. Fixes flakiness of test on Windows. Fixes: nodejs#3956 PR-URL: nodejs#4510 Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: James M Snell<jasnell@gmail.com>
Wait for worker2 to come online before doing anything that might result in an EPIPE. Fixes flakiness of test on Windows. Fixes: nodejs#3956 PR-URL: nodejs#4510 Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: James M Snell<jasnell@gmail.com>
Wait for worker2 to come online before doing anything that might result in an EPIPE. Fixes flakiness of test on Windows. Fixes: nodejs#3956 PR-URL: nodejs#4510 Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: James M Snell<jasnell@gmail.com>
test-cluster-shared-leak is flaky on Windows. Refs: nodejs#3956 PR-URL: nodejs#4162 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Roman Klauke <romaaan.git@gmail.com> Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
Wait for worker2 to come online before doing anything that might result in an EPIPE. Fixes flakiness of test on Windows. Fixes: nodejs#3956 PR-URL: nodejs#4510 Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: James M Snell<jasnell@gmail.com>
https://ci.nodejs.org/job/node-test-binary-windows/91/RUN_SUBSET=3,VS_VERSION=vs2015,label=win2012r2/tapTestReport/test.tap-28/
(Run against #3954, unrelated.)
cc @Trott
The text was updated successfully, but these errors were encountered: