Chromium渲染器进程刚刚在Jenkins上崩溃

Chromium渲染器进程刚刚在Jenkins上崩溃,jenkins,cypress,chromium,Jenkins,Cypress,Chromium,在詹金斯身上碰到这个问题。我已经经营Cypress一个月了,没有任何问题。一旦我从5.3.0->5.5.0更新了版本,就开始出现此问题 注意:我的测试不在docker容器中 We detected that the Chromium Renderer process just crashed. This is the equivalent to seeing the 'sad face' when Chrome dies. This can happen for a number of di

在詹金斯身上碰到这个问题。我已经经营Cypress一个月了,没有任何问题。一旦我从
5.3.0
->
5.5.0
更新了版本,就开始出现此问题

注意:我的测试不在docker容器中

We detected that the Chromium Renderer process just crashed.

This is the equivalent to seeing the 'sad face' when Chrome dies.

This can happen for a number of different reasons:

- You wrote an endless loop and you must fix your own code
- There is a memory leak in Cypress (unlikely but possible)
- You are running Docker (there is an easy fix for this: see link below)
- You are running lots of tests on a memory intense application
- You are running in a memory starved VM environment
- There are problems with your GPU / GPU drivers
- There are browser bugs in Chromium

You can learn more including how to fix Docker here:

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

自托管GitLab中也存在同样的问题。这可能是因为缺乏记忆

以下解决方案可能会有所帮助:

  • 设置<代码>--禁用开发shm使用选项:
  • 为Jenkins分配更多内存

  • 通过在Docker容器中运行Cypress测试解决了此问题。

    我对
    Cypress 6.5.0
    Cucumber.js的组合也有同样的问题
    
    We detected that the Chromium Renderer process just crashed.
    
    This is the equivalent to seeing the 'sad face' when Chrome dies.
    
    This can happen for a number of different reasons:
    
    - You wrote an endless loop and you must fix your own code
    - There is a memory leak in Cypress (unlikely but possible)
    - You are running Docker (there is an easy fix for this: see link below)
    - You are running lots of tests on a memory intense application
    - You are running in a memory starved VM environment
    - There are problems with your GPU / GPU drivers
    - There are browser bugs in Chromium
    
    You can learn more including how to fix Docker here:
    
    https://on.cypress.io/renderer-process-crashed