cypress-io / cypress

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

Error: This socket has been ended by the other party #6458

Closed estefafdez closed 4 years ago

estefafdez commented 4 years ago

Current behavior:

When I run my specs headless on the CLI, Cypress closed unexpectedly with a socket error.

Error code:

Error: This socket has been ended by the other party
    at TLSSocket.writeAfterFIN [as write] (net.js:407:14)
    at ClientRequest.<anonymous> (/Users/estefania.fernandez/Library/Caches/Cypress/4.0.1/Cypress.app/Contents/Resources/app/packages/server/node_modules/http-proxy/lib/http-proxy/passes/ws-incoming.js:115:16)
    at ClientRequest.emit (events.js:203:13)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:575:27)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:116:17)
    at TLSSocket.socketOnData (_http_client.js:449:22)
    at TLSSocket.emit (events.js:203:13)
    at addChunk (_stream_readable.js:295:12)
    at readableAddChunk (_stream_readable.js:276:11)
    at TLSSocket.Readable.push (_stream_readable.js:210:10)
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:166:17)
 {
  code: 'EPIPE'
}
Error: This socket has been ended by the other party
    at TLSSocket.writeAfterFIN [as write] (net.js:407:14)
    at ClientRequest.<anonymous> (/Users/{my.user}/Library/Caches/Cypress/4.0.1/Cypress.app/Contents/Resources/app/packages/server/node_modules/http-proxy/lib/http-proxy/passes/ws-incoming.js:115:16)
    at ClientRequest.emit (events.js:203:13)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:575:27)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:116:17)
    at TLSSocket.socketOnData (_http_client.js:449:22)
    at TLSSocket.emit (events.js:203:13)
    at addChunk (_stream_readable.js:295:12)
    at readableAddChunk (_stream_readable.js:276:11)
    at TLSSocket.Readable.push (_stream_readable.js:210:10)
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:166:17)

The Test Runner unexpectedly exited via a exit event with signal SIGSEGV

Please search Cypress documentation for possible solutions:

https://on.cypress.io

Check if there is a GitHub issue describing this crash:

https://github.com/cypress-io/cypress/issues

Consider opening a new issue.

----------

Platform: darwin (19.3.0)
Cypress Version: 4.0.1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ycbm/cypress-e2e@0.0.0 stag: `cypress run --env configFile=stag`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ycbm/cypress-e2e@0.0.0 stag script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users{myuser}//.npm/_logs/2020-02-14T08_51_09_625Z-debug.log

NPM Complete log:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'stag' ]
2 info using npm@6.9.0
3 info using node@v10.16.3
4 verbose run-script [ 'prestag', 'stag', 'poststag' ]
5 info lifecycle @ycbm/cypress-e2e@0.0.0~prestag: @ycbm/cypress-e2e@0.0.0
6 info lifecycle @ycbm/cypress-e2e@0.0.0~stag: @ycbm/cypress-e2e@0.0.0
7 verbose lifecycle @ycbm/cypress-e2e@0.0.0~stag: unsafe-perm in lifecycle true
8 verbose lifecycle @ycbm/cypress-e2e@0.0.0~stag: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Volumes/Seguridad/YCBM-GIT/ycbm-cypress/js/packages/cypress-e2e/node_modules/.bin:/usr/local/opt/gettext/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Frameworks/Mono.framework/Versions/Current/Commands
9 verbose lifecycle @ycbm/cypress-e2e@0.0.0~stag: CWD: /Volumes/Seguridad/YCBM-GIT/ycbm-cypress/js/packages/cypress-e2e
10 silly lifecycle @ycbm/cypress-e2e@0.0.0~stag: Args: [ '-c', 'cypress run --env configFile=stag' ]
11 silly lifecycle @ycbm/cypress-e2e@0.0.0~stag: Returned: code: 1  signal: null
12 info lifecycle @ycbm/cypress-e2e@0.0.0~stag: Failed to exec stag script
13 verbose stack Error: @ycbm/cypress-e2e@0.0.0 stag: `cypress run --env configFile=stag`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
13 verbose stack     at EventEmitter.emit (events.js:198:13)
13 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:198:13)
13 verbose stack     at maybeClose (internal/child_process.js:982:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid @ycbm/cypress-e2e@0.0.0
15 verbose cwd /Volumes/Seguridad/YCBM-GIT/ycbm-cypress/js/packages/cypress-e2e
16 verbose Darwin 19.3.0
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "stag"
18 verbose node v10.16.3
19 verbose npm  v6.9.0
20 error code ELIFECYCLE
21 error errno 1
22 error @ycbm/cypress-e2e@0.0.0 stag: `cypress run --env configFile=stag`
22 error Exit status 1
23 error Failed at the @ycbm/cypress-e2e@0.0.0 stag script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

Desired behavior:

Cypress is not closed and I can run all my tests without any problem.

Test code to reproduce

I have 4 specs, all of them have the following structure:

/* global cy, before, Cypress */
const env = Cypress.env();

describe('PageName', function () {
    describe('PageName Checks', () => {
        before(() => {
            go to the page. 
        });

        it....
    });

    describe('PageName Actions', () => {
        beforeEach(() => {
                        go to the page and accept the cookies. 
        });

        it....
    });
});

My config file looks like:

{
    "env": {
        "appURL": "URL",
    }
}

Versions

Platform: darwin (19.3.0) Cypress Version: 4.0.1 Electron 78 (headless) Mac OS version: Catalina 10.15.3 (19D76).

carlgordon commented 4 years ago

I am getting a similar error after installing 4.0.1

9 verbose lifecycle manager-web@0.0.0~e2e: CWD: C:\BuildAgents\Agent4\_work\8\s
10 silly lifecycle manager-web@0.0.0~e2e: Args: [ '/d /s /c', 'cypress run --browser chrome --headless' ]
11 silly lifecycle manager-web@0.0.0~e2e: Returned: code: 1  signal: null
12 info lifecycle manager-web@0.0.0~e2e: Failed to exec e2e script
13 verbose stack Error: manager-web@0.0.0 e2e: `cypress run --browser chrome --headless`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (C:\Users\devadmin\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at EventEmitter.emit (events.js:214:7)
13 verbose stack     at ChildProcess.<anonymous> (C:\Users\devadmin\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at ChildProcess.emit (events.js:214:7)
13 verbose stack     at maybeClose (internal/child_process.js:925:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid manager-web@0.0.0
15 verbose cwd C:\BuildAgents\Agent4\_work\8\s
16 verbose Windows_NT 10.0.14393
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\devadmin\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "run" "e2e"
18 verbose node v8.11.2
19 verbose npm  v6.9.0
20 error code ELIFECYCLE
21 error errno 1
22 error manager-web@0.0.0 e2e: `cypress run --browser chrome --headless`
22 error Exit status 1
23 error Failed at the manager-web@0.0.0 e2e script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]`

Verifying Cypress can run C:\Users\devadmin\AppData\Local\Cypress\Cache\4.0.1\Cypress [started]
Verifying Cypress can run C:\Users\devadmin\AppData\Local\Cypress\Cache\4.0.1\Cypress [failed]
[?25hCypress verification timed out.

This command failed with the following output:

C:\Users\devadmin\AppData\Local\Cypress\Cache\4.0.1\Cypress\Cypress.exe --smoke-test --ping=834
Command timed out after 30000 milliseconds: C:\Users\devadmin\AppData\Local\Cypress\Cache\4.0.1\Cypress\Cypress.exe --smoke-test --ping=834
Platform: win32 (10.0.14393)
Cypress Version: 4.0.1
[?25hnpm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! manager-web@0.0.0 e2e: `cypress run --browser chrome --headless`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the manager-web@0.0.0 e2e script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\devadmin\AppData\Roaming\npm-cache\_logs\2020-02-13T17_16_28_664Z-debug.log
##[error]npm failed with error: C:\Program Files\nodejs\npm.cmd failed with return code: 1
##[section]Finishing: npm run e2e
jennifer-shehane commented 4 years ago

@carlgordon Your output does not look related to the original issue. Your run failed at cypress verify step.

estefafdez commented 4 years ago

I think could be due to the before or beforeEach blocks before each describe block? it seems to fail every time on the same step. I had a different beforeEach on every block, is that a good practice?

carlgordon commented 4 years ago

Thanks @jennifer-shehane I didn't see that. Will try to debug the verification.

jennifer-shehane commented 4 years ago

@estefafdez I'll need to know what you are doing in the before and beforeEach blocks if you believe this is related. Can you send over the Cypress tests you're running? Feel free to remove sensitive information.

estefafdez commented 4 years ago

Hello @jennifer-shehane , I don't think they are related (because I've been using them in the same way on the others specs), and none of them closes cypress. The problem is always on the same specs, let me copy/paste the code for you:

/* global cy, Cypress */

describe('Page1', function () {
    describe('Page1 Checks', () => {
        before(() => {
            cy.visit('URL');
        });

        it('[] should display the xx', function () {
            cy.get(element).should('be.visible');
        });

        it('[] should display the xx', function () {
            cy.get(element).should('be.visible');
        });

        it('[] should display the xx', function () {
            cy.get(element).should('be.visible');
        });

        it('[] should display the xx', function () {
            cy.get(element).should('be.visible');
        });

        it('[] should display the xx', function () {
            cy.get(element).should('be.visible');
        });

        it('[] should display the xx', function () {
            cy.get(element).should('be.visible');
        });

        it('[] should display the xx', function () {
            cy.get(element).should('be.visible');
        });

        it('[] should display the xx', function () {
            cy.get(element).should('be.visible');
        });
    });

    describe('Page1 Actions', () => {
        beforeEach(() => {
            cy.visit('URL');
            cy.get(acceptCookiesElement).click();
        });

        it('[] should see the xxx after click on xxx button', function () {
            cy.get(element).click();
            cy.get(element).should('be.visible');
        });
--------------------------> CYPRESS CLOSES HERE.    
        it('[] should go to xxx after click on xxx', function () {
            cy.get(element).click();
            cy.url().should('eq', 'URL');
        });

        it('[] should go to xxx after click on xxx', function () {
            cy.get(element).click();
            cy.url().should('eq', 'URL');
        });

        it('[] should go to xxx after click on xxx', function () {
            cy.get(element).click();
            cy.url().should('eq', 'URL');
        });

        it('[] should go to xxx after click on xxx', function () {
            cy.get(element).click();
            cy.url().should('eq', 'URL');
        });

        it('[] should go to xxx after click on xxx', function () {
            cy.get(element).click();
            cy.url().should('eq', 'URL');
        });

        it('[] should go to xxx after click on xxx', function () {
            cy.get(element).click();
            cy.url().should('eq', 'URL');
        });

        it('[] should go to xxx after click on xxx', function () {
            cy.get(element).click();
            cy.url().should('eq', 'URL');
        });
    });
});

I hope this could help you find the problem. Thanks!

BiosBoy commented 4 years ago

Any great deas here? I hit this issue too...

estefafdez commented 4 years ago

No ideas on my part. I remove the before and beforeAll hooks from the tests and I'm still facing the issue sometimes mostly on Electron and on Chrome (not on Firefox or Edge). I even try with Cypress 4.0.2 and nothing :( any ideas please? thanks

CoryDanielson commented 4 years ago

Do you see any failed requests related to socket.io in your terminal? The same terminal window that you used to run Cypress.

I specifically saw a 401 (Unauthorized) request like this before Cypress crashed. There were lots of other 401 and 403 requests, too

GET /socket.io/?EIO=3&transport=polling&t=N1PN5CM 401 199.404 ms - -

https://github.com/cypress-io/cypress/issues/5787#issuecomment-587629192

estefafdez commented 4 years ago

No, I didn't see any request like that on my terminal.

YemiYuma commented 4 years ago

Was going to open a new issue, but this one exists so I'll post here.

Has anyone managed to resolve this problem? Suddenly started happening to me after upgrading to 4.0.1 in both Chrome & Electron - occurs running with both cypress open or cypress run, doesn't help upgrading to 4.0.2 either.

It seems to run the first test in my spec.js file, and consistently fails with the error message shown below. In the beforeEach method for each of my tests is simply a cy.visit('').

I can provide more information if need be.

Currently attempting to downgrade Cypress to the previous version to see if this error persists - Happens even downgrading to 3.8.3

Some more information: Happens on both Electron 58 & Chrome 60 - running in a container on Jenkins or locally through npx cypress open/run Platform: darwin (18.7.0) Cypress Version: 4.0.2

Error message

Error: This socket has been ended by the other party
    at TLSSocket.writeAfterFIN [as write] (net.js:407:14)
    at ClientRequest.<anonymous> (/Users/xxx/Library/Caches/Cypress/4.0.2/Cypress.app/Contents/Resources/app/packages/server/node_modules/http-proxy/lib/http-proxy/passes/ws-incoming.js:115:16)
    at ClientRequest.emit (events.js:203:13)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:575:27)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:116:17)
    at TLSSocket.socketOnData (_http_client.js:449:22)
    at TLSSocket.emit (events.js:203:13)
    at addChunk (_stream_readable.js:295:12)
    at readableAddChunk (_stream_readable.js:276:11)
    at TLSSocket.Readable.push (_stream_readable.js:210:10)
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:166:17)
 {
  code: 'EPIPE'
}
Error: This socket has been ended by the other party
    at TLSSocket.writeAfterFIN [as write] (net.js:407:14)
    at ClientRequest.<anonymous> (/Users/xxx/Library/Caches/Cypress/4.0.2/Cypress.app/Contents/Resources/app/packages/server/node_modules/http-proxy/lib/http-proxy/passes/ws-incoming.js:115:16)
    at ClientRequest.emit (events.js:203:13)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:575:27)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:116:17)
    at TLSSocket.socketOnData (_http_client.js:449:22)
    at TLSSocket.emit (events.js:203:13)
    at addChunk (_stream_readable.js:295:12)
    at readableAddChunk (_stream_readable.js:276:11)
    at TLSSocket.Readable.push (_stream_readable.js:210:10)
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:166:17)

The Test Runner unexpectedly exited via a exit event with signal SIGSEGV
estefafdez commented 4 years ago

@YemiYuma my before and beforeEach methods were exactly the same, cy.visit().

Thanks for your comment and for your information, let's hope they can fix it :)

BiosBoy commented 4 years ago

Well, in my case, the crash is going because of constantly broken WebSockets requests during a particular test, like 10-20 in the row. Anyway, I guess Cypress should handle that in some ways, at least by try > catch?

Havrisone commented 4 years ago

Getting exactly the same error on 3.8.2 This seems to happen with any test, no specific repro steps found so far

estefafdez commented 4 years ago

exactly. @BiosBoy I think it should handle this in someway.

bencatjakub commented 4 years ago

We experience the same thing. And again no steps to reproduce, it happens "randomly" for us. Usually on long test runs though.

Please prioritize this for solving, thanks.

Cypress 3.8.2 Chrome 79

estefafdez commented 4 years ago

agreed with @bencatjakub , long runs activate it somehow, but my longest spec is 20 tests long :( please help!

mowli commented 4 years ago

We are experiencing the same thing, but in our case the crash is immediate. No Specs are executed

yarn run v1.22.0

$ yarn cypress:rails:start && yarn cypress:rails:wait && cypress run --project ./spec && yarn cypress:rails:kill

$ bin/rails s -e test -p 5002 --pid tmp/pids/cypress-rails.pid &

$ while ! curl --output /dev/null --silent --fail --head http://localhost:5002 ; do sleep 1 ; done

=> Booting Puma

=> Rails 5.2.2.1 application starting in test 

=> Run `rails server -h` for more startup options

Puma starting in single mode...

* Version 3.12.2 (ruby 2.6.5-p114), codename: Llamas in Pajamas

* Min threads: 5, max threads: 5

* Environment: test

* Listening on tcp://0.0.0.0:5002

Use Ctrl-C to stop

The Test Runner unexpectedly exited via a exit event with signal SIGSEGV

Please search Cypress documentation for possible solutions:

https://on.cypress.io

Check if there is a GitHub issue describing this crash:

https://github.com/cypress-io/cypress/issues

Consider opening a new issue.

----------

Platform: linux (Ubuntu Linux - 18.04)

Cypress Version: 3.8.2

error Command failed with exit code 1.

info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

The command "yarn cypress:run" exited with 1.
cache.2

store build cache
estefafdez commented 4 years ago

@mowli you are using cypress 3.8.2, could you update to the latest version (4.0.2) and have a look?

mowli commented 4 years ago

@estefafdez Ok, that did the trick for me! Could have tried that before 🤦‍♂

estefafdez commented 4 years ago

happy to help @mowli. Could you have a look at your specs with that version and see if you get the same error than us and could provide more information to the cypress devs to help with this problem? thanks :)

bencatjakub commented 4 years ago

We updated our Cypress from 3.8.2 to 4.0.2, with no change. Test run still randomly fails on the same error.

estefafdez commented 4 years ago

same error right @bencatjakub?

bencatjakub commented 4 years ago

@estefafdez yup

Error: This socket has been ended by the other party
    at TLSSocket.writeAfterFIN [as write] (net.js:407:14)
    at ClientRequest.<anonymous> (/var/lib/jenkins/.cache/Cypress/4.0.2/Cypress/resources/app/packages/server/node_modules/http-proxy/lib/http-proxy/passes/ws-incoming.js:115:16)
    at ClientRequest.emit (events.js:203:13)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:575:27)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:116:17)
    at TLSSocket.socketOnData (_http_client.js:449:22)
    at TLSSocket.emit (events.js:203:13)
    at addChunk (_stream_readable.js:295:12)
    at readableAddChunk (_stream_readable.js:276:11)
    at TLSSocket.Readable.push (_stream_readable.js:210:10)
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:166:17)
 {
  code: 'EPIPE'
}
Error: This socket has been ended by the other party
    at TLSSocket.writeAfterFIN [as write] (net.js:407:14)
    at ClientRequest.<anonymous> (/var/lib/jenkins/.cache/Cypress/4.0.2/Cypress/resources/app/packages/server/node_modules/http-proxy/lib/http-proxy/passes/ws-incoming.js:115:16)
    at ClientRequest.emit (events.js:203:13)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:575:27)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:116:17)
    at TLSSocket.socketOnData (_http_client.js:449:22)
    at TLSSocket.emit (events.js:203:13)
    at addChunk (_stream_readable.js:295:12)
    at readableAddChunk (_stream_readable.js:276:11)
    at TLSSocket.Readable.push (_stream_readable.js:210:10)
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:166:17)
flotwig commented 4 years ago

I believe the root cause of this error is that, for a short amount of time, there is no error handler on the underlying socket for websocket connections that are proxied through Cypress. An error handler is only attached after the proxy request is successfully upgraded: https://github.com/http-party/node-http-proxy/blob/9bbe486c5efcc356fb4d189ef38eee275bbde345/lib/http-proxy/passes/ws-incoming.js#L120-L133

So, if the other end of the websocket disappears unexpectedly this uncaught error event on the browser socket can cause a crash.

However, I haven't been able to reproduce this locally. Can someone share an example repository that shows this error?

cellog commented 4 years ago

I can't share the private repo we are using, but this is happening as well. Sometimes, re-installing dependencies will fix it. Other times, it requires restarting docker. Other times, the entire machine must be restarted. We see this error about 40% of runs

flotwig commented 4 years ago

Can you try running your tests with debug logs enabled, and share those logs here (from a run where the error occurred)? It will show some more information which we can use to get to the root of the issue.

Make sure to scrub any private data from the logs before sharing here.

cellog commented 4 years ago

my comment seems to have disappeared, so I'll re-post it. Here is an error dump:

  cypress:server:specs found 34 spec files: [ { name: 'citrine/DataSets/createRenameDataset.spec.ts', relative: 'cypress/integration/citrine/DataSets/createRenameDataset.spec.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/DataSets/createRenameDataset.spec.ts' }, { name: 'citrine/DataSets/datasetSearch.spec.ts', relative: 'cypress/integration/citrine/DataSets/datasetSearch.spec.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/DataSets/datasetSearch.spec.ts' }, { name: 'citrine/DataSets/Existing Datasets/changeShareStatus.spec.ts', relative: 'cypress/integration/citrine/DataSets/Existing Datasets/changeShareStatus.spec.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/DataSets/Existing Datasets/changeShareStatus.spec.ts' }, { name: 'citrine/DataSets/Existing Datasets/dataObjectFilter.spec.ts', relative: 'cypress/integration/citrine/DataSets/Existing Datasets/dataObjectFilter.spec.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/DataSets/Existing Datasets/dataObjectFilter.spec.ts' }, { name: 'citrine/DataSets/Existing Datasets/datasetAccess.spec.ts', relative: 'cypress/integration/citrine/DataSets/Existing Datasets/datasetAccess.spec.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/DataSets/Existing Datasets/datasetAccess.spec.ts' }, { name: 'citrine/DataSets/Existing Datasets/downloadFileLink.spec.ts', relative: 'cypress/integration/citrine/DataSets/Existing Datasets/downloadFileLink.spec.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/DataSets/Existing Datasets/downloadFileLink.spec.ts' }, { name: 'citrine/DataSets/Existing Datasets/filterModal.spec.ts', relative: 'cypress/integration/citrine/DataSets/Existing Datasets/filterModal.spec.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/DataSets/Existing Datasets/filterModal.spec.ts' }, { name: 'citrine/DataSets/Existing Datasets/materialHistory.spec.ts', relative: 'cypress/integration/citrine/DataSets/Existing Datasets/materialHistory.spec.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/DataSets/Existing Datasets/materialHistory.spec.ts' }, { name: 'citrine/DataSets/Existing Datasets/objectTemplates.spec.ts', relative: 'cypress/integration/citrine/DataSets/Existing Datasets/objectTemplates.spec.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/DataSets/Existing Datasets/objectTemplates.spec.ts' }, { name: 'citrine/DataSets/Existing Datasets/tableDisplay.spec.ts', relative: 'cypress/integration/citrine/DataSets/Existing Datasets/tableDisplay.spec.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/DataSets/Existing Datasets/tableDisplay.spec.ts' }, { name: 'citrine/DataSets/Files/downloadFiles.spec.ts', relative: 'cypress/integration/citrine/DataSets/Files/downloadFiles.spec.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/DataSets/Files/downloadFiles.spec.ts' }, { name: 'citrine/MaterialHistory/breadcrumbAndHelpText.spec.ts', relative: 'cypress/integration/citrine/MaterialHistory/breadcrumbAndHelpText.spec.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/MaterialHistory/breadcrumbAndHelpText.spec.ts' }, { name: 'citrine/Permissions/datasets.spec.ts', relative: 'cypress/integration/citrine/Permissions/datasets.spec.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/Permissions/datasets.spec.ts' }, { name: 'citrine/Project Settings/login.spec.ts', relative: 'cypress/integration/citrine/Project Settings/login.spec.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/Project Settings/login.spec.ts' }, { name: 'citrine/Project Settings/Permissions/as admin/metadata.spec.ts', relative: 'cypress/integration/citrine/Project Settings/Permissions/as admin/metadata.spec.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/Project Settings/Permissions/as admin/metadata.spec.ts' }, { name: 'citrine/Project Settings/Permissions/as admin/userPermissions.spec.ts', relative: 'cypress/integration/citrine/Project Settings/Permissions/as admin/userPermissions.spec.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/Project Settings/Permissions/as admin/userPermissions.spec.ts' }, { name: 'citrine/Project Settings/projectWelcomePage.spec.ts', relative: 'cypress/integration/citrine/Project Settings/projectWelcomePage.spec.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/Project Settings/projectWelcomePage.spec.ts' }, { name: 'citrine/Projects/createRenameProject.spec.ts', relative: 'cypress/integration/citrine/Projects/createRenameProject.spec.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/Projects/createRenameProject.spec.ts' }, { name: 'citrine/Projects/projectAddDeleteNewUser.spec.ts', relative: 'cypress/integration/citrine/Projects/projectAddDeleteNewUser.spec.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/Projects/projectAddDeleteNewUser.spec.ts' }, { name: 'citrine/Projects/searchProjectRoster.spec.ts', relative: 'cypress/integration/citrine/Projects/searchProjectRoster.spec.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/Projects/searchProjectRoster.spec.ts' }, { name: 'citrine/utils/clickActions.ts', relative: 'cypress/integration/citrine/utils/clickActions.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/utils/clickActions.ts' }, { name: 'citrine/utils/datasetListPage.ts', relative: 'cypress/integration/citrine/utils/datasetListPage.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/utils/datasetListPage.ts' }, { name: 'citrine/utils/datasetPage.ts', relative: 'cypress/integration/citrine/utils/datasetPage.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/utils/datasetPage.ts' }, { name: 'citrine/utils/materialHistory.ts', relative: 'cypress/integration/citrine/utils/materialHistory.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/utils/materialHistory.ts' }, { name: 'citrine/utils/materialHistoryPage.ts', relative: 'cypress/integration/citrine/utils/materialHistoryPage.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/utils/materialHistoryPage.ts' }, { name: 'citrine/utils/objectDetails.ts', relative: 'cypress/integration/citrine/utils/objectDetails.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/utils/objectDetails.ts' }, { name: 'citrine/utils/ProjectDashboard.ts', relative: 'cypress/integration/citrine/utils/ProjectDashboard.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/utils/ProjectDashboard.ts' }, { name: 'citrine/utils/sidebar.ts', relative: 'cypress/integration/citrine/utils/sidebar.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/utils/sidebar.ts' }, { name: 'citrine/utils/snackbar.ts', relative: 'cypress/integration/citrine/utils/snackbar.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/utils/snackbar.ts' }, { name: 'citrine/utils/visitPage.ts', relative: 'cypress/integration/citrine/utils/visitPage.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/utils/visitPage.ts' }, { name: 'citrine/utils/workflowPage.ts', relative: 'cypress/integration/citrine/utils/workflowPage.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/utils/workflowPage.ts' }, { name: 'citrine/Workflows/index.spec.ts', relative: 'cypress/integration/citrine/Workflows/index.spec.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/Workflows/index.spec.ts' }, { name: 'citrine/Workflows/navigation.spec.ts', relative: 'cypress/integration/citrine/Workflows/navigation.spec.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/Workflows/navigation.spec.ts' }, { name: 'citrine/Workflows/pages.spec.ts', relative: 'cypress/integration/citrine/Workflows/pages.spec.ts', absolute: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/Workflows/pages.spec.ts' } ] +0ms
  cypress:server:server Getting remote state: { auth: undefined, props: { port: '8085', tld: '0.0.0.0', domain: '' }, origin: 'http://0.0.0.0:8085', strategy: 'http', visiting: undefined, domainName: '0.0.0.0', fileServer: null } +133ms
  cypress:server:file gettin lock succeeded or failed for /Users/gbeaver/Library/Application Support/Cypress/cy/production/cache +12ms
  cypress:server:file read /Users/gbeaver/Library/Application Support/Cypress/cy/production/cache +0ms
GET /__cypress/iframes/__all 200 24.557 ms - -
  cypress:server:file read succeeded or failed for /Users/gbeaver/Library/Application Support/Cypress/cy/production/cache +0ms
  cypress:server:file attempt to unlock /Users/gbeaver/Library/Application Support/Cypress/cy/production/cache +0ms
  cypress:server:file unlock succeeded or failed for /Users/gbeaver/Library/Application Support/Cypress/cy/production/cache +1ms
  cypress:server:api request to url: POST https://api.cypress.io/exceptions with params: {"body":{"err":{"name":"Error","message":"Cannot set headers after they are sent to the client","stack":"Error [ERR_HTTP_HEADERS_SENT] [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client\n    at ServerResponse.setHeader (_http_outgoing.js:464:11)\n    at ServerResponse.header (<stripped-path>response.js:767:10)\n    at ServerResponse.send (<stripped-path>response.js:170:12)\n    at <stripped-path>spec.js:44:22\n    at tryCatcher (<stripped-path>util.js:16:23)\n    at Promise._settlePromiseFromHandler (<stripped-path>promise.js:547:31)\n    at Promise._settlePromise (<stripped-path>promise.js:604:18)\n    at Promise._settlePromise0 (<stripped-path>promise.js:649:10)\n    at Promise._settlePromises (<stripped-path>promise.js:725:18)\n    at _drainQueueStep (<stripped-path>async.js:93:12)\n    at _drainQueue (<stripped-path>async.js:86:9)\n    at Async._drainQueues (<stripped-path>async.js:102:5)\n    at Immediate.Async.drainQueues [as _onImmediate] (<stripped-path>async.js:15:14)\n    at processImmediate (internal<stripped-path>timers.js:439:21)\n"},"version":"4.0.2","osName":"darwin","osVersion":"19.3.0","osCpus":[{"model":"Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz","speed":2600,"times":{"user":12477590,"nice":0,"sys":24896220,"idle":14484350,"irq":0}},{"model":"Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz","speed":2600,"times":{"user":4562460,"nice":0,"sys":14750510,"idle":32513020,"irq":0}},{"model":"Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz","speed":2600,"times":{"user":12310210,"nice":0,"sys":23753710,"idle":15762980,"irq":0}},{"model":"Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz","speed":2600,"times":{"user":4620310,"nice":0,"sys":12918330,"idle":34287270,"irq":0}},{"model":"Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz","speed":2600,"times":{"user":11896790,"nice":0,"sys":23172410,"idle":16757570,"irq":0}},{"model":"Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz","speed":2600,"times":{"user":4424330,"nice":0,"sys":11302140,"idle":36099360,"irq":0}},{"model":"Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz","speed":2600,"times":{"user":11489320,"nice":0,"sys":22661960,"idle":17675370,"irq":0}},{"model":"Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz","speed":2600,"times":{"user":4175620,"nice":0,"sys":9751630,"idle":37898500,"irq":0}},{"model":"Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz","speed":2600,"times":{"user":11355240,"nice":0,"sys":22457920,"idle":18013340,"irq":0}},{"model":"Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz","speed":2600,"times":{"user":3925620,"nice":0,"sys":8351880,"idle":39548170,"irq":0}},{"model":"Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz","speed":2600,"times":{"user":11065080,"nice":0,"sys":22075520,"idle":18685770,"irq":0}},{"model":"Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz","speed":2600,"times":{"user":3727200,"nice":0,"sys":7353140,"idle":40745250,"irq":0}}],"osMemory":{"free":1235341312,"total":34359738368}},"headers":{"x-os-name":"darwin","x-cypress-version":"4.0.2"}} and token: undefined +0ms
  cypress:server:plugins:child execute plugin event: file:preprocessor ({ eventId: 2, invocationId: 'inv142' }) +55ms
  cypress:webpack get /Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/Project Settings/Permissions/as admin/userPermissions.spec.ts +51ms
  cypress:webpack already have bundle for /Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/Project Settings/Permissions/as admin/userPermissions.spec.ts +0ms
  cypress:server:plugins:child execute plugin event: file:preprocessor ({ eventId: 2, invocationId: 'inv143' }) +1ms
  cypress:webpack get /Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/Project Settings/projectWelcomePage.spec.ts +0ms
  cypress:webpack already have bundle for /Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/Project Settings/projectWelcomePage.spec.ts +0ms
  cypress:server:plugins:child execute plugin event: file:preprocessor ({ eventId: 2, invocationId: 'inv144' }) +0ms
  cypress:webpack get /Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/Projects/createRenameProject.spec.ts +1ms
  cypress:webpack already have bundle for /Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/Projects/createRenameProject.spec.ts +0ms
  cypress:server:controllers:spec request for { spec: 'cypress/support/index.js' } +18ms
  cypress:server:preprocessor getFile /Users/gbeaver/citrine/shire/ui/gollum/cypress/support/index.js +42ms
  cypress:server:plugins plugin event registered? { event: 'file:preprocessor', isRegistered: true } +42ms
  cypress:server:plugins execute plugin event 'file:preprocessor' Node 'v12.8.1' with args: EventEmitter { _events: [Object: null prototype] { rerun: [Function] }, _eventsCount: 1, _maxListeners: undefined, filePath: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/support/index.js', shouldWatch: true, outputPath: '/Users/gbeaver/Library/Application Support/Cypress/cy/production/projects/gollum-c73ddc6f5ddf5fcb4d33c5a34ac0d262/bundles/cypress/support/index.js' } undefined undefined +0ms
  cypress:server:plugins call event file:preprocessor for invocation id inv145 +0ms
  cypress:server:controllers:spec request for { spec: 'cypress/integration/citrine/DataSets/createRenameDataset.spec.ts' } +1ms
  cypress:server:preprocessor getFile /Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/DataSets/createRenameDataset.spec.ts +0ms
  cypress:server:plugins plugin event registered? { event: 'file:preprocessor', isRegistered: true } +0ms
  cypress:server:plugins execute plugin event 'file:preprocessor' Node 'v12.8.1' with args: EventEmitter { _events: [Object: null prototype] { rerun: [Function] }, _eventsCount: 1, _maxListeners: undefined, filePath: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/DataSets/createRenameDataset.spec.ts', shouldWatch: true, outputPath: '/Users/gbeaver/Library/Application Support/Cypress/cy/production/projects/gollum-c73ddc6f5ddf5fcb4d33c5a34ac0d262/bundles/cypress/integration/citrine/DataSets/createRenameDataset.spec.ts' } undefined undefined +0ms
  cypress:server:plugins call event file:preprocessor for invocation id inv146 +0ms
  cypress:network:agent addRequest called { isHttps: true, href: 'https://api.cypress.io/exceptions' } +1s
  cypress:network:connect beginning getAddress { hostname: 'api.cypress.io', port: 443 } +1s
Error [ERR_HTTP_HEADERS_SENT] [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:464:11)
    at ServerResponse.header (/Users/gbeaver/Library/Caches/Cypress/4.0.2/Cypress.app/Contents/Resources/app/packages/server/node_modules/express/lib/response.js:767:10)
    at ServerResponse.send (/Users/gbeaver/Library/Caches/Cypress/4.0.2/Cypress.app/Contents/Resources/app/packages/server/node_modules/express/lib/response.js:170:12)
    at /Users/gbeaver/Library/Caches/Cypress/4.0.2/Cypress.app/Contents/Resources/app/packages/server/lib/controllers/spec.js:44:22
    at tryCatcher (/Users/gbeaver/Library/Caches/Cypress/4.0.2/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/Users/gbeaver/Library/Caches/Cypress/4.0.2/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/Users/gbeaver/Library/Caches/Cypress/4.0.2/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/Users/gbeaver/Library/Caches/Cypress/4.0.2/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/Users/gbeaver/Library/Caches/Cypress/4.0.2/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:725:18)
    at _drainQueueStep (/Users/gbeaver/Library/Caches/Cypress/4.0.2/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/Users/gbeaver/Library/Caches/Cypress/4.0.2/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/Users/gbeaver/Library/Caches/Cypress/4.0.2/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/Users/gbeaver/Library/Caches/Cypress/4.0.2/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:15:14)
    at processImmediate (internal/timers.js:439:21)

Error [ERR_HTTP_HEADERS_SENT] [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:464:11)
    at ServerResponse.header (/Users/gbeaver/Library/Caches/Cypress/4.0.2/Cypress.app/Contents/Resources/app/packages/server/node_modules/express/lib/response.js:767:10)
    at ServerResponse.send (/Users/gbeaver/Library/Caches/Cypress/4.0.2/Cypress.app/Contents/Resources/app/packages/server/node_modules/express/lib/response.js:170:12)
    at /Users/gbeaver/Library/Caches/Cypress/4.0.2/Cypress.app/Contents/Resources/app/packages/server/lib/controllers/spec.js:44:22
    at tryCatcher (/Users/gbeaver/Library/Caches/Cypress/4.0.2/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/Users/gbeaver/Library/Caches/Cypress/4.0.2/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/Users/gbeaver/Library/Caches/Cypress/4.0.2/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/Users/gbeaver/Library/Caches/Cypress/4.0.2/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/Users/gbeaver/Library/Caches/Cypress/4.0.2/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:725:18)
    at _drainQueueStep (/Users/gbeaver/Library/Caches/Cypress/4.0.2/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/Users/gbeaver/Library/Caches/Cypress/4.0.2/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/Users/gbeaver/Library/Caches/Cypress/4.0.2/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/Users/gbeaver/Library/Caches/Cypress/4.0.2/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:15:14)
    at processImmediate (internal/timers.js:439:21)

  cypress:server:browsers killing browser process +9s
  cypress:server:browsers:chrome closing remote interface client +9s
  cypress:server:controllers:spec request for { spec: 'cypress/integration/citrine/DataSets/datasetSearch.spec.ts' } +23ms
  cypress:server:preprocessor getFile /Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/DataSets/datasetSearch.spec.ts +23ms
  cypress:server:plugins plugin event registered? { event: 'file:preprocessor', isRegistered: true } +23ms
  cypress:server:plugins execute plugin event 'file:preprocessor' Node 'v12.8.1' with args: EventEmitter { _events: [Object: null prototype] { rerun: [Function] }, _eventsCount: 1, _maxListeners: undefined, filePath: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/DataSets/datasetSearch.spec.ts', shouldWatch: true, outputPath: '/Users/gbeaver/Library/Application Support/Cypress/cy/production/projects/gollum-c73ddc6f5ddf5fcb4d33c5a34ac0d262/bundles/cypress/integration/citrine/DataSets/datasetSearch.spec.ts' } undefined undefined +0ms
  cypress:server:plugins call event file:preprocessor for invocation id inv147 +0ms
  cypress:server:controllers:spec request for { spec: 'cypress/integration/citrine/DataSets/Existing Datasets/changeShareStatus.spec.ts' } +1ms
  cypress:server:preprocessor getFile /Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/DataSets/Existing Datasets/changeShareStatus.spec.ts +1ms
  cypress:server:plugins plugin event registered? { event: 'file:preprocessor', isRegistered: true } +1ms
  cypress:server:plugins execute plugin event 'file:preprocessor' Node 'v12.8.1' with args: EventEmitter { _events: [Object: null prototype] { rerun: [Function] }, _eventsCount: 1, _maxListeners: undefined, filePath: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/DataSets/Existing Datasets/changeShareStatus.spec.ts', shouldWatch: true, outputPath: '/Users/gbeaver/Library/Application Support/Cypress/cy/production/projects/gollum-c73ddc6f5ddf5fcb4d33c5a34ac0d262/bundles/cypress/integration/citrine/DataSets/Existing Datasets/changeShareStatus.spec.ts' } undefined undefined +0ms
  cypress:server:plugins call event file:preprocessor for invocation id inv148 +1ms
  cypress:server:controllers:spec request for { spec: 'cypress/integration/citrine/DataSets/Existing Datasets/dataObjectFilter.spec.ts' } +1ms
  cypress:server:preprocessor getFile /Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/DataSets/Existing Datasets/dataObjectFilter.spec.ts +1ms
  cypress:server:plugins plugin event registered? { event: 'file:preprocessor', isRegistered: true } +0ms
  cypress:server:plugins execute plugin event 'file:preprocessor' Node 'v12.8.1' with args: EventEmitter { _events: [Object: null prototype] { rerun: [Function] }, _eventsCount: 1, _maxListeners: undefined, filePath: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/DataSets/Existing Datasets/dataObjectFilter.spec.ts', shouldWatch: true, outputPath: '/Users/gbeaver/Library/Application Support/Cypress/cy/production/projects/gollum-c73ddc6f5ddf5fcb4d33c5a34ac0d262/bundles/cypress/integration/citrine/DataSets/Existing Datasets/dataObjectFilter.spec.ts' } undefined undefined +0ms
  cypress:server:plugins call event file:preprocessor for invocation id inv149 +0ms
  cypress:server:controllers:spec request for { spec: 'cypress/integration/citrine/DataSets/Existing Datasets/datasetAccess.spec.ts' } +0ms
  cypress:server:preprocessor getFile /Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/DataSets/Existing Datasets/datasetAccess.spec.ts +1ms
  cypress:server:plugins plugin event registered? { event: 'file:preprocessor', isRegistered: true } +1ms
  cypress:server:plugins execute plugin event 'file:preprocessor' Node 'v12.8.1' with args: EventEmitter { _events: [Object: null prototype] { rerun: [Function] }, _eventsCount: 1, _maxListeners: undefined, filePath: '/Users/gbeaver/citrine/shire/ui/gollum/cypress/integration/citrine/DataSets/Existing Datasets/datasetAccess.spec.ts', shouldWatch: true, outputPath: '/Users/gbeaver/Library/Application Support/Cypress/cy/production/projects/gollum-c73ddc6f5ddf5fcb4d33c5a34ac0d262/bundles/cypress/integration/citrine/DataSets/Existing Datasets/datasetAccess.spec.ts' } undefined undefined +0ms
  cypress:server:plugins call event file:preprocessor for invocation id inv150 +0ms
  cypress:server:browsers:chrome closing chrome +22ms
  cypress:cli child event fired { event: 'exit', code: 0, signal: null } +21s
  cypress:cli child event fired { event: 'close', code: 0, signal: null } +1ms

After running yarn install --force in the project root, the tests run without problem.

bencatjakub commented 4 years ago

yarn install --force did not make a difference, but cypress install --force seems to fix the problem. Will watch the runs for a while and let you know.

mowli commented 4 years ago

happy to help @mowli. Could you have a look at your specs with that version and see if you get the same error than us and could provide more information to the cypress devs to help with this problem? thanks :)

Just a head's up: in our case the update to 4.0.2 helped just for a while. From now on we get the occasional failures as well. Just now we do not have any more information than already posted here, but we will try to obtain more information to share in this thread

bencatjakub commented 4 years ago

Yep, after the weekend and several test runs I can say, that the update to 4.0.2 and forced reinstallation of cypress before the run helped just in some cases. It's still happening and as everybody we don't have any more additional data.

Investigating further.

Cypress 4.1.0

flotwig commented 4 years ago

@cellog That doesn't look like the same issue as the OP, you have a different error message. You should see if there any issues with your exact error message, and if not, open a new one.

BiosBoy commented 4 years ago

Well, still any solutions here, guys? :(

estefafdez commented 4 years ago

Yes please :( I've been having this problem with the new version 4.1.0 as well :(

librehat commented 4 years ago

I've run into the same problems. I'm currently using cypress/included docker images and I've found out that for me it happens if I use chrome as the browser but not if I use electron. It got much worse with 4.1.0 so I probably have to stick to electron and 4.0.2 for the time being.

A bit more trying shows that this happens when I delete all snapshots I currently have and want to regenerate all of them

flotwig commented 4 years ago

I am still trying to reproduce this issue. Can anyone share full debug logs or an example repository that reproduces the issue?

librehat commented 4 years ago

@flotwig I just ran it with DEBUG information printed, and I see that cypress complained about "Invalid character in chunk size". The actual URL is redacted in the log below

  cypress:server:file get values from /root/.config/Cypress/cy/production/cache +0ms
  cypress:server:file attempt to get lock on /root/.config/Cypress/cy/production/cache +1ms
  cypress:server:server Got ERROR proxying websocket connection {
  err: Error: Parse Error: Invalid character in chunk size
      at TLSSocket.socketOnData (_http_client.js:449:22)
      at TLSSocket.emit (events.js:203:13)
      at addChunk (_stream_readable.js:295:12)
      at readableAddChunk (_stream_readable.js:276:11)
      at TLSSocket.Readable.push (_stream_readable.js:210:10)
      at TLSWrap.onStreamRead (internal/stream_base_commons.js:166:17)
   {
    bytesParsed: 0,
    code: 'HPE_INVALID_CHUNK_SIZE',
    reason: 'Invalid character in chunk size',
    rawPacket: <Buffer 4e 6f 74 20 61 20 76 61 6c 69 64 20 77 65 62 73 6f 63 6b 65 74 20 72 65 71 75 65 73 74>
  },
  port: '443',
  protocol: 'https:',
  hostname: 'localhost',
  req: IncomingMessage {
    _readableState: ReadableState {
      objectMode: false,
      highWaterMark: 16384,
      buffer: BufferList { head: null, tail: null, length: 0 },
      length: 0,
      pipes: null,
      pipesCount: 0,
      flowing: null,
      ended: true,
      endEmitted: false,
      reading: false,
      sync: true,
      needReadable: false,
      emittedReadable: false,
      readableListening: false,
      resumeScheduled: false,
      paused: true,
      emitClose: true,
      autoDestroy: false,
      destroyed: false,
      defaultEncoding: 'utf8',
      awaitDrain: 0,
      readingMore: true,
      decoder: null,
      encoding: null
    },
    readable: true,
    _events: [Object: null prototype] {
      end: [Function: resetHeadersTimeoutOnReqEnd]
    },
    _eventsCount: 1,
    _maxListeners: undefined,
    socket: TLSSocket {
      _tlsOptions: [Object],
      _secureEstablished: true,
      _securePending: false,
      _newSessionPending: false,
      _controlReleased: true,
      _SNICallback: [Function: SNICallback],
      servername: 'localhost',
      alpnProtocol: false,
      authorized: false,
      authorizationError: null,
      encrypted: true,
      _events: [Object: null prototype],
      _eventsCount: 6,
      connecting: false,
      _hadError: false,
      _parent: [Socket],
      _host: null,
      _readableState: [ReadableState],
      readable: false,
      _maxListeners: undefined,
      _writableState: [WritableState],
      writable: false,
      allowHalfOpen: false,
      _sockname: null,
      _pendingData: null,
      _pendingEncoding: '',
      server: [Server],
      _server: null,
      ssl: null,
      _requestCert: false,
      _rejectUnauthorized: true,
      timeout: 0,
      parser: null,
      on: [Function],
      addListener: [Function],
      prependListener: [Function: prependListener],
      _paused: false,
      write: [Function: writeAfterFIN],
      [Symbol(res)]: null,
      [Symbol(asyncId)]: 76347,
      [Symbol(kHandle)]: null,
      [Symbol(lastWriteQueueSize)]: 0,
      [Symbol(timeout)]: Timeout {
        _idleTimeout: -1,
        _idlePrev: null,
        _idleNext: null,
        _idleStart: 20912,
        _onTimeout: null,
        _timerArgs: undefined,
        _repeat: null,
        _destroyed: false,
        [Symbol(refed)]: null,
        [Symbol(asyncId)]: 76362,
        [Symbol(triggerId)]: 76347
      },
      [Symbol(kBytesRead)]: 684,
      [Symbol(kBytesWritten)]: 0,
      [Symbol(error-emitted)]: false
    },
    connection: TLSSocket {
      _tlsOptions: [Object],
      _secureEstablished: true,
      _securePending: false,
      _newSessionPending: false,
      _controlReleased: true,
      _SNICallback: [Function: SNICallback],
      servername: 'localhost',
      alpnProtocol: false,
      authorized: false,
      authorizationError: null,
      encrypted: true,
      _events: [Object: null prototype],
      _eventsCount: 6,
      connecting: false,
      _hadError: false,
      _parent: [Socket],
      _host: null,
      _readableState: [ReadableState],
      readable: false,
      _maxListeners: undefined,
      _writableState: [WritableState],
      writable: false,
      allowHalfOpen: false,
      _sockname: null,
      _pendingData: null,
      _pendingEncoding: '',
      server: [Server],
      _server: null,
      ssl: null,
      _requestCert: false,
      _rejectUnauthorized: true,
      timeout: 0,
      parser: null,
      on: [Function],
      addListener: [Function],
      prependListener: [Function: prependListener],
      _paused: false,
      write: [Function: writeAfterFIN],
      [Symbol(res)]: null,
      [Symbol(asyncId)]: 76347,
      [Symbol(kHandle)]: null,
      [Symbol(lastWriteQueueSize)]: 0,
      [Symbol(timeout)]: Timeout {
        _idleTimeout: -1,
        _idlePrev: null,
        _idleNext: null,
        _idleStart: 20912,
        _onTimeout: null,
        _timerArgs: undefined,
        _repeat: null,
        _destroyed: false,
        [Symbol(refed)]: null,
        [Symbol(asyncId)]: 76362,
        [Symbol(triggerId)]: 76347
      },
      [Symbol(kBytesRead)]: 684,
      [Symbol(kBytesWritten)]: 0,
      [Symbol(error-emitted)]: false
    },
    httpVersionMajor: 1,
    httpVersionMinor: 1,
    httpVersion: '1.1',
    complete: true,
    headers: {
      host: 'localhost',
      connection: 'Upgrade',
      pragma: 'no-cache',
      'cache-control': 'no-cache',
      'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/80.0.3987.87 Safari/537.36',
      upgrade: 'websocket',
      origin: 'https://localhost',
      'sec-websocket-version': '13',
      'accept-encoding': 'gzip, deflate, br',
      'accept-language': 'en-US',
      cookie: 'nonce_prefix=yVMjpfLr1B5pO2r9; sessionid=jtkuomgd648soenxkjij9y72nq68qnd2; csrftoken=zdevmLg9e3mZT7XJzF70edwASDTT1Fbv9NVpspPKZayYq3I67MdOjuAnrZ1KkxYA',
      'sec-websocket-key': 'ev3kgvbdQIvJUVBEPWJieA==',
      'sec-websocket-extensions': 'permessage-deflate; client_max_window_bits'
    },
    rawHeaders: [
      'Host',
      'localhost',
      'Connection',
      'Upgrade',
      'Pragma',
      'no-cache',
      'Cache-Control',
      'no-cache',
      'User-Agent',
      'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/80.0.3987.87 Safari/537.36',
      'Upgrade',
      'websocket',
      'Origin',
      'https://localhost',
      'Sec-WebSocket-Version',
      '13',
      'Accept-Encoding',
      'gzip, deflate, br',
      'Accept-Language',
      'en-US',
      'Cookie',
      'nonce_prefix=yVMjpfLr1B5pO2r9; sessionid=jtkuomgd648soenxkjij9y72nq68qnd2; csrftoken=zdevmLg9e3mZT7XJzF70edwASDTT1Fbv9NVpspPKZayYq3I67MdOjuAnrZ1KkxYA',
      'Sec-WebSocket-Key',
      'ev3kgvbdQIvJUVBEPWJieA==',
      'Sec-WebSocket-Extensions',
      'permessage-deflate; client_max_window_bits'
    ],
    trailers: {},
    rawTrailers: [],
    aborted: false,
    upgrade: true,
    url: '/hmr/apps/landing/sockjs-node/751/pkmbolxq/websocket',
    method: 'GET',
    statusCode: null,
    statusMessage: null,
    client: TLSSocket {
      _tlsOptions: [Object],
      _secureEstablished: true,
      _securePending: false,
      _newSessionPending: false,
      _controlReleased: true,
      _SNICallback: [Function: SNICallback],
      servername: 'localhost',
      alpnProtocol: false,
      authorized: false,
      authorizationError: null,
      encrypted: true,
      _events: [Object: null prototype],
      _eventsCount: 6,
      connecting: false,
      _hadError: false,
      _parent: [Socket],
      _host: null,
      _readableState: [ReadableState],
      readable: false,
      _maxListeners: undefined,
      _writableState: [WritableState],
      writable: false,
      allowHalfOpen: false,
      _sockname: null,
      _pendingData: null,
      _pendingEncoding: '',
      server: [Server],
      _server: null,
      ssl: null,
      _requestCert: false,
      _rejectUnauthorized: true,
      timeout: 0,
      parser: null,
      on: [Function],
      addListener: [Function],
      prependListener: [Function: prependListener],
      _paused: false,
      write: [Function: writeAfterFIN],
      [Symbol(res)]: null,
      [Symbol(asyncId)]: 76347,
      [Symbol(kHandle)]: null,
      [Symbol(lastWriteQueueSize)]: 0,
      [Symbol(timeout)]: Timeout {
        _idleTimeout: -1,
        _idlePrev: null,
        _idleNext: null,
        _idleStart: 20912,
        _onTimeout: null,
        _timerArgs: undefined,
        _repeat: null,
        _destroyed: false,
        [Symbol(refed)]: null,
        [Symbol(asyncId)]: 76362,
        [Symbol(triggerId)]: 76347
      },
      [Symbol(kBytesRead)]: 684,
      [Symbol(kBytesWritten)]: 0,
      [Symbol(error-emitted)]: false
    },
    _consuming: false,
    _dumped: false,
    parser: null
  }
} +66ms
  cypress:proxy:http Entering stage { stage: 'IncomingRequest' } +118ms
  cypress:proxy:http Running middleware { stage: 'IncomingRequest', middlewareName: 'LogRequest' } +0ms
  cypress:proxy:http:request-middleware proxying request { req: { method: 'GET', proxiedUrl: 'https://localhost/lib/system.js', headers: { host: 'localhost', connection: 'keep-alive', 'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/80.0.3987.87 Safari/537.36', 'sec-fetch-dest': 'script', accept: '*/*', 'sec-fetch-site': 'same-origin', 'sec-fetch-mode': 'no-cors', referer: 'https://localhost/<REDACTED>/', 'accept-encoding': 'gzip, deflate, br', 'accept-language': 'en-US', cookie: 'nonce_prefix=yVMjpfLr1B5pO2r9; sessionid=jtkuomgd648soenxkjij9y72nq68qnd2; csrftoken=zdevmLg9e3mZT7XJzF70edwASDTT1Fbv9NVpspPKZayYq3I67MdOjuAnrZ1KkxYA' } } } +132ms
  cypress:proxy:http Running middleware { stage: 'IncomingRequest', middlewareName: 'RedirectToClientRouteIfUnloaded' } +0ms
  cypress:proxy:http Running middleware { stage: 'IncomingRequest', middlewareName: 'RedirectToClientRouteIfNotProxied' } +1ms
  cypress:proxy:http Running middleware { stage: 'IncomingRequest', middlewareName: 'EndRequestsToBlacklistedHosts' } +1ms
  cypress:proxy:http Running middleware { stage: 'IncomingRequest', middlewareName: 'MaybeEndRequestWithBufferedResponse' } +0ms
  cypress:proxy:http Running middleware { stage: 'IncomingRequest', middlewareName: 'StripUnsupportedAcceptEncoding' } +0ms
  cypress:proxy:http Running middleware { stage: 'IncomingRequest', middlewareName: 'MaybeSetBasicAuthHeaders' } +0ms
  cypress:server:server Getting remote state: { auth: null, props: { port: '443', tld: 'localhost', domain: '' }, origin: 'https://localhost', strategy: 'http', visiting: false, domainName: 'localhost', fileServer: null } +9ms
  cypress:proxy:http Running middleware { stage: 'IncomingRequest', middlewareName: 'SendRequestOutgoing' } +0ms
  cypress:server:server Getting remote state: { auth: null, props: { port: '443', tld: 'localhost', domain: '' }, origin: 'https://localhost', strategy: 'http', visiting: false, domainName: 'localhost', fileServer: null } +0ms
  cypress:network:agent addRequest called { isHttps: true, href: 'https://localhost/lib/system.js' } +74ms
  cypress:network:agent got family { family: 4, href: 'https://localhost/lib/system.js' } +0ms
  cypress:server:stream_buffer stream buffer writeable final called +164ms
  cypress:proxy:http Entering stage { stage: 'IncomingRequest' } +3ms
  cypress:proxy:http Running middleware { stage: 'IncomingRequest', middlewareName: 'LogRequest' } +1ms
  cypress:proxy:http:request-middleware proxying request { req: { method: 'GET', proxiedUrl: 'https://localhost/lib/amd.js', headers: { host: 'localhost', connection: 'keep-alive', 'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/80.0.3987.87 Safari/537.36', 'sec-fetch-dest': 'script', accept: '*/*', 'sec-fetch-site': 'same-origin', 'sec-fetch-mode': 'no-cors', referer: 'https://localhost/<‘REDACTED>, 'accept-encoding': 'gzip, deflate, br', 'accept-language': 'en-US', cookie: 'nonce_prefix=yVMjpfLr1B5pO2r9; sessionid=jtkuomgd648soenxkjij9y72nq68qnd2; csrftoken=zdevmLg9e3mZT7XJzF70edwASDTT1Fbv9NVpspPKZayYq3I67MdOjuAnrZ1KkxYA' } } } +6ms
  cypress:proxy:http Running middleware { stage: 'IncomingRequest', middlewareName: 'RedirectToClientRouteIfUnloaded' } +0ms
  cypress:proxy:http Running middleware { stage: 'IncomingRequest', middlewareName: 'RedirectToClientRouteIfNotProxied' } +0ms
  cypress:proxy:http Running middleware { stage: 'IncomingRequest', middlewareName: 'EndRequestsToBlacklistedHosts' } +0ms
  cypress:proxy:http Running middleware { stage: 'IncomingRequest', middlewareName: 'MaybeEndRequestWithBufferedResponse' } +0ms
  cypress:proxy:http Running middleware { stage: 'IncomingRequest', middlewareName: 'StripUnsupportedAcceptEncoding' } +0ms
  cypress:proxy:http Running middleware { stage: 'IncomingRequest', middlewareName: 'MaybeSetBasicAuthHeaders' } +0ms
  cypress:server:server Getting remote state: { auth: null, props: { port: '443', tld: 'localhost', domain: '' }, origin: 'https://localhost', strategy: 'http', visiting: false, domainName: 'localhost', fileServer: null } +4ms
  cypress:proxy:http Running middleware { stage: 'IncomingRequest', middlewareName: 'SendRequestOutgoing' } +1ms
  cypress:server:server Getting remote state: { auth: null, props: { port: '443', tld: 'localhost', domain: '' }, origin: 'https://localhost', strategy: 'http', visiting: false, domainName: 'localhost', fileServer: null } +1ms
  cypress:network:agent addRequest called { isHttps: true, href: 'https://localhost/lib/amd.js' } +5ms
  cypress:network:agent got family { family: 4, href: 'https://localhost/lib/amd.js' } +0ms
  cypress:server:stream_buffer stream buffer writeable final called +4ms
  cypress:server:server Got CONNECT request from localhost:443 +3ms
  cypress:https-proxy Writing browserSocket connection headers { url: 'localhost:443', headLength: 0, headers: { host: 'localhost:443', 'proxy-connection': 'keep-alive', 'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/80.0.3987.87 Safari/537.36' } } +87ms
  cypress:server:server Got CONNECT request from localhost:443 +0ms
  cypress:https-proxy Writing browserSocket connection headers { url: 'localhost:443', headLength: 0, headers: { host: 'localhost:443', 'proxy-connection': 'keep-alive', 'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/80.0.3987.87 Safari/537.36' } } +0ms
  cypress:server:file gettin lock succeeded or failed for /root/.config/Cypress/cy/production/cache +32ms
  cypress:server:file read /root/.config/Cypress/cy/production/cache +0ms
  cypress:https-proxy Got first head bytes { url: 'localhost:443', head: '\u0016\u0003\u0001\u0002,\u0001\u0000\u0002(\u0003\u0003X@0�<\u0016�o�a\u0010\u001a\u000b헪�p�l��oD�N\u000bgά\\� ����I��^��+�JI�_\u0007[�:���' } +5ms
  cypress:network:cors Parsed URL { port: '443', tld: 'localhost', domain: '' } +94ms
  cypress:server:server HTTPS request does match URL: https://localhost:443 with props: { port: '443', tld: 'localhost', domain: '' } +6ms
  cypress:https-proxy Not making direct connection { url: 'localhost:443' } +1ms
  cypress:https-proxy Making intercepted connection to 46661 +0ms
  cypress:https-proxy getting proxy URL { port: 46661, serverPort: 45637, sniPort: 46661, url: 'https://localhost:46661' } +0ms
  cypress:https-proxy Got first head bytes { url: 'localhost:443', head: '\u0016\u0003\u0001\u0002\u0000\u0001\u0000\u0001�\u0003\u0003��=\f#\u001f*�%Y�n��E/��W�\u0013�c0�5�a\u000bܧ� �7�W1_6`�PS�����\u001b�籗�5' } +1ms
  cypress:network:cors Parsed URL { port: '443', tld: 'localhost', domain: '' } +2ms
  cypress:server:server HTTPS request does match URL: https://localhost:443 with props: { port: '443', tld: 'localhost', domain: '' } +2ms
  cypress:https-proxy Not making direct connection { url: 'localhost:443' } +1ms
  cypress:https-proxy Making intercepted connection to 46661 +0ms
  cypress:https-proxy getting proxy URL { port: 46661, serverPort: 45637, sniPort: 46661, url: 'https://localhost:46661' } +0ms
  cypress:server:file read succeeded or failed for /root/.config/Cypress/cy/production/cache +6ms
  cypress:server:file attempt to unlock /root/.config/Cypress/cy/production/cache +0ms
  cypress:server:file unlock succeeded or failed for /root/.config/Cypress/cy/production/cache +2ms
  cypress:network:connect successfully connected { opts: { port: 46661, host: 'localhost', getDelayMsForRetry: [Function: getDelayForRetry] }, iteration: 0 } +101ms
  cypress:https-proxy received upstreamSocket callback for request { port: 46661, hostname: 'localhost', err: undefined } +6ms
  cypress:server:util:socket_whitelist whitelisting socket { localPort: 59412 } +58ms
  cypress:network:connect successfully connected { opts: { port: 46661, host: 'localhost', getDelayMsForRetry: [Function: getDelayForRetry] }, iteration: 0 } +2ms
  cypress:https-proxy received upstreamSocket callback for request { port: 46661, hostname: 'localhost', err: undefined } +3ms
  cypress:server:util:socket_whitelist whitelisting socket { localPort: 59414 } +1ms
  cypress:server:api request to url: POST https://api.cypress.io/exceptions with params: {"body":{"err":{"name":"Error","message":"This socket has been ended by the other party","stack":"Error: This socket has been ended by the other party\n    at TLSSocket.writeAfterFIN [as write] (net.js:407:14)\n    at ClientRequest.<anonymous> (<stripped-path>ws-incoming.js:115:16)\n    at ClientRequest.emit (events.js:203:13)\n    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:575:27)\n    at HTTPParser.parserOnHeadersComplete (_http_common.js:116:17)\n    at TLSSocket.socketOnData (_http_client.js:449:22)\n    at TLSSocket.emit (events.js:203:13)\n    at addChunk (_stream_readable.js:295:12)\n    at readableAddChunk (_stream_readable.js:276:11)\n    at TLSSocket.Readable.push (_stream_readable.js:210:10)\n    at TLSWrap.onStreamRead (internal<stripped-path>stream_base_commons.js:166:17)\n"},"version":"4.0.2","osName":"linux","osVersion":"Debian - 10.2","osCpus":[{"model":"Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz","speed":2400,"times":{"user":2586700,"nice":123800,"sys":814900,"idle":5317700,"irq":0}},{"model":"Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz","speed":2400,"times":{"user":2588000,"nice":122400,"sys":779400,"idle":5369100,"irq":0}},{"model":"Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz","speed":2400,"times":{"user":2445400,"nice":128400,"sys":857200,"idle":5419300,"irq":0}},{"model":"Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz","speed":2400,"times":{"user":2455400,"nice":119000,"sys":828200,"idle":5431600,"irq":0}},{"model":"Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz","speed":2400,"times":{"user":2570900,"nice":120200,"sys":744800,"idle":5392600,"irq":0}},{"model":"Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz","speed":2400,"times":{"user":2559400,"nice":113900,"sys":778700,"idle":5405700,"irq":0}}],"osMemory":{"free":3241566208,"total":18882686976}},"headers":{"x-os-name":"linux","x-cypress-version":"4.0.2"}} and token: undefined +0ms
  cypress:server:request received status code & headers on request { requestId: 'request29', statusCode: 200, headers: { 'content-type': 'application/javascript; charset=UTF-8' } } +184ms
  cypress:server:request successful response received { requestId: 'request29' } +0ms
  cypress:server:request received status code & headers on request { requestId: 'request28', statusCode: 200, headers: { 'content-type': 'application/javascript; charset=UTF-8' } } +2ms
  cypress:server:request successful response received { requestId: 'request28' } +0ms
  cypress:network:agent addRequest called { isHttps: true, href: 'https://api.cypress.io/exceptions' } +33ms
  cypress:network:connect beginning getAddress { hostname: 'api.cypress.io', port: 443 } +16ms
  cypress:proxy:http Leaving stage { stage: 'IncomingRequest' } +37ms
  cypress:proxy:http Leaving stage { stage: 'IncomingRequest' } +0ms
  cypress:proxy:http Entering stage { stage: 'IncomingResponse' } +1ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'LogResponse' } +0ms
  cypress:proxy:http:response-middleware received response { req: { method: 'GET', proxiedUrl: 'https://localhost/lib/amd.js', headers: { host: 'localhost', connection: 'keep-alive', 'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/80.0.3987.87 Safari/537.36', 'sec-fetch-dest': 'script', accept: '*/*', 'sec-fetch-site': 'same-origin', 'sec-fetch-mode': 'no-cors', referer: 'https://localhost/<REDACTED>', 'accept-encoding': 'gzip', 'accept-language': 'en-US', cookie: 'nonce_prefix=yVMjpfLr1B5pO2r9; sessionid=jtkuomgd648soenxkjij9y72nq68qnd2; csrftoken=zdevmLg9e3mZT7XJzF70edwASDTT1Fbv9NVpspPKZayYq3I67MdOjuAnrZ1KkxYA' } }, incomingRes: { headers: { server: 'nginx', date: 'Wed, 04 Mar 2020 11:24:40 GMT', 'content-type': 'application/javascript; charset=UTF-8', 'transfer-encoding': 'chunked', connection: 'close', vary: 'Accept-Encoding', 'x-powered-by': 'Express', etag: 'W/"139a-814wjFvaoZ/nITVkfjnVH8v+hSA"', 'x-xss-protection': '1; mode=block', 'x-content-type-options': 'nosniff', 'referrer-policy': 'strict-origin-when-cross-origin', 'expect-ct': 'enforce; max-age=30, enforce; max-age=30', 'feature-policy': "accelerometer 'none'; camera 'none'; geolocation 'none'; gyroscope 'none'; magnetometer 'none'; microphone 'none'; payment 'none'; usb 'none'", 'strict-transport-security': 'max-age=63072000;includeSubDomains; preload', 'content-security-policy': "default-src 'self' 'unsafe-inline' 'unsafe-eval' https://www.googletagmanager.com/ https://www.google-analytics.com/ http://*.hotjar.com:* https://*.hotjar.com:* http://*.hotjar.io https://*.hotjar.io wss://*.hotjar.com https://*.googleapis.com https://appsforoffice.microsoft.com https://*.tiles.mapbox.com https://*.mapbox.com https://*.gstatic.com https://cdn.jsdelivr.net/npm/ https://raw.githubusercontent.com/googlemaps/ blob:;style-src 'self' 'unsafe-inline' blob: https://*.googleapis.com https://appsforoffice.microsoft.com https://*.tiles.mapbox.com https://*.mapbox.com https://*.gstatic.com https://cdn.jsdelivr.net/npm/ https://raw.githubusercontent.com/googlemaps/ ;img-src 'self' https://*.googleapis.com https://appsforoffice.microsoft.com https://*.tiles.mapbox.com https://*.mapbox.com https://*.gstatic.com https://fonts.googleapis.com https://fonts.gstatic.com https://www.google-analytics.com/ https://cdn.jsdelivr.net/npm/ https://raw.githubusercontent.com/googlemaps/ https://www.googletagmanager.com/ https://www.google-analytics.com/ http://*.hotjar.com:* https://*.hotjar.com:* http://*.hotjar.io https://*.hotjar.io wss://*.hotjar.com https://*.ggpht.com data: blob:; connect-src 'self' https://www.googletagmanager.com/ https://www.google-analytics.com/ http://*.hotjar.com:* https://*.hotjar.com:* http://*.hotjar.io https://*.hotjar.io wss://*.hotjar.com https://*.googleapis.com https://appsforoffice.microsoft.com https://*.tiles.mapbox.com https://*.mapbox.com https://*.gstatic.com;font-src 'self' data: https://fonts.googleapis.com https://fonts.gstatic.com https://www.google-analytics.com/; worker-src 'self' 'unsafe-inline' 'unsafe-eval' blob:;", 'x-content-security-policy': "default-src 'self' 'unsafe-inline' 'unsafe-eval' https://www.googletagmanager.com/ https://www.google-analytics.com/ http://*.hotjar.com:* https://*.hotjar.com:* http://*.hotjar.io https://*.hotjar.io wss://*.hotjar.com https://*.googleapis.com https://appsforoffice.microsoft.com https://*.tiles.mapbox.com https://*.mapbox.com https://*.gstatic.com https://cdn.jsdelivr.net/npm/ https://raw.githubusercontent.com/googlemaps/ blob:;style-src 'self' 'unsafe-inline' blob: https://*.googleapis.com https://appsforoffice.microsoft.com https://*.tiles.mapbox.com https://*.mapbox.com https://*.gstatic.com https://cdn.jsdelivr.net/npm/ https://raw.githubusercontent.com/googlemaps/ ;img-src 'self' https://*.googleapis.com https://appsforoffice.microsoft.com https://*.tiles.mapbox.com https://*.mapbox.com https://*.gstatic.com https://fonts.googleapis.com https://fonts.gstatic.com https://www.google-analytics.com/ https://cdn.jsdelivr.net/npm/ https://raw.githubusercontent.com/googlemaps/ https://www.googletagmanager.com/ https://www.google-analytics.com/ http://*.hotjar.com:* https://*.hotjar.com:* http://*.hotjar.io https://*.hotjar.io wss://*.hotjar.com https://*.ggpht.com data: blob:; connect-src 'self' https://www.googletagmanager.com/ https://www.google-analytics.com/ http://*.hotjar.com:* https://*.hotjar.com:* http://*.hotjar.io https://*.hotjar.io wss://*.hotjar.com https://*.googleapis.com https://appsforoffice.microsoft.com https://*.tiles.mapbox.com https://*.mapbox.com https://*.gstatic.com;font-src 'self' data: https://fonts.googleapis.com https://fonts.gstatic.com https://www.google-analytics.com/; worker-src 'self' 'unsafe-inline' 'unsafe-eval' blob:;", 'cache-control': 'no-store', 'x-frame-options': 'DENY', 'content-encoding': 'gzip' }, statusCode: 200 } } +164ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'PatchExpressSetHeader' } +1ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'SetInjectionLevel' } +0ms
  cypress:proxy:http:response-middleware injection levels: { isInitial: false, wantsInjection: false, wantsSecurityRemoved: true } +2ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'OmitProblematicHeaders' } +1ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'MaybePreventCaching' } +1ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'CopyCookiesFromIncomingRes' } +0ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'MaybeSendRedirectToClient' } +0ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'CopyResponseStatusCode' } +0ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'ClearCyInitialCookie' } +1ms
  cypress:server:server Getting remote state: { auth: null, props: { port: '443', tld: 'localhost', domain: '' }, origin: 'https://localhost', strategy: 'http', visiting: false, domainName: 'localhost', fileServer: null } +31ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'MaybeEndWithEmptyBody' } +0ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'MaybeGunzipBody' } +1ms
  cypress:proxy:http:response-middleware ungzipping response body +3ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'MaybeInjectHtml' } +0ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'MaybeRemoveSecurity' } +2ms
  cypress:proxy:http:response-middleware removing JS framebusting code +2ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'GzipBody' } +0ms
  cypress:proxy:http:response-middleware regzipping response body +1ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'SendResponseBodyToClient' } +1ms
  cypress:proxy:http Entering stage { stage: 'IncomingResponse' } +1ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'LogResponse' } +0ms
  cypress:proxy:http:response-middleware received response { req: { method: 'GET', proxiedUrl: 'https://localhost/lib/system.js', headers: { host: 'localhost', connection: 'keep-alive', 'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/80.0.3987.87 Safari/537.36', 'sec-fetch-dest': 'script', accept: '*/*', 'sec-fetch-site': 'same-origin', 'sec-fetch-mode': 'no-cors', referer: 'https://localhost/<REDACTED>', 'accept-encoding': 'gzip', 'accept-language': 'en-US', cookie: 'nonce_prefix=yVMjpfLr1B5pO2r9; sessionid=jtkuomgd648soenxkjij9y72nq68qnd2; csrftoken=zdevmLg9e3mZT7XJzF70edwASDTT1Fbv9NVpspPKZayYq3I67MdOjuAnrZ1KkxYA' } }, incomingRes: { headers: { server: 'nginx', date: 'Wed, 04 Mar 2020 11:24:40 GMT', 'content-type': 'application/javascript; charset=UTF-8', 'transfer-encoding': 'chunked', connection: 'close', vary: 'Accept-Encoding', 'x-powered-by': 'Express', etag: 'W/"70c1-+LDDLt3dnvE86FTcwBvVCS/zXxE"', 'x-xss-protection': '1; mode=block', 'x-content-type-options': 'nosniff', 'referrer-policy': 'strict-origin-when-cross-origin', 'expect-ct': 'enforce; max-age=30, enforce; max-age=30', 'feature-policy': "accelerometer 'none'; camera 'none'; geolocation 'none'; gyroscope 'none'; magnetometer 'none'; microphone 'none'; payment 'none'; usb 'none'", 'strict-transport-security': 'max-age=63072000;includeSubDomains; preload', 'content-security-policy': "default-src 'self' 'unsafe-inline' 'unsafe-eval' https://www.googletagmanager.com/ https://www.google-analytics.com/ http://*.hotjar.com:* https://*.hotjar.com:* http://*.hotjar.io https://*.hotjar.io wss://*.hotjar.com https://*.googleapis.com https://appsforoffice.microsoft.com https://*.tiles.mapbox.com https://*.mapbox.com https://*.gstatic.com https://cdn.jsdelivr.net/npm/ https://raw.githubusercontent.com/googlemaps/ blob:;style-src 'self' 'unsafe-inline' blob: https://*.googleapis.com https://appsforoffice.microsoft.com https://*.tiles.mapbox.com https://*.mapbox.com https://*.gstatic.com https://cdn.jsdelivr.net/npm/ https://raw.githubusercontent.com/googlemaps/ ;img-src 'self' https://*.googleapis.com https://appsforoffice.microsoft.com https://*.tiles.mapbox.com https://*.mapbox.com https://*.gstatic.com https://fonts.googleapis.com https://fonts.gstatic.com https://www.google-analytics.com/ https://cdn.jsdelivr.net/npm/ https://raw.githubusercontent.com/googlemaps/ https://www.googletagmanager.com/ https://www.google-analytics.com/ http://*.hotjar.com:* https://*.hotjar.com:* http://*.hotjar.io https://*.hotjar.io wss://*.hotjar.com https://*.ggpht.com data: blob:; connect-src 'self' https://www.googletagmanager.com/ https://www.google-analytics.com/ http://*.hotjar.com:* https://*.hotjar.com:* http://*.hotjar.io https://*.hotjar.io wss://*.hotjar.com https://*.googleapis.com https://appsforoffice.microsoft.com https://*.tiles.mapbox.com https://*.mapbox.com https://*.gstatic.com;font-src 'self' data: https://fonts.googleapis.com https://fonts.gstatic.com https://www.google-analytics.com/; worker-src 'self' 'unsafe-inline' 'unsafe-eval' blob:;", 'x-content-security-policy': "default-src 'self' 'unsafe-inline' 'unsafe-eval' https://www.googletagmanager.com/ https://www.google-analytics.com/ http://*.hotjar.com:* https://*.hotjar.com:* http://*.hotjar.io https://*.hotjar.io wss://*.hotjar.com https://*.googleapis.com https://appsforoffice.microsoft.com https://*.tiles.mapbox.com https://*.mapbox.com https://*.gstatic.com https://cdn.jsdelivr.net/npm/ https://raw.githubusercontent.com/googlemaps/ blob:;style-src 'self' 'unsafe-inline' blob: https://*.googleapis.com https://appsforoffice.microsoft.com https://*.tiles.mapbox.com https://*.mapbox.com https://*.gstatic.com https://cdn.jsdelivr.net/npm/ https://raw.githubusercontent.com/googlemaps/ ;img-src 'self' https://*.googleapis.com https://appsforoffice.microsoft.com https://*.tiles.mapbox.com https://*.mapbox.com https://*.gstatic.com https://fonts.googleapis.com https://fonts.gstatic.com https://www.google-analytics.com/ https://cdn.jsdelivr.net/npm/ https://raw.githubusercontent.com/googlemaps/ https://www.googletagmanager.com/ https://www.google-analytics.com/ http://*.hotjar.com:* https://*.hotjar.com:* http://*.hotjar.io https://*.hotjar.io wss://*.hotjar.com https://*.ggpht.com data: blob:; connect-src 'self' https://www.googletagmanager.com/ https://www.google-analytics.com/ http://*.hotjar.com:* https://*.hotjar.com:* http://*.hotjar.io https://*.hotjar.io wss://*.hotjar.com https://*.googleapis.com https://appsforoffice.microsoft.com https://*.tiles.mapbox.com https://*.mapbox.com https://*.gstatic.com;font-src 'self' data: https://fonts.googleapis.com https://fonts.gstatic.com https://www.google-analytics.com/; worker-src 'self' 'unsafe-inline' 'unsafe-eval' blob:;", 'cache-control': 'no-store', 'x-frame-options': 'DENY', 'content-encoding': 'gzip' }, statusCode: 200 } } +1ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'PatchExpressSetHeader' } +1ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'SetInjectionLevel' } +0ms
  cypress:proxy:http:response-middleware injection levels: { isInitial: false, wantsInjection: false, wantsSecurityRemoved: true } +1ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'OmitProblematicHeaders' } +1ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'MaybePreventCaching' } +0ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'CopyCookiesFromIncomingRes' } +0ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'MaybeSendRedirectToClient' } +0ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'CopyResponseStatusCode' } +1ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'ClearCyInitialCookie' } +0ms
  cypress:server:server Getting remote state: { auth: null, props: { port: '443', tld: 'localhost', domain: '' }, origin: 'https://localhost', strategy: 'http', visiting: false, domainName: 'localhost', fileServer: null } +8ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'MaybeEndWithEmptyBody' } +0ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'MaybeGunzipBody' } +1ms
  cypress:proxy:http:response-middleware ungzipping response body +3ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'MaybeInjectHtml' } +0ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'MaybeRemoveSecurity' } +0ms
  cypress:proxy:http:response-middleware removing JS framebusting code +0ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'GzipBody' } +1ms
  cypress:proxy:http:response-middleware regzipping response body +1ms
  cypress:proxy:http Running middleware { stage: 'IncomingResponse', middlewareName: 'SendResponseBodyToClient' } +1ms
  cypress:network:connect got addresses { hostname: 'api.cypress.io', port: 443, addresses: [ { address: '104.26.7.176', family: 4 }, { address: '104.26.6.176', family: 4 }, { address: '2606:4700:20::681a:7b0', family: 6 }, { address: '2606:4700:20::681a:6b0', family: 6 } ] } +19ms
Error: This socket has been ended by the other party
    at TLSSocket.writeAfterFIN [as write] (net.js:407:14)
    at ClientRequest.<anonymous> (/root/.cache/Cypress/4.0.2/Cypress/resources/app/packages/server/node_modules/http-proxy/lib/http-proxy/passes/ws-incoming.js:115:16)
    at ClientRequest.emit (events.js:203:13)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:575:27)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:116:17)
    at TLSSocket.socketOnData (_http_client.js:449:22)
    at TLSSocket.emit (events.js:203:13)
    at addChunk (_stream_readable.js:295:12)
    at readableAddChunk (_stream_readable.js:276:11)
    at TLSSocket.Readable.push (_stream_readable.js:210:10)
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:166:17)
 {
  code: 'EPIPE'
}
Error: This socket has been ended by the other party
    at TLSSocket.writeAfterFIN [as write] (net.js:407:14)
    at ClientRequest.<anonymous> (/root/.cache/Cypress/4.0.2/Cypress/resources/app/packages/server/node_modules/http-proxy/lib/http-proxy/passes/ws-incoming.js:115:16)
    at ClientRequest.emit (events.js:203:13)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:575:27)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:116:17)
    at TLSSocket.socketOnData (_http_client.js:449:22)
    at TLSSocket.emit (events.js:203:13)
    at addChunk (_stream_readable.js:295:12)
    at readableAddChunk (_stream_readable.js:276:11)
    at TLSSocket.Readable.push (_stream_readable.js:210:10)
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:166:17)

  cypress:server:browsers killing browser process +16s
  cypress:server:browsers:chrome closing remote interface client +16s
  cypress:cli child event fired { event: 'exit', code: 1, signal: null } +21s
  cypress:cli Stopping Xvfb +21s
uweku commented 4 years ago

I don't know why, but resetting config parameter

"numTestsKeptInMemory": 10

did the trick, in my case. Neither removing Cypress nor switching the version helped, but removing this parameter seems to avoid such issues.

librehat commented 4 years ago

I have to add that we're using local reverse proxy in the middle, and I've seen errors from mitmproxy in the docker container:

cypress_1                | 127.0.0.1:50064: Client Handshake failed. The client may not trust the proxy's certificate for localhost.
cypress_1                | 127.0.0.1:50056: GET http://nginx/lib/system.js
cypress_1                |               << 200 OK 7.48k
cypress_1                | 127.0.0.1:50056: Error in HTTP connection: TcpDisconnect("(32, 'EPIPE')")
cypress_1                | 127.0.0.1:50060: GET http://nginx/lib/named-exports.js
cypress_1                |               << 200 OK 784b
cypress_1                | 127.0.0.1:50060: Error in HTTP connection: TcpDisconnect("(32, 'EPIPE')")
cypress_1                | 127.0.0.1:50058: GET http://nginx/lib/amd.js
cypress_1                |               << 200 OK 1.51k
cypress_1                | 127.0.0.1:50058: Error in HTTP connection: TcpDisconnect("(32, 'EPIPE')")
flotwig commented 4 years ago

@librehat It looks like the multipart response from your HTTP server contains an invalid character. You're seeing this issue: #5602 We have to wait for Electron 9 to be released before we can issue a fix for this, unfortunately.

uweku commented 4 years ago

@flotwig please send me a PM and I'll invite to a sample repository to reproduce this issue

bencatjakub commented 4 years ago

@uweku

I don't know why, but resetting config parameter

"numTestsKeptInMemory": 10

did the trick, in my case. Neither removing Cypress nor switching the version helped, but removing this parameter seems to avoid such issues.

Is there a difference between removing this "numTestsKeptInMemory": 10 and just changing the value to 0 "numTestsKeptInMemory": 0?

uweku commented 4 years ago

@uweku

I don't know why, but resetting config parameter "numTestsKeptInMemory": 10 did the trick, in my case. Neither removing Cypress nor switching the version helped, but removing this parameter seems to avoid such issues.

Is there a difference between removing this "numTestsKeptInMemory": 10 and just changing the value to 0 "numTestsKeptInMemory": 0?

@bencatjakub Right now, removing this option helped in some cases, but unfortunately not in all cases. Right now, the tests fail again, even when the stting is not present or "0". So I'm back to the beginning right now.

bencatjakub commented 4 years ago

Any updates on this guys? Anybody from Cypress.io to have some official statement?

This is a blocker for some portion of our Cypress tests and we do not have stable results because of this.

PLEASE PRIORITIZE THIS!!!

BiosBoy commented 4 years ago

Up!

jennifer-shehane commented 4 years ago

@uweku You can email support@cypress.io to send any potentially sensitive info when providing a reproducible example.

uweku commented 4 years ago

@uweku You can email support@cypress.io to send any potentially sensitive info when providing a reproducible example.

Sure, I sent you the test case

uweku commented 4 years ago

@jennifer-shehane I wonder if you received it and were you able to run it?

TheWanderingWalnut commented 4 years ago

I've also been experiencing this today, both on Cypress v4.2.0 and 4.1.0. I can no longer get through an entire test run (65 tests, ~30m locally on a MacBook) without Cypress crashing. Below is the output from Cypress when it's crashed, both on 4.1.0 and 4.2.0.

4.1.0:

BiosBoy commented 4 years ago

Seems like we're left alone here? :(