ERROR: Add _NET_WM_WINDOW_TYPE_INDEX to kAtomsToCache (Linux)
Current behavior
npx cypress open
outputs an error message and then continues to work:
DevTools listening on ws://127.0.0.1:39401/devtools/browser/80f7f9ac-3993-4a7c-85b7-b9aa048f27aa [5407:0116/191615.132759:ERROR:atom_cache.cc(229)] Add _NET_WM_WINDOW_TYPE_INDEX to kAtomsToCache
(No error message is output for npx cypress run.)
Desired behavior
There should be no error message displayed similar to
[5407:0116/191615.132759:ERROR:atom_cache.cc(229)] Add _NET_WM_WINDOW_TYPE_INDEX to kAtomsToCache
Test code to reproduce
cd $(mktemp -d)
rm -rf ~/.cache/Cypress
rm -rf ~/.config/Cypress
git init
npm init -y
npm install cypress -D
npx cypress open
or
git clone https://github.com/cypress-io/cypress
cd cypress
yarn
yarn start
Cypress Version
First reported on Cypress version: 14.0.0
Reproducible also on: 15.7.1
This is a regression compared to Cypress version: 13.17.0
Node version
v20.18.1, v22.20.0 & v24.11.1 LTS
Operating System
- Debian 13 (virtualized)
- Fedora 43 (virtualized)
- Ubuntu
24.04.3LTS (bare metal and virtualized)
Debug Logs
2025-01-16T18:28:31.933Z cypress:cli:cli cli starts with arguments ["/home/mike/n/bin/node","/home/mike/github/cy-14-test/node_modules/.bin/cypress","open"]
2025-01-16T18:28:31.933Z cypress:cli NODE_OPTIONS is not set
2025-01-16T18:28:31.934Z cypress:cli:cli program parsing arguments
2025-01-16T18:28:31.934Z cypress:cli:cli opening Cypress
2025-01-16T18:28:31.976Z cypress:cli parsed cli options {}
2025-01-16T18:28:31.976Z cypress:cli verifying Cypress app
2025-01-16T18:28:31.977Z cypress:cli checking environment variables
2025-01-16T18:28:31.977Z cypress:cli checking if executable exists /home/mike/.cache/Cypress/14.0.0/Cypress/Cypress
2025-01-16T18:28:31.978Z cypress:cli Binary is executable? : true
2025-01-16T18:28:31.978Z cypress:cli binaryDir is /home/mike/.cache/Cypress/14.0.0/Cypress
2025-01-16T18:28:31.978Z cypress:cli Reading binary package.json from: /home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/package.json
2025-01-16T18:28:31.980Z cypress:cli Found binary version 14.0.0 installed in: /home/mike/.cache/Cypress/14.0.0/Cypress
2025-01-16T18:28:31.980Z cypress:cli { verified: true }
2025-01-16T18:28:31.980Z cypress:cli is Verified ? true
2025-01-16T18:28:31.980Z cypress:cli opening from options {"project":"/home/mike/github/cy-14-test"}
2025-01-16T18:28:31.980Z cypress:cli command line arguments ["--project","/home/mike/github/cy-14-test"]
2025-01-16T18:28:31.980Z cypress:cli DISPLAY environment variable is set to :0 on Linux
Assuming this DISPLAY points at working X11 server,
Cypress will not spawn own Xvfb
NOTE: if the X11 server is NOT working, Cypress will exit without explanation,
see https://github.com/cypress-io/cypress/issues/4034
Solution: Unset the DISPLAY variable and try again:
DISPLAY= npx cypress run ...
2025-01-16T18:28:31.980Z cypress:cli needs to start own Xvfb? false
2025-01-16T18:28:31.981Z cypress:cli spawning, should retry on display problem? true
2025-01-16T18:28:31.982Z cypress:cli passing DISPLAY :0
2025-01-16T18:28:31.982Z cypress:cli spawn args [ '--no-sandbox', '--', '--project', '/home/mike/github/cy-14-test', '--cwd', '/home/mike/github/cy-14-test', '--userNodePath', '/home/mike/n/bin/node', '--userNodeVersion', '22.13.0' ] { detached: false, stdio: [ 'inherit', 'inherit', 'pipe' ] }
2025-01-16T18:28:31.982Z cypress:cli spawning Cypress with executable: /home/mike/.cache/Cypress/14.0.0/Cypress/Cypress
2025-01-16T18:28:31.984Z cypress:cli piping child STDERR to process STDERR
2025-01-16T18:28:32.184Z cypress:snapshot:info Caching 3348, defining 4167 modules! Using cache
2025-01-16T18:28:32.184Z cypress:snapshot:debug initializing packherd require
2025-01-16T18:28:32.288Z cypress:server:performance-benchmark elapsed time at v8-snapshot-startup-time: 109.242ms
2025-01-16T18:28:32.322Z cypress:server:appdata path: /home/mike/.config/Cypress/cy/production/browsers
2025-01-16T18:28:32.326Z cypress:server appending default switches for electron: [
{ name: '--test-type' },
{ name: '--ignore-certificate-errors' },
{ name: '--start-maximized' },
{ name: '--silent-debugger-extension-api' },
{ name: '--no-default-browser-check' },
{ name: '--no-first-run' },
{ name: '--noerrdialogs' },
{ name: '--enable-fixed-layout' },
{ name: '--disable-popup-blocking' },
{ name: '--disable-password-generation' },
{ name: '--disable-single-click-autofill' },
{ name: '--disable-prompt-on-repos' },
{ name: '--disable-background-timer-throttling' },
{ name: '--disable-renderer-backgrounding' },
{ name: '--disable-renderer-throttling' },
{ name: '--disable-backgrounding-occluded-windows' },
{ name: '--disable-restore-session-state' },
{ name: '--disable-new-profile-management' },
{ name: '--disable-new-avatar-menu' },
{ name: '--allow-insecure-localhost' },
{ name: '--reduce-security-for-testing' },
{ name: '--enable-automation' },
{ name: '--disable-print-preview' },
{ name: '--disable-component-extensions-with-background-pages' },
{ name: '--disable-infobars' },
{ name: '--disable-device-discovery-notifications' },
{ name: '--autoplay-policy', value: 'no-user-gesture-required' },
{ name: '--disable-site-isolation-trials' },
{ name: '--metrics-recording-only' },
{ name: '--disable-prompt-on-repost' },
{ name: '--disable-hang-monitor' },
{ name: '--disable-sync' },
{ name: '--disable-web-resources' },
{ name: '--safebrowsing-disable-download-protection' },
{ name: '--disable-client-side-phishing-detection' },
{ name: '--disable-component-update' },
{
name: '--simulate-outdated-no-au',
value: "'Tue, 31 Dec 2099 23:59:59 GMT'"
},
{ name: '--disable-default-apps' },
{
name: '--disable-features',
value: 'Translate,PrivacySandboxSettings4'
},
{ name: '--use-fake-ui-for-media-stream' },
{ name: '--use-fake-device-for-media-stream' },
{ name: '--disable-ipc-flooding-protection' },
{ name: '--disable-backgrounding-occluded-window' },
{ name: '--disable-breakpad' },
{ name: '--password-store', value: 'basic' },
{ name: '--use-mock-keychain' },
{ name: '--disable-dev-shm-usage' },
{ name: '--enable-precise-memory-info' }
]
2025-01-16T18:28:32.327Z cypress:server:cypress starting cypress with argv [ '/home/mike/.cache/Cypress/14.0.0/Cypress/Cypress', '--no-sandbox', '--', '--project', '/home/mike/github/cy-14-test', '--cwd', '/home/mike/github/cy-14-test', '--userNodePath', '/home/mike/n/bin/node', '--userNodeVersion', '22.13.0' ]
2025-01-16T18:28:32.328Z cypress:server:args argv array: [ '/home/mike/.cache/Cypress/14.0.0/Cypress/Cypress', '--no-sandbox', '--project', '/home/mike/github/cy-14-test', '--cwd', '/home/mike/github/cy-14-test', '--userNodePath', '/home/mike/n/bin/node', '--userNodeVersion', '22.13.0' ]
2025-01-16T18:28:32.328Z cypress:server:args parsed argv options { options: { _: [ '/home/mike/.cache/Cypress/14.0.0/Cypress/Cypress' ], sandbox: false, project: '/home/mike/github/cy-14-test', cwd: '/home/mike/github/cy-14-test', userNodePath: '/home/mike/n/bin/node', userNodeVersion: '22.13.0' } }
2025-01-16T18:28:32.331Z cypress:server:args argv parsed: { _: [ '/home/mike/.cache/Cypress/14.0.0/Cypress/Cypress' ], sandbox: false, project: '/home/mike/github/cy-14-test', cwd: '/home/mike/github/cy-14-test', userNodePath: '/home/mike/n/bin/node', userNodeVersion: '22.13.0', invokedFromCli: true }
2025-01-16T18:28:32.332Z cypress:server:util:proxy found proxy environment variables { npm_config_noproxy: '' }
2025-01-16T18:28:32.332Z cypress:server:args options { _: [ '/home/mike/.cache/Cypress/14.0.0/Cypress/Cypress' ], sandbox: false, project: '/home/mike/github/cy-14-test', cwd: '/home/mike/github/cy-14-test', userNodePath: '/home/mike/n/bin/node', userNodeVersion: '22.13.0', invokedFromCli: true, config: {} }
2025-01-16T18:28:32.333Z cypress:server:args argv options: { _: [ '/home/mike/.cache/Cypress/14.0.0/Cypress/Cypress' ], sandbox: false, project: '/home/mike/github/cy-14-test', cwd: '/home/mike/github/cy-14-test', userNodePath: '/home/mike/n/bin/node', userNodeVersion: '22.13.0', invokedFromCli: true, config: {}, projectRoot: '/home/mike/github/cy-14-test' }
2025-01-16T18:28:32.333Z cypress:server:cypress from argv [ '/home/mike/.cache/Cypress/14.0.0/Cypress/Cypress', '--no-sandbox', '--project', '/home/mike/github/cy-14-test', '--cwd', '/home/mike/github/cy-14-test', '--userNodePath', '/home/mike/n/bin/node', '--userNodeVersion', '22.13.0' ] got options { _: [ '/home/mike/.cache/Cypress/14.0.0/Cypress/Cypress' ], sandbox: false, project: '/home/mike/github/cy-14-test', cwd: '/home/mike/github/cy-14-test', userNodePath: '/home/mike/n/bin/node', userNodeVersion: '22.13.0', invokedFromCli: true, config: {}, projectRoot: '/home/mike/github/cy-14-test' }
2025-01-16T18:28:32.418Z cypress:server:appdata path: /home/mike/.config/Cypress/cy/production
DevTools listening on ws://127.0.0.1:43433/devtools/browser/0c9f3d07-2a15-488f-addd-fa53b48d5486
2025-01-16T18:28:32.472Z cypress:server:cypress starting in mode interactive with options { _: [ '/home/mike/.cache/Cypress/14.0.0/Cypress/Cypress' ], sandbox: false, project: '/home/mike/github/cy-14-test', cwd: '/home/mike/github/cy-14-test', userNodePath: '/home/mike/n/bin/node', userNodeVersion: '22.13.0', invokedFromCli: true, config: {}, projectRoot: '/home/mike/github/cy-14-test' }
2025-01-16T18:28:32.472Z cypress:server:cypress running Electron currently
Thu, 16 Jan 2025 18:28:32 GMT cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudLatestRunUpdateSpecData
Thu, 16 Jan 2025 18:28:32 GMT cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudProjectBySlug
Thu, 16 Jan 2025 18:28:32 GMT cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudProjectsBySlugs
Thu, 16 Jan 2025 18:28:32 GMT cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudSpecByPath
Thu, 16 Jan 2025 18:28:32 GMT cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudViewer
Thu, 16 Jan 2025 18:28:32 GMT cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.pollingIntervals
Thu, 16 Jan 2025 18:28:32 GMT cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.versions
Thu, 16 Jan 2025 18:28:32 GMT cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for CurrentProject.cloudProject
Thu, 16 Jan 2025 18:28:32 GMT cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for RelevantRunInfo.status
Thu, 16 Jan 2025 18:28:32 GMT cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for RemoteFetchableCloudProjectResult.data
Thu, 16 Jan 2025 18:28:32 GMT cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for RemoteFetchableCloudProjectSpecResult.data
2025-01-16T18:28:32.528Z cypress:server:browsers:utils getBrowsers
2025-01-16T18:28:32.528Z cypress:launcher:detect detecting if the following browsers are present [ { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', versionRegex: /Google Chrome(?! for Testing) (\S+)/m, binary: [ 'google-chrome', 'chrome', 'google-chrome-stable' ], validator: [Function: validator] }, { name: 'chrome', family: 'chromium', channel: 'beta', displayName: 'Chrome Beta', versionRegex: /Google Chrome (\S+) beta/m, binary: 'google-chrome-beta' }, { name: 'chrome', family: 'chromium', channel: 'canary', displayName: 'Chrome Canary', versionRegex: /Google Chrome Canary (\S+)/m, binary: 'google-chrome-canary' }, { name: 'chrome-for-testing', family: 'chromium', channel: 'stable', displayName: 'Chrome for Testing', versionRegex: /Google Chrome for Testing (\S+)/m, binary: 'chrome' }, { name: 'chromium', family: 'chromium', channel: 'stable', displayName: 'Chromium', versionRegex: /Chromium (\S+)/m, binary: [ 'chromium-browser', 'chromium' ] }, { name: 'firefox', family: 'firefox', channel: 'stable', displayName: 'Firefox', versionRegex: /^Mozilla Firefox ([^\sab]+)$/m, binary: 'firefox' }, { name: 'firefox', family: 'firefox', channel: 'dev', displayName: 'Firefox Developer Edition', versionRegex: /^Mozilla Firefox (\S+b\S*)$/m, binary: [ 'firefox-developer-edition', 'firefox' ] }, { name: 'firefox', family: 'firefox', channel: 'nightly', displayName: 'Firefox Nightly', versionRegex: /^Mozilla Firefox (\S+a\S*)$/m, binary: [ 'firefox-nightly', 'firefox-trunk' ] }, { name: 'edge', family: 'chromium', channel: 'stable', displayName: 'Edge', versionRegex: /Microsoft Edge (\S+)/im, binary: [ 'edge', 'microsoft-edge' ] }, { name: 'edge', family: 'chromium', channel: 'beta', displayName: 'Edge Beta', versionRegex: /Microsoft Edge.+?(\S*(?= beta)|(?<=beta )\S*)/im, binary: [ 'edge-beta', 'microsoft-edge-beta' ] }, { name: 'edge', family: 'chromium', channel: 'canary', displayName: 'Edge Canary', versionRegex: /Microsoft Edge.+?(\S*(?= canary)|(?<=canary )\S*)/im, binary: [ 'edge-canary', 'microsoft-edge-canary' ] }, { name: 'edge', family: 'chromium', channel: 'dev', displayName: 'Edge Dev', versionRegex: /Microsoft Edge.+?(\S*(?= dev)|(?<=dev )\S*)/im, binary: [ 'edge-dev', 'microsoft-edge-dev' ] } ]
2025-01-16T18:28:32.529Z cypress:server:browsers:utils WebKit is enabled, but there was an error constructing the WebKit browser: { err: Error: Cannot find module 'playwright-webkit' Require stack: - /home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/packages/server/lib/browsers/utils.ts at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15) at s._resolveFilename (node:electron/js2c/browser_init:2:124107) at resolve (node:internal/modules/helpers:190:19) at Function.resolve (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/packages/server/index.jsc:1:776656) at N (<embedded>:2602:103776) at Object.P [as getBrowsers] (<embedded>:2602:104611) at b.machineBrowsers (<embedded>:2236:76158) at D._setCurrentProject (<embedded>:2413:69721) at new D (<embedded>:2413:62249) at new E (<embedded>:2413:124341) at N (<embedded>:2823:42993) at s.exports (<embedded>:2823:101061) at <embedded>:2830:3280 at tryCatcher (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/util.js:16:23) at Function.<anonymous> (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/method.js:39:29) at Object.runElectron (<embedded>:2830:3050) at Object.startInMode (<embedded>:2830:6086) at <embedded>:2830:4826 at tryCatcher (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:694:18) at Promise._fulfill (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:638:18) at PromiseArray._resolve (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/promise_array.js:126:19) at PromiseArray._promiseFulfilled (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/promise_array.js:144:14) at Promise._settlePromise (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:574:26) at Promise._settlePromise0 (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:694:18) at Promise._fulfill (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:638:18) at Promise._settlePromise (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:582:21) at Promise._settlePromise0 (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:694:18) at Promise._fulfill (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:638:18) at Promise._settlePromise (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:582:21) at Promise._settlePromise0 (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:694:18) at Promise._fulfill (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:638:18) at PromiseArray._resolve (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/promise_array.js:126:19) at PromiseArray._promiseFulfilled (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/promise_array.js:144:14) at Promise._settlePromise (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:574:26) at Promise._settlePromise0 (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:694:18) at Promise._fulfill (/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:638:18) at /home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/bluebird/js/release/nodeback.js:42:21 at <embedded>:476:22436 { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/packages/server/lib/browsers/utils.ts' ] } }
2025-01-16T18:28:32.530Z cypress:data-context:sources:GitDataSource config: { isRunMode: false, projectRoot: '/home/mike/github/cy-14-test', onError: [Function (anonymous)], onBranchChange: [Function: onBranchChange], onGitInfoChange: [Function: onGitInfoChange], onGitLogChange: [AsyncFunction: onGitLogChange] }
2025-01-16T18:28:32.535Z cypress:data-context:sources:GitDataSource Refreshing git data
2025-01-16T18:28:32.535Z cypress:data-context:sources:EventCollectorSource Starting
2025-01-16T18:28:32.538Z cypress:scaffold-config:detect Checking for default Cypress config file
2025-01-16T18:28:32.538Z cypress:scaffold-config:detect No typescript installed - using js
2025-01-16T18:28:32.542Z cypress:server:appdata path: /home/mike/.config/Cypress/cy/production/cache
2025-01-16T18:28:32.543Z cypress:data-context:actions:LocalSettingsActions refresh local settings
2025-01-16T18:28:32.543Z cypress:server:util:editors get user editor
2025-01-16T18:28:32.543Z cypress:server:saved_state making saved state from /home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/packages/server
2025-01-16T18:28:32.543Z cypress:server:saved_state missing project path, looking for project here
2025-01-16T18:28:32.561Z cypress:server:saved_state making saved state from /home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/packages/server
2025-01-16T18:28:32.561Z cypress:server:saved_state for project path /home/mike/github/cy-14-test
2025-01-16T18:28:32.561Z cypress:server:saved_state state path for project /home/mike/github/cy-14-test
2025-01-16T18:28:32.572Z cypress:server:appdata path: /home/mike/.config/Cypress/cy/production/projects/cy-14-test-283dc3242e30a89f7952ae6eea19aa43/state.json
2025-01-16T18:28:32.572Z cypress:server:saved_state full state path /home/mike/.config/Cypress/cy/production/projects/cy-14-test-283dc3242e30a89f7952ae6eea19aa43/state.json
2025-01-16T18:28:32.572Z cypress:server:saved_state making new state file around /home/mike/.config/Cypress/cy/production/projects/cy-14-test-283dc3242e30a89f7952ae6eea19aa43/state.json
2025-01-16T18:28:32.576Z cypress:data-context:sources:GitDataSource Loading git hashes
2025-01-16T18:28:32.586Z cypress:server:saved_state state path for global mode
2025-01-16T18:28:32.586Z cypress:server:appdata path: /home/mike/.config/Cypress/cy/production/projects/__global__/state.json
2025-01-16T18:28:32.586Z cypress:server:saved_state full state path /home/mike/.config/Cypress/cy/production/projects/__global__/state.json
2025-01-16T18:28:32.586Z cypress:server:saved_state making new state file around /home/mike/.config/Cypress/cy/production/projects/__global__/state.json
2025-01-16T18:28:32.587Z cypress:data-context:sources:GitDataSource hashes loaded
2025-01-16T18:28:32.587Z cypress:data-context:sources:GitDataSource Calling onGitLogChange: callback defined true, git hash count 1
2025-01-16T18:28:32.591Z cypress:lifecycle:ProjectConfigIpc fork child process { CHILD_PROCESS_FILE_PATH: '/home/mike/.cache/Cypress/14.0.0/Cypress/resources/app/node_modules/@packages/server/lib/plugins/child/require_async_child.js', configProcessArgs: [ '--projectRoot', '/home/mike/github/cy-14-test', '--file', '/home/mike/github/cy-14-test/cypress.config.js' ], childOptions: { stdio: 'pipe', cwd: '/home/mike/github/cy-14-test', execPath: '/home/mike/n/bin/node' } }
2025-01-16T18:28:32.591Z cypress:lifecycle:ProjectConfigIpc no typescript found, just use regular Node.js
2025-01-16T18:28:32.595Z cypress:lifecycle:ProjectConfigIpc trigger the load of the file
2025-01-16T18:28:32.596Z cypress:data-context:sources:GitDataSource On current branch main
2025-01-16T18:28:32.596Z cypress:data-context:sources:GitDataSource Creating watcher
2025-01-16T18:28:32.598Z cypress:data-context:sources:GitDataSource Watcher initialized
2025-01-16T18:28:32.599Z cypress:config:browser validating configuration {}
[12190:0116/192832.620062:ERROR:atom_cache.cc(229)] Add _NET_WM_WINDOW_TYPE_INDEX to kAtomsToCache
2025-01-16T18:28:32.635Z cypress:server:windows creating electron window with options { url: 'http://localhost:46579/__launchpad/index.html', backgroundColor: 'white', width: 1200, height: 800, minWidth: 597, minHeight: 400, x: null, y: null, type: 'INDEX', devTools: false, trackState: { width: 'appWidth', height: 'appHeight', x: 'appX', y: 'appY', devTools: 'isAppDevToolsOpen' }, onBlur: [Function: onBlur], onFocus: [Function: onFocus], onClose: [Function: onClose], show: true, frame: true, transparent: false, icon: NativeImage { toPNG: [Function: toPNG], toJPEG: [Function: toJPEG], toBitmap: [Function: toBitmap], getBitmap: [Function: getBitmap], getScaleFactors: [Function: getScaleFactors], getNativeHandle: [Function: getNativeHandle], toDataURL: [Function: toDataURL], isEmpty: [Function: isEmpty], getSize: [Function: getSize], setTemplateImage: [Function: setTemplateImage], isTemplateImage: [Function: isTemplateImage], isMacTemplateImage: [Getter/Setter], resize: [Function: resize], crop: [Function: crop], getAspectRatio: [Function: getAspectRatio], addRepresentation: [Function: addRepresentation] }, webPreferences: { contextIsolation: true, partition: null, webSecurity: false, nodeIntegration: false, backgroundThrottling: false, show: true }, contextMenu: false, recordFrameRate: null, onCrashed: [Function: onCrashed], onNewWindow: [Function: onNewWindow] }
Other
I am seeing this error message on two different x86 machines.
same here.. Cypress 14.0.0 - node 22.13.0 - Ubuntu 20.04.6 LTS
EDIT local system with a GPU
@JohanVandeplas
same here.. Cypress 14.0.0 - node 22.13.0 - Ubuntu 20.04.6 LTS
Is this on a local system with a GPU (which is where I see the issue) or is it on a headless CI system (where I have so far not seen this error message)?
@MikeMcC399
Facing the same error here. My laptop has a dedicated GPU.
I get a similar error when trying to run Cypress in Arch Linux:
npx cypress open
DevTools listening on ws://127.0.0.1:39859/devtools/browser/cd1eb506-4420-42da-96ca-679e99d83e17 [1787:0207/123931.453460:ERROR:atom_cache.cc(229)] Add _NET_WM_WINDOW_TYPE_INDEX to kAtomsToCache
node -v v23.7.0
npm -v 11.1.0
npx cypress --version Cypress package version: 14.0.2 Cypress binary version: 14.0.2 Electron version: 33.2.1 Bundled Node version: 20.18.1
Same error here
npx cypress open
DevTools listening on ws://127.0.0.1:37287/devtools/browser/5be233a2-8f61-4adc-8db6-2d183cd8b184
[24922:0219/110550.169867:ERROR:atom_cache.cc(229)] Add _NET_WM_WINDOW_TYPE_INDEX to kAtomsToCache
node -v
v22.14.0
OS: EndeavourOS Linux x86_64
Kernel: 6.13.2-arch1-1
I have the same issue after upgrading... from 13.7.0...
The issue is the test runner is full of bugs... and now this.
@tester-at-bmi
I have the same issue after upgrading... from 13.7.0...
It appears to belong to the category of "garbage errors" that can be ignored.
[email protected] upgraded Electron from electron from 27.3.10 to 33.2.1 and I would assume this error is related.
For similar errors, the Cypress team has added a corresponding "garbage errors" filter to prevent the message being shown in the logs. This hasn't been addressed so far.
This issue remains reproducible:
cd $(mktemp -d)
rm -rf ~/.cache/Cypress
rm -rf ~/.config/Cypress
git init
npm init -y
npm install [email protected] -D
npx cypress open
It looks like this is your first time using Cypress: 15.4.0
✔ Verified Cypress! /home/mike/.cache/Cypress/15.4.0/Cypress
Opening Cypress...
DevTools listening on ws://127.0.0.1:37127/devtools/browser/84eff20c-45f7-4790-9823-0ff0bc68e00d
[4669:1010/170809.606021:ERROR:ui/gfx/x/atom_cache.cc:232] Add _NET_WM_WINDOW_TYPE_INDEX to kAtomsToCache
Same _NET_WM_WINDOW_TYPE_INDEX error in Windows Subsystem for Linux (WSL2), but using native Windows works without an issue.
@lin826
Same
_NET_WM_WINDOW_TYPE_INDEXerror in Windows Subsystem for Linux (WSL2), but using native Windows works without an issue.
Yes, this garbage error was reported under Linux and does not affect Windows. WSL2 would be running some Linux distro like Ubuntu.
The issue is reproducible on different Linux distros, on a bare metal host and in virtualized environments:
Using Cypress 15.7.1
| Operating System | Linux Host Environment | Outcome |
|---|---|---|
| Debian 13 | VMware Workstation | ERROR |
| Fedora 43 | VMware Workstation | ERROR |
| Ubuntu 24.04 | Bare metal amd64 | ERROR |
| Ubuntu 24.04 | VMware Workstation | ERROR |
| Ubuntu 24.04 | WSL2 | ERROR |