Skip to content

"Error creating WebGL context" using cypress/browsers:24.13.0 #1472

@alohasick

Description

@alohasick

Description

On upgrading my CI E2E test job configuration to use cypress/browsers:24.13.0 as a base image, I started to see WebGL errors related to failing to create context. I couldn't reproduce the WebGL errors manually, they were reproduced when running automated tests with Cypress.

When using cypress/browsers:24.12.0 no issues are observed.

Some example stacktraces (these are from cypress-terminal-report plugin):

      cons:error ✘  THREE.WebGLRenderer: A WebGL context could not be created. Reason: ,
                    Could not create a WebGL context, VENDOR = 0xffff, DEVICE = 0xffff, Sandboxed = no, Optimus = no, AMD switchable = no, Reset notification strategy = 0x0000, ErrorMessage = BindToCurrentSequence failed: .
                    Time: 1770213402331
      cons:error ✘  THREE.WebGLRenderer: A WebGL context could not be created. Reason: ,
                    Could not create a WebGL context, VENDOR = 0xffff, DEVICE = 0xffff, Sandboxed = no, Optimus = no, AMD switchable = no, Reset notification strategy = 0x0000, ErrorMessage = BindToCurrentSequence failed: .
                    Time: 1770213402332
      cons:error ✘  THREE.WebGLRenderer: Error creating WebGL context.
                    Time: 1770213402368
      cons:error ✘  Error: Error creating WebGL context.
                        at new oU (http://localhost:4200/_next/static/chunks/9d78c252-9aa5e9308532cdca.js:186:120629)
                        at eB (http://localhost:4200/_next/static/chunks/343.3ee5bf0a875b4be5.js:1:94015)
                        at Object.configure (http://localhost:4200/_next/static/chunks/343.3ee5bf0a875b4be5.js:1:94707)
                        at http://localhost:4200/_next/static/chunks/5844.5739be0bf97cd117.js:446:6514
                        at aW (http://localhost:4200/_next/static/chunks/1dd3208c-cf913922ee49401d.js:1:73242)
                        at aH (http://localhost:4200/_next/static/chunks/1dd3208c-cf913922ee49401d.js:1:73302)
                        at aY (http://localhost:4200/_next/static/chunks/1dd3208c-cf913922ee49401d.js:1:73741)
                        at a9 (http://localhost:4200/_next/static/chunks/1dd3208c-cf913922ee49401d.js:1:84630)
                        at aY (http://localhost:4200/ ...
                    Time: 1770213402370

Versions

  • Cypress: 14.5.3
  • Cypress/browsers tag: 24.13.0
  • Chrome version used on browsers container: 144.0.7559.132-1

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions