Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: WebSocket connection closed (in cypress 13.6) #28523

Closed
joshkaplan opened this issue Dec 13, 2023 · 62 comments · Fixed by #29347
Closed

Error: WebSocket connection closed (in cypress 13.6) #28523

joshkaplan opened this issue Dec 13, 2023 · 62 comments · Fixed by #29347

Comments

@joshkaplan
Copy link

Current behavior

Cypress reports Error: WebSocket connection closed and then stops running tests and cypress.run returns with

{
  "failures": 1,
  "message": "Could not find Cypress test run results"
}

More context:

  • This happens sporadically, in the same spot, for a few projects. Maybe ~10% of the time for those projects.
  • This began after upgrading from Cypress 12.17 -> 13.6.1. Before/after volume of this error message:
    image

Desired behavior

Don't throw errors. Or give more information as to why the errors are happening.

Test code to reproduce

not sure how to reproduce; happens sporadically but consistently

Cypress Version

13.6.1

Node version

18.16.1

Operating System

linux/docker (CI/CD)

Debug Logs

No response

Other

No response

@joshkaplan joshkaplan changed the title Error: WebSocket connection closed after upgrading to Cypress 13 Error: WebSocket connection closed (after upgrading to Cypress 13) Dec 13, 2023
@ylkhayat
Copy link

Having the error, it's quite annoying, we decided to downgrade to 13.5.x!

@valse
Copy link

valse commented Dec 15, 2023

Hi, same issue too: downgraded to 13.5.1.

@joshkaplan joshkaplan changed the title Error: WebSocket connection closed (after upgrading to Cypress 13) Error: WebSocket connection closed (in cypress 13.6) Dec 15, 2023
@jennifer-shehane
Copy link
Member

Could someone run Cypress in debug mode mode and print the entire set of logs here? That would help determine where it might be happening.

Is this only happening when using the Module API? Or a specific way of running Cypress? (headed, headless, run, open, specific browsers?)

@jennifer-shehane jennifer-shehane added the stage: needs information Not enough info to reproduce the issue label Dec 18, 2023
@joshkaplan
Copy link
Author

on our end:

  • it's using the module api + headless. that's just how our tests run; doesn't rule out that it's happening other ways.
  • likely won't be able to get debug logs until at least next year (and even then it'll be time consuming, given that it's sporadic and the debug logs contain sensitive info that has to be carefully redacted.)

@allenbilar
Copy link

allenbilar commented Dec 19, 2023

We're encountering the same issue and I run the cypress test with debug logs. We're using cypress version 13.6.1 where we encountered the issue.

2023-12-13T03:14:20.390Z cypress:server:run received project end
2023-12-13T03:14:20.390Z cypress:server:run received videoController { videoController: { _pt: PassThrough { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 4, _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: true, [Symbol(kCapture)]: false, [Symbol(kCallback)]: null }, cmd: m { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, _inputs: [Array], _currentInput: [Object], _outputs: [Array], _currentOutput: [Object], _global: [Function], _complexFilters: [Function], options: [Object], logger: [Object], ffmpegProc: [ChildProcess], [Symbol(kCapture)]: false }, endVideoCapture: [Function: m], writeVideoFrame: [Function: writeVideoFrame], startedVideoCapture: 2023-12-13T03:11:03.739Z, restart: [AsyncFunction: restart] } }
2023-12-13T03:14:20.390Z cypress:server:run delaying to extend video { DELAY_TO_LET_VIDEO_FINISH_MS: 1000 }
2023-12-13T03:14:21.617Z cypress:server:video capture ended
2023-12-13T03:14:21.617Z cypress:server:run ended video capture
2023-12-13T03:14:21.617Z cypress:server:run spec results: { error: null, reporter: 'spec', reporterStats: { suites: 1, tests: 3, passes: 3, pending: 0, failures: 0, start: 2023-12-13T03:11:24.723Z, end: 2023-12-13T03:14:20.388Z, duration: 175665 }, screenshots: [], spec: { absolute: '/tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress/cypress/e2e/UI/not-global/administration/organization/areaTests.cy.js', fileExtension: '.js', fileName: 'areaTests', name: 'areaTests.cy.js', relative: 'cypress/e2e/UI/not-global/administration/organization/areaTests.cy.js' }, stats: { duration: 175662, endedAt: 2023-12-13T03:14:20.371Z, failures: 0, passes: 3, pending: 0, skipped: 0, startedAt: 2023-12-13T03:11:24.709Z, suites: 1, tests: 3 }, tests: [ { attempts: [Array], displayError: null, duration: 95728, state: 'passed', title: [Array] }, { attempts: [Array], displayError: null, duration: 39917, state: 'passed', title: [Array] }, { attempts: [Array], displayError: null, duration: 39906, state: 'passed', title: [Array] } ], video: '/tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress/cypress/videos/administration/organization/areaTests.cy.js.mp4' }
2023-12-13T03:14:21.617Z cypress:server:run execute after:spec
2023-12-13T03:14:21.617Z cypress:lifecycle:EventRegistrar plugin event registered? { eventName: 'after:spec', isRegistered: false }

  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        3                                                                                │
  │ Passing:      3                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     2 minutes, 55 seconds                                                            │
  │ Estimated:    2 minutes, 44 seconds                                                            │
  │ Spec Ran:     administration/organization/areaTests.cy.js                                      │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘

2023-12-13T03:14:21.625Z cypress:server:run attempting to close the browser tab
2023-12-13T03:14:21.625Z cypress:server:browsers:cri-client closing cri client { closed: false, target: 'A199E8AB0D396766F9294B2EA18DAF9C' }
2023-12-13T03:14:21.627Z cypress:server:browsers:cri-client closed cri client { closed: true, target: 'A199E8AB0D396766F9294B2EA18DAF9C' }
2023-12-13T03:14:21.627Z cypress:server:browsers:cri-client closing cri client { closed: false, target: 'ws://127.0.0.1:45553/devtools/browser/beeaa253-cc20-4485-869c-1eec4e8c56f2' }
WebSocket connection closed
Error: WebSocket connection closed
    at _._handleConnectionClose (<embedded>:2466:579841)
    at A.<anonymous> (<embedded>:2466:577905)
    at Object.onceWrapper (node:events:628:26)
    at A.emit (node:events:513:28)
    at A.emitClose (<embedded>:2466:558129)
    at Socket.W (<embedded>:2466:565440)
    at Socket.emit (node:events:513:28)
    at TCP.<anonymous> (node:net:322:12)
2023-12-13T03:14:21.631Z cypress:server:lib:util:suppress_warnings suppressed emitWarning from node: { process: process { version: 'v18.15.0', versions: { node: '18.15.0', v8: '11.4.183.29-electron.0', uv: '1.44.2', zlib: '1.2.13', brotli: '1.0.9', ares: '1.18.1', modules: '116', nghttp2: '1.51.0', napi: '8', llhttp: '6.0.10', uvwasi: '0.0.15', acorn: '8.8.2', simdutf: '3.1.0', undici: '5.20.0', openssl: '1.1.1', cldr: '42.0', icu: '72.1', tz: '2023a', unicode: '15.0', electron: '25.8.4', chrome: '114.0.5735.289' }, arch: 'x64', platform: 'linux', release: { name: 'node', lts: 'Hydrogen', sourceUrl: 'https://nodejs.org/download/release/v18.15.0/node-v18.15.0.tar.gz', headersUrl: 'https://nodejs.org/download/release/v18.15.0/node-v18.15.0-headers.tar.gz' }, _rawDebug: [Function: _rawDebug], moduleLoadList: [ 'Internal Binding builtins', 'Internal Binding errors', 'Internal Binding util', 'NativeModule internal/errors', 'Internal Binding config', 'Internal Binding timers', 'Internal Binding async_wrap', 'Internal Binding constants', 'Internal Binding types', 'NativeModule internal/util', 'NativeModule internal/util/types', 'NativeModule internal/validators', 'NativeModule internal/promise_hooks', 'Internal Binding task_queue', 'Internal Binding symbols', 'NativeModule internal/async_hooks', 'NativeModule internal/linkedlist', 'NativeModule internal/priority_queue', 'NativeModule internal/assert', 'Internal Binding icu', 'NativeModule internal/util/inspect', 'NativeModule internal/util/debuglog', 'NativeModule internal/timers', 'NativeModule events', 'Internal Binding buffer', 'Internal Binding string_decoder', 'NativeModule internal/buffer', 'Internal Binding blob', 'NativeModule internal/encoding', 'Internal Binding messaging', 'NativeModule internal/worker/js_transferable', 'NativeModule internal/constants', 'NativeModule internal/blob', 'NativeModule internal/file', 'NativeModule buffer', 'NativeModule internal/modules/esm/handle_process_exit', 'Internal Binding process_methods', 'NativeModule internal/process/per_thread', 'Internal Binding credentials', 'NativeModule internal/process/promises', 'NativeModule internal/fixed_queue', 'NativeModule async_hooks', 'NativeModule internal/process/task_queues', 'NativeModule timers', 'Internal Binding worker', 'NativeModule internal/util/parse_args/utils', 'NativeModule internal/util/parse_args/parse_args', 'NativeModule internal/mime', 'NativeModule util', 'Internal Binding performance', 'NativeModule internal/perf/utils', 'NativeModule internal/event_target', 'NativeModule internal/abort_controller', 'NativeModule internal/streams/utils', 'NativeModule internal/streams/end-of-stream', 'NativeModule internal/streams/destroy', 'NativeModule internal/streams/legacy', 'NativeModule internal/streams/add-abort-signal', 'NativeModule internal/streams/buffer_list', 'NativeModule internal/streams/state', 'NativeModule string_decoder', 'NativeModule internal/streams/from', 'NativeModule internal/streams/readable', 'NativeModule internal/streams/writable', 'NativeModule internal/streams/duplex', 'NativeModule internal/streams/pipeline', 'NativeModule internal/streams/compose', 'NativeModule internal/streams/operators', 'NativeModule stream/promises', 'NativeModule internal/streams/transform', 'NativeModule internal/streams/passthrough', 'NativeModule stream', 'NativeModule internal/worker/io', 'NativeModule internal/structured_clone', 'Internal Binding trace_events', 'NativeModule path', 'NativeModule internal/process/execution', 'NativeModule internal/process/warning', 'Internal Binding fs', 'NativeModule internal/querystring', 'NativeModule querystring', 'Internal Binding url', 'NativeModule internal/url', 'NativeModule internal/fs/utils', 'Internal Binding fs_dir', 'NativeModule internal/fs/dir', 'Internal Binding fs_event_wrap', 'Internal Binding uv', 'NativeModule internal/fs/watchers', 'NativeModule internal/fs/read_file_context', 'NativeModule fs', 'Internal Binding serdes', 'Internal Binding mksnapshot', 'NativeModule internal/v8/startup_snapshot', 'Internal Binding profiler', 'Internal Binding heap_utils', 'Internal Binding stream_wrap', 'NativeModule internal/stream_base_commons', 'NativeModule internal/heap_utils', 'Internal Binding options', ... 157 more items ], binding: [Function: binding], _linkedBinding: [Function: _linkedBinding], _events: [Object: null prototype] { newListener: [Function: startListeningIfSignal], removeListener: [Function: stopListeningIfSignal], warning: [Function: onWarning], uncaughtException: [Function], exit: [Array], SIGABRT: [Array], SIGALRM: [Array], SIGHUP: [Array], SIGINT: [Array], SIGTERM: [Array], SIGVTALRM: [Array], SIGXCPU: [Array], SIGXFSZ: [Array], SIGUSR2: [Array], SIGTRAP: [Array], SIGSYS: [Array], SIGQUIT: [Array], SIGIOT: [Array], SIGIO: [Array], SIGPOLL: [Array], SIGPWR: [Array], SIGSTKFLT: [Array], SIGUNUSED: [Array] }, _eventsCount: 23, _maxListeners: undefined, domain: null, _exiting: [Getter/Setter], config: [Getter/Setter], dlopen: [Function: func], uptime: [Function: uptime], _getActiveRequests: [Function: _getActiveRequests], _getActiveHandles: [Function: _getActiveHandles], getActiveResourcesInfo: [Function: getActiveResourcesInfo], reallyExit: [Function: g], _kill: [Function: _kill], cpuUsage: [Function: cpuUsage], resourceUsage: [Function: resourceUsage], memoryUsage: [Function: memoryUsage] { rss: [Function: rss] }, constrainedMemory: [Function: constrainedMemory], kill: [Function: kill], exit: [Function: exit], hrtime: [Function: hrtime] { bigint: [Function: hrtimeBigInt] }, openStdin: [Function (anonymous)], getuid: [Function: getuid], geteuid: [Function: geteuid], getgid: [Function: getgid], getegid: [Function: getegid], getgroups: [Function: getgroups], allowedNodeEnvironmentFlags: [Getter/Setter], assert: [Function: deprecated], features: { inspector: true, debug: false, uv: true, ipv6: true, tls_alpn: true, tls_sni: true, tls_ocsp: true, tls: true, cached_builtins: [Getter] }, _fatalException: [Function (anonymous)], setUncaughtExceptionCaptureCallback: [Function: setUncaughtExceptionCaptureCallback], hasUncaughtExceptionCaptureCallback: [Function: hasUncaughtExceptionCaptureCallback], emitWarning: [Function (anonymous)], nextTick: [Function (anonymous)], _tickCallback: [Function: runNextTicks], _debugProcess: [Function: _debugProcess], _debugEnd: [Function: _debugEnd], _startProfilerIdleNotifier: [Function (anonymous)], _stopProfilerIdleNotifier: [Function (anonymous)], stdout: [Getter], stdin: [Getter], stderr: [Getter], abort: [Function: abort], umask: [Function: wrappedUmask], chdir: [Function (anonymous)], cwd: [Function (anonymous)], initgroups: [Function: initgroups], setgroups: [Function: setgroups], setegid: [Function (anonymous)], seteuid: [Function (anonymous)], setgid: [Function (anonymous)], setuid: [Function (anonymous)], env: { JENKINS_HOME: '/var/jenkins_home', GIT_COMMITTER_NAME: 'jenkins', GIT_AUTHOR_EMAIL: 'jenkins@xxxxxxxxxxx.ph', npm_config_user_agent: 'npm/8.19.2 node/v16.18.1 linux x64 workspaces/false ci/jenkins', CI: 'true', NODE_VERSION: '16.18.1', HOSTNAME: '4c2fa517b0d2', RUN_CHANGES_DISPLAY_URL: 'https://xxxxxxxxxxx/job/core-banking-frontend-tests-cypress/1214/display/redirect?page=changes', YARN_VERSION: '1.22.19', DEBUG: 'cypress:*', npm_node_execpath: '/usr/local/bin/node', GIT_COMMIT: 'f1f9b4fa3de2ecb502bb36155bb2034d2801b0ad', HUDSON_URL: 'https://xxxxxxxxxxx/', NODE_LABELS: 'ec2-fleet-cypress i-0882530156d5f8d37', npm_config_noproxy: '', HOME: '/home/node', BUILD_URL: 'https://xxxxxxxxxxx/job/core-banking-frontend-tests-cypress/1214/', npm_package_json: '/tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress/package.json', GIT_AUTHOR_NAME: 'jenkins', JENKINS_SERVER_COOKIE: 'durable-7a8e2a9e78e8f78e6f774372f29898df86b8a31175636aa809b514ddbe767c2d', npm_config_userconfig: '/home/node/.npmrc', npm_config_local_prefix: '/tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress', NO_COLOR: '1', WORKSPACE: '/tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress', CYPRESS_trashAssetsBeforeRuns: 'false', COLOR: '0', npm_config_metrics_registry: 'https://registry.npmjs.org/', NODE_NAME: 'i-0882530156d5f8d37', RUN_ARTIFACTS_DISPLAY_URL: 'https://xxxxxxxxxxx/job/core-banking-frontend-tests-cypress/1214/display/redirect?page=artifacts', npm_config_prefix: '/usr/local', GIT_BRANCH: 'origin/bugfix/QA-1784-automation-ui-investigate-timed-out-run-in-cypress', EXECUTOR_NUMBER: '0', STAGE_NAME: 'Tester A', TERM: 'xterm', npm_config_cache: '/home/node/.npm', RUN_TESTS_DISPLAY_URL: 'https://xxxxxxxxxxx/job/core-banking-frontend-tests-cypress/1214/display/redirect?page=tests', BUILD_DISPLAY_NAME: '#1214', JOB_BASE_NAME: 'core-banking-frontend-tests-cypress', HUDSON_HOME: '/var/jenkins_home', npm_config_node_gyp: '/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js', PATH: '/tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress/node_modules/.bin:/tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress/node_modules/.bin:/tmp/jenkins-886bc277/workspace/node_modules/.bin:/tmp/jenkins-886bc277/node_modules/.bin:/tmp/node_modules/.bin:/node_modules/.bin:/usr/local/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', NODE: '/usr/local/bin/node', npm_package_name: 'master', BUILD_ID: '1214', BUILD_TAG: 'jenkins-core-banking-frontend-tests-cypress-1214', JENKINS_URL: 'https://xxxxxxxxxxx/', JOB_URL: 'https://xxxxxxxxxxx/job/core-banking-frontend-tests-cypress/', GIT_URL: 'git@github.com:xxxxxxxxxxx-ph/xxxxxxxxxxx-frontend-test-cypress', npm_config_loglevel: 'warn', npm_lifecycle_script: 'cypress', BUILD_NUMBER: '1214', JENKINS_NODE_COOKIE: '11140b0a-a664-4f87-bec8-a3351ca26f94', npm_package_version: '1.0.0', npm_lifecycle_event: 'npx', RUN_DISPLAY_URL: 'https://xxxxxxxxxxx/job/core-banking-frontend-tests-cypress/1214/display/redirect', npm_config_unsafe_perm: 'true', HUDSON_SERVER_COOKIE: '065f131076a82b5c', JOB_DISPLAY_URL: 'https://xxxxxxxxxxx/job/core-banking-frontend-tests-cypress/display/redirect', CLASSPATH: '', JOB_NAME: 'core-banking-frontend-tests-cypress', GIT_COMMITTER_EMAIL: 'jenkins@xxxxxxxxxxx.ph', npm_config_globalconfig: '/usr/local/etc/npmrc', npm_config_init_module: '/home/node/.npm-init.js', PWD: '/tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress', npm_execpath: '/usr/local/lib/node_modules/npm/bin/npx-cli.js', npm_config_global_prefix: '/usr/local', npm_command: 'exec', WORKSPACE_TMP: '/tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress@tmp', CYPRESS_RECORD_KEY: ****, INIT_CWD: '/tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress', EDITOR: 'vi', DISPLAY: ':99', FORCE_COLOR: '0', DEBUG_COLORS: '0', FORCE_STDIN_TTY: '0', FORCE_STDOUT_TTY: '0', FORCE_STDERR_TTY: '0', DBUS_SESSION_BUS_ADDRESS: 'disabled:', CHROME_DESKTOP: 'Cypress.desktop', ORIGINAL_XDG_CURRENT_DESKTOP: 'undefined', CYPRESS_INTERNAL_ENV: 'production', PROJECT_BASE_DIR: '/home/node/.cache/Cypress/13.6.1/Cypress/resources/app', UV_THREADPOOL_SIZE: '128', CYPRESS: 'true', GDK_BACKEND: 'x11', NO_AT_BRIDGE: '1', NODE_TLS_REJECT_UNAUTHORIZED: '0' }, type: 'browser', resourcesPath: '/home/node/.cache/Cypress/13.6.1/Cypress/resources', helperExecPath: '/home/node/.cache/Cypress/13.6.1/Cypress/Cypress', crash: [Function (anonymous)], hang: [Function (anonymous)], getCreationTime: [Function (anonymous)], getHeapStatistics: [Function (anonymous)], getBlinkMemoryInfo: [Function (anonymous)], getProcessMemoryInfo: [Function (anonymous)], getSystemMemoryInfo: [Function (anonymous)], getSystemVersion: [Function (anonymous)], getIOCounters: [Function (anonymous)], getCPUUsage: [Function (anonymous)], takeHeapSnapshot: [Function (anonymous)], setFdLimit: [Function (anonymous)], activateUvLoop: [Function (anonymous)], title: '/home/node/.cache/Cypress/13.6.1/Cypress/Cypress', argv: [ '/home/node/.cache/Cypress/13.6.1/Cypress/Cypress', '--no-sandbox', '--', '--run-project', '/tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress', '--ci-build-id', 'origin/bugfix/QA-1784-automation-ui-investigate-timed-out-run-in-cypress-1214', '--config', 'numTestsKeptInMemory=0,isInteractive=false', '--group', '1x-not-global', '--key', ****, '--parallel', '--record', 'true', '--spec', 'cypress/e2e/UI/not-global/**/*', '--cwd', '/tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress', '--userNodePath', '/usr/local/bin/node', '--userNodeVersion', '16.18.1' ], execArgv: [], pid: 421, ppid: 409, execPath: '/home/node/.cache/Cypress/13.6.1/Cypress/Cypress', debugPort: 9229, argv0: '/home/node/.cache/Cypress/13.6.1/Cypress/Cypress', exitCode: 1, _preload_modules: [], report: [Getter], setSourceMapsEnabled: [Function: setSourceMapsEnabled], _firstFileName: '/home/node/.cache/Cypress/13.6.1/Cypress/resources/app/index.js', mainModule: Module { id: '.', path: '/home/node/.cache/Cypress/13.6.1/Cypress/resources/app', exports: {}, filename: '/home/node/.cache/Cypress/13.6.1/Cypress/resources/app/index.js', loaded: true, children: [], paths: [Array] }, enablePromiseAPIs: false, noDeprecation: true, traceDeprecation: true, noAsar: undefined, __signal_exit_emitter__: EventEmitter { _events: [Object: null prototype], _eventsCount: 1, _maxListeners: Infinity, count: 2, emitted: {}, infinite: true, [Symbol(kCapture)]: false }, emit: [Function: f], log: undefined, [Symbol(kCapture)]: false }, warning: 'Error: WebSocket connection closed\n' + '    at _._handleConnectionClose (<embedded>:2466:579841)\n' + '    at A.<anonymous> (<embedded>:2466:577905)\n' + '    at Object.onceWrapper (node:events:628:26)\n' + '    at A.emit (node:events:513:28)\n' + '    at A.emitClose (<embedded>:2466:558129)\n' + '    at Socket.W (<embedded>:2466:565440)\n' + '    at Socket.emit (node:events:513:28)\n' + '    at TCP.<anonymous> (node:net:322:12)', type: 'UnhandledPromiseRejectionWarning', code: undefined, args: [] }
2023-12-13T03:14:21.632Z cypress:server:lib:util:suppress_warnings suppressed emitWarning from node: { process: process { version: 'v18.15.0', versions: { node: '18.15.0', v8: '11.4.183.29-electron.0', uv: '1.44.2', zlib: '1.2.13', brotli: '1.0.9', ares: '1.18.1', modules: '116', nghttp2: '1.51.0', napi: '8', llhttp: '6.0.10', uvwasi: '0.0.15', acorn: '8.8.2', simdutf: '3.1.0', undici: '5.20.0', openssl: '1.1.1', cldr: '42.0', icu: '72.1', tz: '2023a', unicode: '15.0', electron: '25.8.4', chrome: '114.0.5735.289' }, arch: 'x64', platform: 'linux', release: { name: 'node', lts: 'Hydrogen', sourceUrl: 'https://nodejs.org/download/release/v18.15.0/node-v18.15.0.tar.gz', headersUrl: 'https://nodejs.org/download/release/v18.15.0/node-v18.15.0-headers.tar.gz' }, _rawDebug: [Function: _rawDebug], moduleLoadList: [ 'Internal Binding builtins', 'Internal Binding errors', 'Internal Binding util', 'NativeModule internal/errors', 'Internal Binding config', 'Internal Binding timers', 'Internal Binding async_wrap', 'Internal Binding constants', 'Internal Binding types', 'NativeModule internal/util', 'NativeModule internal/util/types', 'NativeModule internal/validators', 'NativeModule internal/promise_hooks', 'Internal Binding task_queue', 'Internal Binding symbols', 'NativeModule internal/async_hooks', 'NativeModule internal/linkedlist', 'NativeModule internal/priority_queue', 'NativeModule internal/assert', 'Internal Binding icu', 'NativeModule internal/util/inspect', 'NativeModule internal/util/debuglog', 'NativeModule internal/timers', 'NativeModule events', 'Internal Binding buffer', 'Internal Binding string_decoder', 'NativeModule internal/buffer', 'Internal Binding blob', 'NativeModule internal/encoding', 'Internal Binding messaging', 'NativeModule internal/worker/js_transferable', 'NativeModule internal/constants', 'NativeModule internal/blob', 'NativeModule internal/file', 'NativeModule buffer', 'NativeModule internal/modules/esm/handle_process_exit', 'Internal Binding process_methods', 'NativeModule internal/process/per_thread', 'Internal Binding credentials', 'NativeModule internal/process/promises', 'NativeModule internal/fixed_queue', 'NativeModule async_hooks', 'NativeModule internal/process/task_queues', 'NativeModule timers', 'Internal Binding worker', 'NativeModule internal/util/parse_args/utils', 'NativeModule internal/util/parse_args/parse_args', 'NativeModule internal/mime', 'NativeModule util', 'Internal Binding performance', 'NativeModule internal/perf/utils', 'NativeModule internal/event_target', 'NativeModule internal/abort_controller', 'NativeModule internal/streams/utils', 'NativeModule internal/streams/end-of-stream', 'NativeModule internal/streams/destroy', 'NativeModule internal/streams/legacy', 'NativeModule internal/streams/add-abort-signal', 'NativeModule internal/streams/buffer_list', 'NativeModule internal/streams/state', 'NativeModule string_decoder', 'NativeModule internal/streams/from', 'NativeModule internal/streams/readable', 'NativeModule internal/streams/writable', 'NativeModule internal/streams/duplex', 'NativeModule internal/streams/pipeline', 'NativeModule internal/streams/compose', 'NativeModule internal/streams/operators', 'NativeModule stream/promises', 'NativeModule internal/streams/transform', 'NativeModule internal/streams/passthrough', 'NativeModule stream', 'NativeModule internal/worker/io', 'NativeModule internal/structured_clone', 'Internal Binding trace_events', 'NativeModule path', 'NativeModule internal/process/execution', 'NativeModule internal/process/warning', 'Internal Binding fs', 'NativeModule internal/querystring', 'NativeModule querystring', 'Internal Binding url', 'NativeModule internal/url', 'NativeModule internal/fs/utils', 'Internal Binding fs_dir', 'NativeModule internal/fs/dir', 'Internal Binding fs_event_wrap', 'Internal Binding uv', 'NativeModule internal/fs/watchers', 'NativeModule internal/fs/read_file_context', 'NativeModule fs', 'Internal Binding serdes', 'Internal Binding mksnapshot', 'NativeModule internal/v8/startup_snapshot', 'Internal Binding profiler', 'Internal Binding heap_utils', 'Internal Binding stream_wrap', 'NativeModule internal/stream_base_commons', 'NativeModule internal/heap_utils', 'Internal Binding options', ... 157 more items ], binding: [Function: binding], _linkedBinding: [Function: _linkedBinding], _events: [Object: null prototype] { newListener: [Function: startListeningIfSignal], removeListener: [Function: stopListeningIfSignal], warning: [Function: onWarning], uncaughtException: [Function], exit: [Array], SIGABRT: [Array], SIGALRM: [Array], SIGHUP: [Array], SIGINT: [Array], SIGTERM: [Array], SIGVTALRM: [Array], SIGXCPU: [Array], SIGXFSZ: [Array], SIGUSR2: [Array], SIGTRAP: [Array], SIGSYS: [Array], SIGQUIT: [Array], SIGIOT: [Array], SIGIO: [Array], SIGPOLL: [Array], SIGPWR: [Array], SIGSTKFLT: [Array], SIGUNUSED: [Array] }, _eventsCount: 23, _maxListeners: undefined, domain: null, _exiting: [Getter/Setter], config: [Getter/Setter], dlopen: [Function: func], uptime: [Function: uptime], _getActiveRequests: [Function: _getActiveRequests], _getActiveHandles: [Function: _getActiveHandles], getActiveResourcesInfo: [Function: getActiveResourcesInfo], reallyExit: [Function: g], _kill: [Function: _kill], cpuUsage: [Function: cpuUsage], resourceUsage: [Function: resourceUsage], memoryUsage: [Function: memoryUsage] { rss: [Function: rss] }, constrainedMemory: [Function: constrainedMemory], kill: [Function: kill], exit: [Function: exit], hrtime: [Function: hrtime] { bigint: [Function: hrtimeBigInt] }, openStdin: [Function (anonymous)], getuid: [Function: getuid], geteuid: [Function: geteuid], getgid: [Function: getgid], getegid: [Function: getegid], getgroups: [Function: getgroups], allowedNodeEnvironmentFlags: [Getter/Setter], assert: [Function: deprecated], features: { inspector: true, debug: false, uv: true, ipv6: true, tls_alpn: true, tls_sni: true, tls_ocsp: true, tls: true, cached_builtins: [Getter] }, _fatalException: [Function (anonymous)], setUncaughtExceptionCaptureCallback: [Function: setUncaughtExceptionCaptureCallback], hasUncaughtExceptionCaptureCallback: [Function: hasUncaughtExceptionCaptureCallback], emitWarning: [Function (anonymous)], nextTick: [Function (anonymous)], _tickCallback: [Function: runNextTicks], _debugProcess: [Function: _debugProcess], _debugEnd: [Function: _debugEnd], _startProfilerIdleNotifier: [Function (anonymous)], _stopProfilerIdleNotifier: [Function (anonymous)], stdout: [Getter], stdin: [Getter], stderr: [Getter], abort: [Function: abort], umask: [Function: wrappedUmask], chdir: [Function (anonymous)], cwd: [Function (anonymous)], initgroups: [Function: initgroups], setgroups: [Function: setgroups], setegid: [Function (anonymous)], seteuid: [Function (anonymous)], setgid: [Function (anonymous)], setuid: [Function (anonymous)], env: { JENKINS_HOME: '/var/jenkins_home', GIT_COMMITTER_NAME: 'jenkins', GIT_AUTHOR_EMAIL: 'jenkins@xxxxxxxxxxx.ph', npm_config_user_agent: 'npm/8.19.2 node/v16.18.1 linux x64 workspaces/false ci/jenkins', CI: 'true', NODE_VERSION: '16.18.1', HOSTNAME: '4c2fa517b0d2', RUN_CHANGES_DISPLAY_URL: 'https://xxxxxxxxxxx/job/core-banking-frontend-tests-cypress/1214/display/redirect?page=changes', YARN_VERSION: '1.22.19', DEBUG: 'cypress:*', npm_node_execpath: '/usr/local/bin/node', GIT_COMMIT: 'f1f9b4fa3de2ecb502bb36155bb2034d2801b0ad', HUDSON_URL: 'https://xxxxxxxxxxx/', NODE_LABELS: 'ec2-fleet-cypress i-0882530156d5f8d37', npm_config_noproxy: '', HOME: '/home/node', BUILD_URL: 'https://xxxxxxxxxxx/job/core-banking-frontend-tests-cypress/1214/', npm_package_json: '/tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress/package.json', GIT_AUTHOR_NAME: 'jenkins', JENKINS_SERVER_COOKIE: 'durable-7a8e2a9e78e8f78e6f774372f29898df86b8a31175636aa809b514ddbe767c2d', npm_config_userconfig: '/home/node/.npmrc', npm_config_local_prefix: '/tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress', NO_COLOR: '1', WORKSPACE: '/tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress', CYPRESS_trashAssetsBeforeRuns: 'false', COLOR: '0', npm_config_metrics_registry: 'https://registry.npmjs.org/', NODE_NAME: 'i-0882530156d5f8d37', RUN_ARTIFACTS_DISPLAY_URL: 'https://xxxxxxxxxxx/job/core-banking-frontend-tests-cypress/1214/display/redirect?page=artifacts', npm_config_prefix: '/usr/local', GIT_BRANCH: 'origin/bugfix/QA-1784-automation-ui-investigate-timed-out-run-in-cypress', EXECUTOR_NUMBER: '0', STAGE_NAME: 'Tester A', TERM: 'xterm', npm_config_cache: '/home/node/.npm', RUN_TESTS_DISPLAY_URL: 'https://xxxxxxxxxxx/job/core-banking-frontend-tests-cypress/1214/display/redirect?page=tests', BUILD_DISPLAY_NAME: '#1214', JOB_BASE_NAME: 'core-banking-frontend-tests-cypress', HUDSON_HOME: '/var/jenkins_home', npm_config_node_gyp: '/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js', PATH: '/tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress/node_modules/.bin:/tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress/node_modules/.bin:/tmp/jenkins-886bc277/workspace/node_modules/.bin:/tmp/jenkins-886bc277/node_modules/.bin:/tmp/node_modules/.bin:/node_modules/.bin:/usr/local/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', NODE: '/usr/local/bin/node', npm_package_name: 'master', BUILD_ID: '1214', BUILD_TAG: 'jenkins-core-banking-frontend-tests-cypress-1214', JENKINS_URL: 'https://xxxxxxxxxxx/', JOB_URL: 'https://xxxxxxxxxxx/job/core-banking-frontend-tests-cypress/', GIT_URL: 'git@github.com:xxxxxxxxxxx-ph/xxxxxxxxxxx-frontend-test-cypress', npm_config_loglevel: 'warn', npm_lifecycle_script: 'cypress', BUILD_NUMBER: '1214', JENKINS_NODE_COOKIE: '11140b0a-a664-4f87-bec8-a3351ca26f94', npm_package_version: '1.0.0', npm_lifecycle_event: 'npx', RUN_DISPLAY_URL: 'https://xxxxxxxxxxx/job/core-banking-frontend-tests-cypress/1214/display/redirect', npm_config_unsafe_perm: 'true', HUDSON_SERVER_COOKIE: '065f131076a82b5c', JOB_DISPLAY_URL: 'https://xxxxxxxxxxx/job/core-banking-frontend-tests-cypress/display/redirect', CLASSPATH: '', JOB_NAME: 'core-banking-frontend-tests-cypress', GIT_COMMITTER_EMAIL: 'jenkins@xxxxxxxxxxx.ph', npm_config_globalconfig: '/usr/local/etc/npmrc', npm_config_init_module: '/home/node/.npm-init.js', PWD: '/tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress', npm_execpath: '/usr/local/lib/node_modules/npm/bin/npx-cli.js', npm_config_global_prefix: '/usr/local', npm_command: 'exec', WORKSPACE_TMP: '/tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress@tmp', CYPRESS_RECORD_KEY: ****, INIT_CWD: '/tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress', EDITOR: 'vi', DISPLAY: ':99', FORCE_COLOR: '0', DEBUG_COLORS: '0', FORCE_STDIN_TTY: '0', FORCE_STDOUT_TTY: '0', FORCE_STDERR_TTY: '0', DBUS_SESSION_BUS_ADDRESS: 'disabled:', CHROME_DESKTOP: 'Cypress.desktop', ORIGINAL_XDG_CURRENT_DESKTOP: 'undefined', CYPRESS_INTERNAL_ENV: 'production', PROJECT_BASE_DIR: '/home/node/.cache/Cypress/13.6.1/Cypress/resources/app', UV_THREADPOOL_SIZE: '128', CYPRESS: 'true', GDK_BACKEND: 'x11', NO_AT_BRIDGE: '1', NODE_TLS_REJECT_UNAUTHORIZED: '0' }, type: 'browser', resourcesPath: '/home/node/.cache/Cypress/13.6.1/Cypress/resources', helperExecPath: '/home/node/.cache/Cypress/13.6.1/Cypress/Cypress', crash: [Function (anonymous)], hang: [Function (anonymous)], getCreationTime: [Function (anonymous)], getHeapStatistics: [Function (anonymous)], getBlinkMemoryInfo: [Function (anonymous)], getProcessMemoryInfo: [Function (anonymous)], getSystemMemoryInfo: [Function (anonymous)], getSystemVersion: [Function (anonymous)], getIOCounters: [Function (anonymous)], getCPUUsage: [Function (anonymous)], takeHeapSnapshot: [Function (anonymous)], setFdLimit: [Function (anonymous)], activateUvLoop: [Function (anonymous)], title: '/home/node/.cache/Cypress/13.6.1/Cypress/Cypress', argv: [ '/home/node/.cache/Cypress/13.6.1/Cypress/Cypress', '--no-sandbox', '--', '--run-project', '/tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress', '--ci-build-id', 'origin/bugfix/QA-1784-automation-ui-investigate-timed-out-run-in-cypress-1214', '--config', 'numTestsKeptInMemory=0,isInteractive=false', '--group', '1x-not-global', '--key', ****, '--parallel', '--record', 'true', '--spec', 'cypress/e2e/UI/not-global/**/*', '--cwd', '/tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress', '--userNodePath', '/usr/local/bin/node', '--userNodeVersion', '16.18.1' ], execArgv: [], pid: 421, ppid: 409, execPath: '/home/node/.cache/Cypress/13.6.1/Cypress/Cypress', debugPort: 9229, argv0: '/home/node/.cache/Cypress/13.6.1/Cypress/Cypress', exitCode: 1, _preload_modules: [], report: [Getter], setSourceMapsEnabled: [Function: setSourceMapsEnabled], _firstFileName: '/home/node/.cache/Cypress/13.6.1/Cypress/resources/app/index.js', mainModule: Module { id: '.', path: '/home/node/.cache/Cypress/13.6.1/Cypress/resources/app', exports: {}, filename: '/home/node/.cache/Cypress/13.6.1/Cypress/resources/app/index.js', loaded: true, children: [], paths: [Array] }, enablePromiseAPIs: false, noDeprecation: true, traceDeprecation: true, noAsar: undefined, __signal_exit_emitter__: EventEmitter { _events: [Object: null prototype], _eventsCount: 1, _maxListeners: Infinity, count: 2, emitted: {}, infinite: true, [Symbol(kCapture)]: false }, emit: [Function: f], log: undefined, [Symbol(kCapture)]: false }, warning: Error: WebSocket connection closed at _._handleConnectionClose (<embedded>:2466:579841) at A.<anonymous> (<embedded>:2466:577905) at Object.onceWrapper (node:events:628:26) at A.emit (node:events:513:28) at A.emitClose (<embedded>:2466:558129) at Socket.W (<embedded>:2466:565440) at Socket.emit (node:events:513:28) at TCP.<anonymous> (node:net:322:12), type: undefined, code: undefined, args: [] }
2023-12-13T03:14:21.634Z cypress:server:browsers:cri-client closed cri client { closed: true, target: 'ws://127.0.0.1:45553/devtools/browser/beeaa253-cc20-4485-869c-1eec4e8c56f2' }
2023-12-13T03:14:21.635Z cypress:server:browsers:electron closed event fired
2023-12-13T03:14:21.635Z cypress:server:windows error removing all extensions { err: TypeError: Object has been destroyed at Object.f (<embedded>:4454:97229) at BrowserWindow.<anonymous> (<embedded>:4454:110783) at Object.onceWrapper (node:events:628:26) at BrowserWindow.emit (node:events:525:35) at T.sendCloseCommandFn (<embedded>:4454:105415), extensions: undefined }
2023-12-13T03:14:21.635Z cypress:server:browsers browser instance exit event received { code: undefined, signal: undefined }
2023-12-13T03:14:21.635Z cypress:server:preprocessor removeFile /tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress/cypress/e2e/UI/not-global/administration/organization/areaTests.cy.js
2023-12-13T03:14:21.635Z cypress:server:preprocessor base emitter plugin close event
2023-12-13T03:14:21.636Z cypress:server:preprocessor base emitter native close event
2023-12-13T03:14:21.636Z cypress:server:browsers:electron closing remote interface client { options: {} }
2023-12-13T03:14:21.636Z cypress:server:browsers:browser-cri-client browser cri client is already closed
2023-12-13T03:14:21.636Z cypress:server:run all BrowserWindows closed, not exiting

  (Video)

  -  Video output: /tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress/cypress/videos/administration/organization/areaTests.cy.js.mp4

2023-12-13T03:14:21.639Z cypress:server:run resetting server state
2023-12-13T03:14:21.640Z cypress:proxy:http:util:buffers resetting buffers
2023-12-13T03:14:21.640Z cypress:network:cors Parsed URL { port: '443', protocol: 'https:', subdomain: 'xxxxxxxxxxx', domain: 'xxxxxxxxxxx', tld: 'cloud' }
2023-12-13T03:14:21.640Z cypress:network:cors Parsed URL { port: '443', protocol: 'https:', subdomain: 'xxxxxxxxxxx', domain: 'xxxxxxxxxxx', tld: 'cloud' }
2023-12-13T03:14:21.640Z cypress:server:remote-states setting remote state { auth: undefined, origin: 'https://xxxxxxxxxxx', strategy: 'http', fileServer: null, domainName: 'xxxxxxxxxxxxxxxxxxxxxx', props: { port: '443', protocol: 'https:', subdomain: 'xxxxxxxxxxx', domain: 'xxxxxxxxxxx', tld: 'cloud' } } for https://xxxxxxxxxxxxxxxxxxxxxx
2023-12-13T03:14:21.640Z cypress:network:cors Parsed URL { port: '443', protocol: 'https:', subdomain: null, domain: 'xxxxxxxxxxx', tld: 'cloud' }
2023-12-13T03:14:21.640Z cypress:server:remote-states getting remote state: { auth: undefined, origin: 'https://xxxxxxxxxxx', strategy: 'http', fileServer: null, domainName: 'xxxxxxxxxxxxxxxxxxxxxx', props: { port: '443', protocol: 'https:', subdomain: 'xxxxxxxxxxx', domain: 'xxxxxxxxxxx', tld: 'cloud' } } for: https://xxxxxxxxxxxxxxxxxxxxxx
2023-12-13T03:14:21.640Z cypress:server:run compressing recording
2023-12-13T03:14:21.640Z cypress:server:run ending the video recording { quiet: false, videoCompression: false, processOptions: { compressedVideoName: '/tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress/cypress/videos/administration/organization/areaTests.cy.js-compressed.mp4', videoName: '/tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress/cypress/videos/administration/organization/areaTests.cy.js.mp4', chaptersConfig: ';FFMETADATA1\n' + '[CHAPTER]\n' + 'TIMEBASE=1/1000\n' + 'START=-74727\n' + 'END=21001\n' + 'title=Administation - Organization - Area - Tests QA-269 Administration - Organization - Create new area\n' + '[CHAPTER]\n' + 'TIMEBASE=1/1000\n' + 'START=76858\n' + 'END=116775\n' + 'title=Administation - Organization - Area - Tests QA-270 Administration - Organization - Edit area\n' + '[CHAPTER]\n' + 'TIMEBASE=1/1000\n' + 'START=116808\n' + 'END=156714\n' + 'title=Administation - Organization - Area - Tests QA-271 Administration - Organization - Delete area' } }
2023-12-13T03:14:21.640Z cypress:server:run skipping compression
2023-12-13T03:14:21.641Z cypress:server:record after spec run { spec: { fileExtension: '.js', baseName: 'areaTests.cy.js', fileName: 'areaTests', specFileExtension: '.cy.js', relativeToCommonRoot: 'administration/organization/areaTests.cy.js', specType: 'integration', name: 'cypress/e2e/UI/not-global/administration/organization/areaTests.cy.js', relative: 'cypress/e2e/UI/not-global/administration/organization/areaTests.cy.js', absolute: '/tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress/cypress/e2e/UI/not-global/administration/organization/areaTests.cy.js' } }
2023-12-13T03:14:21.640Z cypress:webpack close /tmp/jenkins-886bc277/workspace/core-banking-frontend-tests-cypress/cypress/e2e/UI/not-global/administration/organization/areaTests.cy.js
2023-12-13T03:14:21.644Z cypress:server:cloud:api request to url: POST https://api.cypress.io/instances/57ef3118-e6ea-448b-9abc-361164b6e6ff/results with params: {"body":{"stats":{"suites":1,"tests":3,"passes":3,"pending":0,"skipped":0,"failures":0,"wallClockStartedAt":"2023-12-13T03:11:24.709Z","wallClockDuration":175662,"wallClockEndedAt":"2023-12-13T03:14:20.371Z"},"tests":[{"clientId":"r3","state":"passed","displayError":null,"attempts":[{"state":"passed","error":null,"timings":{"lifecycle":54,"before all":[{"hookId":"h1","fnDuration":11656,"afterFnDuration":1}],"before each":[{"hookId":"h2","fnDuration":12570,"afterFnDuration":1}],"test":{"fnDuration":71197,"afterFnDuration":0}},"failedFromHookId":null,"wallClockStartedAt":"2023-12-13T03:11:24.740Z","wallClockDuration":95728,"videoTimestamp":21001}]},{"clientId":"r4","state":"passed","displayError":null,"attempts":[{"state":"passed","error":null,"timings":{"lifecycle":1345,"before each":[{"hookId":"h2","fnDuration":253,"afterFnDuration":1}],"test":{"fnDuration":38096,"afterFnDuration":0}},"failedFromHookId":null,"wallClockStartedAt":"2023-12-13T03:13:00.514Z","wallClockDuration":39917,"videoTimestamp":116775}]},{"clientId":"r5","state":"passed","displayError":null,"attempts":[{"state":"passed","error":null,"timings":{"lifecycle":1810,"before each":[{"hookId":"h2","fnDuration":207,"afterFnDuration":1}],"test":{"fnDuration":37615,"afterFnDuration":1}},"failedFromHookId":null,"wallClockStartedAt":"2023-12-13T03:13:40.453Z","wallClockDuration":39906,"videoTimestamp":156714}]}],"exception":null,"video":true,"screenshots":[],"reporterStats":{"suites":1,"tests":3,"passes":3,"pending":0,"failures":0,"start":"2023-12-13T03:11:24.723Z","end":"2023-12-13T03:14:20.388Z","duration":175665},"metadata":{"studioCreated":0,"studioExtended":0}},"headers":{"x-route-version":"1","x-cypress-request-attempt":0,"x-os-name":"linux","x-cypress-version":"13.6.1"}} and token: undefined
2023-12-13T03:14:21.645Z cypress:network:agent addRequest called { isHttps: true, href: 'https://api.cypress.io/instances/57ef3118-e6ea-448b-9abc-361164b6e6ff/results' }
2023-12-13T03:14:21.645Z cypress:network:agent got family { family: 4, href: 'https://api.cypress.io/instances/57ef3118-e6ea-448b-9abc-361164b6e6ff/results' }
2023-12-13T03:14:21.650Z cypress:server:cloud:api request to url: POST https://api.cypress.io/exceptions with params: {"body":{"err":{"name":"Error","message":"WebSocket connection closed","stack":"Error: WebSocket connection closed\n    at _._handleConnectionClose (<embedded>:2466:579841)\n    at A.<anonymous> (<embedded>:2466:577905)\n    at Object.onceWrapper (node:events:628:26)\n    at A.emit (node:events:513:28)\n    at A.emitClose (<embedded>:2466:558129)\n    at Socket.W (<embedded>:2466:565440)\n    at Socket.emit (node:events:513:28)\n    at TCP.<anonymous> (node:net:322:12)"},"version":"13.6.1","osName":"linux","osVersion":"Debian - ","osCpus":[{"model":"Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz","speed":2499,"times":{"user":282110,"nice":59640,"sys":63070,"idle":597210,"irq":0}},{"model":"Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz","speed":2499,"times":{"user":289490,"nice":58040,"sys":62210,"idle":604920,"irq":0}},{"model":"Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz","speed":2499,"times":{"user":282910,"nice":58390,"sys":61910,"idle":593330,"irq":0}},{"model":"Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz","speed":2499,"times":{"user":286320,"nice":58270,"sys":63870,"idle":602900,"irq":0}}],"osMemory":{"free":13192687616,"total":16583741440}},"headers":{"x-os-name":"linux","x-cypress-version":"13.6.1"}} and token: undefined
2023-12-13T03:14:21.652Z cypress:network:agent addRequest called { isHttps: true, href: 'https://api.cypress.io/exceptions' }
2023-12-13T03:14:21.653Z cypress:network:agent got family { family: 4, href: 'https://api.cypress.io/exceptions' }
2023-12-13T03:14:21.654Z cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 59734 }
2023-12-13T03:14:21.655Z cypress:server:browsers browsers.kill called with no active instance
2023-12-13T03:14:21.655Z cypress:proxy:http:util:prerequests metrics: { browserPreRequestsReceived: 1160, proxyRequestsReceived: 864, immediatelyMatchedRequests: 474, unmatchedRequests: 0, unmatchedPreRequests: 81 }
2023-12-13T03:14:21.813Z cypress:cli child event fired { event: 'exit', code: 1, signal: null }
2023-12-13T03:14:21.815Z cypress:cli Stopping Xvfb
script returned exit code 1

After downgrading the cypress version to 13.5.1, we no longer encounter the websocket connection close issue. Looking forward for a fix for this.

@jennifer-shehane
Copy link
Member

@allenbilar Thanks for providing the debug logs. This narrows down the area we should be looking in I believe. It seems to be related with our browser tab closing logic.

It would be great to have a reproducible example to narrow in further. Does this happen randomly at the end of any spec? Or at the same spot each time?

@allenbilar
Copy link

@allenbilar Thanks for providing the debug logs. This narrows down the area we should be looking in I believe. It seems to be related with our browser tab closing logic.

It would be great to have a reproducible example to narrow in further. Does this happen randomly at the end of any spec? Or at the same spot each time?

@jennifer-shehane at the same spot each time.

@DanielPhangHL
Copy link

Any update on fixing this issue ? The issue still persist in v13.6.2.

@jennifer-shehane
Copy link
Member

@DanielPhangHL We don't have a way to reproduce this issue, so haven't been able to investigate. Could someone provide a way to reproduce the issue?

@vasilev-alex
Copy link

@jennifer-shehane which debug logs do you need? cypress:server?

@vasilev-alex
Copy link

vasilev-alex commented Jan 4, 2024

@jennifer-shehane I narrowed it down to a single test. The last thing it does it clicks on a button which in place should render a chart. It works perfectly fine when tested manually

 cypress:server:socket-base backend:request { eventName: 'protocol:command:log:changed', args: [ { id: 'log-https://**private**-19231', event: false, hookId: 'r3', instrument: 'command', message: '{force: true}', name: 'click', numElements: 1, renderProps: {}, state: 'pending', testId: 'r3', timeout: 60000, type: 'child', url: '**private**', visible: true, wallClockStartedAt: '2024-01-04T14:47:20.654Z', testCurrentRetry: 0, snapshots: [Array], createdAtTimestamp: 1704379640654.5999, updatedAtTimestamp: 1704379640656.2998, highlightAttr: 'data-cypress-el' } ] } +0ms
  cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 50240 } +4s
  cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 50226 } +525ms
  cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 50214 } +6ms
  cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 50288 } +273ms
  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    │     'Chrome'      │      8       │ '2059, 2063, 2064, 2070, 2085, 2071 ... 2 more items' │   25.38    │     23.15      │ 3596.23  │    1865.8    │   3596.23   │
  cypress:server:util:process_profiler │    1    │     'cypress'     │      1       │                        '1610'                         │    0.73    │      3.76      │  447.67  │    452.18    │   523.93    │
  cypress:server:util:process_profiler │    2    │     'plugin'      │      1       │                        '1836'                         │     0      │      0.01      │  231.41  │    235.66    │   316.47    │
  cypress:server:util:process_profiler │    3    │ 'electron-shared' │      4       │               '1626, 1789, 1627, 1821'                │     0      │       0        │  200.27  │    198.94    │    200.7    │
  cypress:server:util:process_profiler │    4    │     'ffmpeg'      │      1       │                        '2121'                         │     0      │      0.98      │  59.71   │    57.71     │    60.34    │
  cypress:server:util:process_profiler │    5    │      'other'      │      2       │                     '7095, 7096'                      │     0      │       0        │   3.48   │     3.42     │    3.55     │
  cypress:server:util:process_profiler │    6    │      'TOTAL'      │      17      │                          '-'                          │    26.1    │     27.51      │ 4538.77  │   2778.31    │   4538.77   │
  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    │     'Chrome'      │      8       │ '2059, 2063, 2064, 2070, 2085, 2071 ... 2 more items' │   25.31    │     23.92      │ 4235.45  │   2266.91    │   4286.23   │
  cypress:server:util:process_profiler │    1    │     'cypress'     │      1       │                        '1610'                         │    0.72    │      3.1       │  291.77  │    438.37    │   523.93    │
  cypress:server:util:process_profiler │    2    │     'plugin'      │      1       │                        '1836'                         │     0      │      0.01      │  231.41  │    234.72    │   316.47    │
  cypress:server:util:process_profiler │    3    │ 'electron-shared' │      4       │               '1626, 1789, 1627, 1821'                │     0      │       0        │  75.78   │    189.07    │    200.7    │
  cypress:server:util:process_profiler │    4    │     'ffmpeg'      │      1       │                        '2121'                         │     0      │      0.76      │   48.3   │    57.48     │    60.34    │
  cypress:server:util:process_profiler │    5    │      'other'      │      2       │                     '8506, 8507'                      │     0      │       0        │   3.38   │     3.41     │    3.55     │
  cypress:server:util:process_profiler │    6    │      'TOTAL'      │      17      │                          '-'                          │   26.04    │     27.48      │  4886.1  │   3157.15    │   5086.94   │
  cypress:server:util:process_profiler └─────────┴───────────────────┴──────────────┴───────────────────────────────────────────────────────┴────────────┴────────────────┴──────────┴──────────────┴─────────────┘ +10s
  cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 50272 } +8m
  cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 42364 } +1ms
  cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 50256 } +5ms
  cypress:server:browsers:cri-client crash detected +13m
  cypress:server:run onError +13m

We detected that the Chrome Renderer process just crashed.

We have failed the current spec but will continue running the next spec.

This can happen for a number of different reasons.

If you're running lots of tests on a memory intense application.
  - Try increasing the CPU/memory on the machine you're running on.
  - Try enabling experimentalMemoryManagement in your config file.
  - Try lowering numTestsKeptInMemory in your config file during 'cypress open'.

@sowardskimberly
Copy link

sowardskimberly commented Jan 4, 2024

@DanielPhangHL We don't have a way to reproduce this issue, so haven't been able to investigate. Could someone provide a way to reproduce the issue?

I saw this yesterday for the first time. The changes we did recently

  • Moved from gitlab runners to self hosted runners using windows VMs
  • We are still setting up runners so we have 5 VMs for 5 parallazations. I.e. only one run can run at a time
  • When i was watching it close enough to see it happen we would have one test run running (using all 5 VMs) and it would queue up the next test run. The next test run would start out with 1 runner, then eventually get all 5 before the run finished. The machine that started out would be the one that would disconnect

image

@todd-m-kemp
Copy link

I'm attempting an upgrade to Cypress 13.6.2 and seem to be running into this issue myself as well. I don't have a reproducible example to provide either at this time but curious to see what can be said given the information that others have provided. 👀

@jennifer-shehane
Copy link
Member

@vasilev-alex Could you provide the code to run that single test? Or a similar test that recreates the same behavior?

@vasilev-alex
Copy link

@jennifer-shehane it doesn't do anything fancy, just clicks a button, which in turn loads another "app" which is in iframe. I guess this might be an issue

@todd-m-kemp
Copy link

todd-m-kemp commented Jan 5, 2024

Our problematic test involves an iframe as well... no clicking though. Just visiting a page that happens to contain an iframe and doing some assertions on the static page.

  it('Error: WebSocket connection closed', function () {
    cy.visit('https://share.vidyard.com/watch/mR7nXEXcdnRMCyYG52bVxj');
    cy.get('#vidyard-logo')
      .find('img')
      .should('be.visible');
    cy.get('head link[rel*="icon"]')
      .should('have.attr', 'href', '/favicon.ico');
    cy.get('#get-vidyard-free-cta')
      .should('be.visible')
      .and('have.text', 'Sign Up for Free');
    cy.get('body')
      .should('have.css', 'background-color', 'rgb(255, 255, 255)');
    cy.get('#name-header')
      .find('h1')
      .should('be.visible')
      .and('have.text', 'Paint Squiggles');
    cy.get('#email-signup-button')
      .should('be.visible')
      .and('have.text', 'Sign up with Business Email');
    const socialLogins = [
      '#google-signup-button',
      '#outlook-signup-button',
    ];
    socialLogins.forEach((element) => {
      cy.get(element)
        .should('be.visible');
    });
  });

The test itself passes but after it does we occasionally see Error: WebSocket connection closed in the output and the test runner exits with code 1 (and the run gets stuck in the Cypress Cloud).

@allenbilar
Copy link

Any update on this? thanks!

@jennifer-shehane
Copy link
Member

@todd-m-kemp I ran this example several times on my Mac and didn't encounter this error. I tried running via the Module APi also. Could you give more specifics about how and where you're running this test to see the error?

  • What browser and browser version?
  • How are you running Cypress? (cypress run, cypress open, Module API)
  • Provide any configuration or options or flags when running?
  • Which OS + OS version?
  • Is this happening locally or only in CI?

@todd-m-kemp
Copy link

@jennifer-shehane: I'm happy to answer as best as I can.

  • We do not experience the issue locally; we experience it in CI only.
  • The CI runners are Linux Debian, more specifically Amazon Linux 2023.
  • We run Cypress using the Module API.
  • The browser was Chrome 118. (We use the cypress/included Docker images so based on this it was Chrome 118.0.5993.88-1 specifically).

As far configuration/options/flags, can you be more specific? I'm not quite sure how to answer that question.

@newsuk-apnikolov
Copy link

@jennifer-shehane we are facing the same issue.

Test code to reproduce
not sure how to reproduce; happens sporadically but consistently

Cypress Version
13.3.0 / 13.6.2

Node version
18.15.0

Operating System
cypress/base:18.15.0 + browser-tools: circleci/browser-tools@1.4.6 + browser-tools/install-chrome: chrome-version: 119.0.6045.199

Debug Logs
No response

Other
No response

On Cypress 13.3.0
Screenshot 2024-01-22 at 13 24 57
This happen when the test is finished and the compressing of the video starts.

On Cypress 13.6.2

Screenshot 2024-01-22 at 13 28 58

Again our tests completes, but once its start generating the video failed.

Both cases above are visible only in CircleCI

@GabeDuarteM
Copy link

We were experiencing the same, having this randomly appear on different tests, but we got to completely "solve" this by downgrading cypress to v13.5.1 (we were using v13.6.1 before that).

We also tried version 13.6.3 after that to see if it had fixed this, but the error reappeared after that, so we downgraded again.

We assumed it was something related to the chrome version used by cypress, but tbh I don't remember right now why, but hopefully this could be useful somehow

@newsuk-apnikolov
Copy link

@jennifer-shehane we remove the video recording after every test and voalya, we stop seeing the nasty socket error.
We lost our video debugging but our tests are stable on version 13.6.2.

Please check why this is happen.

@jennifer-shehane
Copy link
Member

jennifer-shehane commented Feb 2, 2024

@newsuk-apnikolov There are a couple of causes of the websocket error that we can notice from this thread. Yours definitely has something to do with video compression. Some others examples are happening around the time the spec ends/browser closes. We do have this on our radar to investigate further.

A clear way to reproduce 100% of the time would speed up our investigation, but I know it's mostly intermittent for everyone.

@mx2s
Copy link

mx2s commented Mar 13, 2024

We have around 100 cypress tests in our project and after upgrading to any version later than 13.5.1 (our current version) some tests start to fail due to that same issue (websocket disconnect)

I'm not sure if I can find a specific case that causes this but it seems like all tests now have a chance to crash due to this issue

Unfortunately we had to rollback to 13.5.1 until this is fixed

@rebel-l
Copy link

rebel-l commented Mar 14, 2024

@rebel-l Is your error also resolved by downgrading to 13.5.1? I'm having a hard time connecting this Websocket error that would be related to video recording to the 13.6.0 release. But perhaps other types of Websocket errors would show with the 13.6.0 release.

finally I can confirm downgrading ti 13.5.1 works. sorry for the late answer.

@DanielPhangHL
Copy link

I tested on v.13.7.0 and this problem still persist.
I updated to v.13.7.0 so that I can fix the cy.screenshoot problem and it did solve it but this web connection closed issue still detected... Please FIX IT ASAP.

@jennifer-shehane
Copy link
Member

We are intending to look into this in our upcoming sprint.

@leonid-sviderskii-mtl
Copy link

leonid-sviderskii-mtl commented Apr 11, 2024

I also started seeing the issue sometimes for the first time a few days ago (we upgraded from 13.6.6 to 13.7.2 recently and to the latest cypress/browsers container)

  • GitHub actions
  • Self-hosted runner
  • 13.7.2 with cypress/browsers:node-20.12.0-chrome-123.0.6312.86-1-ff-124.0.2-edge-123.0.2420.65-1
  • Video recording is on

image

@adoshi-branch
Copy link

We have hit this exact same issue much more frequently over the past 2 months.

@flakeme
Copy link

flakeme commented Apr 11, 2024

running in jenkins with video enabled same error here

@Mi3-14159
Copy link

We were running Cypress version 13.6.2 on an ubuntu-latest github runner and video recording was so slow. It was impossible to understand what was happening, but the tests ware stable. After upgrading the runner to a ubuntu-latest-4-cores we also get this error.

@dlively1
Copy link

We are intending to look into this in our upcoming sprint.

@jennifer-shehane any updates on this?

Also running into this issue more consistently. This is becoming a huge issue for our team considering we are burning CI spend on these failures with unnecessary re-runs.

@cacieprins
Copy link
Contributor

Thank you everyone for all of your input, especially with stack traces and which version of Cypress. I believe I have identified the source of this error, and will be working on fixing it.

According to stack traces, the uncaught exception is being thrown from _handleConnectionClose, which is a method that the chrome-remote-interface package implements in order to drain all callbacks pending on a CRI connection with an error when the connection closes and callbacks are pending. One of the changes we made from 13.5.1 to 13.6.0 was to upgrade the chrome-remote-interface package to 0.33 from 0.31.3 in order to accommodate larger message payloads.

It looks like chrome-remote-interface updated the _handleConnectionClose method, changing the values it sends to pending callbacks when the websocket connection closes. I'm currently digging into our own code that interfaces with this module, to determine what we need to change on our end to resolve this issue.

I have yet to be able to reproduce this myself, so I cannot yet write regression tests or implement a fix. If the CRI change caused the issue, it may lead to me being able to reproduce this error. However, to expedite this, if anyone can fork https://github.com/cypress-io/cypress-test-tiny or https://github.com/cypress-io/cypress-realworld-app and reproduce the error (even sporadically), that would greatly expedite this process.

@TomekCholera
Copy link

The problem still exists. Additionally, it has been occurring for so long that we have started rewriting tests in Playwright.

@cacieprins
Copy link
Contributor

Hi everyone,

Thank you for your patience while I look into this. In order to aid with resolving it, we are still requesting a directly runnable test scenario that will reproduce the error. If you cannot provide a repository that reproduces the issue, please see the bottom of this comment for a specific selection of debug logs that will help me investigate.

@todd-m-kemp , sadly, I was unable to reproduce with that test snippet. I tried running this test via the module API in a docker container built from the cypress/browsers image (from various tags, all the way down to chrome 107) on a Linux host, and after 150+ iterations it still had not occurred. If you could take some time to reproduce in a fork cypress-test-tiny, that would be extraordinarily helpful.

This appears to be a race condition. Cypress sends a CDP command to the browser, and then closes the browser while that command is still pending a response. We do need help tracking down which command(s) are involved in this. If this issue is occurring for you, please try to provide us with this selection of debug logs:

DEBUG=cypress-verbose:server:browsers:cri-client:send:*,cypress-verbose:server:browsers:cri-client:recv:*,cypress:server:browsers*

Please note that these logs will be quite long. Please review them for potentially sensitive information before posting them.

Thank you so much for your help in tracking this down!

@Nasa62
Copy link

Nasa62 commented Apr 16, 2024

We've noticed this only occurs in our CircleCI environment (but occurs pretty regularly there), we have parallelization enabled there.

Locally it never occurs for us.

@Squixx
Copy link

Squixx commented Apr 17, 2024

Compodoc v1.1.23

info => Starting manager..
info => Starting preview..
info Addon-docs: using MDX3
info => Using implicit CSS loaders
info => Using angular browser target options from "<red>:build-storybook"
info => Using angular project with "tsConfig:/<workdir>/workspace/libs/ui-organisms/<red>/.storybook/tsconfig.json"
info => Using default Webpack5 setup
<i> [webpack-dev-middleware] wait until bundle finished
WARN /<workdir>/workspace/libs/ui-organisms/<red>/.storybook/main.ts is part of the TypeScript compilation but it's unused.
WARN Add only entry points to the 'files' or 'include' properties in your tsconfig.
WARN DefinePlugin
WARN Conflicting values for 'process.env.NODE_ENV'
  cypress:server:browsers:utils getBrowsers +0ms
  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: - /<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/packages/server/lib/browsers/utils.ts     at node:internal/modules/cjs/loader:1084:15     at Function._resolveFilename (node:electron/js2c/browser_init:2:116646)     at resolve (node:internal/modules/cjs/helpers:127:19) at Function.resolve (evalmachine.<anonymous>:1:747857) at q (<embedded>:4359:87697) at Object.I [as getBrowsers] (<embedded>:4359:88532) at b.machineBrowsers (<embedded>:3936:74332) at S._setCurrentProject (<embedded>:4315:76796) at new S (<embedded>:4315:69741) at new E (<embedded>:4315:131222) at P (<embedded>:4450:42723) at s.exports (<embedded>:4450:149118) at <embedded>:4457:3280 at tryCatcher (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/util.js:16:23) at Function.<anonymous> (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/method.js:39:29) at Object.runElectron (<embedded>:4457:3050) at Object.startInMode (<embedded>:4457:5738) at <embedded>:4457:4826 at tryCatcher (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:694:18) at Promise._fulfill (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:638:18) at PromiseArray._resolve (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/promise_array.js:126:19) at PromiseArray._promiseFulfilled (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/promise_array.js:144:14) at Promise._settlePromise (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:574:26) at Promise._settlePromise0 (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:694:18) at Promise._fulfill (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:638:18) at Promise._settlePromise (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:582:21) at Promise._settlePromise0 (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:694:18) at Promise._fulfill (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:638:18) at Promise._settlePromise (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:582:21) at Promise._settlePromise0 (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:694:18) at Promise._fulfill (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:638:18) at PromiseArray._resolve (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/promise_array.js:126:19) at PromiseArray._promiseFulfilled (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/promise_array.js:144:14) at Promise._settlePromise (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:574:26) at Promise._settlePromise0 (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:694:18) at Promise._fulfill (/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:638:18) at /<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/node_modules/bluebird/js/release/nodeback.js:42:21 at <embedded>:2049:115512 { code: 'MODULE_NOT_FOUND', requireStack: [ '/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/packages/server/lib/browsers/utils.ts' ] } } +1ms
  cypress:server:browsers:utils found browsers { browsers: [ { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', version: '122.0.6261.94', path: 'google-chrome', minSupportedVersion: 64, majorVersion: '122' } ] } +361ms
  cypress:server:browsers:utils searching for browser { nameOrPath: 'chrome', filter: { name: 'chrome', channel: 'stable' }, knownBrowsers: [ { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', version: '122.0.6261.94', path: 'google-chrome', minSupportedVersion: 64, majorVersion: '122' }, { name: 'electron', channel: 'stable', family: 'chromium', displayName: 'Electron', version: '118.0.5993.159', path: '', majorVersion: 118 } ] } +871ms
  cypress:server:browsers:utils getBrowsers +31ms
  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: - /<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/packages/server/lib/browsers/utils.ts     at node:internal/modules/cjs/loader:1084:15     at Function._resolveFilename (node:electron/js2c/browser_init:2:116646)     at resolve (node:internal/modules/cjs/helpers:127:19) at Function.resolve (evalmachine.<anonymous>:1:747857) at q (<embedded>:4359:87697) at Object.I [as get] (<embedded>:4359:88532) at H (<embedded>:4450:141618) at Object.W (<embedded>:4450:144324) { code: 'MODULE_NOT_FOUND', requireStack: [ '/<workdir>/.cache/Cypress/13.7.3/Cypress/resources/app/packages/server/lib/browsers/utils.ts' ] } } +1ms
  cypress:server:browsers:utils found browsers { browsers: [ { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', version: '122.0.6261.94', path: 'google-chrome', minSupportedVersion: 64, majorVersion: '122' } ] } +350ms
  cypress:server:browsers:utils searching for browser { nameOrPath: 'chrome', filter: { name: 'chrome', channel: 'stable' }, knownBrowsers: [ { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', version: '122.0.6261.94', path: 'google-chrome', minSupportedVersion: 64, majorVersion: '122' }, { name: 'electron', channel: 'stable', family: 'chromium', displayName: 'Electron', version: '118.0.5993.159', path: '', majorVersion: 118 } ] } +117ms

tput: No value for $TERM and no -T specified
====================================================================================================

  (Run Starting)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Cypress:        13.7.3                                                                         │
  │ Browser:        Chrome 122 (headless)                                                          │
  │ Node Version:   v20.11.1 (/usr/local/bin/node)                                                 │
  │ Specs:          1 found (<red>.component.cy.ts)                                     │
  │ Searched:       src/**/*.cy.{js,jsx,ts,tsx}                                                    │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


────────────────────────────────────────────────────────────────────────────────────────────────────
                                                                                                    
  Running:  <red>.component.cy.ts                                                (1 of 1)
  cypress:server:browsers browsers.kill called with no active instance +0ms
  cypress:server:browsers getBrowserLauncher { browser: { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', version: '122.0.6261.94', path: 'google-chrome', minSupportedVersion: 64, majorVersion: '122', isHeadless: true, isHeaded: false } } +5ms
  cypress:server:browsers opening browser { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', version: '122.0.6261.94', path: 'google-chrome', minSupportedVersion: 64, majorVersion: '122', isHeadless: true, isHeaded: false } +2ms
  cypress:server:browsers:chrome reading chrome preferences... { userDir: '/<workdir>/.config/Cypress/cy/production/browsers/chrome-stable/run-6041', CHROME_PREFERENCE_PATHS: { default: 'Default/Preferences', defaultSecure: 'Default/Secure Preferences', localState: 'Local State' } } +0ms
  cypress:server:browsers:chrome chrome is running headlessly, not installing extension +7ms
  cypress:server:browsers:chrome launching in chrome with debugging port { url: 'http://localhost:4400/__/#/specs/runner?file=src/e2e/<red>/<red>.component.cy.ts', args: [ '--test-type', '--ignore-certificate-errors', '--start-maximized', '--silent-debugger-extension-api', '--no-default-browser-check', '--no-first-run', '--noerrdialogs', '--enable-fixed-layout', '--disable-popup-blocking', '--disable-password-generation', '--disable-single-click-autofill', '--disable-prompt-on-repos', '--disable-background-timer-throttling', '--disable-renderer-backgrounding', '--disable-renderer-throttling', '--disable-backgrounding-occluded-windows', '--disable-restore-session-state', '--disable-new-profile-management', '--disable-new-avatar-menu', '--allow-insecure-localhost', '--reduce-security-for-testing', '--enable-automation', '--disable-print-preview', '--disable-component-extensions-with-background-pages', '--disable-device-discovery-notifications', '--autoplay-policy=no-user-gesture-required', '--disable-site-isolation-trials', '--metrics-recording-only', '--disable-prompt-on-repost', '--disable-hang-monitor', '--disable-sync', '--disable-web-resources', '--safebrowsing-disable-download-protection', '--disable-client-side-phishing-detection', '--disable-component-update', "--simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT'", '--disable-default-apps', '--disable-features=Translate,PrivacySandboxSettings4', '--use-fake-ui-for-media-stream', '--use-fake-device-for-media-stream', '--disable-ipc-flooding-protection', '--disable-backgrounding-occluded-window', '--disable-breakpad', '--password-store=basic', '--use-mock-keychain', '--disable-dev-shm-usage', '--enable-precise-memory-info', '--disable-gpu', '--no-sandbox', '--proxy-server=http://localhost:36629', '--disable-web-security', '--allow-running-insecure-content', '--proxy-bypass-list=<-loopback>', '--headless=new', '--window-size=1280,720', '--force-device-scale-factor=1', '--remote-debugging-port=41829', '--remote-debugging-address=127.0.0.1', '--user-data-dir=/<workdir>/.config/Cypress/cy/production/browsers/chrome-stable/run-6041', '--disk-cache-dir=/<workdir>/.config/Cypress/cy/production/browsers/chrome-stable/run-6041/CypressCache' ], port: 41829 } +1ms

  cypress:server:browsers browsers.kill called with no active instance +4m
Timed out waiting for the browser to connect. Retrying...
  cypress:server:browsers browsers.kill called with no active instance +4ms
  cypress:server:browsers getBrowserLauncher { browser: { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', version: '122.0.6261.94', path: 'google-chrome', minSupportedVersion: 64, majorVersion: '122', isHeadless: true, isHeaded: false } } +0ms
  cypress:server:browsers opening browser { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', version: '122.0.6261.94', path: 'google-chrome', minSupportedVersion: 64, majorVersion: '122', isHeadless: true, isHeaded: false } +1ms
  cypress:server:browsers:chrome reading chrome preferences... { userDir: '/<workdir>/.config/Cypress/cy/production/browsers/chrome-stable/run-6041', CHROME_PREFERENCE_PATHS: { default: 'Default/Preferences', defaultSecure: 'Default/Secure Preferences', localState: 'Local State' } } +4m
  cypress:server:browsers:browser-cri-client error finding browser target, maybe retrying { delay: 100, err: Error: socket hang up     at connResetException (node:internal/errors:720:14)     at Socket.socketCloseListener (node:_http_client:474:25)     at Socket.emit (node:events:526:35)     at TCP.<anonymous> (node:net:323:12) { code: 'ECONNRESET' } } +0ms
  cypress:server:browsers:chrome chrome is running headlessly, not installing extension +25ms
  cypress:server:browsers:chrome cleaning up unclean exit status +26ms
  cypress:server:browsers:chrome launching in chrome with debugging port { url: 'http://localhost:4400/__/#/specs/runner?file=src/e2e/<red>/<red>.component.cy.ts', args: [ '--test-type', '--ignore-certificate-errors', '--start-maximized', '--silent-debugger-extension-api', '--no-default-browser-check', '--no-first-run', '--noerrdialogs', '--enable-fixed-layout', '--disable-popup-blocking', '--disable-password-generation', '--disable-single-click-autofill', '--disable-prompt-on-repos', '--disable-background-timer-throttling', '--disable-renderer-backgrounding', '--disable-renderer-throttling', '--disable-backgrounding-occluded-windows', '--disable-restore-session-state', '--disable-new-profile-management', '--disable-new-avatar-menu', '--allow-insecure-localhost', '--reduce-security-for-testing', '--enable-automation', '--disable-print-preview', '--disable-component-extensions-with-background-pages', '--disable-device-discovery-notifications', '--autoplay-policy=no-user-gesture-required', '--disable-site-isolation-trials', '--metrics-recording-only', '--disable-prompt-on-repost', '--disable-hang-monitor', '--disable-sync', '--disable-web-resources', '--safebrowsing-disable-download-protection', '--disable-client-side-phishing-detection', '--disable-component-update', "--simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT'", '--disable-default-apps', '--disable-features=Translate,PrivacySandboxSettings4', '--use-fake-ui-for-media-stream', '--use-fake-device-for-media-stream', '--disable-ipc-flooding-protection', '--disable-backgrounding-occluded-window', '--disable-breakpad', '--password-store=basic', '--use-mock-keychain', '--disable-dev-shm-usage', '--enable-precise-memory-info', '--disable-gpu', '--no-sandbox', '--proxy-server=http://localhost:36629', '--disable-web-security', '--allow-running-insecure-content', '--proxy-bypass-list=<-loopback>', '--headless=new', '--window-size=1280,720', '--force-device-scale-factor=1', '--remote-debugging-port=38461', '--remote-debugging-address=127.0.0.1', '--user-data-dir=/<workdir>/.config/Cypress/cy/production/browsers/chrome-stable/run-6041', '--disk-cache-dir=/<workdir>/.config/Cypress/cy/production/browsers/chrome-stable/run-6041/CypressCache' ], port: 38461 } +1ms
Warning: terminator_CreateInstance: Failed to CreateInstance in ICD 3.  Skipping ICD.
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
  cypress:server:browsers:cri-client connecting { connected: false, target: 'ws://127.0.0.1:41829/devtools/browser/30aededa-0583-46d7-a110-38e7e437c3df' } +0ms
  cypress:server:browsers:cri-client connected { connected: true, target: 'ws://127.0.0.1:41829/devtools/browser/30aededa-0583-46d7-a110-38e7e437c3df' } +17ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 1, method: 'Target.setDiscoverTargets', params: { discover: true } } +0ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 2, method: 'Target.setAutoAttach', params: { autoAttach: true, waitForDebuggerOnStart: true, flatten: true } } +0ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Target.attachedToTarget' } +2ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Target.targetDestroyed' } +0ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Inspector.targetReloadedAfterCrash' } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Target.targetCreated', params: { targetInfo: { targetId: 'FCA8639A9334892AB62D9F6D2BA016FE', type: 'page', title: 'about:blank', url: 'about:blank', attached: false, canAccessOpener: false, browserContextId: '39B1C0C4302C60974514BA2C83DEFF2D' } } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 1, result: {} } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Target.targetInfoChanged', params: { targetInfo: { targetId: 'FCA8639A9334892AB62D9F6D2BA016FE', type: 'page', title: 'about:blank', url: 'about:blank', attached: true, canAccessOpener: false, browserContextId: '39B1C0C4302C60974514BA2C83DEFF2D' } } } +3ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Target.attachedToTarget', params: { sessionId: '784F6B31083435B6B62839851D0CC632', targetInfo: { targetId: 'FCA8639A9334892AB62D9F6D2BA016FE', type: 'page', title: 'about:blank', url: 'about:blank', attached: true, canAccessOpener: false, browserContextId: '39B1C0C4302C60974514BA2C83DEFF2D' }, waitingForDebugger: false } } +1ms
  cypress:server:browsers:browser-cri-client Target.attachedToTarget { targetId: 'FCA8639A9334892AB62D9F6D2BA016FE', type: 'page', title: 'about:blank', url: 'about:blank', attached: true, canAccessOpener: false, browserContextId: '39B1C0C4302C60974514BA2C83DEFF2D' } +126ms
  cypress:server:browsers:browser-cri-client Not waiting for debugger (id: FCA8639A9334892AB62D9F6D2BA016FE) +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 2, result: {} } +0ms
  cypress:server:browsers:browser-cri-client Attaching to target url about:blank +1ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 3, method: 'Target.getTargets', params: {} } +7ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 3, result: { targetInfos: [ [Object] ] } } +1ms
  cypress:server:browsers:cri-client connecting { connected: false, target: 'FCA8639A9334892AB62D9F6D2BA016FE' } +6ms
  cypress:server:browsers:cri-client connected { connected: true, target: 'FCA8639A9334892AB62D9F6D2BA016FE' } +9ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 1, method: 'Target.setAutoAttach', params: { autoAttach: true, waitForDebuggerOnStart: true, flatten: true } } +9ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 1, result: {} } +9ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 2, method: 'Target.setDiscoverTargets', params: { discover: true } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Target.targetCreated', params: { targetInfo: { targetId: 'FCA8639A9334892AB62D9F6D2BA016FE', type: 'page', title: 'about:blank', url: 'about:blank', attached: true, canAccessOpener: false, browserContextId: '39B1C0C4302C60974514BA2C83DEFF2D' } } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 2, result: {} } +0ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 3, method: 'Runtime.enable', params: {} } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Runtime.executionContextCreated', params: { context: { id: 1, origin: '://', name: '', uniqueId: '-6118384273384874732.8401805752654430146', auxData: [Object] } } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 3, result: {} } +0ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 4, method: 'Runtime.addBinding', params: { name: 'cypressSendToServer-/__socket/default' } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 4, result: {} } +1ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Runtime.bindingCalled' } +3ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 5, method: 'Runtime.enable', params: {} } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 5, result: {} } +1ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 6, method: 'Runtime.addBinding', params: { name: 'cypressSendToServer-/__socket/data-context' } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 6, result: {} } +0ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Runtime.bindingCalled' } +1ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Target.targetCrashed' } +1ms
  cypress:server:browsers:chrome attaching listeners to chrome { url: 'http://localhost:4400/__/#/specs/runner?file=src/e2e/<red>/<red>.component.cy.ts', options: { browser: { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', version: '122.0.6261.94', path: 'google-chrome', minSupportedVersion: 64, majorVersion: '122', isHeadless: true, isHeaded: false }, url: 'http://localhost:4400/__/#/specs/runner?file=src/e2e/<red>/<red>.component.cy.ts', browsers: [ [Object], [Object] ], userAgent: null, proxyUrl: 'http://localhost:36629', proxyServer: 'http://localhost:36629', socketIoRoute: '/__socket', chromeWebSecurity: false, isTextTerminal: true, downloadsFolder: '/<workdir>/workspace/<repodir>/<red>-e2e/cypress/downloads', experimentalModifyObstructiveThirdPartyCode: false, experimentalWebKitSupport: false, protocolManager: undefined, projectRoot: '/<workdir>/workspace/<repodir>/<red>-e2e', shouldLaunchNewTab: false, onError: [Function (anonymous)], videoApi: undefined, automationMiddleware: { onBeforeRequest: [Function: onBeforeRequest], onAfterResponse: [Function: onAfterResponse] }, onWarning: [Function: onWarning], onBrowserClose: [Function (anonymous)], relaunchBrowser: [AsyncFunction (anonymous)], onBrowserOpen: [Function: onBrowserOpen] } } +90ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Network.requestWillBeSent' } +1ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Network.requestWillBeSent' } +0ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Network.responseReceived' } +0ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Network.responseReceived' } +0ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Network.requestServedFromCache' } +0ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Network.requestServedFromCache' } +0ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Network.loadingFailed' } +0ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Network.loadingFailed' } +0ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'ServiceWorker.workerRegistrationUpdated' } +0ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'ServiceWorker.workerVersionUpdated' } +0ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 7, method: 'Network.enable', params: { maxTotalBufferSize: 0, maxResourceBufferSize: 0, maxPostDataSize: 0 } } +2ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 7, result: {} } +3ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 8, method: 'Page.enable', params: {} } +3ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 8, result: {} } +5ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 9, method: 'ServiceWorker.enable', params: {} } +3ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Page.downloadWillBegin' } +6ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Page.downloadProgress' } +0ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 10, method: 'Page.setDownloadBehavior', params: { behavior: 'allow', downloadPath: '/<workdir>/workspace/<repodir>/<red>-e2e/cypress/downloads' } } +0ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 11, method: 'Runtime.enable', params: {} } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 9, result: {} } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'ServiceWorker.workerRegistrationUpdated', params: { registrations: [] } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'ServiceWorker.workerVersionUpdated', params: { versions: [] } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 10, result: {} } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 11, result: {} } +0ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 12, method: 'Runtime.addBinding', params: { name: 'cypressUtilityBinding' } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 12, result: {} } +5ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Runtime.bindingCalled' } +7ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 13, method: 'Page.addScriptToEvaluateOnNewDocument', params: { source: '\n' + "    const binding = window['cypressUtilityBinding']\n" + "    delete window['cypressUtilityBinding']\n" + '    ;(e=>{if(e){const s=e=>JSON.stringify({type:"download",destination:e});window.navigation?window.navigation.addEventListener("navigate",(o=>{"string"==typeof o.downloadRequest&&e(s(o.destination.url))})):(document.addEventListener("click",(o=>{o.target instanceof HTMLAnchorElement&&"string"==typeof o.target.download&&e(s(o.target.href))})),document.addEventListener("keydown",(o=>{o.target instanceof HTMLAnchorElement&&"Enter"===o.key&&"string"==typeof o.target.download&&e(s(o.target.href))})))}})(binding)\n' + '    ;(e=>{if(window.ServiceWorkerContainer){const s=window.ServiceWorkerContainer.prototype.register;window.ServiceWorkerContainer.prototype.register=function(o,t){const n=document.createElement("a");let r;"string"==typeof o?(n.setAttribute("href",o),r=new URL(n.href)):r=o,n.remove();const a={type:"service-worker-registration",scriptURL:`${r.origin}${r.pathname}`,initiatorOrigin:window.location.origin};return e(JSON.stringify(a)),s.apply(this,[o,t])}}})(binding)\n' + '    ' } } +5ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 13, result: { identifier: '1' } } +0ms
  cypress:server:browsers:chrome received CRI client +15ms
  cypress:server:browsers:chrome navigating to page http://localhost:4400/__/#/specs/runner?file=src/e2e/<red>/<red>.component.cy.ts +0ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 14, method: 'Page.bringToFront', params: {} } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 14, result: {} } +1ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 15, method: 'Page.navigate', params: { url: 'http://localhost:4400/__/#/specs/runner?file=src/e2e/<red>/<red>.component.cy.ts' } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Page.frameStartedLoading', params: { frameId: 'FCA8639A9334892AB62D9F6D2BA016FE' } } +2ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.requestWillBeSent', params: { requestId: '6BC896F338B1AB7BE3A2E19A537E97CC', loaderId: '6BC896F338B1AB7BE3A2E19A537E97CC', documentURL: 'http://localhost:4400/__/', request: { url: 'http://localhost:4400/__/', urlFragment: '#/specs/runner?file=src/e2e/<red>/<red>.component.cy.ts', method: 'GET', headers: [Object], mixedContentType: 'none', initialPriority: 'VeryHigh', referrerPolicy: 'strict-origin-when-cross-origin', isSameSite: true }, timestamp: 4507.581076, wallTime: 1713341403.798747, initiator: { type: 'other' }, redirectHasExtraInfo: false, type: 'Document', frameId: 'FCA8639A9334892AB62D9F6D2BA016FE', hasUserGesture: false } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.requestWillBeSentExtraInfo', params: { requestId: '6BC896F338B1AB7BE3A2E19A537E97CC', associatedCookies: [], headers: { Accept: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7', 'Accept-Encoding': 'gzip, deflate, br', 'Accept-Language': 'en-US,en;q=0.9', Host: 'localhost:4400', 'Proxy-Connection': 'keep-alive', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'none', 'Sec-Fetch-User': '?1', 'Upgrade-Insecure-Requests': '1', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/122.0.0.0 Safari/537.36', 'sec-ch-ua': '"Chromium";v="122", "Not(A:Brand";v="24", "Google Chrome";v="122"', 'sec-ch-ua-mobile': '?0', 'sec-ch-ua-platform': '"Linux"' }, connectTiming: { requestTime: 4507.581724 }, siteHasCookieInOtherPartition: false } } +2ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.responseReceivedExtraInfo', params: { requestId: '6BC896F338B1AB7BE3A2E19A537E97CC', blockedCookies: [], headers: { Connection: 'keep-alive', 'Content-Encoding': 'gzip', 'Content-Type': 'text/html; charset=utf-8', Date: 'Wed, 17 Apr 2024 08:10:03 GMT', ETag: 'W/"34e8-jd4E9jKh98flk7X67/Rjo8DL4pw"', 'Keep-Alive': 'timeout=5', 'Origin-Agent-Cluster': '?0', 'Transfer-Encoding': 'chunked', Vary: 'Accept-Encoding' }, resourceIPAddressSpace: 'Unknown', statusCode: 200, headersText: 'HTTP/1.1 200 OK\r\n' + 'Origin-Agent-Cluster: ?0\r\n' + 'Content-Type: text/html; charset=utf-8\r\n' + 'ETag: W/"34e8-jd4E9jKh98flk7X67/Rjo8DL4pw"\r\n' + 'Vary: Accept-Encoding\r\n' + 'Content-Encoding: gzip\r\n' + 'Date: Wed, 17 Apr 2024 08:10:03 GMT\r\n' + 'Connection: keep-alive\r\n' + 'Keep-Alive: timeout=5\r\n' + 'Transfer-Encoding: chunked\r\n' + '\r\n', cookiePartitionKey: 'http://localhost', cookiePartitionKeyOpaque: false } } +20ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.responseReceived', params: { requestId: '6BC896F338B1AB7BE3A2E19A537E97CC', loaderId: '6BC896F338B1AB7BE3A2E19A537E97CC', timestamp: 4507.602717, type: 'Document', response: { url: 'http://localhost:4400/__/', status: 200, statusText: 'OK', headers: [Object], mimeType: 'text/html', charset: 'utf-8', connectionReused: true, connectionId: 112, remoteIPAddress: '127.0.0.1', remotePort: 36629, fromDiskCache: false, fromServiceWorker: false, fromPrefetchCache: false, encodedDataLength: 288, timing: [Object], responseTime: 1713341403819.521, protocol: 'http/1.1', alternateProtocolUsage: 'unspecifiedReason', securityState: 'secure' }, hasExtraInfo: true, frameId: 'FCA8639A9334892AB62D9F6D2BA016FE' } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 15, result: { frameId: 'FCA8639A9334892AB62D9F6D2BA016FE', loaderId: '6BC896F338B1AB7BE3A2E19A537E97CC' } } +7ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 16, method: 'Runtime.evaluate', params: { expression: '\n' + "        if (window['cypressSocket-/__socket/default'] && window['cypressSocket-/__socket/default'].send) {\n" + `          window['cypressSocket-/__socket/default'].send('"42/__socket/default,[[\\\\"1\\\\",\\\\"2\\\\",\\\\"3\\\\"],\\\\"request:event\\\\",\\\\"edf2761c-81fd-4325-8456-172212a6e56b\\\\",[\\\\"4\\\\",\\\\"5\\\\"],\\\\"response:received\\\\",{\\\\"requestId\\\\":\\\\"6\\\\",\\\\"status\\\\":200,\\\\"headers\\\\":\\\\"7\\\\"},\\\\"6BC896F338B1AB7BE3A2E19A537E97CC\\\\",{\\\\"Connection\\\\":\\\\"8\\\\",\\\\"Content-Encoding\\\\":\\\\"9\\\\",\\\\"Content-Type\\\\":\\\\"10\\\\",\\\\"Date\\\\":\\\\"11\\\\",\\\\"ETag\\\\":\\\\"12\\\\",\\\\"Keep-Alive\\\\":\\\\"13\\\\",\\\\"Origin-Agent-Cluster\\\\":\\\\"14\\\\",\\\\"Transfer-Encoding\\\\":\\\\"15\\\\",\\\\"Vary\\\\":\\\\"16\\\\"},\\\\"keep-alive\\\\",\\\\"gzip\\\\",\\\\"text/html; charset=utf-8\\\\",\\\\"Wed, 17 Apr 2024 08:10:03 GMT\\\\",\\\\"W/\\\\\\\\\\\\"34e8-jd4E9jKh98flk7X67/Rjo8DL4pw\\\\\\\\\\\\"\\\\",\\\\"timeout=5\\\\",\\\\"?0\\\\",\\\\"chunked\\\\",\\\\"Accept-Encoding\\\\"]"')\n` + '        }\n' + '      ' } } +35ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 17, method: 'Fetch.enable', params: { patterns: [ [Object] ] } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.requestWillBeSentExtraInfo', params: { requestId: '6393.2', associatedCookies: [], headers: { Accept: '*/*', 'Accept-Encoding': 'gzip, deflate, br', 'Accept-Language': 'en-US,en;q=0.9', Host: 'localhost:4400', Origin: 'http://localhost:4400', 'Proxy-Connection': 'keep-alive', Referer: 'http://localhost:4400/__/', 'Sec-Fetch-Dest': 'script', 'Sec-Fetch-Mode': 'cors', 'Sec-Fetch-Site': 'same-origin', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/122.0.0.0 Safari/537.36', 'sec-ch-ua': '"Chromium";v="122", "Not(A:Brand";v="24", "Google Chrome";v="122"', 'sec-ch-ua-mobile': '?0', 'sec-ch-ua-platform': '"Linux"' }, connectTiming: { requestTime: 4507.607174 }, clientSecurityState: { initiatorIsSecureContext: true, initiatorIPAddressSpace: 'Local', privateNetworkRequestPolicy: 'Allow' }, siteHasCookieInOtherPartition: false } } +3ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.requestWillBeSentExtraInfo', params: { requestId: '6393.3', associatedCookies: [], headers: { Accept: '*/*', 'Accept-Encoding': 'gzip, deflate, br', 'Accept-Language': 'en-US,en;q=0.9', Host: 'localhost:4400', Origin: 'http://localhost:4400', 'Proxy-Connection': 'keep-alive', Referer: 'http://localhost:4400/__/', 'Sec-Fetch-Dest': 'script', 'Sec-Fetch-Mode': 'cors', 'Sec-Fetch-Site': 'same-origin', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/122.0.0.0 Safari/537.36', 'sec-ch-ua': '"Chromium";v="122", "Not(A:Brand";v="24", "Google Chrome";v="122"', 'sec-ch-ua-mobile': '?0', 'sec-ch-ua-platform': '"Linux"' }, connectTiming: { requestTime: 4507.607384 }, clientSecurityState: { initiatorIsSecureContext: true, initiatorIPAddressSpace: 'Local', privateNetworkRequestPolicy: 'Allow' }, siteHasCookieInOtherPartition: false } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.requestWillBeSentExtraInfo', params: { requestId: '6393.4', associatedCookies: [], headers: { Accept: 'text/css,*/*;q=0.1', 'Accept-Encoding': 'gzip, deflate, br', 'Accept-Language': 'en-US,en;q=0.9', Host: 'localhost:4400', 'Proxy-Connection': 'keep-alive', Referer: 'http://localhost:4400/__/', 'Sec-Fetch-Dest': 'style', 'Sec-Fetch-Mode': 'no-cors', 'Sec-Fetch-Site': 'same-origin', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/122.0.0.0 Safari/537.36', 'sec-ch-ua': '"Chromium";v="122", "Not(A:Brand";v="24", "Google Chrome";v="122"', 'sec-ch-ua-mobile': '?0', 'sec-ch-ua-platform': '"Linux"' }, connectTiming: { requestTime: 4507.607615 }, clientSecurityState: { initiatorIsSecureContext: true, initiatorIPAddressSpace: 'Local', privateNetworkRequestPolicy: 'Allow' }, siteHasCookieInOtherPartition: false } } +1ms
  cypress:server:browsers:cri-client connecting { connected: false, target: 'ws://127.0.0.1:38461/devtools/browser/6a1e5a85-1d7d-4a9b-8798-e3261c281b09' } +65ms
  cypress:server:browsers:cri-client connected { connected: true, target: 'ws://127.0.0.1:38461/devtools/browser/6a1e5a85-1d7d-4a9b-8798-e3261c281b09' } +6ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 1, method: 'Target.setDiscoverTargets', params: { discover: true } } +35ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 2, method: 'Target.setAutoAttach', params: { autoAttach: true, waitForDebuggerOnStart: true, flatten: true } } +0ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Target.attachedToTarget' } +1ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Target.targetDestroyed' } +0ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Inspector.targetReloadedAfterCrash' } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Target.targetCreated', params: { targetInfo: { targetId: 'A098A446BC3640D0B20D006897CD002B', type: 'page', title: '', url: 'about:blank', attached: false, canAccessOpener: false, browserContextId: '74AFA12895CB4CC391831EC01FF77727' } } } +35ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 1, result: {} } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Target.targetInfoChanged', params: { targetInfo: { targetId: 'A098A446BC3640D0B20D006897CD002B', type: 'page', title: '', url: 'about:blank', attached: true, canAccessOpener: false, browserContextId: '74AFA12895CB4CC391831EC01FF77727' } } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Target.attachedToTarget', params: { sessionId: '2385E98550BE28EF503FFE3B183C656F', targetInfo: { targetId: 'A098A446BC3640D0B20D006897CD002B', type: 'page', title: '', url: 'about:blank', attached: true, canAccessOpener: false, browserContextId: '74AFA12895CB4CC391831EC01FF77727' }, waitingForDebugger: false } } +0ms
  cypress:server:browsers:browser-cri-client Target.attachedToTarget { targetId: 'A098A446BC3640D0B20D006897CD002B', type: 'page', title: '', url: 'about:blank', attached: true, canAccessOpener: false, browserContextId: '74AFA12895CB4CC391831EC01FF77727' } +101ms
  cypress:server:browsers:browser-cri-client Not waiting for debugger (id: A098A446BC3640D0B20D006897CD002B) +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 2, result: {} } +0ms
  cypress:server:browsers:browser-cri-client Attaching to target url about:blank +0ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 3, method: 'Target.getTargets', params: {} } +2ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 3, result: { targetInfos: [ [Object] ] } } +1ms
  cypress:server:browsers:cri-client connecting { connected: false, target: 'A098A446BC3640D0B20D006897CD002B' } +2ms
  cypress:server:browsers:cri-client connected { connected: true, target: 'A098A446BC3640D0B20D006897CD002B' } +7ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 1, method: 'Target.setAutoAttach', params: { autoAttach: true, waitForDebuggerOnStart: true, flatten: true } } +8ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Target.targetInfoChanged', params: { targetInfo: { targetId: 'FCA8639A9334892AB62D9F6D2BA016FE', type: 'page', title: 'localhost:4400/__/#/specs/runner?file=src/e2e/<red>/<red>.component.cy.ts', url: 'http://localhost:4400/__/#/specs/runner?file=src/e2e/<red>/<red>.component.cy.ts', attached: true, canAccessOpener: false, browserContextId: '39B1C0C4302C60974514BA2C83DEFF2D' } } } +15ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Target.targetInfoChanged', params: { targetInfo: { targetId: 'FCA8639A9334892AB62D9F6D2BA016FE', type: 'page', title: 'localhost:4400/__/#/specs/runner?file=src/e2e/<red>/<red>.component.cy.ts', url: 'http://localhost:4400/__/#/specs/runner?file=src/e2e/<red>/<red>.component.cy.ts', attached: true, canAccessOpener: false, browserContextId: '39B1C0C4302C60974514BA2C83DEFF2D' } } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Runtime.executionContextsCleared', params: {} } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Page.frameNavigated', params: { frame: { id: 'FCA8639A9334892AB62D9F6D2BA016FE', loaderId: '6BC896F338B1AB7BE3A2E19A537E97CC', url: 'http://localhost:4400/__/', urlFragment: '#/specs/runner?file=src/e2e/<red>/<red>.component.cy.ts', domainAndRegistry: '', securityOrigin: 'http://localhost:4400', mimeType: 'text/html', adFrameStatus: [Object], secureContextType: 'SecureLocalhost', crossOriginIsolatedContextType: 'NotIsolated', gatedAPIFeatures: [] }, type: 'Navigation' } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '6BC896F338B1AB7BE3A2E19A537E97CC', timestamp: 4507.606488, dataLength: 13544, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.requestWillBeSent', params: { requestId: '6393.2', loaderId: '6BC896F338B1AB7BE3A2E19A537E97CC', documentURL: 'http://localhost:4400/__/', request: { url: 'http://localhost:4400/__/assets/polyfills-3023ae52.js', method: 'GET', headers: [Object], mixedContentType: 'none', initialPriority: 'High', referrerPolicy: 'strict-origin-when-cross-origin', isSameSite: true }, timestamp: 4507.606826, wallTime: 1713341403.824524, initiator: { type: 'parser', url: 'http://localhost:4400/__/', lineNumber: 4, columnNumber: 73 }, redirectHasExtraInfo: false, type: 'Script', frameId: 'FCA8639A9334892AB62D9F6D2BA016FE', hasUserGesture: false } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.requestWillBeSent', params: { requestId: '6393.3', loaderId: '6BC896F338B1AB7BE3A2E19A537E97CC', documentURL: 'http://localhost:4400/__/', request: { url: 'http://localhost:4400/__/assets/index-f6dca216.js', method: 'GET', headers: [Object], mixedContentType: 'none', initialPriority: 'High', referrerPolicy: 'strict-origin-when-cross-origin', isSameSite: true }, timestamp: 4507.607154, wallTime: 1713341403.824828, initiator: { type: 'parser', url: 'http://localhost:4400/__/', lineNumber: 10, columnNumber: 69 }, redirectHasExtraInfo: false, type: 'Script', frameId: 'FCA8639A9334892AB62D9F6D2BA016FE', hasUserGesture: false } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.requestWillBeSent', params: { requestId: '6393.4', loaderId: '6BC896F338B1AB7BE3A2E19A537E97CC', documentURL: 'http://localhost:4400/__/', request: { url: 'http://localhost:4400/__/assets/index-bda26968.css', method: 'GET', headers: [Object], mixedContentType: 'none', initialPriority: 'VeryHigh', referrerPolicy: 'strict-origin-when-cross-origin', isSameSite: true }, timestamp: 4507.607314, wallTime: 1713341403.824989, initiator: { type: 'parser', url: 'http://localhost:4400/__/', lineNumber: 11, columnNumber: 60 }, redirectHasExtraInfo: false, type: 'Stylesheet', frameId: 'FCA8639A9334892AB62D9F6D2BA016FE', hasUserGesture: false } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Runtime.executionContextCreated', params: { context: { id: 2, origin: 'http://localhost:4400', name: '', uniqueId: '6685585600775135324.648933684480227531', auxData: [Object] } } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.loadingFinished', params: { requestId: '6BC896F338B1AB7BE3A2E19A537E97CC', timestamp: 4507.602787, encodedDataLength: 4828 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 17, result: {} } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.responseReceivedExtraInfo', params: { requestId: '6393.4', blockedCookies: [], headers: { 'Accept-Ranges': 'bytes', 'Cache-Control': 'public, max-age=0', Connection: 'keep-alive', 'Content-Encoding': 'gzip', 'Content-Type': 'text/css; charset=UTF-8', Date: 'Wed, 17 Apr 2024 08:10:03 GMT', ETag: 'W/"3210e-18eeaf9b6e1"', 'Keep-Alive': 'timeout=5', 'Last-Modified': 'Wed, 17 Apr 2024 07:33:37 GMT', 'Transfer-Encoding': 'chunked', Vary: 'Accept-Encoding' }, resourceIPAddressSpace: 'Unknown', statusCode: 200, headersText: 'HTTP/1.1 200 OK\r\n' + 'Accept-Ranges: bytes\r\n' + 'Cache-Control: public, max-age=0\r\n' + 'Last-Modified: Wed, 17 Apr 2024 07:33:37 GMT\r\n' + 'ETag: W/"3210e-18eeaf9b6e1"\r\n' + 'Content-Type: text/css; charset=UTF-8\r\n' + 'Vary: Accept-Encoding\r\n' + 'Content-Encoding: gzip\r\n' + 'Date: Wed, 17 Apr 2024 08:10:03 GMT\r\n' + 'Connection: keep-alive\r\n' + 'Keep-Alive: timeout=5\r\n' + 'Transfer-Encoding: chunked\r\n' + '\r\n', cookiePartitionKey: 'http://localhost', cookiePartitionKeyOpaque: false } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.responseReceived', params: { requestId: '6393.4', loaderId: '6BC896F338B1AB7BE3A2E19A537E97CC', timestamp: 4507.636959, type: 'Stylesheet', response: { url: 'http://localhost:4400/__/assets/index-bda26968.css', status: 200, statusText: 'OK', headers: [Object], mimeType: 'text/css', charset: 'utf-8', connectionReused: false, connectionId: 136, remoteIPAddress: '127.0.0.1', remotePort: 36629, fromDiskCache: false, fromServiceWorker: false, fromPrefetchCache: false, encodedDataLength: 348, timing: [Object], responseTime: 1713341403844.181, protocol: 'http/1.1', alternateProtocolUsage: 'unspecifiedReason', securityState: 'secure' }, hasExtraInfo: true, frameId: 'FCA8639A9334892AB62D9F6D2BA016FE' } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.responseReceived', params: { requestId: '6393.2', loaderId: '6BC896F338B1AB7BE3A2E19A537E97CC', timestamp: 4507.63716, type: 'Script', response: { url: 'http://localhost:4400/__/assets/polyfills-3023ae52.js', status: 200, statusText: 'OK', headers: [Object], mimeType: 'application/javascript', charset: 'utf-8', connectionReused: true, connectionId: 112, remoteIPAddress: '127.0.0.1', remotePort: 36629, fromDiskCache: false, fromServiceWorker: false, fromPrefetchCache: false, encodedDataLength: 362, timing: [Object], responseTime: 1713341403852.425, protocol: 'http/1.1', alternateProtocolUsage: 'unspecifiedReason', securityState: 'secure' }, hasExtraInfo: true, frameId: 'FCA8639A9334892AB62D9F6D2BA016FE' } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '6393.2', timestamp: 4507.637187, dataLength: 126877, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.responseReceived', params: { requestId: '6393.3', loaderId: '6BC896F338B1AB7BE3A2E19A537E97CC', timestamp: 4507.637545, type: 'Script', response: { url: 'http://localhost:4400/__/assets/index-f6dca216.js', status: 200, statusText: 'OK', headers: [Object], mimeType: 'application/javascript', charset: 'utf-8', connectionReused: true, connectionId: 121, remoteIPAddress: '127.0.0.1', remotePort: 36629, fromDiskCache: false, fromServiceWorker: false, fromPrefetchCache: false, encodedDataLength: 363, timing: [Object], responseTime: 1713341403852.813, protocol: 'http/1.1', alternateProtocolUsage: 'unspecifiedReason', securityState: 'secure' }, hasExtraInfo: true, frameId: 'FCA8639A9334892AB62D9F6D2BA016FE' } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '6393.3', timestamp: 4507.637568, dataLength: 77079, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '6393.4', timestamp: 4507.63881, dataLength: 205070, encodedDataLength: 27362 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.loadingFinished', params: { requestId: '6393.4', timestamp: 4507.638596, encodedDataLength: 27710 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '6393.2', timestamp: 4507.644047, dataLength: 104339, encodedDataLength: 57629 } } +0ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 18, method: 'Runtime.evaluate', params: { expression: '\n' + "        if (window['cypressSocket-/__socket/default'] && window['cypressSocket-/__socket/default'].send) {\n" + `          window['cypressSocket-/__socket/default'].send('"42/__socket/default,[[\\\\"1\\\\",\\\\"2\\\\",\\\\"3\\\\"],\\\\"request:event\\\\",\\\\"58884d46-8cc9-4365-9160-5b225e789744\\\\",[\\\\"4\\\\",\\\\"5\\\\"],\\\\"response:received\\\\",{\\\\"requestId\\\\":\\\\"6\\\\",\\\\"status\\\\":200,\\\\"headers\\\\":\\\\"7\\\\"},\\\\"6393.4\\\\",{\\\\"Date\\\\":\\\\"8\\\\",\\\\"Content-Encoding\\\\":\\\\"9\\\\",\\\\"Last-Modified\\\\":\\\\"10\\\\",\\\\"ETag\\\\":\\\\"11\\\\",\\\\"Vary\\\\":\\\\"12\\\\",\\\\"Transfer-Encoding\\\\":\\\\"13\\\\",\\\\"Content-Type\\\\":\\\\"14\\\\",\\\\"Cache-Control\\\\":\\\\"15\\\\",\\\\"Connection\\\\":\\\\"16\\\\",\\\\"Accept-Ranges\\\\":\\\\"17\\\\",\\\\"Keep-Alive\\\\":\\\\"18\\\\"},\\\\"Wed, 17 Apr 2024 08:10:03 GMT\\\\",\\\\"gzip\\\\",\\\\"Wed, 17 Apr 2024 07:33:37 GMT\\\\",\\\\"W/\\\\\\\\\\\\"3210e-18eeaf9b6e1\\\\\\\\\\\\"\\\\",\\\\"Accept-Encoding\\\\",\\\\"chunked\\\\",\\\\"text/css; charset=UTF-8\\\\",\\\\"public, max-age=0\\\\",\\\\"keep-alive\\\\",\\\\"bytes\\\\",\\\\"timeout=5\\\\"]"')\n` + '        }\n' + '      ' } } +11ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 19, method: 'Runtime.evaluate', params: { expression: '\n' + "        if (window['cypressSocket-/__socket/default'] && window['cypressSocket-/__socket/default'].send) {\n" + `          window['cypressSocket-/__socket/default'].send('"42/__socket/default,[[\\\\"1\\\\",\\\\"2\\\\",\\\\"3\\\\"],\\\\"request:event\\\\",\\\\"63035cf1-b3b7-42ee-9a04-f3f4725e897b\\\\",[\\\\"4\\\\",\\\\"5\\\\"],\\\\"response:received\\\\",{\\\\"requestId\\\\":\\\\"6\\\\",\\\\"status\\\\":200,\\\\"headers\\\\":\\\\"7\\\\"},\\\\"6393.2\\\\",{\\\\"Date\\\\":\\\\"8\\\\",\\\\"Content-Encoding\\\\":\\\\"9\\\\",\\\\"Last-Modified\\\\":\\\\"10\\\\",\\\\"ETag\\\\":\\\\"11\\\\",\\\\"Vary\\\\":\\\\"12\\\\",\\\\"Transfer-Encoding\\\\":\\\\"13\\\\",\\\\"Content-Type\\\\":\\\\"14\\\\",\\\\"Cache-Control\\\\":\\\\"15\\\\",\\\\"Connection\\\\":\\\\"16\\\\",\\\\"Accept-Ranges\\\\":\\\\"17\\\\",\\\\"Keep-Alive\\\\":\\\\"18\\\\"},\\\\"Wed, 17 Apr 2024 08:10:03 GMT\\\\",\\\\"gzip\\\\",\\\\"Wed, 17 Apr 2024 07:33:37 GMT\\\\",\\\\"W/\\\\\\\\\\\\"5b036-18eeaf9b6ed\\\\\\\\\\\\"\\\\",\\\\"Accept-Encoding\\\\",\\\\"chunked\\\\",\\\\"application/javascript; charset=UTF-8\\\\",\\\\"public, max-age=0\\\\",\\\\"keep-alive\\\\",\\\\"bytes\\\\",\\\\"timeout=5\\\\"]"')\n` + '        }\n' + '      ' } } +0ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 20, method: 'Runtime.evaluate', params: { expression: '\n' + "        if (window['cypressSocket-/__socket/default'] && window['cypressSocket-/__socket/default'].send) {\n" + `          window['cypressSocket-/__socket/default'].send('"42/__socket/default,[[\\\\"1\\\\",\\\\"2\\\\",\\\\"3\\\\"],\\\\"request:event\\\\",\\\\"71569b37-2c93-4c4b-b7b5-e6012292e7be\\\\",[\\\\"4\\\\",\\\\"5\\\\"],\\\\"response:received\\\\",{\\\\"requestId\\\\":\\\\"6\\\\",\\\\"status\\\\":200,\\\\"headers\\\\":\\\\"7\\\\"},\\\\"6393.3\\\\",{\\\\"Date\\\\":\\\\"8\\\\",\\\\"Content-Encoding\\\\":\\\\"9\\\\",\\\\"Last-Modified\\\\":\\\\"10\\\\",\\\\"ETag\\\\":\\\\"11\\\\",\\\\"Vary\\\\":\\\\"12\\\\",\\\\"Transfer-Encoding\\\\":\\\\"13\\\\",\\\\"Content-Type\\\\":\\\\"14\\\\",\\\\"Cache-Control\\\\":\\\\"15\\\\",\\\\"Connection\\\\":\\\\"16\\\\",\\\\"Accept-Ranges\\\\":\\\\"17\\\\",\\\\"Keep-Alive\\\\":\\\\"18\\\\"},\\\\"Wed, 17 Apr 2024 08:10:03 GMT\\\\",\\\\"gzip\\\\",\\\\"Wed, 17 Apr 2024 07:33:37 GMT\\\\",\\\\"W/\\\\\\\\\\\\"58eafd-18eeaf9b71b\\\\\\\\\\\\"\\\\",\\\\"Accept-Encoding\\\\",\\\\"chunked\\\\",\\\\"application/javascript; charset=UTF-8\\\\",\\\\"public, max-age=0\\\\",\\\\"keep-alive\\\\",\\\\"bytes\\\\",\\\\"timeout=5\\\\"]"')\n` + '        }\n' + '      ' } } +0ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Fetch.requestPaused' } +11ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Page.frameAttached' } +1ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Page.frameDetached' } +0ms
  cypress:server:browsers browser opened +249ms
  cypress:server:browsers killing browser process +0ms
  cypress:server:browsers:chrome closing remote interface client { options: { gracefulShutdown: true } } +92ms
  cypress:server:browsers:cri-client closing cri client { closed: false, target: 'ws://127.0.0.1:38461/devtools/browser/6a1e5a85-1d7d-4a9b-8798-e3261c281b09' } +0ms
  cypress:server:browsers:chrome closing chrome +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.responseReceivedExtraInfo', params: { requestId: '6393.2', blockedCookies: [], headers: { 'Accept-Ranges': 'bytes', 'Cache-Control': 'public, max-age=0', Connection: 'keep-alive', 'Content-Encoding': 'gzip', 'Content-Type': 'application/javascript; charset=UTF-8', Date: 'Wed, 17 Apr 2024 08:10:03 GMT', ETag: 'W/"5b036-18eeaf9b6ed"', 'Keep-Alive': 'timeout=5', 'Last-Modified': 'Wed, 17 Apr 2024 07:33:37 GMT', 'Transfer-Encoding': 'chunked', Vary: 'Accept-Encoding' }, resourceIPAddressSpace: 'Unknown', statusCode: 200, headersText: 'HTTP/1.1 200 OK\r\n' + 'Accept-Ranges: bytes\r\n' + 'Cache-Control: public, max-age=0\r\n' + 'Last-Modified: Wed, 17 Apr 2024 07:33:37 GMT\r\n' + 'ETag: W/"5b036-18eeaf9b6ed"\r\n' + 'Content-Type: application/javascript; charset=UTF-8\r\n' + 'Vary: Accept-Encoding\r\n' + 'Content-Encoding: gzip\r\n' + 'Date: Wed, 17 Apr 2024 08:10:03 GMT\r\n' + 'Connection: keep-alive\r\n' + 'Keep-Alive: timeout=5\r\n' + 'Transfer-Encoding: chunked\r\n' + '\r\n', cookiePartitionKey: 'http://localhost', cookiePartitionKeyOpaque: false } } +3ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.responseReceivedExtraInfo', params: { requestId: '6393.3', blockedCookies: [], headers: { 'Accept-Ranges': 'bytes', 'Cache-Control': 'public, max-age=0', Connection: 'keep-alive', 'Content-Encoding': 'gzip', 'Content-Type': 'application/javascript; charset=UTF-8', Date: 'Wed, 17 Apr 2024 08:10:03 GMT', ETag: 'W/"58eafd-18eeaf9b71b"', 'Keep-Alive': 'timeout=5', 'Last-Modified': 'Wed, 17 Apr 2024 07:33:37 GMT', 'Transfer-Encoding': 'chunked', Vary: 'Accept-Encoding' }, resourceIPAddressSpace: 'Unknown', statusCode: 200, headersText: 'HTTP/1.1 200 OK\r\n' + 'Accept-Ranges: bytes\r\n' + 'Cache-Control: public, max-age=0\r\n' + 'Last-Modified: Wed, 17 Apr 2024 07:33:37 GMT\r\n' + 'ETag: W/"58eafd-18eeaf9b71b"\r\n' + 'Content-Type: application/javascript; charset=UTF-8\r\n' + 'Vary: Accept-Encoding\r\n' + 'Content-Encoding: gzip\r\n' + 'Date: Wed, 17 Apr 2024 08:10:03 GMT\r\n' + 'Connection: keep-alive\r\n' + 'Keep-Alive: timeout=5\r\n' + 'Transfer-Encoding: chunked\r\n' + '\r\n', cookiePartitionKey: 'http://localhost', cookiePartitionKeyOpaque: false } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '6393.3', timestamp: 4507.646664, dataLength: 56220, encodedDataLength: 30070 } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '6393.3', timestamp: 4507.66398, dataLength: 11980, encodedDataLength: 59561 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '6393.2', timestamp: 4507.664091, dataLength: 65536, encodedDataLength: 31530 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 16, result: { result: { type: 'undefined' } } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '6393.3', timestamp: 4507.66586, dataLength: 271971, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '6393.2', timestamp: 4507.66808, dataLength: 76038, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 18, result: { result: { type: 'undefined' } } } +5ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 19, result: { result: { type: 'undefined' } } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 20, result: { result: { type: 'undefined' } } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Page.frameStoppedLoading', params: { frameId: 'FCA8639A9334892AB62D9F6D2BA016FE' } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Inspector.detached', params: { reason: 'Render process gone.' } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Inspector.detached', params: { reason: 'Render process gone.' }, sessionId: '784F6B31083435B6B62839851D0CC632' } +2ms
  cypress:server:browsers:cri-client closed cri client { closed: true, target: 'ws://127.0.0.1:38461/devtools/browser/6a1e5a85-1d7d-4a9b-8798-e3261c281b09' } +10ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 1, result: {} } +24ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 2, method: 'Target.setDiscoverTargets', params: { discover: true } } +34ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Target.targetCreated', params: { targetInfo: { targetId: 'A098A446BC3640D0B20D006897CD002B', type: 'page', title: 'about:blank', url: 'about:blank', attached: true, canAccessOpener: false, browserContextId: '74AFA12895CB4CC391831EC01FF77727' } } } +3ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 2, result: {} } +0ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 3, method: 'Runtime.enable', params: {} } +3ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Runtime.executionContextCreated', params: { context: { id: 1, origin: '://', name: '', uniqueId: '-7947659516078522080.8684136875420824981', auxData: [Object] } } } +2ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 3, result: {} } +0ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 4, method: 'Runtime.addBinding', params: { name: 'cypressSendToServer-/__socket/default' } } +2ms
  cypress:server:browsers:cri-client disconnected, starting retries to reconnect... { closed: false, target: 'ws://127.0.0.1:41829/devtools/browser/30aededa-0583-46d7-a110-38e7e437c3df' } +29ms
  cypress:server:browsers:cri-client disconnected, attempting to reconnect... { retryIndex: 1, closed: false, target: 'ws://127.0.0.1:41829/devtools/browser/30aededa-0583-46d7-a110-38e7e437c3df' } +0ms
  cypress:server:browsers:cri-client connecting { connected: false, target: 'ws://127.0.0.1:41829/devtools/browser/30aededa-0583-46d7-a110-38e7e437c3df' } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 4, result: {} } +4ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Runtime.bindingCalled' } +3ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 5, method: 'Runtime.enable', params: {} } +4ms
  cypress:server:browsers:cri-client could not reconnect, retrying... { closed: false, target: 'ws://127.0.0.1:41829/devtools/browser/30aededa-0583-46d7-a110-38e7e437c3df', err: Error: connect ECONNREFUSED 127.0.0.1:41829     at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 41829 } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 5, result: {} } +5ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 6, method: 'Runtime.addBinding', params: { name: 'cypressSendToServer-/__socket/data-context' } } +5ms
  cypress:server:browsers browser process killed +48ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 6, result: {} } +2ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Runtime.bindingCalled' } +6ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Target.targetCrashed' } +0ms
Missing browserCriClient in attachListeners
Error: Missing browserCriClient in attachListeners
    at Object.attachListeners (<embedded>:4365:49761)
    at Object.open (<embedded>:4365:51952)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Object.open (<embedded>:4365:27363)
    at async v.relaunchBrowser (<embedded>:4450:37910)
  cypress:server:browsers browsers.kill called with no active instance +13ms

bit long but hopefully it'll help.

@cacieprins
Copy link
Contributor

Hi @Squixx , thank you for those debug logs!

It looks like you're encountering a different error:

Missing browserCriClient in attachListeners
Error: Missing browserCriClient in attachListeners
    at Object.attachListeners (<embedded>:4365:49761)
    at Object.open (<embedded>:4365:51952)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Object.open (<embedded>:4365:27363)
    at async v.relaunchBrowser (<embedded>:4450:37910)

The debug logs I requested are specifically for helping with the WebSocket connection closed, so they won't help much in tracking down what's causing your issue.

Can you open a new issue and attach a minimal reproduction example? A fork of https://github.com/cypress-io/cypress-test-tiny tends to work best to get a minimum reproduction.

@Squixx
Copy link

Squixx commented Apr 18, 2024

Minimum reproduction for that will probably be just as hard as the websocket one.. but i'll move that to a different issue if it keeps poping up.

Compodoc v1.1.23

info => Serving static files from ././cdn-assets at /
info => Serving static files from ././node_modules/@webcomponents at /
info => Serving static files from ././<repodir>/<project>/src at /
info => Starting manager..
info => Starting preview..
info Addon-docs: using MDX3
info => Using implicit CSS loaders
info => Using angular browser target options from "project:build-storybook"
info => Using angular project with "tsConfig:/home/workflows/workspace/<repodir>/<project>/.storybook/tsconfig.json"
    TypeScript compiler options "target" and "useDefineForClassFields" are set to "ES2022" and "false" respectively by the Angular CLI. To control ECMA version and features use the Browserslist configuration. For more information, see https://angular.io/guide/build#configuring-browser-compatibility
    NOTE: You can set the "target" to "ES2022" in the project's tsconfig to remove this warning.
info => Using default Webpack5 setup
<i> [webpack-dev-middleware] wait until bundle finished
WARN /home/workflows/workspace/<repodir>/<project>/.storybook/main.ts is part of the TypeScript compilation but it's unused.
WARN Add only entry points to the 'files' or 'include' properties in your tsconfig.
WARN DefinePlugin
WARN Conflicting values for 'process.env.NODE_ENV'
  cypress:server:browsers:utils found browsers { browsers: [ { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', version: '122.0.6261.94', path: 'google-chrome', minSupportedVersion: 64, majorVersion: '122' } ] } +521ms
  cypress:server:browsers:utils searching for browser { nameOrPath: 'chrome', filter: { name: 'chrome', channel: 'stable' }, knownBrowsers: [ { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', version: '122.0.6261.94', path: 'google-chrome', minSupportedVersion: 64, majorVersion: '122' }, { name: 'electron', channel: 'stable', family: 'chromium', displayName: 'Electron', version: '118.0.5993.159', path: '', majorVersion: 118 } ] } +1s
  cypress:server:browsers:utils getBrowsers +29ms
  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/workflows/.cache/Cypress/13.7.3/Cypress/resources/app/packages/server/lib/browsers/utils.ts     at node:internal/modules/cjs/loader:1084:15     at Function._resolveFilename (node:electron/js2c/browser_init:2:116646)     at resolve (node:internal/modules/cjs/helpers:127:19) at Function.resolve (evalmachine.<anonymous>:1:747857) at q (<embedded>:4359:87697) at Object.I [as get] (<embedded>:4359:88532) at H (<embedded>:4450:141618) at Object.W (<embedded>:4450:144324) { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/workflows/.cache/Cypress/13.7.3/Cypress/resources/app/packages/server/lib/browsers/utils.ts' ] } } +1ms
  cypress:server:browsers:utils found browsers { browsers: [ { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', version: '122.0.6261.94', path: 'google-chrome', minSupportedVersion: 64, majorVersion: '122' } ] } +231ms
  cypress:server:browsers:utils searching for browser { nameOrPath: 'chrome', filter: { name: 'chrome', channel: 'stable' }, knownBrowsers: [ { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', version: '122.0.6261.94', path: 'google-chrome', minSupportedVersion: 64, majorVersion: '122' }, { name: 'electron', channel: 'stable', family: 'chromium', displayName: 'Electron', version: '118.0.5993.159', path: '', majorVersion: 118 } ] } +91ms

tput: No value for $TERM and no -T specified
====================================================================================================

  (Run Starting)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Cypress:        13.7.3                                                                         │
  │ Browser:        Chrome 122 (headless)                                                          │
  │ Node Version:   v20.11.1 (/usr/local/bin/node)                                                 │
  │ Specs:          1 found (<feature>.component.cy.ts)                               │
  │ Searched:       src/**/*.cy.{js,jsx,ts,tsx}                                                    │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


────────────────────────────────────────────────────────────────────────────────────────────────────
                                                                                                    
  Running:  <feature>.component.cy.ts                                          (1 of 1)
  cypress:server:browsers browsers.kill called with no active instance +0ms
  cypress:server:browsers getBrowserLauncher { browser: { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', version: '122.0.6261.94', path: 'google-chrome', minSupportedVersion: 64, majorVersion: '122', isHeadless: true, isHeaded: false } } +0ms
  cypress:server:browsers opening browser { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', version: '122.0.6261.94', path: 'google-chrome', minSupportedVersion: 64, majorVersion: '122', isHeadless: true, isHeaded: false } +2ms
  cypress:server:browsers:chrome reading chrome preferences... { userDir: '/home/workflows/.config/Cypress/cy/production/browsers/chrome-stable/run-4828', CHROME_PREFERENCE_PATHS: { default: 'Default/Preferences', defaultSecure: 'Default/Secure Preferences', localState: 'Local State' } } +0ms
  cypress:server:browsers:chrome chrome is running headlessly, not installing extension +1ms
  cypress:server:browsers:chrome launching in chrome with debugging port { url: 'http://localhost:4400/__/#/specs/runner?file=src/e2e/<feature>.component.cy.ts', args: [ '--test-type', '--ignore-certificate-errors', '--start-maximized', '--silent-debugger-extension-api', '--no-default-browser-check', '--no-first-run', '--noerrdialogs', '--enable-fixed-layout', '--disable-popup-blocking', '--disable-password-generation', '--disable-single-click-autofill', '--disable-prompt-on-repos', '--disable-background-timer-throttling', '--disable-renderer-backgrounding', '--disable-renderer-throttling', '--disable-backgrounding-occluded-windows', '--disable-restore-session-state', '--disable-new-profile-management', '--disable-new-avatar-menu', '--allow-insecure-localhost', '--reduce-security-for-testing', '--enable-automation', '--disable-print-preview', '--disable-component-extensions-with-background-pages', '--disable-device-discovery-notifications', '--autoplay-policy=no-user-gesture-required', '--disable-site-isolation-trials', '--metrics-recording-only', '--disable-prompt-on-repost', '--disable-hang-monitor', '--disable-sync', '--disable-web-resources', '--safebrowsing-disable-download-protection', '--disable-client-side-phishing-detection', '--disable-component-update', "--simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT'", '--disable-default-apps', '--disable-features=Translate,PrivacySandboxSettings4', '--use-fake-ui-for-media-stream', '--use-fake-device-for-media-stream', '--disable-ipc-flooding-protection', '--disable-backgrounding-occluded-window', '--disable-breakpad', '--password-store=basic', '--use-mock-keychain', '--disable-dev-shm-usage', '--enable-precise-memory-info', '--disable-gpu', '--no-sandbox', '--proxy-server=http://localhost:35995', '--disable-web-security', '--allow-running-insecure-content', '--proxy-bypass-list=<-loopback>', '--headless=new', '--window-size=1280,720', '--force-device-scale-factor=1', '--remote-debugging-port=37185', '--remote-debugging-address=127.0.0.1', '--user-data-dir=/home/workflows/.config/Cypress/cy/production/browsers/chrome-stable/run-4828', '--disk-cache-dir=/home/workflows/.config/Cypress/cy/production/browsers/chrome-stable/run-4828/CypressCache' ], port: 37185 } +1ms

  cypress:server:browsers browsers.kill called with no active instance +5m
Timed out waiting for the browser to connect. Retrying...
  cypress:server:browsers browsers.kill called with no active instance +8ms
  cypress:server:browsers getBrowserLauncher { browser: { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', version: '122.0.6261.94', path: 'google-chrome', minSupportedVersion: 64, majorVersion: '122', isHeadless: true, isHeaded: false } } +0ms
  cypress:server:browsers opening browser { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', version: '122.0.6261.94', path: 'google-chrome', minSupportedVersion: 64, majorVersion: '122', isHeadless: true, isHeaded: false } +3ms
  cypress:server:browsers:chrome reading chrome preferences... { userDir: '/home/workflows/.config/Cypress/cy/production/browsers/chrome-stable/run-4828', CHROME_PREFERENCE_PATHS: { default: 'Default/Preferences', defaultSecure: 'Default/Secure Preferences', localState: 'Local State' } } +5m
  cypress:server:browsers:browser-cri-client error finding browser target, maybe retrying { delay: 100, err: Error: socket hang up     at connResetException (node:internal/errors:720:14)     at Socket.socketCloseListener (node:_http_client:474:25)     at Socket.emit (node:events:526:35)     at TCP.<anonymous> (node:net:323:12) { code: 'ECONNRESET' } } +0ms
  cypress:server:browsers:chrome chrome is running headlessly, not installing extension +33ms
  cypress:server:browsers:chrome cleaning up unclean exit status +5ms
  cypress:server:browsers:chrome launching in chrome with debugging port { url: 'http://localhost:4400/__/#/specs/runner?file=src/e2e/<feature>.component.cy.ts', args: [ '--test-type', '--ignore-certificate-errors', '--start-maximized', '--silent-debugger-extension-api', '--no-default-browser-check', '--no-first-run', '--noerrdialogs', '--enable-fixed-layout', '--disable-popup-blocking', '--disable-password-generation', '--disable-single-click-autofill', '--disable-prompt-on-repos', '--disable-background-timer-throttling', '--disable-renderer-backgrounding', '--disable-renderer-throttling', '--disable-backgrounding-occluded-windows', '--disable-restore-session-state', '--disable-new-profile-management', '--disable-new-avatar-menu', '--allow-insecure-localhost', '--reduce-security-for-testing', '--enable-automation', '--disable-print-preview', '--disable-component-extensions-with-background-pages', '--disable-device-discovery-notifications', '--autoplay-policy=no-user-gesture-required', '--disable-site-isolation-trials', '--metrics-recording-only', '--disable-prompt-on-repost', '--disable-hang-monitor', '--disable-sync', '--disable-web-resources', '--safebrowsing-disable-download-protection', '--disable-client-side-phishing-detection', '--disable-component-update', "--simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT'", '--disable-default-apps', '--disable-features=Translate,PrivacySandboxSettings4', '--use-fake-ui-for-media-stream', '--use-fake-device-for-media-stream', '--disable-ipc-flooding-protection', '--disable-backgrounding-occluded-window', '--disable-breakpad', '--password-store=basic', '--use-mock-keychain', '--disable-dev-shm-usage', '--enable-precise-memory-info', '--disable-gpu', '--no-sandbox', '--proxy-server=http://localhost:35995', '--disable-web-security', '--allow-running-insecure-content', '--proxy-bypass-list=<-loopback>', '--headless=new', '--window-size=1280,720', '--force-device-scale-factor=1', '--remote-debugging-port=34551', '--remote-debugging-address=127.0.0.1', '--user-data-dir=/home/workflows/.config/Cypress/cy/production/browsers/chrome-stable/run-4828', '--disk-cache-dir=/home/workflows/.config/Cypress/cy/production/browsers/chrome-stable/run-4828/CypressCache' ], port: 34551 } +12ms
Warning: terminator_CreateInstance: Failed to CreateInstance in ICD 3.  Skipping ICD.
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
  cypress:server:browsers:cri-client connecting { connected: false, target: 'ws://127.0.0.1:37185/devtools/browser/6be8fcf1-3a08-40e0-b69b-13c121f68e3d' } +0ms
  cypress:server:browsers:cri-client connected { connected: true, target: 'ws://127.0.0.1:37185/devtools/browser/6be8fcf1-3a08-40e0-b69b-13c121f68e3d' } +22ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 1, method: 'Target.setDiscoverTargets', params: { discover: true } } +0ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 2, method: 'Target.setAutoAttach', params: { autoAttach: true, waitForDebuggerOnStart: true, flatten: true } } +1ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Target.attachedToTarget' } +2ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Target.targetDestroyed' } +0ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Inspector.targetReloadedAfterCrash' } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Target.targetCreated', params: { targetInfo: { targetId: '5758D94533C05791EF06527376111A7B', type: 'page', title: 'about:blank', url: 'about:blank', attached: false, canAccessOpener: false, browserContextId: '0D58A6B4FB9D7FE7A6CBA12EFCEAB9C4' } } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 1, result: {} } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Target.targetInfoChanged', params: { targetInfo: { targetId: '5758D94533C05791EF06527376111A7B', type: 'page', title: 'about:blank', url: 'about:blank', attached: true, canAccessOpener: false, browserContextId: '0D58A6B4FB9D7FE7A6CBA12EFCEAB9C4' } } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Target.attachedToTarget', params: { sessionId: '75F65233E836AAF474B5D1A51F60EABA', targetInfo: { targetId: '5758D94533C05791EF06527376111A7B', type: 'page', title: 'about:blank', url: 'about:blank', attached: true, canAccessOpener: false, browserContextId: '0D58A6B4FB9D7FE7A6CBA12EFCEAB9C4' }, waitingForDebugger: false } } +1ms
  cypress:server:browsers:browser-cri-client Target.attachedToTarget { targetId: '5758D94533C05791EF06527376111A7B', type: 'page', title: 'about:blank', url: 'about:blank', attached: true, canAccessOpener: false, browserContextId: '0D58A6B4FB9D7FE7A6CBA12EFCEAB9C4' } +143ms
  cypress:server:browsers:browser-cri-client Not waiting for debugger (id: 5758D94533C05791EF06527376111A7B) +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 2, result: {} } +0ms
  cypress:server:browsers:browser-cri-client Attaching to target url about:blank +1ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 3, method: 'Target.getTargets', params: {} } +4ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 3, result: { targetInfos: [ [Object] ] } } +1ms
  cypress:server:browsers:cri-client connecting { connected: false, target: '5758D94533C05791EF06527376111A7B' } +4ms
  cypress:server:browsers:cri-client connected { connected: true, target: '5758D94533C05791EF06527376111A7B' } +7ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 1, method: 'Target.setAutoAttach', params: { autoAttach: true, waitForDebuggerOnStart: true, flatten: true } } +7ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 1, result: {} } +8ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 2, method: 'Target.setDiscoverTargets', params: { discover: true } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Target.targetCreated', params: { targetInfo: { targetId: '5758D94533C05791EF06527376111A7B', type: 'page', title: 'about:blank', url: 'about:blank', attached: true, canAccessOpener: false, browserContextId: '0D58A6B4FB9D7FE7A6CBA12EFCEAB9C4' } } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 2, result: {} } +2ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 3, method: 'Runtime.enable', params: {} } +2ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Runtime.executionContextCreated', params: { context: { id: 1, origin: '://', name: '', uniqueId: '8818892774593116160.-2044988024042281442', auxData: [Object] } } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 3, result: {} } +0ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 4, method: 'Runtime.addBinding', params: { name: 'cypressSendToServer-/__socket/default' } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 4, result: {} } +1ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Runtime.bindingCalled' } +5ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 5, method: 'Runtime.enable', params: {} } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 5, result: {} } +1ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 6, method: 'Runtime.addBinding', params: { name: 'cypressSendToServer-/__socket/data-context' } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 6, result: {} } +2ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Runtime.bindingCalled' } +3ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Target.targetCrashed' } +9ms
  cypress:server:browsers:chrome attaching listeners to chrome { url: 'http://localhost:4400/__/#/specs/runner?file=src/e2e/<feature>.component.cy.ts', options: { browser: { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', version: '122.0.6261.94', path: 'google-chrome', minSupportedVersion: 64, majorVersion: '122', isHeadless: true, isHeaded: false }, url: 'http://localhost:4400/__/#/specs/runner?file=src/e2e/<feature>.component.cy.ts', browsers: [ [Object], [Object] ], userAgent: null, proxyUrl: 'http://localhost:35995', proxyServer: 'http://localhost:35995', socketIoRoute: '/__socket', chromeWebSecurity: false, isTextTerminal: true, downloadsFolder: '/home/workflows/workspace/e2e/<feature>/<feature>-e2e/cypress/downloads', experimentalModifyObstructiveThirdPartyCode: false, experimentalWebKitSupport: false, protocolManager: undefined, projectRoot: '/home/workflows/workspace/e2e/<feature>/<feature>-e2e', shouldLaunchNewTab: false, onError: [Function (anonymous)], videoApi: undefined, automationMiddleware: { onBeforeRequest: [Function: onBeforeRequest], onAfterResponse: [Function: onAfterResponse] }, onWarning: [Function: onWarning], onBrowserClose: [Function (anonymous)], relaunchBrowser: [AsyncFunction (anonymous)], onBrowserOpen: [Function: onBrowserOpen] } } +119ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Network.requestWillBeSent' } +2ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Network.requestWillBeSent' } +0ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Network.responseReceived' } +0ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Network.responseReceived' } +1ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Network.requestServedFromCache' } +0ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Network.requestServedFromCache' } +1ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Network.loadingFailed' } +0ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Network.loadingFailed' } +0ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'ServiceWorker.workerRegistrationUpdated' } +1ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'ServiceWorker.workerVersionUpdated' } +0ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 7, method: 'Network.enable', params: { maxTotalBufferSize: 0, maxResourceBufferSize: 0, maxPostDataSize: 0 } } +16ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 7, result: {} } +27ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 8, method: 'Page.enable', params: {} } +15ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 8, result: {} } +17ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 9, method: 'ServiceWorker.enable', params: {} } +15ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Page.downloadWillBegin' } +32ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Page.downloadProgress' } +0ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 10, method: 'Page.setDownloadBehavior', params: { behavior: 'allow', downloadPath: '/home/workflows/workspace/e2e/<feature>/<feature>-e2e/cypress/downloads' } } +2ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 11, method: 'Runtime.enable', params: {} } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 9, result: {} } +3ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'ServiceWorker.workerRegistrationUpdated', params: { registrations: [] } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'ServiceWorker.workerVersionUpdated', params: { versions: [] } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 10, result: {} } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 11, result: {} } +1ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 12, method: 'Runtime.addBinding', params: { name: 'cypressUtilityBinding' } } +3ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 12, result: {} } +1ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Runtime.bindingCalled' } +4ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 13, method: 'Page.addScriptToEvaluateOnNewDocument', params: { source: '\n' + "    const binding = window['cypressUtilityBinding']\n" + "    delete window['cypressUtilityBinding']\n" + '    ;(e=>{if(e){const s=e=>JSON.stringify({type:"download",destination:e});window.navigation?window.navigation.addEventListener("navigate",(o=>{"string"==typeof o.downloadRequest&&e(s(o.destination.url))})):(document.addEventListener("click",(o=>{o.target instanceof HTMLAnchorElement&&"string"==typeof o.target.download&&e(s(o.target.href))})),document.addEventListener("keydown",(o=>{o.target instanceof HTMLAnchorElement&&"Enter"===o.key&&"string"==typeof o.target.download&&e(s(o.target.href))})))}})(binding)\n' + '    ;(e=>{if(window.ServiceWorkerContainer){const s=window.ServiceWorkerContainer.prototype.register;window.ServiceWorkerContainer.prototype.register=function(o,t){const n=document.createElement("a");let r;"string"==typeof o?(n.setAttribute("href",o),r=new URL(n.href)):r=o,n.remove();const a={type:"service-worker-registration",scriptURL:`${r.origin}${r.pathname}`,initiatorOrigin:window.location.origin};return e(JSON.stringify(a)),s.apply(this,[o,t])}}})(binding)\n' + '    ' } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 13, result: { identifier: '1' } } +1ms
  cypress:server:browsers:chrome received CRI client +42ms
  cypress:server:browsers:chrome navigating to page http://localhost:4400/__/#/specs/runner?file=src/e2e/<feature>.component.cy.ts +0ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 14, method: 'Page.bringToFront', params: {} } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 14, result: {} } +1ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 15, method: 'Page.navigate', params: { url: 'http://localhost:4400/__/#/specs/runner?file=src/e2e/<feature>.component.cy.ts' } } +1ms
  cypress:server:browsers:cri-client connecting { connected: false, target: 'ws://127.0.0.1:34551/devtools/browser/90bec01b-bf23-498a-b7cc-5f5c4aac2fa9' } +6ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Page.frameStartedLoading', params: { frameId: '5758D94533C05791EF06527376111A7B' } } +12ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.requestWillBeSent', params: { requestId: '081BCC229F58B6D750A69FA4B4C7222F', loaderId: '081BCC229F58B6D750A69FA4B4C7222F', documentURL: 'http://localhost:4400/__/', request: { url: 'http://localhost:4400/__/', urlFragment: '#/specs/runner?file=src/e2e/<feature>.component.cy.ts', method: 'GET', headers: [Object], mixedContentType: 'none', initialPriority: 'VeryHigh', referrerPolicy: 'strict-origin-when-cross-origin', isSameSite: true }, timestamp: 2830.352777, wallTime: 1713418509.71972, initiator: { type: 'other' }, redirectHasExtraInfo: false, type: 'Document', frameId: '5758D94533C05791EF06527376111A7B', hasUserGesture: false } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.requestWillBeSentExtraInfo', params: { requestId: '081BCC229F58B6D750A69FA4B4C7222F', associatedCookies: [], headers: { Accept: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7', 'Accept-Encoding': 'gzip, deflate, br', 'Accept-Language': 'en-US,en;q=0.9', Host: 'localhost:4400', 'Proxy-Connection': 'keep-alive', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'none', 'Sec-Fetch-User': '?1', 'Upgrade-Insecure-Requests': '1', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/122.0.0.0 Safari/537.36', 'sec-ch-ua': '"Chromium";v="122", "Not(A:Brand";v="24", "Google Chrome";v="122"', 'sec-ch-ua-mobile': '?0', 'sec-ch-ua-platform': '"Linux"' }, connectTiming: { requestTime: 2830.353901 }, siteHasCookieInOtherPartition: false } } +1ms
  cypress:server:browsers:cri-client connected { connected: true, target: 'ws://127.0.0.1:34551/devtools/browser/90bec01b-bf23-498a-b7cc-5f5c4aac2fa9' } +60ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 1, method: 'Target.setDiscoverTargets', params: { discover: true } } +64ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 2, method: 'Target.setAutoAttach', params: { autoAttach: true, waitForDebuggerOnStart: true, flatten: true } } +1ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Target.attachedToTarget' } +1ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Target.targetDestroyed' } +0ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Inspector.targetReloadedAfterCrash' } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Target.targetCreated', params: { targetInfo: { targetId: '76E8C1331917C03C6CB9602FEEA98CC9', type: 'page', title: 'about:blank', url: 'about:blank', attached: false, canAccessOpener: false, browserContextId: '2C2F040B1AA7FE80920D222A379AF01D' } } } +53ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 1, result: {} } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Target.targetInfoChanged', params: { targetInfo: { targetId: '76E8C1331917C03C6CB9602FEEA98CC9', type: 'page', title: 'about:blank', url: 'about:blank', attached: true, canAccessOpener: false, browserContextId: '2C2F040B1AA7FE80920D222A379AF01D' } } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Target.attachedToTarget', params: { sessionId: 'D2F9D826CD7D5358D3A373F63BDF563B', targetInfo: { targetId: '76E8C1331917C03C6CB9602FEEA98CC9', type: 'page', title: 'about:blank', url: 'about:blank', attached: true, canAccessOpener: false, browserContextId: '2C2F040B1AA7FE80920D222A379AF01D' }, waitingForDebugger: false } } +0ms
  cypress:server:browsers:browser-cri-client Target.attachedToTarget { targetId: '76E8C1331917C03C6CB9602FEEA98CC9', type: 'page', title: 'about:blank', url: 'about:blank', attached: true, canAccessOpener: false, browserContextId: '2C2F040B1AA7FE80920D222A379AF01D' } +134ms
  cypress:server:browsers:browser-cri-client Not waiting for debugger (id: 76E8C1331917C03C6CB9602FEEA98CC9) +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 2, result: {} } +0ms
  cypress:server:browsers:browser-cri-client Attaching to target url about:blank +0ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 3, method: 'Target.getTargets', params: {} } +2ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 3, result: { targetInfos: [ [Object] ] } } +1ms
  cypress:server:browsers:cri-client connecting { connected: false, target: '76E8C1331917C03C6CB9602FEEA98CC9' } +3ms
  cypress:server:browsers:cri-client connected { connected: true, target: '76E8C1331917C03C6CB9602FEEA98CC9' } +9ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 1, method: 'Target.setAutoAttach', params: { autoAttach: true, waitForDebuggerOnStart: true, flatten: true } } +10ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 1, result: {} } +10ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 2, method: 'Target.setDiscoverTargets', params: { discover: true } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Target.targetCreated', params: { targetInfo: { targetId: '76E8C1331917C03C6CB9602FEEA98CC9', type: 'page', title: 'about:blank', url: 'about:blank', attached: true, canAccessOpener: false, browserContextId: '2C2F040B1AA7FE80920D222A379AF01D' } } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 2, result: {} } +0ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 3, method: 'Runtime.enable', params: {} } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Runtime.executionContextCreated', params: { context: { id: 1, origin: '://', name: '', uniqueId: '7376342126364536657.5536786866131234766', auxData: [Object] } } } +5ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 3, result: {} } +0ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 4, method: 'Runtime.addBinding', params: { name: 'cypressSendToServer-/__socket/default' } } +4ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 4, result: {} } +1ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Runtime.bindingCalled' } +7ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 5, method: 'Runtime.enable', params: {} } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.responseReceived', params: { requestId: '081BCC229F58B6D750A69FA4B4C7222F', loaderId: '081BCC229F58B6D750A69FA4B4C7222F', timestamp: 2830.432045, type: 'Document', response: { url: 'http://localhost:4400/__/', status: 200, statusText: 'OK', headers: [Object], mimeType: 'text/html', charset: 'utf-8', connectionReused: false, connectionId: 112, remoteIPAddress: '127.0.0.1', remotePort: 35995, fromDiskCache: false, fromServiceWorker: false, fromPrefetchCache: false, encodedDataLength: 288, timing: [Object], responseTime: 1713418509758.941, protocol: 'http/1.1', alternateProtocolUsage: 'unspecifiedReason', securityState: 'secure' }, hasExtraInfo: true, frameId: '5758D94533C05791EF06527376111A7B' } } +2ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.responseReceivedExtraInfo', params: { requestId: '081BCC229F58B6D750A69FA4B4C7222F', blockedCookies: [], headers: { Connection: 'keep-alive', 'Content-Encoding': 'gzip', 'Content-Type': 'text/html; charset=utf-8', Date: 'Thu, 18 Apr 2024 05:35:09 GMT', ETag: 'W/"3500-0qfqD1dtTl1CbnyE/wsKUJ7gd1k"', 'Keep-Alive': 'timeout=5', 'Origin-Agent-Cluster': '?0', 'Transfer-Encoding': 'chunked', Vary: 'Accept-Encoding' }, resourceIPAddressSpace: 'Unknown', statusCode: 200, headersText: 'HTTP/1.1 200 OK\r\n' + 'Origin-Agent-Cluster: ?0\r\n' + 'Content-Type: text/html; charset=utf-8\r\n' + 'ETag: W/"3500-0qfqD1dtTl1CbnyE/wsKUJ7gd1k"\r\n' + 'Vary: Accept-Encoding\r\n' + 'Content-Encoding: gzip\r\n' + 'Date: Thu, 18 Apr 2024 05:35:09 GMT\r\n' + 'Connection: keep-alive\r\n' + 'Keep-Alive: timeout=5\r\n' + 'Transfer-Encoding: chunked\r\n' + '\r\n', cookiePartitionKey: 'http://localhost', cookiePartitionKeyOpaque: false } } +5ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 15, result: { frameId: '5758D94533C05791EF06527376111A7B', loaderId: '081BCC229F58B6D750A69FA4B4C7222F' } } +0ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 6, method: 'Runtime.evaluate', params: { expression: '\n' + "        if (window['cypressSocket-/__socket/default'] && window['cypressSocket-/__socket/default'].send) {\n" + `          window['cypressSocket-/__socket/default'].send('"42/__socket/default,[[\\\\"1\\\\",\\\\"2\\\\",\\\\"3\\\\"],\\\\"request:event\\\\",\\\\"6523369f-1c14-4d13-a488-d3efdb502d03\\\\",[\\\\"4\\\\",\\\\"5\\\\"],\\\\"response:received\\\\",{\\\\"requestId\\\\":\\\\"6\\\\",\\\\"status\\\\":200,\\\\"headers\\\\":\\\\"7\\\\"},\\\\"081BCC229F58B6D750A69FA4B4C7222F\\\\",{\\\\"Connection\\\\":\\\\"8\\\\",\\\\"Content-Encoding\\\\":\\\\"9\\\\",\\\\"Content-Type\\\\":\\\\"10\\\\",\\\\"Date\\\\":\\\\"11\\\\",\\\\"ETag\\\\":\\\\"12\\\\",\\\\"Keep-Alive\\\\":\\\\"13\\\\",\\\\"Origin-Agent-Cluster\\\\":\\\\"14\\\\",\\\\"Transfer-Encoding\\\\":\\\\"15\\\\",\\\\"Vary\\\\":\\\\"16\\\\"},\\\\"keep-alive\\\\",\\\\"gzip\\\\",\\\\"text/html; charset=utf-8\\\\",\\\\"Thu, 18 Apr 2024 05:35:09 GMT\\\\",\\\\"W/\\\\\\\\\\\\"3500-0qfqD1dtTl1CbnyE/wsKUJ7gd1k\\\\\\\\\\\\"\\\\",\\\\"timeout=5\\\\",\\\\"?0\\\\",\\\\"chunked\\\\",\\\\"Accept-Encoding\\\\"]"')\n` + '        }\n' + '      ' } } +8ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 16, method: 'Fetch.enable', params: { patterns: [ [Object] ] } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 5, result: {} } +16ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 6, result: { result: { type: 'undefined' } } } +0ms
  cypress-verbose:server:browsers:cri-client:send:[-->] sending CDP command { id: 7, method: 'Runtime.addBinding', params: { name: 'cypressSendToServer-/__socket/data-context' } } +15ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.requestWillBeSentExtraInfo', params: { requestId: '5191.2', associatedCookies: [], headers: { Accept: '*/*', 'Accept-Encoding': 'gzip, deflate, br', 'Accept-Language': 'en-US,en;q=0.9', Host: 'localhost:4400', Origin: 'http://localhost:4400', 'Proxy-Connection': 'keep-alive', Referer: 'http://localhost:4400/__/', 'Sec-Fetch-Dest': 'script', 'Sec-Fetch-Mode': 'cors', 'Sec-Fetch-Site': 'same-origin', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/122.0.0.0 Safari/537.36', 'sec-ch-ua': '"Chromium";v="122", "Not(A:Brand";v="24", "Google Chrome";v="122"', 'sec-ch-ua-mobile': '?0', 'sec-ch-ua-platform': '"Linux"' }, connectTiming: { requestTime: 2830.436967 }, clientSecurityState: { initiatorIsSecureContext: true, initiatorIPAddressSpace: 'Local', privateNetworkRequestPolicy: 'Allow' }, siteHasCookieInOtherPartition: false } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Target.targetInfoChanged', params: { targetInfo: { targetId: '5758D94533C05791EF06527376111A7B', type: 'page', title: 'localhost:4400/__/#/specs/runner?file=src/e2e/<feature>.component.cy.ts', url: 'http://localhost:4400/__/#/specs/runner?file=src/e2e/<feature>.component.cy.ts', attached: true, canAccessOpener: false, browserContextId: '0D58A6B4FB9D7FE7A6CBA12EFCEAB9C4' } } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.requestWillBeSentExtraInfo', params: { requestId: '5191.3', associatedCookies: [], headers: { Accept: '*/*', 'Accept-Encoding': 'gzip, deflate, br', 'Accept-Language': 'en-US,en;q=0.9', Host: 'localhost:4400', Origin: 'http://localhost:4400', 'Proxy-Connection': 'keep-alive', Referer: 'http://localhost:4400/__/', 'Sec-Fetch-Dest': 'script', 'Sec-Fetch-Mode': 'cors', 'Sec-Fetch-Site': 'same-origin', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/122.0.0.0 Safari/537.36', 'sec-ch-ua': '"Chromium";v="122", "Not(A:Brand";v="24", "Google Chrome";v="122"', 'sec-ch-ua-mobile': '?0', 'sec-ch-ua-platform': '"Linux"' }, connectTiming: { requestTime: 2830.43719 }, clientSecurityState: { initiatorIsSecureContext: true, initiatorIPAddressSpace: 'Local', privateNetworkRequestPolicy: 'Allow' }, siteHasCookieInOtherPartition: false } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.requestWillBeSentExtraInfo', params: { requestId: '5191.4', associatedCookies: [], headers: { Accept: 'text/css,*/*;q=0.1', 'Accept-Encoding': 'gzip, deflate, br', 'Accept-Language': 'en-US,en;q=0.9', Host: 'localhost:4400', 'Proxy-Connection': 'keep-alive', Referer: 'http://localhost:4400/__/', 'Sec-Fetch-Dest': 'style', 'Sec-Fetch-Mode': 'no-cors', 'Sec-Fetch-Site': 'same-origin', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/122.0.0.0 Safari/537.36', 'sec-ch-ua': '"Chromium";v="122", "Not(A:Brand";v="24", "Google Chrome";v="122"', 'sec-ch-ua-mobile': '?0', 'sec-ch-ua-platform': '"Linux"' }, connectTiming: { requestTime: 2830.437434 }, clientSecurityState: { initiatorIsSecureContext: true, initiatorIPAddressSpace: 'Local', privateNetworkRequestPolicy: 'Allow' }, siteHasCookieInOtherPartition: false } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Runtime.executionContextsCleared', params: {} } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Page.frameNavigated', params: { frame: { id: '5758D94533C05791EF06527376111A7B', loaderId: '081BCC229F58B6D750A69FA4B4C7222F', url: 'http://localhost:4400/__/', urlFragment: '#/specs/runner?file=src/e2e/<feature>.component.cy.ts', domainAndRegistry: '', securityOrigin: 'http://localhost:4400', mimeType: 'text/html', adFrameStatus: [Object], secureContextType: 'SecureLocalhost', crossOriginIsolatedContextType: 'NotIsolated', gatedAPIFeatures: [] }, type: 'Navigation' } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '081BCC229F58B6D750A69FA4B4C7222F', timestamp: 2830.436313, dataLength: 13568, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.requestWillBeSent', params: { requestId: '5191.2', loaderId: '081BCC229F58B6D750A69FA4B4C7222F', documentURL: 'http://localhost:4400/__/', request: { url: 'http://localhost:4400/__/assets/polyfills-3023ae52.js', method: 'GET', headers: [Object], mixedContentType: 'none', initialPriority: 'High', referrerPolicy: 'strict-origin-when-cross-origin', isSameSite: true }, timestamp: 2830.436636, wallTime: 1713418509.803611, initiator: { type: 'parser', url: 'http://localhost:4400/__/', lineNumber: 4, columnNumber: 73 }, redirectHasExtraInfo: false, type: 'Script', frameId: '5758D94533C05791EF06527376111A7B', hasUserGesture: false } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.requestWillBeSent', params: { requestId: '5191.3', loaderId: '081BCC229F58B6D750A69FA4B4C7222F', documentURL: 'http://localhost:4400/__/', request: { url: 'http://localhost:4400/__/assets/index-f6dca216.js', method: 'GET', headers: [Object], mixedContentType: 'none', initialPriority: 'High', referrerPolicy: 'strict-origin-when-cross-origin', isSameSite: true }, timestamp: 2830.436929, wallTime: 1713418509.803871, initiator: { type: 'parser', url: 'http://localhost:4400/__/', lineNumber: 10, columnNumber: 69 }, redirectHasExtraInfo: false, type: 'Script', frameId: '5758D94533C05791EF06527376111A7B', hasUserGesture: false } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.requestWillBeSent', params: { requestId: '5191.4', loaderId: '081BCC229F58B6D750A69FA4B4C7222F', documentURL: 'http://localhost:4400/__/', request: { url: 'http://localhost:4400/__/assets/index-bda26968.css', method: 'GET', headers: [Object], mixedContentType: 'none', initialPriority: 'VeryHigh', referrerPolicy: 'strict-origin-when-cross-origin', isSameSite: true }, timestamp: 2830.437098, wallTime: 1713418509.804045, initiator: { type: 'parser', url: 'http://localhost:4400/__/', lineNumber: 11, columnNumber: 60 }, redirectHasExtraInfo: false, type: 'Stylesheet', frameId: '5758D94533C05791EF06527376111A7B', hasUserGesture: false } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Runtime.executionContextCreated', params: { context: { id: 2, origin: 'http://localhost:4400', name: '', uniqueId: '-1749977305014741193.-333925094315886352', auxData: [Object] } } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.loadingFinished', params: { requestId: '081BCC229F58B6D750A69FA4B4C7222F', timestamp: 2830.409251, encodedDataLength: 4964 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { id: 16, result: {} } +0ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Fetch.requestPaused' } +25ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Page.frameAttached' } +0ms
  cypress:server:browsers:cri-client registering CDP on event { eventName: 'Page.frameDetached' } +0ms
  cypress:server:browsers browser opened +323ms
  cypress:server:browsers killing browser process +0ms
  cypress:server:browsers:chrome closing remote interface client { options: { gracefulShutdown: true } } +111ms
  cypress:server:browsers:cri-client closing cri client { closed: false, target: '76E8C1331917C03C6CB9602FEEA98CC9' } +1ms
  cypress:server:browsers:chrome closing chrome +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Target.targetInfoChanged', params: { targetInfo: { targetId: '5758D94533C05791EF06527376111A7B', type: 'page', title: 'localhost:4400/__/#/specs/runner?file=src/e2e/<feature>.component.cy.ts', url: 'http://localhost:4400/__/#/specs/runner?file=src/e2e/<feature>.component.cy.ts', attached: true, canAccessOpener: false, browserContextId: '0D58A6B4FB9D7FE7A6CBA12EFCEAB9C4' } } } +11ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Inspector.detached', params: { reason: 'Render process gone.' }, sessionId: '75F65233E836AAF474B5D1A51F60EABA' } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Page.frameStoppedLoading', params: { frameId: '5758D94533C05791EF06527376111A7B' } } +6ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Inspector.detached', params: { reason: 'Render process gone.' } } +0ms
  cypress:server:browsers:cri-client disconnected, starting retries to reconnect... { closed: false, target: 'ws://127.0.0.1:37185/devtools/browser/6be8fcf1-3a08-40e0-b69b-13c121f68e3d' } +19ms
  cypress:server:browsers:cri-client disconnected, attempting to reconnect... { retryIndex: 1, closed: false, target: 'ws://127.0.0.1:37185/devtools/browser/6be8fcf1-3a08-40e0-b69b-13c121f68e3d' } +0ms
  cypress:server:browsers:cri-client connecting { connected: false, target: 'ws://127.0.0.1:37185/devtools/browser/6be8fcf1-3a08-40e0-b69b-13c121f68e3d' } +0ms
  cypress:server:browsers:cri-client closed cri client { closed: true, target: '76E8C1331917C03C6CB9602FEEA98CC9' } +3ms
  cypress:server:browsers:cri-client closing cri client { closed: false, target: 'ws://127.0.0.1:34551/devtools/browser/90bec01b-bf23-498a-b7cc-5f5c4aac2fa9' } +0ms
  cypress:server:browsers:cri-client could not reconnect, retrying... { closed: false, target: 'ws://127.0.0.1:37185/devtools/browser/6be8fcf1-3a08-40e0-b69b-13c121f68e3d', err: Error: connect ECONNREFUSED 127.0.0.1:37185     at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 37185 } } +1ms
  cypress:server:browsers:cri-client closed cri client { closed: true, target: 'ws://127.0.0.1:34551/devtools/browser/90bec01b-bf23-498a-b7cc-5f5c4aac2fa9' } +4ms
WebSocket connection closed
Error: WebSocket connection closed
    at _._handleConnectionClose (<embedded>:2262:579841)
    at A.<anonymous> (<embedded>:2262:577905)
    at Object.onceWrapper (node:events:629:26)
    at A.emit (node:events:514:28)
    at A.emitClose (<embedded>:2262:558129)
    at Socket.H (<embedded>:2262:565440)
    at Socket.emit (node:events:514:28)
    at TCP.<anonymous> (node:net:323:12)
  cypress:server:browsers browser process killed +42ms
  cypress:server:browsers browsers.kill called with no active instance +4ms

this log should be more relevant. Lets focus on 1 problem at a time

@aziolek
Copy link

aziolek commented Apr 18, 2024

Hi everyone,

Thank you for your patience while I look into this. In order to aid with resolving it, we are still requesting a directly runnable test scenario that will reproduce the error. If you cannot provide a repository that reproduces the issue, please see the bottom of this comment for a specific selection of debug logs that will help me investigate.

@todd-m-kemp , sadly, I was unable to reproduce with that test snippet. I tried running this test via the module API in a docker container built from the cypress/browsers image (from various tags, all the way down to chrome 107) on a Linux host, and after 150+ iterations it still had not occurred. If you could take some time to reproduce in a fork cypress-test-tiny, that would be extraordinarily helpful.

This appears to be a race condition. Cypress sends a CDP command to the browser, and then closes the browser while that command is still pending a response. We do need help tracking down which command(s) are involved in this. If this issue is occurring for you, please try to provide us with this selection of debug logs:

DEBUG=cypress-verbose:server:browsers:cri-client:send:*,cypress-verbose:server:browsers:cri-client:recv:*,cypress:server:browsers*

Please note that these logs will be quite long. Please review them for potentially sensitive information before posting them.

Thank you so much for your help in tracking this down!

@cacieprins: we encounter this problem happening with CY 13.7.3 here. It does not happen on every run. We've been able to catch this particular issue happening with DEBUG value set as you asked. I have attached the logs to this comment. We are running our tests using Synpress which wraps Cypress in additional Metamask support, but that should not affect this bug in Cypress. The issue happens with CY version set to 13.7.3.

33_Run E2E Tests.txt

@wakeboardfit
Copy link

We also got this error on 13.7.3 as well. This is in Azure with windows-latest Agent. I know it's not full logs but just adding for environment difference than some of the others as well as visibility into the thread. We had been on 13.6.4 up until Monday when we updated to 13.7.3 and I now saw this issue. I also noticed that after updating, the runner is randomly skipping large quantities of tests. A pipeline that executes 120 tests on a normal night has done 7 and 14 the past couple runs and it just says tests were skipped despite us not changing anything to drive that behavior. Probably a separate issue but maybe a symptom of something.
WebSocket connection closed
Error: WebSocket connection closed
at _._handleConnectionClose (:2262:579841)
at A. (:2262:577905)
at Object.onceWrapper (node:events:629:26)
at A.emit (node:events:514:28)
at A.emitClose (:2262:558129)
at Socket.H (:2262:565440)
at Socket.emit (node:events:514:28)
at TCP. (node:net:323:12)
##[error]PowerShell exited with code '1'.

@jennifer-shehane jennifer-shehane added the stage: investigating Someone from Cypress is looking into this label Apr 19, 2024
@wakeboardfit
Copy link

We also got this error on 13.7.3 as well. This is in Azure with windows-latest Agent. I know it's not full logs but just adding for environment difference than some of the others as well as visibility into the thread. We had been on 13.6.4 up until Monday when we updated to 13.7.3 and I now saw this issue. I also noticed that after updating, the runner is randomly skipping large quantities of tests. A pipeline that executes 120 tests on a normal night has done 7 and 14 the past couple runs and it just says tests were skipped despite us not changing anything to drive that behavior. Probably a separate issue but maybe a symptom of something. WebSocket connection closed Error: WebSocket connection closed at _._handleConnectionClose (:2262:579841) at A. (:2262:577905) at Object.onceWrapper (node:events:629:26) at A.emit (node:events:514:28) at A.emitClose (:2262:558129) at Socket.H (:2262:565440) at Socket.emit (node:events:514:28) at TCP. (node:net:323:12) ##[error]PowerShell exited with code '1'.

We downgraded to 13.6.4 last week and our nightly test execution went back to running nominally.

@cacieprins
Copy link
Contributor

cacieprins commented Apr 22, 2024

Hi everyone, thank you for the expanded logs!

It looks like this is a combination of things:

  • The chrome-remote-interface package is throwing errors when an in-flight CDP command failed due to the WebSocket being closed. Previously, it simply failed silently.
  • There is a race condition, where certain Chrome DevTools Protocol commands are being sent after Cypress closes out the browser for a given spec. This is most commonly (but not solely!) encountered when using video recording. When video recording, Cypress sends an ACK after we have received a chunk and processed it to indicate that the next chunk can be sent. The ACK for the very last chunk of a spec recording can sometimes be sent after Cypress has closed the browser.

I have a tentative fix in review. I've built pre-release packages from that branch. If you would like to try them out, please follow the instructions for using prerelease binaries:

linux x64

npm install https://cdn.cypress.io/beta/npm/13.8.1/linux-x64/cacie/fix/websocket-closed-59a1198c5c1b222d81f33131d680ca08009dde5b/cypress.tgz

linux arm64

npm install https://cdn.cypress.io/beta/npm/13.8.1/linux-arm64/cacie/fix/websocket-closed-59a1198c5c1b222d81f33131d680ca08009dde5b/cypress.tgz

darwin arm64

npm install https://cdn.cypress.io/beta/npm/13.8.1/darwin-arm64/cacie/fix/websocket-closed-59a1198c5c1b222d81f33131d680ca08009dde5b/cypress.tgz

darwin x64

npm install https://cdn.cypress.io/beta/npm/13.8.1/darwin-x64/cacie/fix/websocket-closed-59a1198c5c1b222d81f33131d680ca08009dde5b/cypress.tgz

windows

npm install https://cdn.cypress.io/beta/npm/13.8.1/win32-x64/cacie/fix/websocket-closed-2add9c20e9f9e443e21b2037b1007118ff763c24/cypress.tgz

Thank you again for your patience while we work through this!

@cacieprins cacieprins added stage: needs review The PR code is done & tested, needs review and removed stage: investigating Someone from Cypress is looking into this labels Apr 22, 2024
@jennifer-shehane jennifer-shehane removed the stage: needs review The PR code is done & tested, needs review label Apr 22, 2024
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Apr 23, 2024

Released in 13.8.1.

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

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Apr 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.