dashboards-maps icon indicating copy to clipboard operation
dashboards-maps copied to clipboard

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

Open junqiu-lei opened this issue 1 year ago • 2 comments

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

junqiu-lei avatar Feb 26 '24 18:02 junqiu-lei