-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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: test-timers-unrefd-interval-still-fires.js flaky on smartOS #4559
Comments
Current version fails stress test: https://ci.nodejs.org/job/node-stress-single-test/307/nodes=smartos14-64/console This would appear to be a fulfillment of the prophecy of @misterdjules at #3550 (comment). I've refactored the test to not rely on an arbitrary timeout as it is not a performance benchmark but a functionality test designed to check for a very specific bug. The refactored test passes the stress test: https://ci.nodejs.org/job/node-stress-single-test/311/nodes=smartos14-64/console PR: #4561 |
One of the aforementioned failures is particularly interesting:
As far as I can tell, it isn't possible for this to happen. If it's 5/5 the timeout that throws that error will already be cancelled... |
@Fishrock123 Perhaps a race condition caused by the |
Oh hmmm. @Trott I can't find where I suggested that to be added, I forget why that was. It should be removed, I think. (The |
@Fishrock123 My first attempt at a fix for this was to just remove the It was still flaky when stress tested, though: But it did get rid of the The control stress test (against master) showed So yeah, it looks like the At least that mystery is solved... |
e071894 should workaround the issue for you, @thealphanerd. There's a more thorough fix that will hopefully land soon, but that should resolve this issue for you if you land it on LTS. |
Remove arbitrary timeout duration. This is a functionality test and not a performance benchmark. Rely on test runner timeout. Confirmed that the test (with ES6-isms removed) hangs/times out in Node 0.10.34 (which has the bug that this test is supposed to catch) and passes in 0.10.35 (which has the fix). So that is good. Fixes: nodejs#4559
Remove unnecessary `setImmediate()` that causes a minor race condition. Stop the test after 3 occurrences rather than 5 to allow for slower hosts running the test in parallel with other tests. Fixes: #4559 PR-URL: #4599 Reviewed-By: Johan Bergström <[email protected]>
Remove unnecessary `setImmediate()` that causes a minor race condition. Stop the test after 3 occurrences rather than 5 to allow for slower hosts running the test in parallel with other tests. Fixes: #4559 PR-URL: #4599 Reviewed-By: Johan Bergström <[email protected]>
Remove unnecessary `setImmediate()` that causes a minor race condition. Stop the test after 3 occurrences rather than 5 to allow for slower hosts running the test in parallel with other tests. Fixes: #4559 PR-URL: #4599 Reviewed-By: Johan Bergström <[email protected]>
Remove unnecessary `setImmediate()` that causes a minor race condition. Stop the test after 3 occurrences rather than 5 to allow for slower hosts running the test in parallel with other tests. Fixes: #4559 PR-URL: #4599 Reviewed-By: Johan Bergström <[email protected]>
Remove unnecessary `setImmediate()` that causes a minor race condition. Stop the test after 3 occurrences rather than 5 to allow for slower hosts running the test in parallel with other tests. Fixes: nodejs#4559 PR-URL: nodejs#4599 Reviewed-By: Johan Bergström <[email protected]>
Remove unnecessary `setImmediate()` that causes a minor race condition. Stop the test after 3 occurrences rather than 5 to allow for slower hosts running the test in parallel with other tests. Fixes: nodejs#4559 PR-URL: nodejs#4599 Reviewed-By: Johan Bergström <[email protected]>
Remove unnecessary `setImmediate()` that causes a minor race condition. Stop the test after 3 occurrences rather than 5 to allow for slower hosts running the test in parallel with other tests. Fixes: nodejs#4559 PR-URL: nodejs#4599 Reviewed-By: Johan Bergström <[email protected]>
Seeing flaky results in LTS
https://ci.nodejs.org/job/node-test-commit-smartos/813/
https://ci.nodejs.org/job/node-test-commit-smartos/810/
Passes on job 811 and 812 though.
Running one more time to see if it fails again
https://ci.nodejs.org/job/node-test-commit-smartos/814/
The text was updated successfully, but these errors were encountered: