Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Error: Session with given id not found. #28148

Closed
remarkablemark opened this issue Oct 26, 2023 · 15 comments · Fixed by #28147 or RoundingWell/care-ops-frontend#1185
Closed

Error: Session with given id not found. #28148

remarkablemark opened this issue Oct 26, 2023 · 15 comments · Fixed by #28147 or RoundingWell/care-ops-frontend#1185

Comments

@remarkablemark
Copy link

remarkablemark commented Oct 26, 2023

Current behavior

Cypress is failing in GitHub Actions workflow:

Session with given id not found.
Error: Session with given id not found.
    at <embedded>:2466:519827
    at _._handleMessage (<embedded>:2466:521860)
    at A.<anonymous> (<embedded>:2466:521673)
    at A.emit (node:events:513:28)
    at g.U (<embedded>:2466:506953)
    at g.emit (node:events:513:28)
    at g.dataMessage (<embedded>:2466:487328)
    at <embedded>:2466:486860
    at <embedded>:2466:478182
    at <embedded>:2466:479134
    at afterWrite (node:internal/streams/writable:500:5)
    at onwrite (node:internal/streams/writable:480:7)
    at Zlib.<anonymous> (node:internal/streams/transform:190:7)
    at Zlib.processCallback (node:zlib:613:8)
Test run failed, code 1
More information might be available above
Cypress module has returned the following error message:
Could not find Cypress test run results
Error: Could not find Cypress test run results

Desired behavior

Cypress GitHub Action passes

Test code to reproduce

remarkablemark/cypress-cucumber-steps#537

Cypress Version

13.3.3

Node version

18.18.2

Operating System

Ubuntu 22.04.3

Debug Logs

No response

Other

Related to #28136 (comment)

@guymoon
Copy link

guymoon commented Oct 26, 2023

I have the same issue

@priya-mani-2308
Copy link

Facing same issue from my end as well.

@utkuperlego
Copy link

facing the same issue for the first time on our ci/cd pipeline on AWS

@StevenVanbrielRosa
Copy link

I have the same issue together with #28142

@dowlaszewicz
Copy link

Same issue here

@theumann
Copy link

Same issue after 13.3.3 upgrade.

@bleepax8
Copy link

Ditto

@Znakki
Copy link

Znakki commented Oct 27, 2023

came across the same issue with cypress 13.3.3 , headless mode, gitlab-runner 16.2.0, image: cypress/browsers:node-18.16.1-chrome-114.0.5735.133-1-ff-114.0.2-edge-114.0.1823.51-1
Running tests on Chrome

@MikeMcC399
Copy link
Contributor

MikeMcC399 commented Oct 27, 2023

@remarkablemark

I was able to reproduce this locally as a regression in Cypress 13.3.3. The crash does not depend on GitHub Actions, nor does it depend on Chrome.

On Ubuntu 22.04.3 with the following steps:

git clone --branch dependabot/npm_and_yarn/cypress-13.3.3 https://github.com/remarkablemark/cypress-cucumber-steps
cd cypress-cucumber-steps
n 18.18.2 # to set Node.js to 18.18.2
npm ci
npx cypress info
npx cypress run --browser chrome

The crash shows itself as:

  Cypress docs
    ✓ Alt text (43265ms)
Session with given id not found.

and this only appears when using Cypress 13.3.3.

Testing with npx cypress open and selecting
cypress/e2e/cypress/docs.feature with 3 scenarios:

Browser Version Result 13.3.2 Result 13.3.3
Electron v114 1/3 fail crash
Chrome 118.0.5993.117 0 fail crash
Chromium 118.0.5993.117 1/3 fail crash
Edge 118.0.2088.69 0 fail crash
Firefox 119.0 0 fail 2/3 tests failed

@MikeMcC399
Copy link
Contributor

  • Cypress 13.3.3 also crashed testing against Electron with Node.js v20.9.0 and v21.1.0 on Ubuntu 22.04.3.

  • On Windows 11 22H2, the same test ran without issue using Cypress 13.3.3, Electron v114 and Node.js 18.18.2.

  • Testing against Chrome 118.0.5993.118 on Windows 11 22H2 / Node.js 18.18.2 was also successful.

@ryanthemanuel
Copy link
Collaborator

ryanthemanuel commented Oct 27, 2023

This was fixed with #28147 and will be released ASAP.

@remarkablemark
Copy link
Author

Thank you for the quick fix!

@MikeMcC399
Copy link
Contributor

@remarkablemark

Let us know if [email protected] fixes this for you!

@remarkablemark
Copy link
Author

@MikeMcC399 Thanks, I can confirm it is fixed in remarkablemark/cypress-cucumber-steps#543

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Oct 31, 2023

Released in 13.4.0.

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

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Oct 31, 2023
paulfalgout added a commit to RoundingWell/care-ops-frontend that referenced this issue Nov 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet