Skip to content

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

Closed
@Rajesh-Kodandam

Description

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

Metadata

Assignees

Labels

CIGeneral issues involving running in a CI provider

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions