question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crash in Chrome keeps the process hanging

See original GitHub issue

Current behavior

If the Electron crashes while running the tests, we get a message “Sad face, crashed…” and the test runner continues with the next spec. But I have noticed when trying to run the same tests in Chrome that we do not get any feedback when the browser crashes and the process hangs.

Here is an example of hanging

Screen Shot 2021-11-11 at 09 24 06

It was hanging until I cancelled the run on CircleCI

I tried to debug this, and got a good example: the job ran two parallel containers, one finished successfully and the second just hanged and they were executed with DEBUG=cypress*

https://app.circleci.com/pipelines/github/bahmutov/todo-graphql-example/398/workflows/a751e626-041d-48fd-b455-6fd421e14588/jobs/413/parallel-runs/1?filterBy=ALL

If you download the log from each container, you can find AFTER it downloads a large (2MB) support/index.js file one of the processes shows received CDP message { method: 'Inspector.targetCrashed

  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1054.51', timestamp: 30149.795194, dataLength: 0, encodedDataLength: 4918 } } +23ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.loadingFinished', params: { requestId: '1054.51', timestamp: 30149.794142, encodedDataLength: 5327, shouldReportCorbBlocking: false } } +8ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.webSocketFrameReceived', params: { requestId: '1054.47', timestamp: 30149.848559, response: { opcode: 1, mask: false, payloadData: '42["request:event","response:received",{"requestId":"1054.51","status":200,"headers":{"Pragma":"no-cache","Date":"Thu, 11 Nov 2021 13:49:57 GMT","Content-Encoding":"gzip","Last-Modified":"Thu, 11 Nov 2021 13:49:57 GMT","ETag":"W/\\"3925-17d0f432286\\"","Vary":"Accept-Encoding","Content-Type":"application/javascript; charset=utf-8","Cache-Control":"no-cache, no-store, must-revalidate","Transfer-Encoding":"chunked","Connection":"keep-alive","Accept-Ranges":"bytes","Keep-Alive":"timeout=5","Expires":"0"}}]' } } } +1ms
  cypress:webpack finished bundling /root/.config/Cypress/cy/production/projects/project-f85b6fb5740e6e8c7efea142eec4b6e8/bundles/cypress/support/index.js +4s
Hash: d8a72bc9321503165901
Version: webpack 4.46.0
Time: 6177ms
Built at: 11/11/2021 1:50:01 PM
   Asset     Size  Chunks             Chunk Names
index.js  3.2 MiB    main  [emitted]  main
Entrypoint main = index.js
[0] multi ./cypress/support/index.js 28 bytes {main} [built]
[../.cache/Cypress/9.0.0/Cypress/resources/app/packages/server/node_modules/@babel/runtime/helpers/defineProperty.js] 367 bytes {main} [built]
[../.cache/Cypress/9.0.0/Cypress/resources/app/packages/server/node_modules/@babel/runtime/helpers/interopRequireDefault.js] 225 bytes {main} [built]
[../.cache/Cypress/9.0.0/Cypress/resources/app/packages/server/node_modules/process/browser.js] 5.29 KiB {main} [built]
[../.cache/Cypress/9.0.0/Cypress/resources/app/packages/server/node_modules/util/node_modules/inherits/inherits_browser.js] 672 bytes {main} [built]
[../.cache/Cypress/9.0.0/Cypress/resources/app/packages/server/node_modules/util/support/isBufferBrowser.js] 203 bytes {main} [built]
[../.cache/Cypress/9.0.0/Cypress/resources/app/packages/server/node_modules/util/util.js] 18.9 KiB {main} [built]
[./cypress/integration/utils.js] 2.38 KiB {main} [built]
[./cypress/support/index.js] 421 bytes {main} [built]
[./node_modules/@apollo/client/index.js] 100 bytes {main} [built]
[./node_modules/cypress-each/src/index.js] 4.26 KiB {main} [built]
[./node_modules/cypress-grep/node_modules/debug/src/browser.js] 5.87 KiB {main} [built]
[./node_modules/cypress-grep/src/support.js] 6.27 KiB {main} [built]
[./node_modules/cypress-grep/src/utils.js] 3.23 KiB {main} [built]
[./src/graphql-client.js] 2.08 KiB {main} [built]
    + 241 hidden modules
  cypress:server:plugins promise resolved for id 'inv2' with value /root/.config/Cypress/cy/production/projects/project-f85b6fb5740e6e8c7efea142eec4b6e8/bundles/cypress/support/index.js +4s
  cypress:server:controllers:spec sending spec { filePath: '/root/.config/Cypress/cy/production/projects/project-f85b6fb5740e6e8c7efea142eec4b6e8/bundles/cypress/support/index.js' } +4s
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Inspector.targetCrashed', params: {} } +4s
  cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 43552 } +7s
  cypress-verbose:server:util:process_profiler all Cypress-launched processes: [

After that, the process only shows the running processes list every 10 seconds

Desired behavior

If the target CDP crashes at least stop the browser process, show “Browser crashed” message, continue with the next spec

Test code to reproduce

https://github.com/bahmutov/todo-graphql-example which bundles the apollo/client into the spec and support files. Maybe that is causing the crash?

The commit https://github.com/bahmutov/todo-graphql-example/commit/8774b35b9754bb7e98ba1b144ff151daa3df949d is a typical hanging commit. After that I tried to upgrade the Apollo client to the latest version, still the same result, you can see one container working successfully, another one crashing on the support file

https://app.circleci.com/pipelines/github/bahmutov/todo-graphql-example/399/workflows/0c04396a-5626-4a48-9518-b632409f4b6a/jobs/415

  cypress:webpack finished bundling /root/.config/Cypress/cy/production/projects/project-f85b6fb5740e6e8c7efea142eec4b6e8/bundles/cypress/support/index.js +3s
Hash: 3e88549199e3c9a803db
Version: webpack 4.46.0
Time: 4608ms
Built at: 11/11/2021 2:36:20 PM
   Asset      Size  Chunks             Chunk Names
index.js  3.19 MiB    main  [emitted]  main
Entrypoint main = index.js
[0] multi ./cypress/support/index.js 28 bytes {main} [built]
[../.cache/Cypress/9.0.0/Cypress/resources/app/packages/server/node_modules/@babel/runtime/helpers/defineProperty.js] 367 bytes {main} [built]
[../.cache/Cypress/9.0.0/Cypress/resources/app/packages/server/node_modules/@babel/runtime/helpers/interopRequireDefault.js] 225 bytes {main} [built]
[../.cache/Cypress/9.0.0/Cypress/resources/app/packages/server/node_modules/process/browser.js] 5.29 KiB {main} [built]
[../.cache/Cypress/9.0.0/Cypress/resources/app/packages/server/node_modules/util/node_modules/inherits/inherits_browser.js] 672 bytes {main} [built]
[../.cache/Cypress/9.0.0/Cypress/resources/app/packages/server/node_modules/util/support/isBufferBrowser.js] 203 bytes {main} [built]
[../.cache/Cypress/9.0.0/Cypress/resources/app/packages/server/node_modules/util/util.js] 18.9 KiB {main} [built]
[./cypress/integration/utils.js] 2.38 KiB {main} [built]
[./cypress/support/index.js] 421 bytes {main} [built]
[./node_modules/@apollo/client/index.js] 100 bytes {main} [built]
[./node_modules/cypress-each/src/index.js] 4.26 KiB {main} [built]
[./node_modules/cypress-grep/node_modules/debug/src/browser.js] 5.87 KiB {main} [built]
[./node_modules/cypress-grep/src/support.js] 6.27 KiB {main} [built]
[./node_modules/cypress-grep/src/utils.js] 3.23 KiB {main} [built]
[./src/graphql-client.js] 2.08 KiB {main} [built]
    + 234 hidden modules
  cypress:server:plugins promise resolved for id 'inv2' with value /root/.config/Cypress/cy/production/projects/project-f85b6fb5740e6e8c7efea142eec4b6e8/bundles/cypress/support/index.js +3s
  cypress:server:controllers:spec sending spec { filePath: '/root/.config/Cypress/cy/production/projects/project-f85b6fb5740e6e8c7efea142eec4b6e8/bundles/cypress/support/index.js' } +3s
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.responseReceivedExtraInfo', params: { requestId: '1055.50', blockedCookies: [], headers: { 'Cache-Control': 'no-cache, no-store, must-revalidate', Pragma: 'no-cache', Expires: '0', 'Content-Type': 'application/javascript; charset=utf-8', 'Accept-Ranges': 'bytes', 'Last-Modified': 'Thu, 11 Nov 2021 14:36:20 GMT', ETag: 'W/"330d9d-17d0f6d96e9"', Vary: 'Accept-Encoding', 'Content-Encoding': 'gzip', Date: 'Thu, 11 Nov 2021 14:36:20 GMT', Connection: 'keep-alive', 'Keep-Alive': 'timeout=5', 'Transfer-Encoding': 'chunked' }, resourceIPAddressSpace: 'Local', statusCode: 200, headersText: 'HTTP/1.1 200 OK\r\n' + 'Cache-Control: no-cache, no-store, must-revalidate\r\n' + 'Pragma: no-cache\r\n' + 'Expires: 0\r\n' + 'Content-Type: application/javascript; charset=utf-8\r\n' + 'Accept-Ranges: bytes\r\n' + 'Last-Modified: Thu, 11 Nov 2021 14:36:20 GMT\r\n' + 'ETag: W/"330d9d-17d0f6d96e9"\r\n' + 'Vary: Accept-Encoding\r\n' + 'Content-Encoding: gzip\r\n' + 'Date: Thu, 11 Nov 2021 14:36:20 GMT\r\n' + 'Connection: keep-alive\r\n' + 'Keep-Alive: timeout=5\r\n' + 'Transfer-Encoding: chunked\r\n' + '\r\n' } } +3s
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.responseReceived', params: { requestId: '1055.50', loaderId: '81C96CBE6690F66E121B97F534CFC09D', timestamp: 33881.048388, type: 'XHR', response: { url: 'http://localhost:1234/__cypress/tests?p=cypress/support/index.js', status: 200, statusText: 'OK', headers: [Object], mimeType: 'application/javascript', connectionReused: true, connectionId: 60, remoteIPAddress: '127.0.0.1', remotePort: 33009, fromDiskCache: false, fromServiceWorker: false, fromPrefetchCache: false, encodedDataLength: 411, timing: [Object], responseTime: 1636641380193.727, protocol: 'http/1.1', securityState: 'secure' }, frameId: '276108F815D231816FC98BE33B6E329D' } } +35ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.048638, dataLength: 65536, encodedDataLength: 0 } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.049191, dataLength: 65536, encodedDataLength: 61746 } } +4ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.049334, dataLength: 65536, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.049487, dataLength: 65536, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.049637, dataLength: 65536, encodedDataLength: 0 } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.049784, dataLength: 58535, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.064826, dataLength: 15955, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.068982, dataLength: 65536, encodedDataLength: 3841 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.069242, dataLength: 56582, encodedDataLength: 16392 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.069368, dataLength: 8954, encodedDataLength: 0 } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.069432, dataLength: 55058, encodedDataLength: 10261 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.webSocketFrameReceived', params: { requestId: '1055.47', timestamp: 33881.071034, response: { opcode: 1, mask: false, payloadData: '42["request:event","response:received",{"requestId":"1055.50","status":200,"headers":{"Pragma":"no-cache","Date":"Thu, 11 Nov 2021 14:36:20 GMT","Content-Encoding":"gzip","Last-Modified":"Thu, 11 Nov 2021 14:36:20 GMT","ETag":"W/\\"330d9d-17d0f6d96e9\\"","Vary":"Accept-Encoding","Content-Type":"application/javascript; charset=utf-8","Cache-Control":"no-cache, no-store, must-revalidate","Transfer-Encoding":"chunked","Connection":"keep-alive","Accept-Ranges":"bytes","Keep-Alive":"timeout=5","Expires":"0"}}]' } } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.078325, dataLength: 20995, encodedDataLength: 0 } } +2ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.078457, dataLength: 65536, encodedDataLength: 0 } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.078617, dataLength: 11862, encodedDataLength: 22531 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.079982, dataLength: 39167, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.083715, dataLength: 65536, encodedDataLength: 7460 } } +4ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.083888, dataLength: 65536, encodedDataLength: 25332 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.084038, dataLength: 39268, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.085175, dataLength: 23206, encodedDataLength: 0 } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.088881, dataLength: 65536, encodedDataLength: 4061 } } +4ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.089046, dataLength: 63634, encodedDataLength: 28730 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.08915, dataLength: 1902, encodedDataLength: 0 } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.089187, dataLength: 60460, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.090242, dataLength: 12013, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.093962, dataLength: 65536, encodedDataLength: 2172 } } +4ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.09412, dataLength: 65536, encodedDataLength: 30619 } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.094231, dataLength: 65536, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.094333, dataLength: 19037, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.095139, dataLength: 3795, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.09916, dataLength: 65536, encodedDataLength: 935 } } +4ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.099314, dataLength: 50961, encodedDataLength: 15464 } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.102438, dataLength: 57313, encodedDataLength: 0 } } +60ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.152335, dataLength: 4550, encodedDataLength: 15212 } } +9ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.164132, dataLength: 52113, encodedDataLength: 1187 } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.164372, dataLength: 13423, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.164604, dataLength: 65536, encodedDataLength: 28734 } } +4ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.16484, dataLength: 14700, encodedDataLength: 0 } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.172152, dataLength: 24733, encodedDataLength: 0 } } +2ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.176091, dataLength: 65536, encodedDataLength: 4057 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.176415, dataLength: 65536, encodedDataLength: 49183 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.176593, dataLength: 65536, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.17675, dataLength: 65536, encodedDataLength: 9099 } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.176915, dataLength: 61992, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.181492, dataLength: 34892, encodedDataLength: 0 } } +4ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.181579, dataLength: 30644, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.181691, dataLength: 16224, encodedDataLength: 23693 } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.181727, dataLength: 29181, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.183019, dataLength: 37186, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.185036, dataLength: 47328, encodedDataLength: 7777 } } +2ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.185171, dataLength: 59788, encodedDataLength: 0 } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.185411, dataLength: 16976, encodedDataLength: 25015 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.188979, dataLength: 53305, encodedDataLength: 4932 } } +3ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.18911, dataLength: 65536, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.18924, dataLength: 4441, encodedDataLength: 27860 } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.189253, dataLength: 7581, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.192755, dataLength: 43000, encodedDataLength: 2119 } } +3ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.1942, dataLength: 50790, encodedDataLength: 14280 } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.196467, dataLength: 7258, encodedDataLength: 14530 } } +3ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.196632, dataLength: 59857, encodedDataLength: 1869 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.196925, dataLength: 38658, encodedDataLength: 16392 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.233237, dataLength: 3403, encodedDataLength: 11579 } } +38ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.233305, dataLength: 15530, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.236626, dataLength: 65536, encodedDataLength: 4821 } } +8ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.237247, dataLength: 41305, encodedDataLength: 23993 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.24449, dataLength: 42797, encodedDataLength: 0 } } +10ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.244688, dataLength: 22739, encodedDataLength: 0 } } +2ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.24526, dataLength: 65536, encodedDataLength: 30635 } } +5ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.246917, dataLength: 7154, encodedDataLength: 0 } } +6ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.256904, dataLength: 65536, encodedDataLength: 0 } } +7ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.257182, dataLength: 55324, encodedDataLength: 27348 } } +4ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.272154, dataLength: 65536, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.272495, dataLength: 65536, encodedDataLength: 33918 } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.272643, dataLength: 11759, encodedDataLength: 0 } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.272679, dataLength: 420, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.273751, dataLength: 64329, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.275879, dataLength: 1207, encodedDataLength: 0 } } +1ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.276068, dataLength: 46655, encodedDataLength: 29784 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.278231, dataLength: 6473, encodedDataLength: 0 } } +0ms
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Network.dataReceived', params: { requestId: '1055.50', timestamp: 33881.278821, dataLength: 65536, encodedDataLength: 1887 } } +0ms
  cypress:server:util:socket_allowed allowed socket closed, removing { localPort: 33940 } +8s
  cypress-verbose:server:browsers:cri-client:recv:[<--] received CDP message { method: 'Inspector.targetCrashed', params: {} } +2s
... hanging

Cypress Version

9.0.0

Other

No response

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:5
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tommy-andersoncommented, Feb 16, 2022

Hey team, Any updates on this? We’re also facing this from time to time on CI and it’s becoming annoying to have to always troubleshoot and see if it’s this issue or something different.

0reactions
bahmutovcommented, Mar 14, 2022

Just hit it again with Chrome 90, had to bump to Large resource class on CircleCI and split one spec into two

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot Chrome crashes - Google Support
Hanging tabs​​ This issue usually means there's a graphics rendering issue. Sometimes, opening a new tab and browsing to another page can help...
Read more >
Why Does Google Chrome Keep Crashing, Freezing, or Not ...
When Chrome starts crashing or freezing, you should first try completely restarting it. To do so, click the three-dot Menu button at the...
Read more >
How to Fix It When Chrome Keeps Freezing - Lifewire
How to Fix Chrome When It Freezes or Crashes · Close Chrome tabs. · Restart Chrome. · Quit other running apps and programs....
Read more >
9 Ways to Get Chrome to Stop Crashing - Nira
Chrome typically runs each tab as a separate process. You can check that for yourself in Task Manager (Activity Monitor on Mac). Count...
Read more >
Google Chrome Crashing, Freezing or Not Responding? 7 ...
One of the most common reasons Chrome stops responding is because the tabs you've closed over time never actually closed the process. Over...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found