Skip to content
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

Memory leak when running CICD flow #2134

Open
1 task done
christian-hess-94 opened this issue Nov 12, 2024 · 2 comments
Open
1 task done

Memory leak when running CICD flow #2134

christian-hess-94 opened this issue Nov 12, 2024 · 2 comments

Comments

@christian-hess-94
Copy link

Is there an existing issue for this?

  • I have searched the existing issues and didn't find mine.

Steps to reproduce

Sadly I'm not able to provide a reproducible example as the issue randomly started happening.
We are getting
(node:3196) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 unpipe listeners added to [Socket]. Use emitter.setMaxListeners() to increase limit
when running our CICD pipeline. There were not recent changes to it

Actual results

The workflow stops

Expected results

The workflow continues and finishes the tests

About app

It's a close source app for a startup. We are using maestro for running tests agains our storybook variant which houses all components from our design system.

About environment

The cicd workflow is being run on a ubuntu github actions CI machine

Logs

Logs
    Tap on "SIDEBAR"...
 COMPLETED

    Wait for animation to end...
(node:3196) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 end listeners added to [Socket]. Use emitter.setMaxListeners() to increase limit
 COMPLETED

    Tap on id: Storybook.ListView.SearchBar...
(node:3196) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 unpipe listeners added to [Socket]. Use emitter.setMaxListeners() to increase limit
(node:3196) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 data listeners added to [Socket]. Use emitter.setMaxListeners() to increase limit
(node:3196) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added to [Socket]. Use emitter.setMaxListeners() to increase limit
(node:3196) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [Socket]. Use emitter.setMaxListeners() to increase limit
(node:3196) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 finish listeners added to [Socket]. Use emitter.setMaxListeners() to increase limit
 FAILED

Maestro version

1.33.1

How did you install Maestro?

install script (https://get.maestro.mobile.dev)

Anything else?

No response

Copy link

linear bot commented Nov 12, 2024

@christian-hess-94
Copy link
Author

Upon additional debugging, this seems to happen exclusively when the CICD machine tries to interact with the storybook Search bar, which we use to filter components for each test being carried. it seems that therre might be some kind of animation that is messing with the memory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant