-
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
Windows IRPStackSize increased to pass test-debug-port-from-cmdline.js #2094
Comments
Isn't 9 well below the default value? On Thu, Jul 2, 2015 at 11:55 AM, Rod Vagg [email protected] wrote:
|
I believe 4 is the default when the entry doesn't exist |
|
I see your KB article and raise you mine:
https://support.microsoft.com/en-us/kb/106167 But then again, it has NT 3.51 at the bottom of the page! |
Haha, yeah, it even links to a different one from NT 4, I wonder what running io.js on any of those would look like. Anyway, I'll try a fresh VM and check. |
Anyone running tests on windows helps! we have too few eyes at the developer level on core code & tests on windows. See https://github.com/nodejs/build/tree/master/setup/windows if you want detailed docs of how we do it. |
Thanks, I'm already familiar with the procedure :) Any specific branch? |
master is where we're seeing it, also I've upped the 2008 servers to |
Hmm, on Windows 2008 we can't install VS2013 Express since it requires a newer version of Windows. I'll try with VS2012 |
vs2012 isn't going to work, you need Microsoft Visual Studio Express 2013 for Windows Desktop or a prerelease of 2015, we're running on 2008R2 just like your Azure machine, perhaps it's the fact that you're trying Express that's the problem. |
There is a difference between "Express for windows" and "Express for windows desktop". The last one is compatible with Windows Server 2008 R2 SP1 (x64). |
You can also use Visual Studio Community Edition. It practically supersedes Express: https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx I just learned about IRPStackSize, but it seems an issue with the specific driver stack on the machine, not a general issue. See this post on the subject: http://forum.sysinternals.com/when-irpstacksize-can-cause-a-problem_topic22059_post116568.html#116568 |
Agree with @orangemocha, the stack in question here seems to be the machine's own driver stack, which is clearly out of control for us, so there's not much we can do, except maybe parsing for that particular error message. |
Same test now seems to fail with an cryptic 'Access is denied', ugh
https://jenkins-iojs.nodesource.com/job/iojs+pr+win/79/nodes=win2008r2/tapTestReport/test.tap-136/ |
I'd appreciate eyes on this: #2149 |
Some driver stacks on win32 will trigger an occasional error on test-debug-port-from-cmdline.js, reporting: Not enough storage is available to process this command Workaround is to check for that error and ignore the test entirely. Closes: nodejs#2094
This test was failing because the spawned process was terminated before anything could be done, by calling child.stdin.end. With this change, the child's stdin is no longer closed. When the stdin is not a tty, io.js waits for the whole input before starting, so the child must be run with --interactive to process the command sent by the parent. The child is killed explicitly by the parent before it exits. This test was failing silently because the asserts were not called if nothing was received from the child. This fix moves assertOutputLines to always run on exit. Fixes nodejs#2094 Fixes nodejs#2177
This test was failing because the spawned process was terminated before anything could be done, by calling child.stdin.end. With this change, the child's stdin is no longer closed. When the stdin is not a tty, io.js waits for the whole input before starting, so the child must be run with --interactive to process the command sent by the parent. The child is killed explicitly by the parent before it exits. This test was failing silently because the asserts were not called if nothing was received from the child. This fix moves assertOutputLines to always run on exit. Fixes: #2177 Refs: #2094 PR-URL: #2186 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Johan Bergström <[email protected]> Reviewed-By: Alexis Campailla <[email protected]>
Going to close this. The problem is hopefully fixed in 2b4b600. |
This change is a backport of 2b4b600 from io.js. Original commit message: This test was failing because the spawned process was terminated before anything could be done, by calling child.stdin.end. With this change, the child's stdin is no longer closed. When the stdin is not a tty, io.js waits for the whole input before starting, so the child must be run with --interactive to process the command sent by the parent. The child is killed explicitly by the parent before it exits. This test was failing silently because the asserts were not called if nothing was received from the child. This fix moves assertOutputLines to always run on exit. Fixes: nodejs/node#2177 Refs: nodejs/node#2094 PR-URL: nodejs/node#2186 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Johan Bergström <[email protected]> Reviewed-By: Alexis Campailla <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> PR-URL: #25748
This change is a backport of 2b4b600 from io.js. Original commit message: This test was failing because the spawned process was terminated before anything could be done, by calling child.stdin.end. With this change, the child's stdin is no longer closed. When the stdin is not a tty, io.js waits for the whole input before starting, so the child must be run with --interactive to process the command sent by the parent. The child is killed explicitly by the parent before it exits. This test was failing silently because the asserts were not called if nothing was received from the child. This fix moves assertOutputLines to always run on exit. Fixes: nodejs/node#2177 Refs: nodejs/node#2094 PR-URL: nodejs/node#2186 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Johan Bergström <[email protected]> Reviewed-By: Alexis Campailla <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> PR-URL: nodejs#25748
@nodejs/platform-windows
test-debug-port-from-cmdline.js has been failing repeatedly on 2008 like so:
So I followed the instructions @ https://support.microsoft.com/en-us/kb/106167 and increased
IRPStackSize
to9
and now it appears to be passing.This doesn't seem like an appropriate course of action because we can't advise developers to do this in order to get the test suite to pass. But since I have no idea why this is even required I'm not sure of a better way forward or how to suggest a possible fix.
The text was updated successfully, but these errors were encountered: