cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
47.02k stars 3.18k forks source link

Warning: vkCreateInstance: Found no drivers! warning shown when running Cypress #29085

Closed Rajesh-Kodandam closed 7 months ago

Rajesh-Kodandam commented 8 months ago

Current behavior

Jenkis e2e tests are failing due to Vulkan

====================================================================================================
17:37:39    (Run Starting)
17:37:39    ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
17:37:39    │ Cypress:        13.6.6                                                                         │
17:37:39    │ Browser:        Chrome 118 (headless)                                                          │
17:37:39    │ Node Version:   v20.9.0 (/usr/local/bin/node)                                                  │
17:37:39    │ Specs:          2 found (content-internal-links.cy.ts, sidebar.cy.ts)                          │
17:37:39    │ Searched:       cypress/e2e/**/*                                                               │
17:37:39    └────────────────────────────────────────────────────────────────────────────────────────────────┘
17:37:39  ────────────────────────────────────────────────────────────────────────────────────────────────────
17:37:39                                                                                                      
17:37:39    Running:  content-internal-links.cy.ts                                                    (1 of 2)
17:37:42  Couldn't determine Mocha version
17:37:42     | FDP Documentation |
17:37:42      Frontend Development Platform (FDP) | 
17:38:14        1) Development Environment Stepup
17:38:46        2) Quick Start Guide
17:39:19        3) Tech Stack
17:39:19       Getting started | 
17:39:19         Quick start | 
17:39:37  Warning: vkCreateInstance: Found no drivers!
17:39:37  Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
17:39:37      at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
17:39:37      at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
17:39:37      at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
17:39:37      at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
17:39:37      at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)

### Desired behavior

_No response_

### Test code to reproduce

cypress: 13.6.6
contianer image: node-20.11.0-chrome-121.0.6167.184-1-ff-123.0-edge-121.0.2277.128-1

seems my e2e tests are failing with below errors

====================================================================================================
17:37:39    (Run Starting)
17:37:39    ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
17:37:39    │ Cypress:        13.6.6                                                                         │
17:37:39    │ Browser:        Chrome 118 (headless)                                                          │
17:37:39    │ Node Version:   v20.9.0 (/usr/local/bin/node)                                                  │
17:37:39    │ Specs:          2 found (content-internal-links.cy.ts, sidebar.cy.ts)                          │
17:37:39    │ Searched:       cypress/e2e/**/*                                                               │
17:37:39    └────────────────────────────────────────────────────────────────────────────────────────────────┘
17:37:39  ────────────────────────────────────────────────────────────────────────────────────────────────────
17:37:39                                                                                                      
17:37:39    Running:  content-internal-links.cy.ts                                                    (1 of 2)
17:37:42  Couldn't determine Mocha version
17:37:42     | FDP Documentation |
17:37:42      Frontend Development Platform (FDP) | 
17:38:14        1) Development Environment Stepup
17:38:46        2) Quick Start Guide
17:39:19        3) Tech Stack
17:39:19       Getting started | 
17:39:19         Quick start | 
17:39:37  Warning: vkCreateInstance: Found no drivers!
17:39:37  Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
17:39:37      at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
17:39:37      at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
17:39:37      at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
17:39:37      at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
17:39:37      at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)

Cypress Version

13.6.6

Node version

20.11.0

Operating System

macOS Sonoma 14.3.1

Debug Logs

No response

Other

No response

MikeMcC399 commented 7 months ago

@TestIsTest001

If your own CI workflow is not being blocked, then you can ignore this error it seems.

chlorophant commented 7 months ago

This issue was breaking one of my pipelines.

yktoo commented 7 months ago

With DEBUG turned on, the Cypress process gets stuck indefinitely with:

Log output ``` cypress:server:util:process_profiler current & mean memory and CPU usage by process group: cypress:server:util:process_profiler ┌─────────┬───────────────────┬──────────────┬──────────────────────┬────────────┬────────────────┬──────────┬──────────────┬─────────────┐ cypress:server:util:process_profiler │ (index) │ group │ processCount │ pids │ cpuPercent │ meanCpuPercent │ memRssMb │ meanMemRssMb │ maxMemRssMb │ cypress:server:util:process_profiler ├─────────┼───────────────────┼──────────────┼──────────────────────┼────────────┼────────────────┼──────────┼──────────────┼─────────────┤ cypress:server:util:process_profiler │ 0 │ 'Electron' │ 1 │ '804' │ 6.47 │ 4.33 │ 765.18 │ 469.44 │ 765.18 │ cypress:server:util:process_profiler │ 1 │ 'cypress' │ 1 │ '504' │ 1.78 │ 1.84 │ 510.59 │ 484.45 │ 522.17 │ cypress:server:util:process_profiler │ 2 │ 'electron-shared' │ 4 │ '508, 660, 509, 696' │ 0.38 │ 0.19 │ 229.5 │ 203.32 │ 229.5 │ cypress:server:util:process_profiler │ 3 │ 'plugin' │ 1 │ '721' │ 0 │ 0.08 │ 133.74 │ 173.11 │ 212.47 │ cypress:server:util:process_profiler │ 4 │ 'other' │ 2 │ '1030, 1031' │ 0 │ 0 │ 5.16 │ 5.2 │ 5.29 │ cypress:server:util:process_profiler │ 5 │ 'TOTAL' │ 9 │ '-' │ 8.63 │ 5.55 │ 1644.17 │ 1207.02 │ 1644.17 │ cypress:server:util:process_profiler └─────────┴───────────────────┴──────────────┴──────────────────────┴────────────┴────────────────┴──────────┴──────────────┴─────────────┘ +10s cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 59182 } +3s cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 53568 } +233ms cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 53526 } +1s cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 53556 } +52ms cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 53542 } +0ms cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 59194 } +0ms cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 59184 } +0ms cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 53446 } +10ms cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 59204 } +0ms cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 59214 } +0ms cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 53498 } +8ms cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 53514 } +6ms cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 53430 } +34ms cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 53538 } +15ms cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 53576 } +22ms cypress:server:util:process_profiler current & mean memory and CPU usage by process group: cypress:server:util:process_profiler ┌─────────┬───────────────────┬──────────────┬──────────────────────┬────────────┬────────────────┬──────────┬──────────────┬─────────────┐ cypress:server:util:process_profiler │ (index) │ group │ processCount │ pids │ cpuPercent │ meanCpuPercent │ memRssMb │ meanMemRssMb │ maxMemRssMb │ cypress:server:util:process_profiler ├─────────┼───────────────────┼──────────────┼──────────────────────┼────────────┼────────────────┼──────────┼──────────────┼─────────────┤ cypress:server:util:process_profiler │ 0 │ 'Electron' │ 1 │ '804' │ 7.09 │ 4.88 │ 817.3 │ 539.02 │ 817.3 │ cypress:server:util:process_profiler │ 1 │ 'cypress' │ 1 │ '504' │ 0.05 │ 1.54 │ 510.39 │ 488.78 │ 522.17 │ cypress:server:util:process_profiler │ 2 │ 'electron-shared' │ 4 │ '508, 660, 509, 696' │ 0.09 │ 0.17 │ 229.49 │ 207.69 │ 229.5 │ cypress:server:util:process_profiler │ 3 │ 'plugin' │ 1 │ '721' │ 0 │ 0.06 │ 133.74 │ 165.23 │ 212.47 │ cypress:server:util:process_profiler │ 4 │ 'other' │ 2 │ '1054, 1055' │ 0 │ 0 │ 5.15 │ 5.19 │ 5.29 │ cypress:server:util:process_profiler │ 5 │ 'TOTAL' │ 9 │ '-' │ 7.23 │ 5.83 │ 1696.08 │ 1288.53 │ 1696.08 │ cypress:server:util:process_profiler └─────────┴───────────────────┴──────────────┴──────────────────────┴────────────┴────────────────┴──────────┴──────────────┴─────────────┘ +10s cypress:server:util:process_profiler current & mean memory and CPU usage by process group: cypress:server:util:process_profiler ┌─────────┬───────────────────┬──────────────┬──────────────────────┬────────────┬────────────────┬──────────┬──────────────┬─────────────┐ cypress:server:util:process_profiler │ (index) │ group │ processCount │ pids │ cpuPercent │ meanCpuPercent │ memRssMb │ meanMemRssMb │ maxMemRssMb │ cypress:server:util:process_profiler ├─────────┼───────────────────┼──────────────┼──────────────────────┼────────────┼────────────────┼──────────┼──────────────┼─────────────┤ cypress:server:util:process_profiler │ 0 │ 'Electron' │ 1 │ '804' │ 7.06 │ 5.24 │ 639.09 │ 555.69 │ 817.3 │ cypress:server:util:process_profiler │ 1 │ 'cypress' │ 1 │ '504' │ 0.06 │ 1.33 │ 509.4 │ 491.72 │ 522.17 │ cypress:server:util:process_profiler │ 2 │ 'electron-shared' │ 4 │ '508, 660, 509, 696' │ 0.09 │ 0.16 │ 230.56 │ 210.95 │ 230.56 │ cypress:server:util:process_profiler │ 3 │ 'plugin' │ 1 │ '721' │ 0 │ 0.05 │ 133.74 │ 159.98 │ 212.47 │ cypress:server:util:process_profiler │ 4 │ 'other' │ 2 │ '1078, 1079' │ 0 │ 0 │ 5.21 │ 5.2 │ 5.29 │ cypress:server:util:process_profiler │ 5 │ 'TOTAL' │ 9 │ '-' │ 7.2 │ 6.03 │ 1518.01 │ 1321.32 │ 1696.08 │ cypress:server:util:process_profiler └─────────┴───────────────────┴──────────────┴──────────────────────┴────────────┴────────────────┴──────────┴──────────────┴─────────────┘ +10s cypress:server:util:process_profiler current & mean memory and CPU usage by process group: cypress:server:util:process_profiler ┌─────────┬───────────────────┬──────────────┬──────────────────────┬────────────┬────────────────┬──────────┬──────────────┬─────────────┐ cypress:server:util:process_profiler │ (index) │ group │ processCount │ pids │ cpuPercent │ meanCpuPercent │ memRssMb │ meanMemRssMb │ maxMemRssMb │ cypress:server:util:process_profiler ├─────────┼───────────────────┼──────────────┼──────────────────────┼────────────┼────────────────┼──────────┼──────────────┼─────────────┤ cypress:server:util:process_profiler │ 0 │ 'Electron' │ 1 │ '804' │ 7.07 │ 5.5 │ 751.32 │ 583.64 │ 817.3 │ cypress:server:util:process_profiler │ 1 │ 'cypress' │ 1 │ '504' │ 0.46 │ 1.22 │ 467.35 │ 488.68 │ 522.17 │ cypress:server:util:process_profiler │ 2 │ 'electron-shared' │ 4 │ '508, 660, 509, 696' │ 0.1 │ 0.15 │ 230.36 │ 213.38 │ 230.56 │ cypress:server:util:process_profiler │ 3 │ 'plugin' │ 1 │ '721' │ 0 │ 0.04 │ 133.74 │ 156.23 │ 212.47 │ cypress:server:util:process_profiler │ 4 │ 'other' │ 2 │ '1102, 1103' │ 0 │ 0 │ 5.21 │ 5.2 │ 5.29 │ cypress:server:util:process_profiler │ 5 │ 'TOTAL' │ 9 │ '-' │ 7.63 │ 6.23 │ 1587.98 │ 1354.65 │ 1696.08 │ cypress:server:util:process_profiler └─────────┴───────────────────┴──────────────┴──────────────────────┴────────────┴────────────────┴──────────┴──────────────┴─────────────┘ +10s cypress:server:util:process_profiler current & mean memory and CPU usage by process group: cypress:server:util:process_profiler ┌─────────┬───────────────────┬──────────────┬──────────────────────┬────────────┬────────────────┬──────────┬──────────────┬─────────────┐ cypress:server:util:process_profiler │ (index) │ group │ processCount │ pids │ cpuPercent │ meanCpuPercent │ memRssMb │ meanMemRssMb │ maxMemRssMb │ cypress:server:util:process_profiler ├─────────┼───────────────────┼──────────────┼──────────────────────┼────────────┼────────────────┼──────────┼──────────────┼─────────────┤ cypress:server:util:process_profiler │ 0 │ 'Electron' │ 1 │ '804' │ 7.16 │ 5.71 │ 751.39 │ 604.61 │ 817.3 │ cypress:server:util:process_profiler │ 1 │ 'cypress' │ 1 │ '504' │ 0.05 │ 1.09 │ 467.86 │ 486.36 │ 522.17 │ cypress:server:util:process_profiler │ 2 │ 'electron-shared' │ 4 │ '508, 660, 509, 696' │ 0.09 │ 0.15 │ 230.33 │ 215.26 │ 230.56 │ cypress:server:util:process_profiler │ 3 │ 'plugin' │ 1 │ '721' │ 0 │ 0.04 │ 133.74 │ 153.42 │ 212.47 │ cypress:server:util:process_profiler │ 4 │ 'other' │ 2 │ '1126, 1127' │ 0 │ 0 │ 5.25 │ 5.2 │ 5.29 │ cypress:server:util:process_profiler │ 5 │ 'TOTAL' │ 9 │ '-' │ 7.3 │ 6.35 │ 1588.57 │ 1380.64 │ 1696.08 │ cypress:server:util:process_profiler └─────────┴───────────────────┴──────────────┴──────────────────────┴────────────┴────────────────┴──────────┴──────────────┴─────────────┘ +10s cypress:server:util:process_profiler current & mean memory and CPU usage by process group: cypress:server:util:process_profiler ┌─────────┬───────────────────┬──────────────┬──────────────────────┬────────────┬────────────────┬──────────┬──────────────┬─────────────┐ cypress:server:util:process_profiler │ (index) │ group │ processCount │ pids │ cpuPercent │ meanCpuPercent │ memRssMb │ meanMemRssMb │ maxMemRssMb │ cypress:server:util:process_profiler ├─────────┼───────────────────┼──────────────┼──────────────────────┼────────────┼────────────────┼──────────┼──────────────┼─────────────┤ cypress:server:util:process_profiler │ 0 │ 'Electron' │ 1 │ '804' │ 7.05 │ 5.86 │ 730.81 │ 618.63 │ 817.3 │ cypress:server:util:process_profiler │ 1 │ 'cypress' │ 1 │ '504' │ 0.04 │ 0.99 │ 468.79 │ 484.61 │ 522.17 │ cypress:server:util:process_profiler │ 2 │ 'electron-shared' │ 4 │ '508, 660, 509, 696' │ 0.09 │ 0.14 │ 230.33 │ 216.77 │ 230.56 │ cypress:server:util:process_profiler │ 3 │ 'plugin' │ 1 │ '721' │ 0 │ 0.03 │ 133.74 │ 151.24 │ 212.47 │ cypress:server:util:process_profiler │ 4 │ 'other' │ 2 │ '1150, 1151' │ 0 │ 0 │ 5.21 │ 5.2 │ 5.29 │ cypress:server:util:process_profiler │ 5 │ 'TOTAL' │ 9 │ '-' │ 7.19 │ 6.43 │ 1568.88 │ 1399.46 │ 1696.08 │ cypress:server:util:process_profiler └─────────┴───────────────────┴──────────────┴──────────────────────┴────────────┴────────────────┴──────────┴──────────────┴─────────────┘ +10s cypress:server:util:process_profiler current & mean memory and CPU usage by process group: cypress:server:util:process_profiler ┌─────────┬───────────────────┬──────────────┬──────────────────────┬────────────┬────────────────┬──────────┬──────────────┬─────────────┐ cypress:server:util:process_profiler │ (index) │ group │ processCount │ pids │ cpuPercent │ meanCpuPercent │ memRssMb │ meanMemRssMb │ maxMemRssMb │ cypress:server:util:process_profiler ├─────────┼───────────────────┼──────────────┼──────────────────────┼────────────┼────────────────┼──────────┼──────────────┼─────────────┤ cypress:server:util:process_profiler │ 0 │ 'Electron' │ 1 │ '804' │ 7.15 │ 5.99 │ 640.63 │ 620.83 │ 817.3 │ cypress:server:util:process_profiler │ 1 │ 'cypress' │ 1 │ '504' │ 0.05 │ 0.9 │ 467.9 │ 483.09 │ 522.17 │ cypress:server:util:process_profiler │ 2 │ 'electron-shared' │ 4 │ '508, 660, 509, 696' │ 0.09 │ 0.14 │ 230.23 │ 217.99 │ 230.56 │ cypress:server:util:process_profiler │ 3 │ 'plugin' │ 1 │ '721' │ 0 │ 0.03 │ 133.74 │ 149.49 │ 212.47 │ cypress:server:util:process_profiler │ 4 │ 'other' │ 2 │ '1174, 1175' │ 0 │ 0 │ 5.2 │ 5.2 │ 5.29 │ cypress:server:util:process_profiler │ 5 │ 'TOTAL' │ 9 │ '-' │ 7.29 │ 6.51 │ 1477.7 │ 1406.58 │ 1696.08 │ cypress:server:util:process_profiler └─────────┴───────────────────┴──────────────┴──────────────────────┴────────────┴────────────────┴──────────┴──────────────┴─────────────┘ +10s cypress:server:util:process_profiler current & mean memory and CPU usage by process group: cypress:server:util:process_profiler ┌─────────┬───────────────────┬──────────────┬──────────────────────┬────────────┬────────────────┬──────────┬──────────────┬─────────────┐ cypress:server:util:process_profiler │ (index) │ group │ processCount │ pids │ cpuPercent │ meanCpuPercent │ memRssMb │ meanMemRssMb │ maxMemRssMb │ cypress:server:util:process_profiler ├─────────┼───────────────────┼──────────────┼──────────────────────┼────────────┼────────────────┼──────────┼──────────────┼─────────────┤ cypress:server:util:process_profiler │ 0 │ 'Electron' │ 1 │ '804' │ 7.04 │ 6.08 │ 751.82 │ 632.74 │ 817.3 │ cypress:server:util:process_profiler │ 1 │ 'cypress' │ 1 │ '504' │ 0.05 │ 0.83 │ 467.08 │ 481.75 │ 522.17 │ cypress:server:util:process_profiler │ 2 │ 'electron-shared' │ 4 │ '508, 660, 509, 696' │ 0.09 │ 0.13 │ 230.21 │ 219.01 │ 230.56 │ cypress:server:util:process_profiler │ 3 │ 'plugin' │ 1 │ '721' │ 0 │ 0.03 │ 133.74 │ 148.05 │ 212.47 │ cypress:server:util:process_profiler │ 4 │ 'other' │ 2 │ '1198, 1199' │ 0 │ 0 │ 5.22 │ 5.2 │ 5.29 │ cypress:server:util:process_profiler │ 5 │ 'TOTAL' │ 9 │ '-' │ 7.18 │ 6.56 │ 1588.07 │ 1421.7 │ 1696.08 │ cypress:server:util:process_profiler └─────────┴───────────────────┴──────────────┴──────────────────────┴────────────┴────────────────┴──────────┴──────────────┴─────────────┘ +10s Warning: vkCreateInstance: Found no drivers! Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88) at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458) at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344) at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266) at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521) cypress:server:util:process_profiler current & mean memory and CPU usage by process group: cypress:server:util:process_profiler ┌─────────┬───────────────────┬──────────────┬──────────────────────┬────────────┬────────────────┬──────────┬──────────────┬─────────────┐ cypress:server:util:process_profiler │ (index) │ group │ processCount │ pids │ cpuPercent │ meanCpuPercent │ memRssMb │ meanMemRssMb │ maxMemRssMb │ cypress:server:util:process_profiler ├─────────┼───────────────────┼──────────────┼──────────────────────┼────────────┼────────────────┼──────────┼──────────────┼─────────────┤ cypress:server:util:process_profiler │ 0 │ 'Electron' │ 1 │ '804' │ 7.12 │ 6.17 │ 751.98 │ 642.68 │ 817.3 │ cypress:server:util:process_profiler │ 1 │ 'cypress' │ 1 │ '504' │ 0.04 │ 0.77 │ 467.32 │ 480.64 │ 522.17 │ cypress:server:util:process_profiler │ 2 │ 'electron-shared' │ 4 │ '508, 660, 509, 696' │ 0.09 │ 0.13 │ 231.67 │ 219.98 │ 231.67 │ cypress:server:util:process_profiler │ 3 │ 'plugin' │ 1 │ '721' │ 0 │ 0.03 │ 133.74 │ 146.86 │ 212.47 │ cypress:server:util:process_profiler │ 4 │ 'other' │ 2 │ '1222, 1223' │ 0 │ 0 │ 5.23 │ 5.21 │ 5.29 │ cypress:server:util:process_profiler │ 5 │ 'TOTAL' │ 9 │ '-' │ 7.25 │ 6.62 │ 1589.95 │ 1434.64 │ 1696.08 │ cypress:server:util:process_profiler └─────────┴───────────────────┴──────────────┴──────────────────────┴────────────┴────────────────┴──────────┴──────────────┴─────────────┘ +10s cypress:server:util:process_profiler current & mean memory and CPU usage by process group: cypress:server:util:process_profiler ┌─────────┬───────────────────┬──────────────┬──────────────────────┬────────────┬────────────────┬──────────┬──────────────┬─────────────┐ cypress:server:util:process_profiler │ (index) │ group │ processCount │ pids │ cpuPercent │ meanCpuPercent │ memRssMb │ meanMemRssMb │ maxMemRssMb │ cypress:server:util:process_profiler ├─────────┼───────────────────┼──────────────┼──────────────────────┼────────────┼────────────────┼──────────┼──────────────┼─────────────┤ cypress:server:util:process_profiler │ 0 │ 'Electron' │ 1 │ '804' │ 7.12 │ 6.24 │ 730.68 │ 649.45 │ 817.3 │ cypress:server:util:process_profiler │ 1 │ 'cypress' │ 1 │ '504' │ 0.04 │ 0.72 │ 467.2 │ 479.68 │ 522.17 │ cypress:server:util:process_profiler │ 2 │ 'electron-shared' │ 4 │ '508, 660, 509, 696' │ 0.1 │ 0.13 │ 231.48 │ 220.81 │ 231.67 │ cypress:server:util:process_profiler │ 3 │ 'plugin' │ 1 │ '721' │ 0 │ 0.02 │ 133.74 │ 145.85 │ 212.47 │ cypress:server:util:process_profiler │ 4 │ 'other' │ 2 │ '1246, 1247' │ 0 │ 0 │ 5.25 │ 5.21 │ 5.29 │ cypress:server:util:process_profiler │ 5 │ 'TOTAL' │ 9 │ '-' │ 7.26 │ 6.66 │ 1568.36 │ 1444.19 │ 1696.08 │ cypress:server:util:process_profiler └─────────┴───────────────────┴──────────────┴──────────────────────┴────────────┴────────────────┴──────────┴──────────────┴─────────────┘ +10s cypress:server:util:process_profiler current & mean memory and CPU usage by process group: cypress:server:util:process_profiler ┌─────────┬───────────────────┬──────────────┬──────────────────────┬────────────┬────────────────┬──────────┬──────────────┬─────────────┐ cypress:server:util:process_profiler │ (index) │ group │ processCount │ pids │ cpuPercent │ meanCpuPercent │ memRssMb │ meanMemRssMb │ maxMemRssMb │ cypress:server:util:process_profiler ├─────────┼───────────────────┼──────────────┼──────────────────────┼────────────┼────────────────┼──────────┼──────────────┼─────────────┤ cypress:server:util:process_profiler │ 0 │ 'Electron' │ 1 │ '804' │ 7.2 │ 6.31 │ 635.98 │ 648.48 │ 817.3 │ cypress:server:util:process_profiler │ 1 │ 'cypress' │ 1 │ '504' │ 0.05 │ 0.67 │ 467.21 │ 478.85 │ 522.17 │ cypress:server:util:process_profiler │ 2 │ 'electron-shared' │ 4 │ '508, 660, 509, 696' │ 0.09 │ 0.12 │ 231.61 │ 221.53 │ 231.67 │ cypress:server:util:process_profiler │ 3 │ 'plugin' │ 1 │ '721' │ 0 │ 0.02 │ 133.74 │ 144.99 │ 212.47 │ cypress:server:util:process_profiler │ 4 │ 'other' │ 2 │ '1270, 1271' │ 0 │ 0 │ 5.31 │ 5.22 │ 5.31 │ cypress:server:util:process_profiler │ 5 │ 'TOTAL' │ 9 │ '-' │ 7.34 │ 6.71 │ 1473.85 │ 1446.17 │ 1696.08 │ cypress:server:util:process_profiler └─────────┴───────────────────┴──────────────┴──────────────────────┴────────────┴────────────────┴──────────┴──────────────┴─────────────┘ +10s cypress:server:util:process_profiler current & mean memory and CPU usage by process group: cypress:server:util:process_profiler ┌─────────┬───────────────────┬──────────────┬──────────────────────┬────────────┬────────────────┬──────────┬──────────────┬─────────────┐ cypress:server:util:process_profiler │ (index) │ group │ processCount │ pids │ cpuPercent │ meanCpuPercent │ memRssMb │ meanMemRssMb │ maxMemRssMb │ cypress:server:util:process_profiler ├─────────┼───────────────────┼──────────────┼──────────────────────┼────────────┼────────────────┼──────────┼──────────────┼─────────────┤ cypress:server:util:process_profiler │ 0 │ 'Electron' │ 1 │ '804' │ 7.1 │ 6.36 │ 752.64 │ 655.43 │ 817.3 │ cypress:server:util:process_profiler │ 1 │ 'cypress' │ 1 │ '504' │ 0.05 │ 0.63 │ 466.98 │ 478.11 │ 522.17 │ cypress:server:util:process_profiler │ 2 │ 'electron-shared' │ 4 │ '508, 660, 509, 696' │ 0.09 │ 0.12 │ 231.38 │ 222.14 │ 231.67 │ cypress:server:util:process_profiler │ 3 │ 'plugin' │ 1 │ '721' │ 0 │ 0.02 │ 133.74 │ 144.24 │ 212.47 │ cypress:server:util:process_profiler │ 4 │ 'other' │ 2 │ '1294, 1295' │ 0 │ 0 │ 5.17 │ 5.21 │ 5.31 │ cypress:server:util:process_profiler │ 5 │ 'TOTAL' │ 9 │ '-' │ 7.23 │ 6.74 │ 1589.92 │ 1455.16 │ 1696.08 │ cypress:server:util:process_profiler └─────────┴───────────────────┴──────────────┴──────────────────────┴────────────┴────────────────┴──────────┴──────────────┴─────────────┘ +10s cypress:server:util:process_profiler current & mean memory and CPU usage by process group: cypress:server:util:process_profiler ┌─────────┬───────────────────┬──────────────┬──────────────────────┬────────────┬────────────────┬──────────┬──────────────┬─────────────┐ cypress:server:util:process_profiler │ (index) │ group │ processCount │ pids │ cpuPercent │ meanCpuPercent │ memRssMb │ meanMemRssMb │ maxMemRssMb │ cypress:server:util:process_profiler ├─────────┼───────────────────┼──────────────┼──────────────────────┼────────────┼────────────────┼──────────┼──────────────┼─────────────┤ cypress:server:util:process_profiler │ 0 │ 'Electron' │ 1 │ '804' │ 7.19 │ 6.42 │ 752.78 │ 661.51 │ 817.3 │ cypress:server:util:process_profiler │ 1 │ 'cypress' │ 1 │ '504' │ 0.05 │ 0.6 │ 467.51 │ 477.49 │ 522.17 │ cypress:server:util:process_profiler │ 2 │ 'electron-shared' │ 4 │ '508, 660, 509, 696' │ 0.08 │ 0.12 │ 231.52 │ 222.69 │ 231.67 │ cypress:server:util:process_profiler │ 3 │ 'plugin' │ 1 │ '721' │ 0 │ 0.02 │ 133.74 │ 143.58 │ 212.47 │ cypress:server:util:process_profiler │ 4 │ 'other' │ 2 │ '1318, 1319' │ 0 │ 0 │ 5.23 │ 5.21 │ 5.31 │ cypress:server:util:process_profiler │ 5 │ 'TOTAL' │ 9 │ '-' │ 7.32 │ 6.77 │ 1590.78 │ 1463.13 │ 1696.08 │ cypress:server:util:process_profiler └─────────┴───────────────────┴──────────────┴──────────────────────┴────────────┴────────────────┴──────────┴──────────────┴─────────────┘ +10s cypress:server:util:process_profiler current & mean memory and CPU usage by process group: cypress:server:util:process_profiler ┌─────────┬───────────────────┬──────────────┬──────────────────────┬────────────┬────────────────┬──────────┬──────────────┬─────────────┐ cypress:server:util:process_profiler │ (index) │ group │ processCount │ pids │ cpuPercent │ meanCpuPercent │ memRssMb │ meanMemRssMb │ maxMemRssMb │ cypress:server:util:process_profiler ├─────────┼───────────────────┼──────────────┼──────────────────────┼────────────┼────────────────┼──────────┼──────────────┼─────────────┤ cypress:server:util:process_profiler │ 0 │ 'Electron' │ 1 │ '804' │ 7.1 │ 6.46 │ 717.58 │ 664.81 │ 817.3 │ cypress:server:util:process_profiler │ 1 │ 'cypress' │ 1 │ '504' │ 0.05 │ 0.57 │ 467.51 │ 476.93 │ 522.17 │ cypress:server:util:process_profiler │ 2 │ 'electron-shared' │ 4 │ '508, 660, 509, 696' │ 0.09 │ 0.12 │ 231.5 │ 223.18 │ 231.67 │ cypress:server:util:process_profiler │ 3 │ 'plugin' │ 1 │ '721' │ 0 │ 0.02 │ 133.74 │ 143 │ 212.47 │ cypress:server:util:process_profiler │ 4 │ 'other' │ 2 │ '1342, 1343' │ 0 │ 0 │ 5.21 │ 5.21 │ 5.31 │ cypress:server:util:process_profiler │ 5 │ 'TOTAL' │ 9 │ '-' │ 7.24 │ 6.8 │ 1555.55 │ 1468.27 │ 1696.08 │ cypress:server:util:process_profiler └─────────┴───────────────────┴──────────────┴──────────────────────┴────────────┴────────────────┴──────────┴──────────────┴─────────────┘ +10s cypress:server:util:process_profiler current & mean memory and CPU usage by process group: cypress:server:util:process_profiler ┌─────────┬───────────────────┬──────────────┬──────────────────────┬────────────┬────────────────┬──────────┬──────────────┬─────────────┐ cypress:server:util:process_profiler │ (index) │ group │ processCount │ pids │ cpuPercent │ meanCpuPercent │ memRssMb │ meanMemRssMb │ maxMemRssMb │ cypress:server:util:process_profiler ├─────────┼───────────────────┼──────────────┼──────────────────────┼────────────┼────────────────┼──────────┼──────────────┼─────────────┤ cypress:server:util:process_profiler │ 0 │ 'Electron' │ 1 │ '804' │ 7.21 │ 6.5 │ 631.4 │ 662.95 │ 817.3 │ cypress:server:util:process_profiler │ 1 │ 'cypress' │ 1 │ '504' │ 0.04 │ 0.54 │ 467.3 │ 476.42 │ 522.17 │ cypress:server:util:process_profiler │ 2 │ 'electron-shared' │ 4 │ '508, 660, 509, 696' │ 0.08 │ 0.12 │ 231.42 │ 223.62 │ 231.67 │ cypress:server:util:process_profiler │ 3 │ 'plugin' │ 1 │ '721' │ 0 │ 0.02 │ 133.74 │ 142.49 │ 212.47 │ cypress:server:util:process_profiler │ 4 │ 'other' │ 2 │ '1366, 1367' │ 0 │ 0 │ 5.25 │ 5.22 │ 5.31 │ cypress:server:util:process_profiler │ 5 │ 'TOTAL' │ 9 │ '-' │ 7.33 │ 6.83 │ 1469.11 │ 1468.31 │ 1696.08 │ cypress:server:util:process_profiler └─────────┴───────────────────┴──────────────┴──────────────────────┴────────────┴────────────────┴──────────┴──────────────┴─────────────┘ +10s cypress:server:util:process_profiler current & mean memory and CPU usage by process group: cypress:server:util:process_profiler ┌─────────┬───────────────────┬──────────────┬──────────────────────┬────────────┬────────────────┬──────────┬──────────────┬─────────────┐ cypress:server:util:process_profiler │ (index) │ group │ processCount │ pids │ cpuPercent │ meanCpuPercent │ memRssMb │ meanMemRssMb │ maxMemRssMb │ cypress:server:util:process_profiler ├─────────┼───────────────────┼──────────────┼──────────────────────┼────────────┼────────────────┼──────────┼──────────────┼─────────────┤ cypress:server:util:process_profiler │ 0 │ 'Electron' │ 1 │ '804' │ 7.1 │ 6.53 │ 753.7 │ 667.73 │ 817.3 │ cypress:server:util:process_profiler │ 1 │ 'cypress' │ 1 │ '504' │ 0.05 │ 0.52 │ 468.04 │ 476.01 │ 522.17 │ cypress:server:util:process_profiler │ 2 │ 'electron-shared' │ 4 │ '508, 660, 509, 696' │ 0.09 │ 0.11 │ 231.41 │ 224.01 │ 231.67 │ cypress:server:util:process_profiler │ 3 │ 'plugin' │ 1 │ '721' │ 0 │ 0.02 │ 133.74 │ 142.03 │ 212.47 │ cypress:server:util:process_profiler │ 4 │ 'other' │ 2 │ '1390, 1391' │ 0 │ 0 │ 5.21 │ 5.22 │ 5.31 │ cypress:server:util:process_profiler │ 5 │ 'TOTAL' │ 9 │ '-' │ 7.23 │ 6.85 │ 1592.11 │ 1474.5 │ 1696.08 │ cypress:server:util:process_profiler └─────────┴───────────────────┴──────────────┴──────────────────────┴────────────┴────────────────┴──────────┴──────────────┴─────────────┘ +10s cypress:server:util:process_profiler current & mean memory and CPU usage by process group: cypress:server:util:process_profiler ┌─────────┬───────────────────┬──────────────┬──────────────────────┬────────────┬────────────────┬──────────┬──────────────┬─────────────┐ cypress:server:util:process_profiler │ (index) │ group │ processCount │ pids │ cpuPercent │ meanCpuPercent │ memRssMb │ meanMemRssMb │ maxMemRssMb │ cypress:server:util:process_profiler ├─────────┼───────────────────┼──────────────┼──────────────────────┼────────────┼────────────────┼──────────┼──────────────┼─────────────┤ cypress:server:util:process_profiler │ 0 │ 'Electron' │ 1 │ '804' │ 7.24 │ 6.57 │ 754.05 │ 672.05 │ 817.3 │ cypress:server:util:process_profiler │ 1 │ 'cypress' │ 1 │ '504' │ 0.04 │ 0.49 │ 468.65 │ 475.66 │ 522.17 │ cypress:server:util:process_profiler │ 2 │ 'electron-shared' │ 4 │ '508, 660, 509, 696' │ 0.09 │ 0.11 │ 231.54 │ 224.36 │ 231.67 │ cypress:server:util:process_profiler │ 3 │ 'plugin' │ 1 │ '721' │ 0 │ 0.02 │ 133.74 │ 141.61 │ 212.47 │ cypress:server:util:process_profiler │ 4 │ 'other' │ 2 │ '1414, 1415' │ 0 │ 0 │ 5.19 │ 5.21 │ 5.31 │ cypress:server:util:process_profiler │ 5 │ 'TOTAL' │ 9 │ '-' │ 7.37 │ 6.87 │ 1593.17 │ 1480.15 │ 1696.08 │ cypress:server:util:process_profiler └─────────┴───────────────────┴──────────────┴──────────────────────┴────────────┴────────────────┴──────────┴──────────────┴─────────────┘ +10s cypress:server:util:process_profiler current & mean memory and CPU usage by process group: cypress:server:util:process_profiler ┌─────────┬───────────────────┬──────────────┬──────────────────────┬────────────┬────────────────┬──────────┬──────────────┬─────────────┐ cypress:server:util:process_profiler │ (index) │ group │ processCount │ pids │ cpuPercent │ meanCpuPercent │ memRssMb │ meanMemRssMb │ maxMemRssMb │ cypress:server:util:process_profiler ├─────────┼───────────────────┼──────────────┼──────────────────────┼────────────┼────────────────┼──────────┼──────────────┼─────────────┤ cypress:server:util:process_profiler │ 0 │ 'Electron' │ 1 │ '804' │ 7.14 │ 6.59 │ 716.73 │ 674.17 │ 817.3 │ cypress:server:util:process_profiler │ 1 │ 'cypress' │ 1 │ '504' │ 0.05 │ 0.47 │ 468.05 │ 475.31 │ 522.17 │ cypress:server:util:process_profiler │ 2 │ 'electron-shared' │ 4 │ '508, 660, 509, 696' │ 0.09 │ 0.11 │ 231.31 │ 224.68 │ 231.67 │ cypress:server:util:process_profiler │ 3 │ 'plugin' │ 1 │ '721' │ 0 │ 0.01 │ 133.74 │ 141.24 │ 212.47 │ cypress:server:util:process_profiler │ 4 │ 'other' │ 2 │ '1438, 1439' │ 0 │ 0 │ 5.23 │ 5.22 │ 5.31 │ cypress:server:util:process_profiler │ 5 │ 'TOTAL' │ 9 │ '-' │ 7.27 │ 6.89 │ 1555.07 │ 1483.56 │ 1696.08 │ cypress:server:util:process_profiler └─────────┴───────────────────┴──────────────┴──────────────────────┴────────────┴────────────────┴──────────┴──────────────┴─────────────┘ +10s cypress:server:util:process_profiler current & mean memory and CPU usage by process group: cypress:server:util:process_profiler ┌─────────┬───────────────────┬──────────────┬──────────────────────┬────────────┬────────────────┬──────────┬──────────────┬─────────────┐ cypress:server:util:process_profiler │ (index) │ group │ processCount │ pids │ cpuPercent │ meanCpuPercent │ memRssMb │ meanMemRssMb │ maxMemRssMb │ cypress:server:util:process_profiler ├─────────┼───────────────────┼──────────────┼──────────────────────┼────────────┼────────────────┼──────────┼──────────────┼─────────────┤ cypress:server:util:process_profiler │ 0 │ 'Electron' │ 1 │ '804' │ 7.2 │ 6.62 │ 637.54 │ 672.51 │ 817.3 │ cypress:server:util:process_profiler │ 1 │ 'cypress' │ 1 │ '504' │ 0.06 │ 0.46 │ 467.58 │ 474.97 │ 522.17 │ cypress:server:util:process_profiler │ 2 │ 'electron-shared' │ 4 │ '508, 660, 509, 696' │ 0.1 │ 0.11 │ 231.45 │ 224.97 │ 231.67 │ cypress:server:util:process_profiler │ 3 │ 'plugin' │ 1 │ '721' │ 0 │ 0.01 │ 133.74 │ 140.9 │ 212.47 │ cypress:server:util:process_profiler │ 4 │ 'other' │ 2 │ '1462, 1463' │ 0 │ 0 │ 5.21 │ 5.22 │ 5.31 │ cypress:server:util:process_profiler │ 5 │ 'TOTAL' │ 9 │ '-' │ 7.35 │ 6.91 │ 1475.52 │ 1483.21 │ 1696.08 │ cypress:server:util:process_profiler └─────────┴───────────────────┴──────────────┴──────────────────────┴────────────┴────────────────┴──────────┴──────────────┴─────────────┘ +10s ```
MikeMcC399 commented 7 months ago

@yktoo

In the tests that @roadSurfer ran, he found that if you run Cypress long enough you will get the Vulkan error, so I suspect in your case also that it might be overlaid over some other issue. If you go back in your log file before it shows just the process_profiler outputs repeating can you identify the last thing that Cypress did and maybe look at whether anything there looks suspicious?

yktoo commented 7 months ago

@MikeMcC399 I think you're right. Downgrading to 13.6.4 removed the warning but didn't fix the pipeline getting stuck. So apparently it's a different bug.

It's really hard to say what triggers the freeze because it's flaky: sometimes it gets stuck on a certain test, sometimes goes on. The only thing that is more or less certain, is that it only seems happen in tests that test an application running inside an iframe.

TestIsTest001 commented 7 months ago

Hello,

Have the cypress team been able to replicate the issue please?

Thank you

chlorophant commented 7 months ago

For me I was getting the error when starting cypress in my pipeline. It would cause the tests to not run, and fail the suite. The only way I could get rid of it was to roll back cypress version. I believe it's a recent regression from within the last few weeks.

MikeMcC399 commented 7 months ago

@chlorophant

The only way I could get rid of it was to roll back cypress version. I believe it's a recent regression from within the last few weeks.

Which Cypress version did you roll back to?

pearlberry commented 7 months ago

I am running into this issue on Cypress v13.6.6, running cypress in google cloudbuild. The issue also exists on v13.7.1.

│ Cypress: 13.6.6 │ │ Browser: Chrome 106 (headless) │ │ Node Version: v18.15.0 (/usr/local/bin/node) │ │ Specs: 39 found (engineering/admin.spec.js, engineering/api.spec.js, engineering/chec │ │ kout.spec.js, engineering/collaboration.spec.js, engineering/copy-deck.spec.js │ │ , engineering/enterprise.spec.js, engineering/folders.spec.js, engineering/inv │ │ ite.spec.js, engineerin...) │ │ Searched: integration/engineering/.spec.js, integration/qa/.spec.js, integration/templ │ │ ates/*.spec.js │ │ Params: Tag: false, Group: false, Parallel: true |

Warning: vkCreateInstance: Found no drivers! Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88) at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458) at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344) at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266) at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)

It is not specific to any one test, happens across many different specs 🙁

pearlberry commented 7 months ago

It's really hard to say what triggers the freeze because it's flaky: sometimes it gets stuck on a certain test, sometimes goes on. The only thing that is more or less certain, is that it only seems happen in tests that test an application running inside an iframe.

This is true to my experience as well, however it does not happen 100% of the time even in tests interacting with iframes. It is intermittent/inconsistent between multiple runs of the same test.

CloneOfAlex commented 7 months ago

I am seeing this non stop for the past (at least) 3 weeks

Warning: vkCreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
    at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
    at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
    at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
    at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
    at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)
PS C:\Workspace\cypress-tests\UITest> npx cypress --version
Cypress package version: 13.7.1
Cypress binary version: 13.7.1
Electron version: 27.1.3
Bundled Node version: 
18.17.1

image

mahadeer commented 7 months ago

Facing the same issue on GitLab Pipeline. Need to get this resolved.

image
CloneOfAlex commented 7 months ago

The solution to fix it is simple - Downgrade Cypress to build: 13.3.3 !!!!!!!!!!!!!!!!!

TestIsTest001 commented 7 months ago

Thats not really a solution..Not everyone can downgrade..We were facing this issue https://github.com/cypress-io/cypress/issues/5016 and it got fixed in 13.7.0..All versions below 13.7.0 are giving us the screenshot timeout error. My team have been using cypress version 12.14.0 for months and it would be really great to use a recent cypress version.

Yuri-Lima commented 7 months ago

Ok, after read all the comments. I cannot see a real solution yet. So i just wanna provide more data, because i am facing the issue. I am using the cypress/factory:3.5.2

Below is my DockerFile, as you can see some few commented lines i was trying to install some few thing related to vulkan, but no success. Runner Team City but fisrt i am running in my local enviroment.

All test are in containers.

# Define other ARGs and perform additional setup here
ARG NODE_VERSION='18.19.1'
ARG YARN_VERSION='1.22.19'
ARG CYPRESS_VERSION='13.6.6'
# ARG CYPRESS_CACHE_FOLDER='~/.cache/Cypress'
ARG CHROME_VERSION='113.0.5672.92-1'
# ARG FIREFOX_VERSION='113.0'
# ARG EDGE_VERSION='113.0.1774.42-1'

FROM cypress/factory:3.5.2

# Install required system packages
RUN apt-get update && apt-get install -y \
    libgtk2.0-0 \
    libgtk-3-0 \
    libgbm-dev \
    libnotify-dev \
    libnss3 \
    libxss1 \
    libasound2 \
    libxtst6 \
    xauth \
    xvfb \
    curl \
    libgconf-2-4 
    # vulkan-tools \
    # mesa-vulkan-drivers

# Ensure that the Vulkan ICD loader is properly set up
# ENV VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json:/usr/share/vulkan/icd.d/intel_icd.x86_64.json

# Install jq binary
RUN curl -Lo /usr/local/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64

# Make the jq binary executable
RUN chmod +x /usr/local/bin/jq

WORKDIR /opt/e2e

RUN npm cache clean --force

# Copy entrypoint script
COPY entrypoint-e2e.sh /opt/e2e/entrypoint-e2e.sh
# Grant executable permissions to entrypoint script
RUN chmod +x /opt/e2e/entrypoint-e2e.sh

COPY packages/ui-e2e/cypress.env.json /opt/e2e
COPY packages/ui-e2e/cypress.config.ts /opt/e2e
COPY packages/ui-e2e/cypress/ /opt/e2e/cypress
COPY packages/ui-e2e/tsconfig.json /opt/e2e/tsconfig.json
COPY packages/ui-e2e/package.json /opt/e2e/package.json

# Create the directory if it doesn't exist
# RUN mkdir -p packages/phoenix-ui-e2e
# Append data to cypress.env.json file
# RUN echo ', {"ENV": "E2E" }' >> packages/phoenix-ui-e2e/cypress.env.json

RUN yarn install --frozen-lockfile

As you can see that warning it seems to be literally random, sometime it happen in different stages of the test. Screenshot 2024-04-02 at 23 55 04

Even in Chrome it shows same warn Screenshot 2024-04-02 at 23 55 38

Running the Containers Locally in my Cloud Vps 8 VCPU 16 GB RAM - Ubuntu 22.04 Everything works as normal no failures!

This image is from Team City Screenshot 2024-04-03 at 00 17 39

cacieprins commented 7 months ago

Everyone, thank you for your contributions to this thread.

This warning is present when Cypress is run in a Docker container whose host does not have a GPU. A similar warning is present when Cypress is run on a machine that does not have a GPU. These warnings are coming from the primary Electron process that Cypress spawns, and not from any of the browsers launched by Cypress. These warnings should not be causing tests to fail or hang, as evidenced by example reproductions that have a fully passing test suite despite the warnings being present.

We will be suppressing this warning in a similar manner to other benign Electron warnings.

If a minimal reproduction is made available that proves failure due to this warning, we will re-assess.

Thank you!

TestIsTest001 commented 7 months ago

When can we expect a release pls? thanks

jennifer-shehane commented 7 months ago

There is a pre-release binary including the fix above, if anyone is interested in trying it out instructions and the binary are here: https://github.com/cypress-io/cypress/commit/96b14c3e1762a253aac0d0413a2b3b5c1ee4d954#commitcomment-140832299

This will be included in our next release.

cypress-bot[bot] commented 7 months ago

Released in 13.7.3.

This comment thread has been locked. If you are still experiencing this issue after upgrading to Cypress v13.7.3, please open a new issue.