Skip to content

Instantly share code, notes, and snippets.

@Unitech
Created April 23, 2020 13:36
Show Gist options
  • Save Unitech/4fc9e8b495c61bb2b4500fe987ebc937 to your computer and use it in GitHub Desktop.
Save Unitech/4fc9e8b495c61bb2b4500fe987ebc937 to your computer and use it in GitHub Desktop.
2020-04-23T15:35:59: PM2 log: App name:child id:9 disconnected
2020-04-23T15:35:59: PM2 log: App [child:9] exited with code [0] via signal [SIGINT]
2020-04-23T15:35:59: PM2 log: pid=8987 msg=process killed
2) "after each" hook for "should start maximum processes depending on CPU numbers"
11 passing (1s)
2 failing
1) God
Multi launching
"after each" hook for "should start maximum processes depending on CPU numbers":
Uncaught Error: write EPIPE
at ChildProcess.target._send (internal/child_process.js:835:20)
at ChildProcess.target.send (internal/child_process.js:706:19)
at sendHelper (internal/cluster/utils.js:26:15)
at send (internal/cluster/master.js:353:10)
at Worker.disconnect (internal/cluster/master.js:359:3)
at Worker.destroy (internal/cluster/master.js:372:10)
at Worker.<anonymous> (lib/God.js:262:30)
at Worker.EventEmitter.emit (domain.js:485:12)
at ChildProcess.<anonymous> (internal/cluster/worker.js:29:12)
at ChildProcess.EventEmitter.emit (domain.js:485:12)
at internal/child_process.js:839:39
at processTicksAndRejections (internal/process/task_queues.js:79:11)
2) God
Multi launching
"after each" hook for "should start maximum processes depending on CPU numbers":
Error: done() called multiple times
at /home/unitech/keymetrics/pm2-runtime/pm2/test/programmatic/god.mocha.js:198:9
at /home/unitech/keymetrics/pm2-runtime/pm2/test/programmatic/god.mocha.js:73:12
at wrapper (node_modules/async/internal/once.js:12:16)
at iterateeCallback (node_modules/async/internal/eachOfLimit.js:63:24)
at /home/unitech/keymetrics/pm2-runtime/pm2/node_modules/async/internal/onlyOnce.js:12:16
at /home/unitech/keymetrics/pm2-runtime/pm2/test/programmatic/god.mocha.js:65:14
at /home/unitech/keymetrics/pm2-runtime/pm2/lib/God/ActionMethods.js:390:14
at /home/unitech/keymetrics/pm2-runtime/pm2/lib/God/ActionMethods.js:354:14
at Timeout.<anonymous> (lib/God/Methods.js:166:16)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment