Giter Site home page Giter Site logo

Comments (13)

stefanpenner avatar stefanpenner commented on June 29, 2024

broccoli-persistent-filter doesn’t provide workers. This error seems strange and likely incomplete.

Can you please include version of node, and the plugin causing issues. Ideally also a reproduction, as is this isn’t actionable yet.

from broccoli-persistent-filter.

theoldcounty avatar theoldcounty commented on June 29, 2024

still getting the error.
I believe the node version is v6.14.3 or v6.11.0 (this is what I think failed on Jenkins)

microplugin#0.0.3 bower_components/microplugin
:site:emberBuild Canceled: Broccoli Builder ran into an error with broccoli-persistent-filter:Babel > [Babel: ember-lodash] plugin. 💥
Worker terminated unexpectedly
Error: Worker terminated unexpectedly
at ChildProcess. (/opt/home/jenkins/workspace/uestions-preview-tooltips-part-2/site/src/ember/node_modules/workerpool/lib/WorkerHandler.js:181:17)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
FAILED

from broccoli-persistent-filter.

stefanpenner avatar stefanpenner commented on June 29, 2024

Can you share the version of ember-lodash?

from broccoli-persistent-filter.

theoldcounty avatar theoldcounty commented on June 29, 2024

this has failed again after the update - again - please stop


pikaday#1.4.0 bower_components/pikaday
:site:emberBuild Canceled: Broccoli Builder ran into an error with `broccoli-persistent-filter:Babel > [Babel: ember-lodash]` plugin. 💥
Worker terminated unexpectedly
Error: Worker terminated unexpectedly
    at ChildProcess.<anonymous> (/opt/home/jenkins/workspace/ture_CORE-2884-agenda-URL-copier/site/src/ember/node_modules/ember-cli-tooltipster/node_modules/workerpool/lib/WorkerHandler.js:246:17)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)

from broccoli-persistent-filter.

stefanpenner avatar stefanpenner commented on June 29, 2024

@theoldcountry as a workaround can you set the environment variable JOBS=1? That should disable the use of workers as we debug this issue.

from broccoli-persistent-filter.

theoldcounty avatar theoldcounty commented on June 29, 2024

I don't have access to devops. This is breaking builds globally.

Build Canceled: Broccoli Builder ran into an error with `broccoli-persistent-filter:Babel > [Babel: ember-lodash]` plugin. 💥
Worker terminated unexpectedly
Error: Worker terminated unexpectedly
    at ChildProcess.<anonymous> (/opt/home/jenkins/workspace/-2903-user-name-to-be-filterable/site/src/ember/node_modules/ember-cli-tooltipster/node_modules/workerpool/lib/WorkerHandler.js:246:17)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
:site:emberTest FAILED

FAILURE: Build failed with an exception.

from broccoli-persistent-filter.

stefanpenner avatar stefanpenner commented on June 29, 2024
  • again - please stop

@theoldcounty it is not our intention to break anything. As our CI is passing, the issue seems to be pretty unexpected. Although this is understandably annoying, have some patience I will debug shortly.

from broccoli-persistent-filter.

stefanpenner avatar stefanpenner commented on June 29, 2024

@theoldcounty as asked above could you:

  • Can you share the version of ember-lodash?
  • Can you share the version of workerpool?

from broccoli-persistent-filter.

stefanpenner avatar stefanpenner commented on June 29, 2024

Could you also include the version of ember-cli-tooltipster ?

from broccoli-persistent-filter.

stefanpenner avatar stefanpenner commented on June 29, 2024

Interestingly, while debugging this I am able to reproduce a similar error when:

  • running more then 1 workerpool
  • starting with a debugger

The error in question, is actually due to the child processes both being told to bind to the same inspector port.

I doubt your jenkins runs are starting processes with a debugger enabled... so the above may not be your issue. But I'll see if we can at-least surface a better error message in this situations.

from broccoli-persistent-filter.

stefanpenner avatar stefanpenner commented on June 29, 2024

I think we can get the exitStatus code at-least printed. That way, we can surface why the process exited unexpectedly.

In my case, I am getting exit(12) which is coming from: https://github.com/nodejs/node/blob/2e2670a2073c89d700ab274a47bb0e6036046e65/src/node.cc#L574

from broccoli-persistent-filter.

stefanpenner avatar stefanpenner commented on June 29, 2024

I've opened a PR on workerpool, to surface additional information when process's exit unexpectedly: josdejong/workerpool#58

from broccoli-persistent-filter.

stefanpenner avatar stefanpenner commented on June 29, 2024

I'm still not quite sure what is causing your issue, as I doubt you are enabling the debug port in CI (but maybe you are?)

Anyways, in the meantime I have submitted a fix to workerpool for the issue \w a debugger and multiple pools which results in Worker Exited Unexpectedly error: josdejong/workerpool#60

from broccoli-persistent-filter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.