Skip to content

Log4js 6.3 crashes on linux when using the multiprocess appender #1037

@nicojs

Description

@nicojs

Version 6.3 isn't working anymore for Stryker on linux. We're using the multiprocess appender. After starting it in worker mode we get these errors:

     '\tError: connect ECONNREFUSED 127.0.0.1:43793\n' +
    '\t    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16)\n' +
    "\tEmitted 'error' event on Socket instance at:\n" +
    '\t    at emitErrorNT (internal/streams/destroy.js:92:8)\n' +
    '\t    at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)\n' +
    '\t    at processTicksAndRejections (internal/process/task_queues.js:84:21) {\n' +
    "\t  errno: 'ECONNREFUSED',\n" +
    "\t  code: 'ECONNREFUSED',\n" +
    "\t  syscall: 'connect',\n" +
    "\t  address: '127.0.0.1',\n" +
    '\t  port: 43793\n' +

In CI/CD https://github.com/stryker-mutator/stryker/runs/941753327?check_suite_focus=true.

I was able to reproduce on WSL.

Will try to create detailed reproduction in the coming days. I don't see a lot of code changes, the only substantial commit seems to be 3cb7f52

I don't know why this would break the multiprocess appender. Maybe @nomiddlename already has a hunch? 😅

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions