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

Cypress CI failed with "detected that the Electron Renderer process just crashed" #592

Closed
junqiu-lei opened this issue Feb 26, 2024 · 2 comments · Fixed by #664
Closed

Comments

@junqiu-lei
Copy link
Member

What is the bug?

The local run can be passed but failed on CI environment

  Documents layer

We detected that the Electron Renderer process just crashed.

We have failed the current spec but will continue running the next spec.

This can happen for a number of different reasons.

If you're running lots of tests on a memory intense application.
  - Try increasing the CPU/memory on the machine you're running on.
  - Try enabling experimentalMemoryManagement in your config file.
  - Try lowering numTestsKeptInMemory in your config file during 'cypress open'.

You can learn more here:

https://on.cypress.io/renderer-process-crashed

  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        2                                                                                │
  │ Passing:      0                                                                                │
  │ Failing:      1                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      1                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     1 minute, 18 seconds                                                             │
  │ Spec Ran:     documentsLayer.cy.js                                                             │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘

How can one reproduce the bug?

Failed on CI, example: https://github.com/opensearch-project/dashboards-maps/actions/runs/8053561689/job/21996241052

What is the expected behavior?

Pass CI test

@dblock
Copy link
Member

dblock commented Jun 17, 2024

Catch All Triage - 1 2 3 4 5

@junqiu-lei Was this fixed?

@junqiu-lei
Copy link
Member Author

Hi @dblock this CI issue most likely related to cypress version/github runner capacities, we are trying to replace this maps repo CI with test pipeline from opensearch-dashboards-functional-test which is stable without issue. The maps tests for 2.15 version on release pipeline CI currently is passed. Adding tag with 2.16 for this issue.

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

Successfully merging a pull request may close this issue.

2 participants