Open christian-hess-94 opened 1 week ago
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
Is there an existing issue for this?
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 itActual 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