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
You had previously landed something that has the async-hooks tests running parallel, right? If so, maybe try the stress test again under load by passing something like -j 96 --repeat 960? Just an idea, not a particularly informed guess or anything as I haven't looked at the test. It's kinda my standard first thing to try when I can't make a test that's failing on CI fail otherwise.
You had previously landed something that has the async-hooks tests running parallel, right? If so, maybe try the stress test again under load by passing something like -j 96 --repeat 960? Just an idea, not a particularly informed guess or anything as I haven't looked at the test. It's kinda my standard first thing to try when I can't make a test that's failing on CI fail otherwise.
I think there's a default shell setting on macOS that will stop things at 100, so I usually go for just under that as a first pass. And 96 instead of 97, 98, or 99 because it's kinda sorta almost a power of 2 (64 + 32), and we all prefer powers of 2, don't we?
not ok 24 async-hooks/test-signalwrap
---
duration_ms: 7.424
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/aix61-ppc64/test/common/index.js:485:10)
at process.onsigusr2 (/home/iojs/build/workspace/node-stress-single-test/nodes/aix61-ppc64/test/async-hooks/test-signalwrap.js:48:34)
at process.<anonymous> (/home/iojs/build/workspace/node-stress-single-test/nodes/aix61-ppc64/test/common/index.js:517:15)
at emitNone (events.js:105:13)
at process.emit (events.js:207:7)
at Signal.wrap.onsignal (internal/process.js:198:44)
...
(1 out of 100 while testing with -j 96 async-hooks)
not ok 45 async-hooks/test-signalwrap
---
duration_ms: 0.156
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:501:10)
at process.onsigusr2 (/home/iojs/build/workspace/node-test-commit-linux/nodes/centos7-64/test/async-hooks/test-signalwrap.js:48:34)
at process.<anonymous> (/home/iojs/build/workspace/node-test-commit-linux/nodes/centos7-64/test/common/index.js:533:15)
at emitNone (events.js:106:13)
at process.emit (events.js:208:7)
at Signal.wrap.onsignal (internal/process.js:208:44)
...
Oh, thank goodness, the first one (-j 96) managed to reproduce the issue:
not ok 25 async-hooks/test-signalwrap
---
duration_ms: 11.527
severity: fail
stack: |-
Mismatched onsigusr2 function calls. Expected exactly 2, actual 1.
at Object.exports.mustCall (/home/iojs/build/workspace/node-stress-single-test/nodes/alpine34-container-x64/test/common/index.js:496:10)
at Object.<anonymous> (/home/iojs/build/workspace/node-stress-single-test/nodes/alpine34-container-x64/test/async-hooks/test-signalwrap.js:14:30)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:577:32)
at tryModuleLoad (module.js:517:12)
at Function.Module._load (module.js:509:3)
at Function.Module.runMain (module.js:701:10)
at startup (bootstrap_node.js:194:16)
...
Activity
gireeshpunathil commentedon Jul 4, 2017
Running a thousand times locally to see if it fails.
refack commentedon Jul 4, 2017
Stress CI (the whole
test/async-hooks/suite [which runs in parallel]): https://ci.nodejs.org/job/node-stress-single-test/1314/nodes=aix61-ppc64/refack commentedon Jul 5, 2017
Stress returned no results 🤷♂️
Trott commentedon Jul 5, 2017
You had previously landed something that has the async-hooks tests running parallel, right? If so, maybe try the stress test again under load by passing something like
-j 96 --repeat 960? Just an idea, not a particularly informed guess or anything as I haven't looked at the test. It's kinda my standard first thing to try when I can't make a test that's failing on CI fail otherwise.refack commentedon Jul 5, 2017
Worth a shot - https://ci.nodejs.org/job/node-stress-single-test/1315/nodes=aix61-ppc64/
Why 96?
Trott commentedon Jul 5, 2017
I think there's a default shell setting on macOS that will stop things at 100, so I usually go for just under that as a first pass. And 96 instead of 97, 98, or 99 because it's kinda sorta almost a power of 2 (64 + 32), and we all prefer powers of 2, don't we?
refack commentedon Jul 5, 2017
@Trott you are an evil genius 😉 this gave us a plethora of weirdness... No fails in
async-hooks/test-signalwrapthough.A harness burp:
A fail in callback-error (here we go again 🤦♂️ )
A different callback-error error:
BridgeAR commentedon Sep 28, 2017
@refack if I understand your comment correct it seems like the original error just had a hiccup and other errors came up as being flaky instead?
refack commentedon Sep 28, 2017
@BridgeAR It seems like stressing AIX gives many varied failures. But AFAICT the issue in the OP is still unresolved, but also unreproducible.
Personally I haven't seen any of those since. I'll run another stress test, and if nothing comes up consistently I think this can be closed.
https://ci.nodejs.org/job/node-stress-single-test/1424/nodes=aix61-ppc64/
refack commentedon Sep 29, 2017
Well we got one of the original:
(1 out of 100 while testing with
-j 96 async-hooks)joyeecheung commentedon Oct 31, 2017
Showed up in the 8.9.0 LTS proposal #16630 , this time on CentOS
https://ci.nodejs.org/job/node-test-commit-linux/13690/nodes=centos7-64/consoleFull
4 remaining items
Trott commentedon Dec 22, 2017
I think I know what's probably causing this....but first let me see if I can reproduce it...
Stress test with
-j 96 --repeat 192 test/async-hooks/test-signalwrap.json alpine34: https://ci.nodejs.org/job/node-stress-single-test/1571/nodes=alpine34-container-x64/Trott commentedon Dec 22, 2017
Also, with
-j 1 --repeat 192 test/async-hooks/test-signalwrap.js: https://ci.nodejs.org/job/node-stress-single-test/1572/nodes=alpine34-container-x64/Trott commentedon Dec 22, 2017
Oh, thank goodness, the first one (
-j 96) managed to reproduce the issue:test: fix unreliable async-hooks/test-signalwrap
Trott commentedon Dec 22, 2017
Proposed fix: #17827
test: fix unreliable async-hooks/test-signalwrap
test: fix unreliable async-hooks/test-signalwrap
test: fix unreliable async-hooks/test-signalwrap
test: fix unreliable async-hooks/test-signalwrap
test: fix unreliable async-hooks/test-signalwrap
test: fix unreliable async-hooks/test-signalwrap
test: fix unreliable async-hooks/test-signalwrap