You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
node-daily-v14.x-staging is failing on smartos #3154
Curiously this test doesn't run the node child process on Linux and instead uses sleep 2m. This was done in nodejs/node#37572 -- prior to that PR all platforms used sleep 2m apart from Windows (which was flaky). If I switch the test to use sleep 2m on SmartOS the test still passes but doesn't leave behind any node child processes (no surprise since it's not creating any) but also is not leaving behind any sleep processes.
I'm not entirely sure why we didn't have the child processes being left behind on smartos before the migration -- perhaps this is something timing related? We're not seeing the leftover child processes on main or current but are consistently seeing them on Node.js 14 and 16 SmartOS CI runs when we were not prior to the migration.
I'm going to open a PR to switch back to sleep 2m for the test on POSIX platforms to unblock the Node.js 14 and 16 CI.
Activity
richardlau commentedon Jan 19, 2023
I've narrowed down
node -e setInterval(()=>{}, 99)to coming fromtest-child-process-exec-abortcontroller-promisified. This test is passing but leaving behind Node.js child processes.Curiously this test doesn't run the
nodechild process on Linux and instead usessleep 2m. This was done in nodejs/node#37572 -- prior to that PR all platforms usedsleep 2mapart from Windows (which was flaky). If I switch the test to usesleep 2mon SmartOS the test still passes but doesn't leave behind anynodechild processes (no surprise since it's not creating any) but also is not leaving behind anysleepprocesses.I'm not entirely sure why we didn't have the child processes being left behind on smartos before the migration -- perhaps this is something timing related? We're not seeing the leftover child processes on
mainor current but are consistently seeing them on Node.js 14 and 16 SmartOS CI runs when we were not prior to the migration.I'm going to open a PR to switch back to
sleep 2mfor the test on POSIX platforms to unblock the Node.js 14 and 16 CI.richardlau commentedon Jan 19, 2023
PR: nodejs/node#46276
bahamat commentedon Jan 19, 2023
Looking at the issue, and the proposed fix, I think this is the correct approach. I can't mark approval on the PR, so I'm noting it here instead.
test: avoid left behind child processes
test: avoid left behind child processes
test: avoid left behind child processes
test: avoid left behind child processes
test: avoid left behind child processes
test: avoid left behind child processes
test: avoid left behind child processes
test: avoid left behind child processes