GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: windows ci timeouts related to child_process · Issue #1383 · nodejs/node

test: windows ci timeouts related to child_process #1383

New issue
Copy link
New issue
Copy link
Closed
Closed
test: windows ci timeouts related to child_process#1383
Copy link
Labels
testIssues and PRs related to Node.js core tests and test infrastructure.windowsIssues and PRs related to the Windows platform.

Description

@silverwind
silverwind
opened on Apr 9, 2015
Issue body actions

With ARM timeouts fixed, this looks to be the last persistent test failure on the CI. If we can solve this, the builds should start to get blue, and all that's left are some intermittent failures on OS X and ARM.

https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/473/nodes=iojs-win2012r2/

cc: @rvagg @piscisaureus

=== release test-child-process-double-pipe ===
Path: parallel/test-child-process-double-pipe
grep stdin write 7
grep stdin write 6
grep stdin write 5
grep stdin write 7
echo exit
Command: c:\workspace\iojs+any-pr+multi\nodes\iojs-win2012r2\Release\iojs.exe c:\workspace\iojs+any-pr+multi\nodes\iojs-win2012r2\test\parallel\test-child-process-double-pipe.js
--- TIMEOUT ---


=== release test-child-process-exit-code ===
Path: parallel/test-child-process-exit-code
Command: c:\workspace\iojs+any-pr+multi\nodes\iojs-win2012r2\Release\iojs.exe c:\workspace\iojs+any-pr+multi\nodes\iojs-win2012r2\test\parallel\test-child-process-exit-code.js
--- TIMEOUT ---


=== release test-child-process-spawnsync ===
Path: parallel/test-child-process-spawnsync
sleep started
Command: c:\workspace\iojs+any-pr+multi\nodes\iojs-win2012r2\Release\iojs.exe c:\workspace\iojs+any-pr+multi\nodes\iojs-win2012r2\test\parallel\test-child-process-spawnsync.js
--- TIMEOUT ---


=== release test-child-process-spawnsync-input ===
Path: parallel/test-child-process-spawnsync-input
Command: c:\workspace\iojs+any-pr+multi\nodes\iojs-win2012r2\Release\iojs.exe c:\workspace\iojs+any-pr+multi\nodes\iojs-win2012r2\test\parallel\test-child-process-spawnsync-input.js
--- TIMEOUT ---


=== release test-http-curl-chunk-problem ===
Path: parallel/test-http-curl-chunk-problem
dd command:  "c:\workspace\iojs+any-pr+multi\nodes\iojs-win2012r2\Release\iojs.exe" "c:\workspace\iojs+any-pr+multi\nodes\iojs-win2012r2\test\fixtures\create-file.js" "c:\workspace\iojs+any-pr+multi\nodes\iojs-win2012r2\test\tmp.3\big" 10485760
Server running at http://localhost:8080
making curl request
Command: c:\workspace\iojs+any-pr+multi\nodes\iojs-win2012r2\Release\iojs.exe c:\workspace\iojs+any-pr+multi\nodes\iojs-win2012r2\test\parallel\test-http-curl-chunk-problem.js
--- TIMEOUT ---


=== release test-process-kill-null ===
Path: parallel/test-process-kill-null
Command: c:\workspace\iojs+any-pr+multi\nodes\iojs-win2012r2\Release\iojs.exe c:\workspace\iojs+any-pr+multi\nodes\iojs-win2012r2\test\parallel\test-process-kill-null.js
--- TIMEOUT ---


=== release test-pipe-head ===
Path: sequential/test-pipe-head
Command: c:\workspace\iojs+any-pr+multi\nodes\iojs-win2012r2\Release\iojs.exe c:\workspace\iojs+any-pr+multi\nodes\iojs-win2012r2\test\sequential\test-pipe-head.js
--- TIMEOUT ---

Activity

Next
  1. silverwind
    added
    windowsIssues and PRs related to the Windows platform.
    testIssues and PRs related to Node.js core tests and test infrastructure.
    on Apr 9, 2015
  2. Fishrock123 commented on Apr 9, 2015

    @Fishrock123
    Fishrock123
    on Apr 9, 2015
    Contributor
    More actions

    And ya beat me to it.

    Some analysis on when the errors started on the CI will be coming soon.

  3. Fishrock123 commented on Apr 9, 2015

    @Fishrock123
    Fishrock123
    on Apr 9, 2015
    Contributor
    More actions

    Note: this picks out only the builds that were done against v1.x.

    The last consistently stable v1.x build was 209

    Since then, there have been 5 stable v1.xbuilds: 363 364 367 368 369

    Here are some builds after 209 where errors started cropping up. The errors seem slightly different than the ones currently on v1.x: 210 212 213 217 (aborted) 218 (rebuild of 217, git failed) 219 (rebuild of 217) 220 (rebuild of 217)

    The commits from 209 into 220 are:

    • [2b47fd2eb6] - stream_base: .writev() has limited support (Fedor Indutny) #1008
    • [c9151547bc] - Working on v1.4.3 (Rod Vagg)
    • [b6b9628df7] - 2015-02-28 io.js v1.4.2 Release (Rod Vagg)
    • [1ab7e80838] - tls: proxy handle.reading back to parent handle (Fedor Indutny) #1004
    • [7887e119ed] - install: new performance counters provider guid (Russell Dempsey) #1001
    • [755461219d] - tls: fix typo handle._reading => handle.reading (Fedor Indutny) #994
    • [675cffb33e] - http: don't confuse automatic headers for others (Christian Tellnes) #828
    • [25da0742ee] - build: improve vcbuild.bat (Bert Belder) #998
    • [b8310cbd3e] - build: reduce tarball size by 8-10% (Johan Bergström) #961
  4. Fishrock123 commented on Apr 9, 2015

    @Fishrock123
    Fishrock123
    on Apr 9, 2015
    Contributor
    More actions

    Hmm, of note:

    • [25da0742ee] - build: improve vcbuild.bat (Bert Belder) #998

    Did not have a CI run against the PR.

  5. silverwind commented on Apr 9, 2015

    @silverwind
    silverwind
    on Apr 9, 2015
    ContributorAuthor
    More actions

    Hmm, nothing suspicious in that commit log, except maybe the vcbuild thing. Maybe an CI issue?

  6. Fishrock123 commented on Apr 9, 2015

    @Fishrock123
    Fishrock123
    on Apr 9, 2015
    Contributor
    More actions

    CI pre - 25da074 / vcbuild improvements: https://jenkins-iojs.nodesource.com/view/iojs/job/iojs+any-pr+multi/475/

  7. silverwind commented on Apr 9, 2015

    @silverwind
    silverwind
    on Apr 9, 2015
    ContributorAuthor
    More actions

    Maybe related to #1005? A lot of the same timeouts there too.

  8. Fishrock123 commented on Apr 9, 2015

    @Fishrock123
    Fishrock123
    on Apr 9, 2015
    Contributor
    More actions

    Everything in #1005 should have been fixed... and, iirc, was fixed..

  9. Fishrock123 commented on Apr 9, 2015

    @Fishrock123
    Fishrock123
    on Apr 9, 2015
    Contributor
    More actions

    Ok, I think I was wrong.

    The current timeouts appear to have been introduced in 370, and first manifested in 389

    373 contains @indutny's last fix for #1005, which should have been green.. That "narrows" down the commits to:

    • [36f017afaf] - js2c: fix module id generation on windows (Ben Noordhuis) #1281
    • [2903410aa8] - src: don't lazy-load timer globals (Ben Noordhuis) #1280
    • [5e609e9324] - _Revert_ "doc: clarify real name requirement" (Jeremiah Senkpiel) #1276
    • [08acf1352c] - win,node-gyp: make delay-load hook optional (Bert Belder) #1266
    • [776b73b243] - timers: cleanup interval handling (Jeremiah Senkpiel) #1272
    • [caf0b36de3] - timers: assure setTimeout callback only runs once (Roman Reiss) #1231
    • [2ccc8f3970] - tls_wrap: fix this incredibly stupid leak (Fedor Indutny) #1244
    • [e74b5d278c] - tls_wrap: fix BIO leak on SSL error (Fedor Indutny) #1244
    • [2db758c562] - iojs: introduce internal modules (Vladimir Kurchatkin) #848
    • [45814216ee] - doc: fix format docs discrepancy (Brendan Ashworth) #1255
    • [8a945814dd] - string_decoder: optimize write() (Brian White) #1209

    (probably in the commits below, see the below comment)

    • [3d46fefe0c] - win,node-gyp: allow node.exe/iojs.exe to be renamed (Bert Belder) #1251
    • [c9207f7fc2] - fs: fix corruption in writeFile and writeFileSync (Olov Lassus) #1063
    • [4e9bf93e9c] - doc: clarify real name requirement (Roman Reiss) #1250
    • [e84dd5f651] - doc: document repl on-demand module loading (Roman Reiss) #1249
    • [1832743e18] - lib: add missing new for errors lib/*.js (Mayhem) #1246
    • [7dd5e824be] - assert: simplify logic of testing buffer equality (Alex Yursha) #1171
    • [269e46be37] - deps: make node-gyp work with io.js (cjihrig) #990
    • [b542fb94a4] - deps: upgrade npm to 2.7.3 (Forrest L Norvell) #1219
    • [2e5b87a147] - src: remove unnecessary environment lookups (Ben Noordhuis) #1238
    • [7e88a9322c] - src: make accessors immune to context confusion (Ben Noordhuis) #1238
    • [20c4498e76] - Working on v1.6.3 (Rod Vagg)
    • [33c57354aa] - 2015-03-23 io.js v1.6.2 Release (Rod Vagg)
    • [849319a260] - util: Check input to util.inherits (Connor Peet) #1240
  10. Fishrock123 commented on Apr 9, 2015

    @Fishrock123
    Fishrock123
    on Apr 9, 2015
    Contributor
    More actions

    That being said, due to 373 I suspect it was caused before:

    • [8a945814dd] - string_decoder: optimize write() (Brian White) #1209
  11. Fishrock123 commented on Apr 9, 2015

    @Fishrock123
    Fishrock123
    on Apr 9, 2015
    Contributor
    More actions

    https://jenkins-iojs.nodesource.com/view/iojs/job/iojs+any-pr+multi/476/

    Narrowed it down to

    • [c9207f7fc2] - fs: fix corruption in writeFile and writeFileSync (Olov Lassus) #1063
    • [4e9bf93e9c] - doc: clarify real name requirement (Roman Reiss) #1250
    • [e84dd5f651] - doc: document repl on-demand module loading (Roman Reiss) #1249
    • [1832743e18] - lib: add missing new for errors lib/*.js (Mayhem) #1246
    • [7dd5e824be] - assert: simplify logic of testing buffer equality (Alex Yursha) #1171
    • [269e46be37] - deps: make node-gyp work with io.js (cjihrig) #990
    • [b542fb94a4] - deps: upgrade npm to 2.7.3 (Forrest L Norvell) #1219
    • [2e5b87a147] - src: remove unnecessary environment lookups (Ben Noordhuis) #1238
    • [7e88a9322c] - src: make accessors immune to context confusion (Ben Noordhuis) #1238
    • [20c4498e76] - Working on v1.6.3 (Rod Vagg)
    • [33c57354aa] - 2015-03-23 io.js v1.6.2 Release (Rod Vagg)
    • [849319a260] - util: Check input to util.inherits (Connor Peet) #1240
  12. Fishrock123 commented on Apr 9, 2015

    @Fishrock123
    Fishrock123
    on Apr 9, 2015
    Contributor
    More actions

    https://jenkins-iojs.nodesource.com/view/iojs/job/iojs+any-pr+multi/477/

    1.6.3 fails.

    I Suspect the culprit is:

    • [849319a260] - util: Check input to util.inherits (Connor Peet) #1240

    (No CI was run on that PR either)

  13. silverwind commented on Apr 9, 2015

    @silverwind
    silverwind
    on Apr 9, 2015
    ContributorAuthor
    More actions

    All tests seem to timeout on spawn or spawnSync.

  14. silverwind commented on Apr 9, 2015

    @silverwind
    silverwind
    on Apr 9, 2015
    ContributorAuthor
    More actions

    Hmm, not sure about that, there are three uses of inherits in child_process.js, which all look valid, but of course the issue can happen elsewhere.

    util.inherits(SocketListSend, EventEmitter);
    util.inherits(SocketListReceive, EventEmitter);
    util.inherits(ChildProcess, EventEmitter);
  15. 5 remaining items

  16. Fishrock123 commented on Apr 13, 2015

    @Fishrock123
    Fishrock123
    on Apr 13, 2015
    Contributor
    More actions

    Jenkins :trollface:

    So it looks like win2008r2 has decided to also begin timing out on similar tests.

  17. jbergstroem commented on Apr 16, 2015

    @jbergstroem
    jbergstroem
    on Apr 16, 2015
    Member
    More actions

    Just wanted to reference #19 here. Seems like we've had similar child process issues prior to the commits triaged above. Since both windows bots has been seeing similar issues lately, we should probably update the issue topic to just "windows" 😢

  18. silverwind
    changed the title [-]test: timeouts on win2012 CI[/-] [+]test: windows ci timeouts related to child_process[/+] on Apr 16, 2015
  19. jbergstroem commented on Apr 17, 2015

    @jbergstroem
    jbergstroem
    on Apr 17, 2015
    Member
    More actions

    So, I just tried running jenkins straight out of powershell instead of wrapping through windows services (that in turn uses nssm.exe). Results here: https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/529/nodes=win2008r2/console. No more timeouts. The test that failed is irrelevant to timeouts (we should fix it though :). I'll debug further.

    Edit: Here's a run using nssm (and not proxied through windows services): https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/nodes=win2008r2/530/console (hint: full pass)

    Edit2: If you look at https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/531/ windows2012 and 2008 doesn't have any timeouts. I restarted all by avoiding starting/stopping through windows services and only using nssm.

    I'm far from a windows expert, but there is something going on with how and what services launches what.

  20. rvagg commented on Apr 17, 2015

    @rvagg
    rvagg
    on Apr 17, 2015
    Member
    More actions

    Give it time. We've had passes under the current config before but they end up at failure over time. I.e. don't celebrate yet.

  21. jbergstroem commented on Apr 17, 2015

    @jbergstroem
    jbergstroem
    on Apr 17, 2015
    Member
    More actions

    Not celebrating at all. It pretty much feels like I have no clue what I'm doing :)

  22. silverwind commented on May 25, 2015

    @silverwind
    silverwind
    on May 25, 2015
    ContributorAuthor
    More actions

    Seems the recent switch to running through cmd instead of a service did fix these at least for the CI. Now we need some testing done if the issues surface on a non-CI box when ran through a service.

  23. jbergstroem commented on May 25, 2015

    @jbergstroem
    jbergstroem
    on May 25, 2015
    Member
    More actions

    Lets give it a week so we can confirm that we still don't see them. As mentioned above, I managed to get a pretty stable environment by launching through nssm.

  24. silverwind commented on Jun 7, 2015

    @silverwind
    silverwind
    on Jun 7, 2015
    ContributorAuthor
    More actions

    I think this is new on Windows CI:

    https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/777/nodes=win2008r2/tapTestReport/test.tap-134/

    Error: Not enough storage is available to process this command.
    
  25. Fishrock123 commented on Jun 7, 2015

    @Fishrock123
    Fishrock123
    on Jun 7, 2015
    Contributor
    More actions

    Sounds like a build machine needs to be cleaned. cc @rvagg

  26. jbergstroem commented on Jun 8, 2015

    @jbergstroem
    jbergstroem
    on Jun 8, 2015
    Member
    More actions

    Currebtly on the run, but last I checked it had lots of disk space. I think it might be related to something else. Will investigate when I'm back tomorrow.

  27. rvagg commented on Jun 8, 2015

    @rvagg
    rvagg
    on Jun 8, 2015
    Member
    More actions

    I've had a look, enough space on all of the windows machines but I've done a clean-out and restart on them all anyway, want to try again @silverwind?

  28. jbergstroem commented on Jun 8, 2015

    @jbergstroem
    jbergstroem
    on Jun 8, 2015
    Member
    More actions

    I recall starting to see this when libuv 1.6.0 landed (when we had all other strange fs-max errors)

  29. silverwind commented on Aug 22, 2015

    @silverwind
    silverwind
    on Aug 22, 2015
    ContributorAuthor
    More actions

    Haven't seen this recently.

  30. silverwind
    closed this as completedon Aug 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    testIssues and PRs related to Node.js core tests and test infrastructure.windowsIssues and PRs related to the Windows platform.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.