-
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
Multiple persistent child-process-related test failures on Windows when running as a Service #19
Comments
Since I don't have a clue about this I'm just gonna be the rubber duck instead. So the only difference here is how you launch Jenkins? Have you tried experimenting changing which user is running the service? One difference I see is which hudson .bat file is being run: Build 49
Build 50
|
@ralphtheninja I did consider permissions as a possible cause here but dismissed it because "why would a permissions problem manifest only in a few child process cases like Shame on me for thinking that way, this is Windows after all! A bit of googling yielded this:
So, here's Jenkins being run explicitly as Administrator: https://jenkins-node-forward.nodesource.com/job/iojs+v0.12+multi/nodes=node-forward-rackspace-iad-win2012r2-msvs2013/lastBuild/console And, also the first proper SUCCESS! #18 is still going to cause some problems but this is real progress! |
🍻 |
CI: https://ci.nodejs.org/job/node-test-pull-request/32117/ (edit by @mmarchini: was testing something on nodejs/node-auto-test, but it seems like the bot always comments on this repository when a Jenkins PR Job starts. Sorry for the noise) |
This sucks because I want to run the Jenkins client as a service but when I do I get 4 persistent failures:
Compare Jenkins running as a service to running manually from cmd.
I'm using nssm with fairly standard options, running Jenkins from a 1-line .bat file and redirecting stdout and stderr to files.
Anybody have any clues about this? The only service-related problems I'm aware of are obvious ones like permissions problems. The test-child-process-spawnsync failure is particularly interesting. The
sleep 1
appears to be taking 50 seconds (look at builds 47 and 48 and you'll see the same number!)--what's the significance of 50 seconds? A longer-than-expected execution might explain all of these errors but it's still not acceptable since running Node from a service on Windows is fairly common for production deployments.The text was updated successfully, but these errors were encountered: