-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
test: investigate - async-hooks/test-graph.signal #14568
Comments
Making sure it's just a flake: https://ci.nodejs.org/job/node-test-commit-linux/11526/ |
@refack do you still know the outcome of that CI? @nodejs/async_hooks it would be great if you could have a look at this. Having a green CI for the next Code & Learn would be really neat! |
It is a flake (did not reproduce under normal load). |
https://ci.nodejs.org/job/node-test-commit-linux/14214/nodes=centos7-64/consoleFull: not ok 27 async-hooks/test-graph.signal
---
duration_ms: 0.205
severity: fail
stack: |-
Mismatched onsigusr2Again function calls. Expected exactly 1, actual 0.
at Object.exports.mustCall (/home/iojs/build/workspace/node-test-commit-linux/nodes/centos7-64/test/common/index.js:490:10)
at process.onsigusr2 (/home/iojs/build/workspace/node-test-commit-linux/nodes/centos7-64/test/async-hooks/test-graph.signal.js:30:34)
at process.<anonymous> (/home/iojs/build/workspace/node-test-commit-linux/nodes/centos7-64/test/common/index.js:522:15)
at process.emit (events.js:159:13)
at Signal.wrap.onsignal (internal/process.js:198:44) |
ubuntu1604_sharedlibs_fips20_x64 too: 03:19:01 not ok 27 async-hooks/test-graph.signal
03:19:01 ---
03:19:01 duration_ms: 0.255
03:19:01 severity: fail
03:19:01 stack: |-
03:19:01 Mismatched onsigusr2Again function calls. Expected exactly 1, actual 0.
03:19:01 at Object.exports.mustCall (/home/iojs/build/workspace/node-test-commit-linux-linked/nodes/ubuntu1604_sharedlibs_fips20_x64/test/common/index.js:488:10)
03:19:01 at process.onsigusr2 (/home/iojs/build/workspace/node-test-commit-linux-linked/nodes/ubuntu1604_sharedlibs_fips20_x64/test/async-hooks/test-graph.signal.js:30:34)
03:19:01 at process.<anonymous> (/home/iojs/build/workspace/node-test-commit-linux-linked/nodes/ubuntu1604_sharedlibs_fips20_x64/test/common/index.js:522:15)
03:19:01 at process.emit (events.js:126:13)
03:19:01 at Signal.wrap.onsignal (internal/process.js:198:44)
03:19:01 ... |
Stress test under load (96 concurrent processes): https://ci.nodejs.org/job/node-stress-single-test/1556/nodes=centos5-64/ (UPDATE: clean) |
Now trying a stress test without load, because wondering if maybe it's when something happens too fast or something: https://ci.nodejs.org/job/node-stress-single-test/1557/nodes=centos5-64/console (UPDATE: clean) |
My theory at this point is that If that makes sense, the solution might be to use an interval or something to keep the event loop open. Will experiment with that, but would prefer to be able to reproduce first... |
Seeing if I have any better luck with a centos7-64 stress test: 1 process: https://ci.nodejs.org/job/node-stress-single-test/1558/nodes=centos7-64/ 96 processes: https://ci.nodejs.org/job/node-stress-single-test/1559/nodes=centos7-64/ |
Hooray! The CentOS7-64 with 96 simultaneous processes is showing failures! So now I can try out a fix... not ok 1745 async-hooks/test-graph.signal
---
duration_ms: 8.664
severity: fail
stack: |-
Mismatched onsigusr2Again function calls. Expected exactly 1, actual 0.
at Object.exports.mustCall (/home/iojs/build/workspace/node-stress-single-test/nodes/centos7-64/test/common/index.js:488:10)
at process.onsigusr2 (/home/iojs/build/workspace/node-stress-single-test/nodes/centos7-64/test/async-hooks/test-graph.signal.js:30:34)
at process.<anonymous> (/home/iojs/build/workspace/node-stress-single-test/nodes/centos7-64/test/common/index.js:522:15)
at process.emit (events.js:126:13)
at Signal.wrap.onsignal (internal/process.js:198:44) |
Make sure event loop remains open long enough for signal to be received. Fixes: nodejs#14568
Proposed fix: #17509 |
master
https://ci.nodejs.org/job/node-test-commit-linux/11523/nodes=centos5-64
code
/cc @nodejs/async_hooks @Fishrock123 @thlorenz
The text was updated successfully, but these errors were encountered: