Repository navigation
Investigate flaky parallel/test-worker-memory #23277
Description
Activity
- addedflaky-testIssues and PRs involving tests that fail intermittently in CI.Issues and PRs involving tests that fail intermittently in CI.
on Oct 5, 2018 Different:
https://ci.nodejs.org/job/node-test-commit-linux/22212/nodes=ubuntu1804-docker/console
00:51:34 not ok 2141 parallel/test-worker-memory 00:51:34 --- 00:51:34 duration_ms: 120.40 00:51:34 severity: fail 00:51:34 exitcode: -15 00:51:34 stack: |- 00:51:34 timeout
@nodejs/workers
08:12:48 not ok 519 parallel/test-worker-memory 08:12:48 --- 08:12:48 duration_ms: 120.92 08:12:48 severity: fail 08:12:48 exitcode: 1 08:12:48 stack: |- 08:12:48 timeout 08:12:48 ...
- addedworkerIssues and PRs related to the worker_threads module and Worker API.Issues and PRs related to the worker_threads module and Worker API.
on Oct 11, 2018 It’s unfortunate that none of these have any console output…
-7would beSIGBUSon arm Linux, if I am correct, which is something that could point to an actual bug.It’s unfortunate that none of these have any console output…
-7would beSIGBUSon arm Linux, if I am correct, which is something that could point to an actual bug.We can add some
console.log()calls to get an idea where the thing is getting hung up.- added a commit that references this issue
on Oct 11, 2018 Some minimal logging added in #23418.
- added a commit that references this issue
on Oct 11, 2018 Example failure with logging:
timeout run() called with n=15 (numWorkers=4) run() called with n=15 (numWorkers=4) run() called with n=15 (numWorkers=4) run() called with n=15 (numWorkers=4) run() called with n=14 (numWorkers=4) run() called with n=14 (numWorkers=4) run() called with n=14 (numWorkers=4) run() called with n=14 (numWorkers=4) run() called with n=13 (numWorkers=4) run() called with n=13 (numWorkers=4) run() called with n=13 (numWorkers=4) run() called with n=13 (numWorkers=4) run() called with n=12 (numWorkers=4) run() called with n=12 (numWorkers=4) run() called with n=12 (numWorkers=4) run() called with n=12 (numWorkers=4) run() called with n=11 (numWorkers=4) run() called with n=11 (numWorkers=4) run() called with n=11 (numWorkers=4) run() called with n=11 (numWorkers=4) run() called with n=10 (numWorkers=4) run() called with n=10 (numWorkers=4) run() called with n=10 (numWorkers=4) run() called with n=10 (numWorkers=4) run() called with n=9 (numWorkers=4) run() called with n=9 (numWorkers=4) run() called with n=9 (numWorkers=4) run() called with n=9 (numWorkers=4) run() called with n=8 (numWorkers=4) run() called with n=8 (numWorkers=4) run() called with n=8 (numWorkers=4) run() called with n=8 (numWorkers=4) run() called with n=7 (numWorkers=4) run() called with n=7 (numWorkers=4) run() called with n=7 (numWorkers=4) run() called with n=7 (numWorkers=4)Reacted by Refael AckermannIs there more logging we should add? Is it just taking a while?
nkeeps decreasing. So maybe the test just needs to be moved tosequentialand/or have its iterations (or something else) reduced?Also happened in https://ci.nodejs.org/job/node-test-commit-linux-containered/7855/nodes=ubuntu1604_sharedlibs_zlib_x64/console:
00:40:04 not ok 2193 parallel/test-worker-memory 00:40:04 --- 00:40:04 duration_ms: 120.161 00:40:04 severity: fail 00:40:04 exitcode: -15 00:40:04 stack: |- 00:40:04 timeout 00:40:04 run() called with n=15 (numWorkers=4) 00:40:04 run() called with n=15 (numWorkers=4) 00:40:04 run() called with n=15 (numWorkers=4) 00:40:04 run() called with n=15 (numWorkers=4) 00:40:04 run() called with n=14 (numWorkers=4) 00:40:04 run() called with n=14 (numWorkers=4) 00:40:04 run() called with n=14 (numWorkers=4) 00:40:04 run() called with n=14 (numWorkers=4) 00:40:04 run() called with n=13 (numWorkers=4) 00:40:04 run() called with n=13 (numWorkers=4) 00:40:04 run() called with n=13 (numWorkers=4) 00:40:04 run() called with n=13 (numWorkers=4) 00:40:04 run() called with n=12 (numWorkers=4) 00:40:04 run() called with n=12 (numWorkers=4) 00:40:04 run() called with n=12 (numWorkers=4) 00:40:04 run() called with n=12 (numWorkers=4) 00:40:04 run() called with n=11 (numWorkers=4) 00:40:04 run() called with n=11 (numWorkers=4) 00:40:04 run() called with n=11 (numWorkers=4) 00:40:04 run() called with n=11 (numWorkers=4) 00:40:04 run() called with n=10 (numWorkers=4) 00:40:04 run() called with n=10 (numWorkers=4) 00:40:04 run() called with n=10 (numWorkers=4) 00:40:04 run() called with n=10 (numWorkers=4) 00:40:04 run() called with n=9 (numWorkers=4) 00:40:04 run() called with n=9 (numWorkers=4) 00:40:04 run() called with n=9 (numWorkers=4) 00:40:04 run() called with n=9 (numWorkers=4) 00:40:04 run() called with n=8 (numWorkers=4) 00:40:04 run() called with n=8 (numWorkers=4) 00:40:04 run() called with n=8 (numWorkers=4) 00:40:04 run() called with n=7 (numWorkers=4) 00:40:04 run() called with n=8 (numWorkers=4) 00:40:04 run() called with n=7 (numWorkers=4) 00:40:04 run() called with n=7 (numWorkers=4) 00:40:04 run() called with n=6 (numWorkers=4) 00:40:04 run() called with n=7 (numWorkers=4) 00:40:04 run() called with n=6 (numWorkers=4) 00:40:04 run() called with n=5 (numWorkers=4) 00:40:04 run() called with n=6 (numWorkers=4) 00:40:04 run() called with n=6 (numWorkers=4) 00:40:04 ...
- added a commit that references this issue
on Oct 17, 2018 36 remaining items
@gireeshpunathil Is there any chance the root cause has been fixed since we last visited this issue? This test hasn't failed recently.
@Trott - none that I am aware of. IMO, the issue cannot be comprehensively solved as long as we don't have a way to compute the
actual / active / usedmemory by a process.However, if CI is consistently passing this, I guess we have no reason to keep this open. We can always re-open if we start to see this again.
00:12:14 not ok 708 parallel/test-worker-memory # TODO : Fix flaky test 00:12:14 --- 00:12:14 duration_ms: 1.360 00:12:14 severity: crashed 00:12:14 exitcode: 3221225477 00:12:14 stack: |- 00:12:14 run() called with n=7.5 (numWorkers=8) 00:12:14 run() called with n=7.5 (numWorkers=8) 00:12:14 run() called with n=7.5 (numWorkers=8) 00:12:14 run() called with n=7.5 (numWorkers=8) 00:12:14 run() called with n=7.5 (numWorkers=8) 00:12:14 run() called with n=7.5 (numWorkers=8) 00:12:14 run() called with n=7.5 (numWorkers=8) 00:12:14 run() called with n=7.5 (numWorkers=8) 00:12:14 run() called with n=6.5 (numWorkers=8) 00:12:14 run() called with n=6.5 (numWorkers=8) 00:12:14 run() called with n=6.5 (numWorkers=8) 00:12:14 run() called with n=6.5 (numWorkers=8) 00:12:14 run() called with n=6.5 (numWorkers=8) 00:12:14 run() called with n=6.5 (numWorkers=8) 00:12:14 run() called with n=6.5 (numWorkers=8) 00:12:14 run() called with n=6.5 (numWorkers=8) 00:12:14 run() called with n=5.5 (numWorkers=8) 00:12:14 run() called with n=5.5 (numWorkers=8) 00:12:14 run() called with n=5.5 (numWorkers=8) 00:12:14 run() called with n=5.5 (numWorkers=8) 00:12:14 run() called with n=5.5 (numWorkers=8) 00:12:14 run() called with n=5.5 (numWorkers=8) 00:12:14 run() called with n=4.5 (numWorkers=8) 00:12:14 run() called with n=5.5 (numWorkers=8) 00:12:14 run() called with n=4.5 (numWorkers=8) 00:12:14 run() called with n=4.5 (numWorkers=8) 00:12:14 run() called with n=5.5 (numWorkers=8) 00:12:14 run() called with n=4.5 (numWorkers=8) 00:12:14 run() called with n=4.5 (numWorkers=8) 00:12:14 run() called with n=4.5 (numWorkers=8) 00:12:14 run() called with n=3.5 (numWorkers=8) 00:12:14 run() called with n=4.5 (numWorkers=8) 00:12:14 run() called with n=3.5 (numWorkers=8) 00:12:14 run() called with n=3.5 (numWorkers=8) 00:12:14 run() called with n=4.5 (numWorkers=8) 00:12:14 run() called with n=3.5 (numWorkers=8) 00:12:14 run() called with n=2.5 (numWorkers=8) 00:12:14 run() called with n=3.5 (numWorkers=8) 00:12:14 run() called with n=2.5 (numWorkers=8) 00:12:14 run() called with n=3.5 (numWorkers=8) 00:12:14 run() called with n=3.5 (numWorkers=8) 00:12:14 run() called with n=2.5 (numWorkers=8) 00:12:14 run() called with n=1.5 (numWorkers=8) 00:12:14 run() called with n=2.5 (numWorkers=8) 00:12:14 run() called with n=3.5 (numWorkers=8) 00:12:14 run() called with n=2.5 (numWorkers=8) 00:12:14 run() called with n=2.5 (numWorkers=8) 00:12:14 run() called with n=2.5 (numWorkers=8) 00:12:14 run() called with n=0.5 (numWorkers=8) 00:12:14 run() called with n=1.5 (numWorkers=8) 00:12:14 run() called with n=2.5 (numWorkers=8) 00:12:14 run() called with n=1.5 (numWorkers=8) 00:12:14 run() called with n=1.5 (numWorkers=8) 00:12:14 run() called with n=1.5 (numWorkers=8) 00:12:14 run() called with n=1.5 (numWorkers=8) 00:12:14 run() called with n=-0.5 (numWorkers=8) 00:12:14 done() called (finished=0) 00:12:14 run() called with n=0.5 (numWorkers=8) 00:12:14 run() called with n=1.5 (numWorkers=8) 00:12:14 run() called with n=0.5 (numWorkers=8) 00:12:14 run() called with n=0.5 (numWorkers=8) 00:12:14 run() called with n=0.5 (numWorkers=8) 00:12:14 run() called with n=0.5 (numWorkers=8) 00:12:14 run() called with n=0.5 (numWorkers=8) 00:12:14 run() called with n=-0.5 (numWorkers=8) 00:12:14 done() called (finished=1) 00:12:14 run() called with n=-0.5 (numWorkers=8) 00:12:14 done() called (finished=2) 00:12:14 run() called with n=-0.5 (numWorkers=8) 00:12:14 done() called (finished=3) 00:12:14 run() called with n=-0.5 (numWorkers=8) 00:12:14 done() called (finished=4) 00:12:14 run() called with n=-0.5 (numWorkers=8) 00:12:14 done() called (finished=5) 00:12:14 00:12:14 00:12:14 # 00:12:14 # Fatal error in , line 0 00:12:14 # Check failed: IsEmpty(). 00:12:14 # 00:12:14 # 00:12:14 # 00:12:14 #FailureMessage Object: 08DFF4F4 00:12:14 ...- added a commit that references this issue
on Feb 8, 2022 - added 6 commits that reference this issue
on Mar 2, 2022
https://ci.nodejs.org/job/node-test-commit-arm/18980/nodes=centos7-arm64-gcc6/console