-
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
Investigate flaky test-vm-timeout.js #6727
Comments
Print a C backtrace on fatal errors to make it easier to debug issues like nodejs#6727.
This same test recently failed on Windows, but with a different error:
|
That error message is due to #6635, but it doesn’t seem to make sense that it fails in this particular way in |
This one has gotten relentless on Windows recently. /cc @nodejs/platform-windows @nodejs/testing |
Looks like there's some hope/intention that #6734 will provide more information, but it looks like it currently prints the exact same backtrace we already have: https://ci.nodejs.org/job/node-test-binary-windows/2575/RUN_SUBSET=3,VS_VERSION=vcbt2015,label=win10/tapTestReport/test.tap-267/ |
@Trott It's not for augmenting JS stack traces (although I may do that in a follow-up PR) but it's for getting a meaningful C++ stack trace on fatal errors (e.g. the |
@addaleax Your comment about #6635 refers to the Windows issue (with You've probably noticed this but just in case: It's failing consistently this way on one (but only one!) of the Windows variations on CI and doesn't seem to fail this way anywhere else. |
@nodejs/build Am I correct to observe that the Windows issue here is happening exclusively on the Azure hosts and never on the Rackspace hosts? Is there anything unusual about the Azure hosts that might cause a |
@Trott There’s a good chance the Windows issue is the Linux issue, my PR just changed the error message (because the assumption is that an interrupted script + no timeout indicated = received SIGINT). No part of |
@Trott Could you try running a stress test or something with the outer timeout (line 32) increased from |
PR-URL: nodejs#7359 Refs: nodejs#6727 Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Joao Reis <reis@janeasystems.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
This fails only in Windows 10 machines, which we have only in Azure and are quite slow. This fails with any compiles (actually, VCBT, the one used by normal CI for W10, seems to be the only one that makes it not fail sometimes). (Experiments here for reference) @addaleax @Trott the test still fails with 150ms but I didn't see a failure with 200ms (tested a few times in one CI machine). We could rise this timeout to 1000ms or so. Would that make the test incorrect? |
@joaocgreis I'm not familiar with this part of the code base so I definitely defer to @addaleax or @bnoordhuis on whether that's still a valid test. Seems it to me. Ignorant speculation on my part, but maybe on a sufficiently slow Windows machine, the 10ms timeout and the 100ms timeout fire out of order (because it takes more than 100ms to get out of the current tick and now both timeouts are ready to fire?). So the outer vm times out first, and the inner vm hasn't yet set its
|
@Trott I can’t reproduce the bug locally (neither on Windows nor on Linux), at least with test-vm-timeout.js, but yeah, that makes a lot of sense, I should have a PR ready soon. |
Likely fix the flaky parallel/test-vm-timeout. Increase the outer timeout in the test checking for nested timeouts with `vm` scripts so that its firing won’t interfere with the inner timeout. Fixes: nodejs#6727
Likely fix the flaky parallel/test-vm-timeout. Increase the outer timeout in the test checking for nested timeouts with `vm` scripts so that its firing won’t interfere with the inner timeout. Fixes: #6727 PR-URL: #7373 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Print a C backtrace on fatal errors to make it easier to debug issues like nodejs#6727. PR-URL: nodejs#6734 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Likely fix the flaky parallel/test-vm-timeout. Increase the outer timeout in the test checking for nested timeouts with `vm` scripts so that its firing won’t interfere with the inner timeout. Fixes: #6727 PR-URL: #7373 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Likely fix the flaky parallel/test-vm-timeout. Increase the outer timeout in the test checking for nested timeouts with `vm` scripts so that its firing won’t interfere with the inner timeout. Fixes: nodejs#6727 PR-URL: nodejs#7373 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Likely fix the flaky parallel/test-vm-timeout. Increase the outer timeout in the test checking for nested timeouts with `vm` scripts so that its firing won’t interfere with the inner timeout. Fixes: #6727 PR-URL: #7373 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Likely fix the flaky parallel/test-vm-timeout. Increase the outer timeout in the test checking for nested timeouts with `vm` scripts so that its firing won’t interfere with the inner timeout. Fixes: #6727 PR-URL: #7373 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Likely fix the flaky parallel/test-vm-timeout. Increase the outer timeout in the test checking for nested timeouts with `vm` scripts so that its firing won’t interfere with the inner timeout. Fixes: #6727 PR-URL: #7373 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Likely fix the flaky parallel/test-vm-timeout. Increase the outer timeout in the test checking for nested timeouts with `vm` scripts so that its firing won’t interfere with the inner timeout. Fixes: #6727 PR-URL: #7373 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Example failure: https://ci.nodejs.org/job/node-test-commit-linux/3362/nodes=centos5-64/tapTestReport/test.tap-1025/
The text was updated successfully, but these errors were encountered: