Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

EVG-18656 Fix OOM when running long running cypress tests locally #159

Merged
merged 2 commits into from
Jan 4, 2023

Conversation

khelif96
Copy link
Collaborator

@khelif96 khelif96 commented Jan 4, 2023

EVG-18656

Description

There appears to be some sort of problem with the more recent versions of cypress and chrome. Long-running tests are OOMing and crashing when run locally. Taking a look at the memory usage of the cypress process the longer the test runs the more memory it uses until it crashes. Luckily there's a flag we can toggle to help out with this but we should keep an eye on the issue for future cypress releases.
cypress-io/cypress#21135
cypress-io/cypress#23391
cypress-io/cypress#24905

Also updates cypress for good measure https://docs.cypress.io/guides/references/changelog#12-3-0

Screenshots

Cypress Memory usage
Before:
https://user-images.githubusercontent.com/4605522/210657670-3a45a3a3-6bee-4641-ab74-23d97a1d449e.mov
After:
image

Testing

Run cypress tests locally in chrome should no longer OOM (resmoke_filtering in particular)

@khelif96 khelif96 requested a review from a team January 4, 2023 22:00
@cypress
Copy link

cypress bot commented Jan 4, 2023



Test summary

97 0 2 0


Run details

Project Parsley
Status Passed
Commit 597e553
Started Jan 4, 2023 10:04 PM
Ended Jan 4, 2023 10:08 PM
Duration 03:43 💡
OS Linux Ubuntu -
Browser Custom Chromium 108

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@khelif96 khelif96 merged commit c7f5865 into evergreen-ci:main Jan 4, 2023
@khelif96 khelif96 deleted the EVG-18656 branch January 4, 2023 22:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants