cypress: EPIPE error on Windows runs
Bug
- Cypress v3.0.1
- Windows
- Node 10.1.0
- npm 6.1.0
Saw this error on AppVeyor Windows CI https://ci.appveyor.com/project/cypress-io/cypress-example-todomvc/build/1.0.169
events.js:167
throw er; // Unhandled 'error' event
^
Error: shutdown EPIPE
at ReadStream.Socket._final (net.js:369:25)
at callFinal (_stream_writable.js:615:10)
at process._tickCallback (internal/process/next_tick.js:63:19)
Emitted 'error' event at:
at ReadStream.onerror (_stream_readable.js:693:12)
at ReadStream.emit (events.js:182:13)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at process._tickCallback (internal/process/next_tick.js:63:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ cypress:run: `cypress run`
Maybe
- a long request that’s still in flight and being proxied when the server shuts down (since the tests pass)
- shutting down the http-server when there are open connections
- killing the child processes (?)
Need to debug with DEBUG=cypress:* to isolate the problem
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 2
- Comments: 36 (14 by maintainers)
Commits related to this issue
- catch EPIPE errors (#2011) fixes #1841 — committed to cypress-io/cypress by brian-mann 6 years ago
Guys, any news on this one? It’s pretty ugly one 😦
Good news - was able to reproduce this, but only in some specific versions of
node.Yeah, I encountered this same issue today after going to 3.0.1. The tests all passed, but the build fails due to this issue.
Released in
3.0.2.Looking into this now…
@brian-mann Do you have any idea when this will be released?
Another Stack trace from TeamCity running on Windows. I simply updated Cypress (and restarted server for good measure). Same tests were running flawlessly until the update.
I downgraded go cypress 2.1 and it ran on vsts!
Den ons 13 juni 2018 18:07maccurt notifications@github.com skrev: