Title: Multiple persistent child-process-related test failures on Windows when running as a Service · Issue #19 · nodejs/node · GitHub
Open Graph Title: Multiple persistent child-process-related test failures on Windows when running as a Service · Issue #19 · nodejs/node
X Title: Multiple persistent child-process-related test failures on Windows when running as a Service · Issue #19 · nodejs/node
Description: This sucks because I want to run the Jenkins client as a service but when I do I get 4 persistent failures: === release test-child-process-double-pipe === Path: simple/test-child-process-double-pipe grep stdin write 18 echo exit grep std...
Open Graph Description: This sucks because I want to run the Jenkins client as a service but when I do I get 4 persistent failures: === release test-child-process-double-pipe === Path: simple/test-child-process-double-pip...
X Description: This sucks because I want to run the Jenkins client as a service but when I do I get 4 persistent failures: === release test-child-process-double-pipe === Path: simple/test-child-process-double-pip...
Opengraph URL: https://github.com/nodejs/node/issues/19
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Multiple persistent child-process-related test failures on Windows when running as a Service","articleBody":"\u003cimg src=\"https://imgflip.com/readImage?iid=412211\" height=100>\n\nThis sucks because I want to run the Jenkins client as a service but when I do I get 4 persistent failures:\n\n```\n=== release test-child-process-double-pipe ===\nPath: simple/test-child-process-double-pipe\ngrep stdin write 18\necho exit\ngrep stdin write 7\nCommand: c:\\workspace\\iojs+v0.12+multi\\nodes\\node-forward-rackspace-iad-win2012r2-msvs2013\\Release\\node.exe c:\\workspace\\iojs+v0.12+multi\\nodes\\node-forward-rackspace-iad-win2012r2-msvs2013\\test\\simple\\test-child-process-double-pipe.js\n--- TIMEOUT ---\n```\n\n```\n=== release test-child-process-exit-code ===\nPath: simple/test-child-process-exit-code\nCommand: c:\\workspace\\iojs+v0.12+multi\\nodes\\node-forward-rackspace-iad-win2012r2-msvs2013\\Release\\node.exe c:\\workspace\\iojs+v0.12+multi\\nodes\\node-forward-rackspace-iad-win2012r2-msvs2013\\test\\simple\\test-child-process-exit-code.js\n--- TIMEOUT ---\n```\n\n```\n=== release test-child-process-spawnsync ===\nPath: simple/test-child-process-spawnsync\nsleep started\nsleep exited [ 50, 509779200 ]\nassert.js:100\n throw new assert.AssertionError({\n ^\nAssertionError: sleep should not take longer or less than 1 second\n at Object.\u003canonymous> (c:\\workspace\\iojs+v0.12+multi\\nodes\\node-forward-rackspace-iad-win2012r2-msvs2013\\test\\simple\\test-child-process-spawnsync.js:44:8)\n at Module._compile (module.js:462:26)\n at Object.Module._extensions..js (module.js:480:10)\n at Module.load (module.js:357:32)\n at Function.Module._load (module.js:312:12)\n at Function.Module.runMain (module.js:503:10)\n at startup (node.js:135:16)\n at node.js:866:3\nCommand: c:\\workspace\\iojs+v0.12+multi\\nodes\\node-forward-rackspace-iad-win2012r2-msvs2013\\Release\\node.exe c:\\workspace\\iojs+v0.12+multi\\nodes\\node-forward-rackspace-iad-win2012r2-msvs2013\\test\\simple\\test-child-process-spawnsync.js\n```\n\n```\n=== release test-child-process-spawnsync-input ===\nPath: simple/test-child-process-spawnsync-input\nCommand: c:\\workspace\\iojs+v0.12+multi\\nodes\\node-forward-rackspace-iad-win2012r2-msvs2013\\Release\\node.exe c:\\workspace\\iojs+v0.12+multi\\nodes\\node-forward-rackspace-iad-win2012r2-msvs2013\\test\\simple\\test-child-process-spawnsync-input.js\n--- TIMEOUT ---\n```\n\nCompare Jenkins [running as a service](https://jenkins-node-forward.nodesource.com/job/iojs+v0.12+multi/nodes=node-forward-rackspace-iad-win2012r2-msvs2013/49/console) to [running manually from cmd](https://jenkins-node-forward.nodesource.com/job/iojs+v0.12+multi/nodes=node-forward-rackspace-iad-win2012r2-msvs2013/50/console).\n\nI'm using [nssm](http://nssm.cc/) with fairly standard options, running Jenkins from a 1-line .bat file and redirecting stdout and stderr to files.\n\nAnybody 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.\n","author":{"url":"https://github.com/rvagg","@type":"Person","name":"rvagg"},"datePublished":"2014-11-30T04:26:45Z","url":"https://github.com/nodejs/node/issues/19"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e375e914-f11d-06a8-064d-ffd26f749a55 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D848:3B3F35:75E7AB:9A1D43:6AED3435 |
| html-safe-nonce | 547d25ae6d350c991245d7dcf413072d2c82575d02dbd3bb0a5651597de41af7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODQ4OjNCM0YzNTo3NUU3QUI6OUExRDQzOjZBRUQzNDM1IiwidmlzaXRvcl9pZCI6IjQxODM2NTUxMDcxMjQ4NjgxNDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4f1cafe93e81c695a62f9ff815dffdeba07bd0d620fd97011c74451242912919 |
| hovercard-subject-tag | issue:50446619 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/19/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2b3cacc16685fe605f5af81d6cde0bf466fa35fd0791caa719b5f8d9e38b9e61/nodejs/node/issues/19 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2b3cacc16685fe605f5af81d6cde0bf466fa35fd0791caa719b5f8d9e38b9e61/nodejs/node/issues/19 |
| og:image:alt | This sucks because I want to run the Jenkins client as a service but when I do I get 4 persistent failures: === release test-child-process-double-pipe === Path: simple/test-child-process-double-pip... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rvagg |
| hostname | github.com |
| expected-hostname | github.com |
| None | e51d0b7b5ab34b1688c05b54c3ed17b8658b2fa9bca973a9c740683ccb12cf4a |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 59ebb7b901cc154ecc179a44f266fcf69f343b30 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width