-
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
flaky test: test-child-process-flush-stdio #4125
Comments
This test was just changed in 34b535f. Either the commit will have to be reverted, or the test is flakey. EDIT: Obviously the test is flakey. I meant it might be possible that only the test needs to be updated. |
Also, cc: @davidvgalbraith |
Shucks! I'll see what I can do for this tonight. |
I still can't see the CI output, is it just the close event handler never getting called? |
Yes, here is the output:
|
I've been running I notice that the failed tests happened on centos5, so I'm thinking there's some platform compatibility issue at play here. Currently building Node on a centos5 VM, when that finishes up I'll run similar testing and report back. |
Looks pretty consistent on both centos5-64 and -32. |
Yep, I have it failing 100% of the time on my centos5 VM. Let's see if I can fix it... |
Ok, so here's the order of operations on my Mac:
And here's the order of operations on centos5:
My 100% Mac pass rates were on a branch that didn't have #4083; pulling in that commit, I get a ~1% fail rate. On centos5 it fails every time. So my view is that #4083 was a little hasty and didn't account for ChildProcess's expectation that CC @mscdex |
As of 34b535f, test-child-process-flush-stdio was failing on CentOS 5 systems in CI due to the change in stream state checking in `child_process`. This commit fixes those failures by making readable streams less eager in setting their readable flag on EOF. Fixes: nodejs#4125
@davidvgalbraith thank you for digging into this |
As of 34b535f, test-child-process-flush-stdio was failing on CentOS 5 systems in CI due to the change in stream state checking in `child_process`. This commit fixes those failures by making readable streams less eager in setting their readable flag on EOF. Fixes: #4125 PR-URL: #4141 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
As of 34b535f, test-child-process-flush-stdio was failing on CentOS 5 systems in CI due to the change in stream state checking in `child_process`. This commit fixes those failures by making readable streams less eager in setting their readable flag on EOF. Fixes: nodejs#4125 PR-URL: nodejs#4141 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
The text was updated successfully, but these errors were encountered: