cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
47.09k stars 3.19k forks source link

Error: write EPIPE after CTRL+C in Command Prompt #30659

Open alexsch01 opened 1 day ago

alexsch01 commented 1 day ago

Current behavior

image sometimes after CTRL+C 'ing after npx cypress run --spec cypress\e2e\spec.cy.js --env ENV=prod on Windows Command Prompt

Desired behavior

No response

Test code to reproduce

very hard to reproduce with one example

Cypress Version

13.16.0

Node version

v20.18.0

Operating System

Windows 10 19045

Debug Logs

No response

Other

No response

ryanthemanuel commented 1 day ago

@alexsch01 did you start noticing this happening with a specific version of Cypress? Or has it been happening for a while?

alexsch01 commented 20 hours ago

I noticed this first with Cypress 13.15.1 but I updated from Cypress 12.6.0 so that doesn't tell much about when this started happening

I also notice this when using older NodeJS versions too

alexsch01 commented 19 hours ago
Some DEBUG Logs Thu, 21 Nov 2024 12:28:02 GMT compression application/x-chrome-extension not compressible Thu, 21 Nov 2024 12:28:02 GMT compression no compression: filtered Thu, 21 Nov 2024 12:28:02 GMT express:router dispatching GET /crx/blobs/AW50ZFsEb-SMlVMbieONEovut5Gnvh0d0NEIccZsGFRms9jJNMfdCq6SHpucbJn6q-4XgRu1bQITmXumjsJLGv8IIjiBOCcKVz_NfgMN4fwpajB5_w0AxlKa5d4BnoATObC3tqZ2c3fEh029ZW8L/KAPENNCBBDMOOANJHHAOKALMINCFPHKF_0_0_1_7.crx Thu, 21 Nov 2024 12:28:02 GMT express:router : /crx/blobs/AW50ZFsEb-SMlVMbieONEovut5Gnvh0d0NEIccZsGFRms9jJNMfdCq6SHpucbJn6q-4XgRu1bQITmXumjsJLGv8IIjiBOCcKVz_NfgMN4fwpajB5_w0AxlKa5d4BnoATObC3tqZ2c3fEh029ZW8L/KAPENNCBBDMOOANJHHAOKALMINCFPHKF_0_0_1_7.crx Thu, 21 Nov 2024 12:28:02 GMT express:router : /crx/blobs/AW50ZFsEb-SMlVMbieONEovut5Gnvh0d0NEIccZsGFRms9jJNMfdCq6SHpucbJn6q-4XgRu1bQITmXumjsJLGv8IIjiBOCcKVz_NfgMN4fwpajB5_w0AxlKa5d4BnoATObC3tqZ2c3fEh029ZW8L/KAPENNCBBDMOOANJHHAOKALMINCFPHKF_0_0_1_7.crx Thu, 21 Nov 2024 12:28:02 GMT express:router : /crx/blobs/AW50ZFsEb-SMlVMbieONEovut5Gnvh0d0NEIccZsGFRms9jJNMfdCq6SHpucbJn6q-4XgRu1bQITmXumjsJLGv8IIjiBOCcKVz_NfgMN4fwpajB5_w0AxlKa5d4BnoATObC3tqZ2c3fEh029ZW8L/KAPENNCBBDMOOANJHHAOKALMINCFPHKF_0_0_1_7.crx Thu, 21 Nov 2024 12:28:02 GMT express:router : /crx/blobs/AW50ZFsEb-SMlVMbieONEovut5Gnvh0d0NEIccZsGFRms9jJNMfdCq6SHpucbJn6q-4XgRu1bQITmXumjsJLGv8IIjiBOCcKVz_NfgMN4fwpajB5_w0AxlKa5d4BnoATObC3tqZ2c3fEh029ZW8L/KAPENNCBBDMOOANJHHAOKALMINCFPHKF_0_0_1_7.crx Thu, 21 Nov 2024 12:28:02 GMT express:router : /crx/blobs/AW50ZFsEb-SMlVMbieONEovut5Gnvh0d0NEIccZsGFRms9jJNMfdCq6SHpucbJn6q-4XgRu1bQITmXumjsJLGv8IIjiBOCcKVz_NfgMN4fwpajB5_w0AxlKa5d4BnoATObC3tqZ2c3fEh029ZW8L/KAPENNCBBDMOOANJHHAOKALMINCFPHKF_0_0_1_7.crx Thu, 21 Nov 2024 12:28:02 GMT express:router : /crx/blobs/AW50ZFsEb-SMlVMbieONEovut5Gnvh0d0NEIccZsGFRms9jJNMfdCq6SHpucbJn6q-4XgRu1bQITmXumjsJLGv8IIjiBOCcKVz_NfgMN4fwpajB5_w0AxlKa5d4BnoATObC3tqZ2c3fEh029ZW8L/KAPENNCBBDMOOANJHHAOKALMINCFPHKF_0_0_1_7.crx Thu, 21 Nov 2024 12:28:02 GMT express:router : /crx/blobs/AW50ZFsEb-SMlVMbieONEovut5Gnvh0d0NEIccZsGFRms9jJNMfdCq6SHpucbJn6q-4XgRu1bQITmXumjsJLGv8IIjiBOCcKVz_NfgMN4fwpajB5_w0AxlKa5d4BnoATObC3tqZ2c3fEh029ZW8L/KAPENNCBBDMOOANJHHAOKALMINCFPHKF_0_0_1_7.crx Thu, 21 Nov 2024 12:28:02 GMT express:router o : /crx/blobs/AW50ZFsEb-SMlVMbieONEovut5Gnvh0d0NEIccZsGFRms9jJNMfdCq6SHpucbJn6q-4XgRu1bQITmXumjsJLGv8IIjiBOCcKVz_NfgMN4fwpajB5_w0AxlKa5d4BnoATObC3tqZ2c3fEh029ZW8L/KAPENNCBBDMOOANJHHAOKALMINCFPHKF_0_0_1_7.crx Thu, 21 Nov 2024 12:28:02 GMT express:router dispatching GET /crx/blobs/AW50ZFsEb-SMlVMbieONEovut5Gnvh0d0NEIccZsGFRms9jJNMfdCq6SHpucbJn6q-4XgRu1bQITmXumjsJLGv8IIjiBOCcKVz_NfgMN4fwpajB5_w0AxlKa5d4BnoATObC3tqZ2c3fEh029ZW8L/KAPENNCBBDMOOANJHHAOKALMINCFPHKF_0_0_1_7.crx Thu, 21 Nov 2024 12:28:02 GMT express:router : /crx/blobs/AW50ZFsEb-SMlVMbieONEovut5Gnvh0d0NEIccZsGFRms9jJNMfdCq6SHpucbJn6q-4XgRu1bQITmXumjsJLGv8IIjiBOCcKVz_NfgMN4fwpajB5_w0AxlKa5d4BnoATObC3tqZ2c3fEh029ZW8L/KAPENNCBBDMOOANJHHAOKALMINCFPHKF_0_0_1_7.crx 2024-11-21T12:28:02.532Z cypress-verbose:proxy:http GET https://clients2.googleusercontent.com/crx/blobs/AW50ZFsEb-SMlVMbieONEovut5Gnvh0... IncomingRequest proxying request { req: { method: 'GET', proxiedUrl: 'https://clients2.googleusercontent.com/crx/blobs/AW50ZFsEb-SMlVMbieONEovut5Gnvh0d0NEIccZsGFRms9jJNMfdCq6SHpucbJn6q-4XgRu1bQITmXumjsJLGv8IIjiBOCcKVz_NfgMN4fwpajB5_w0AxlKa5d4BnoATObC3tqZ2c3fEh029ZW8L/KAPENNCBBDMOOANJHHAOKALMINCFPHKF_0_0_1_7.crx', headers: { host: 'clients2.googleusercontent.com', connection: 'keep-alive', 'sec-fetch-site': 'none', 'sec-fetch-mode': 'no-cors', 'sec-fetch-dest': 'empty', 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/131.0.0.0 Safari/537.36', 'accept-encoding': 'gzip, deflate, br, zstd', 'accept-language': 'en-US,en;q=0.9' } } } 2024-11-21T12:28:02.532Z cypress-verbose:proxy:http GET https://clients2.googleusercontent.com/crx/blobs/AW50ZFsEb-SMlVMbieONEovut5Gnvh0... IncomingRequest waiting for prerequest node:events:497 throw er; // Unhandled 'error' event ^ Error: write EPIPE at afterWriteDispatched (node:internal/stream_base_commons:161:15) at writeGeneric (node:internal/stream_base_commons:152:3) at Socket._writeGeneric (node:net:954:11) at Socket._write (node:net:966:8) at writeOrBuffer (node:internal/streams/writable:570:12) at _write (node:internal/streams/writable:499:10) at Writable.write (node:internal/streams/writable:508:10) at ReadStream.ondata (node:internal/streams/readable:1007:22) at ReadStream.emit (node:events:531:35) at addChunk (node:internal/streams/readable:559:12) at readableAddChunkPushByteMode (node:internal/streams/readable:510:3) at Readable.push (node:internal/streams/readable:390:5) at TTY.onStreamRead (node:internal/stream_base_commons:191:23) Emitted 'error' event on Socket instance at: at Socket.onerror (node:internal/streams/readable:1026:14) at Socket.emit (node:events:519:28) at emitErrorNT (node:internal/streams/destroy:169:8) at emitErrorCloseNT (node:internal/streams/destroy:128:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -4047, code: 'EPIPE', syscall: 'write' } Node.js v20.18.0