Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Website tests flake: ESOCKETTIMEDOUT #4739

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

Closed
JoshuaKGoldberg opened this issue Mar 26, 2022 · 3 comments Β· Fixed by #5086
Closed

Website tests flake: ESOCKETTIMEDOUT #4739

JoshuaKGoldberg opened this issue Mar 26, 2022 · 3 comments Β· Fixed by #5086
Labels
accepting prs Go ahead, send a pull request that resolves this issue package: website Issues related to the @typescript-eslint website repo maintenance things to do with maintenance of the repo, and not with code/docs tests anything to do with testing

Comments

@JoshuaKGoldberg
Copy link
Member

Overview

Cypress flake in CircleCI! Hooray!

  0 passing (31s)
  1 failing

  1) Index
       has no accessibility issues detected by aXe:
     CypressError: `cy.visit()` failed trying to load:

http://localhost:3000/

We attempted to make an http request to this URL but the request failed without a response.

We received this error at the network level:

  > Error: ESOCKETTIMEDOUT

Example: https://github.com/typescript-eslint/typescript-eslint/runs/5648789441?check_suite_focus=true

It started happening after #4710. I'd specifically kept us at a lower cypress version in #4362 because of cypress-io/cypress#19299, a different piece of flake. Lovely.

I'll revert #4710 and pin us to the old version of Cypress for now.

@JoshuaKGoldberg JoshuaKGoldberg self-assigned this Mar 26, 2022
@JoshuaKGoldberg JoshuaKGoldberg added bug Something isn't working repo maintenance things to do with maintenance of the repo, and not with code/docs package: website Issues related to the @typescript-eslint website accepting prs Go ahead, send a pull request that resolves this issue labels Mar 26, 2022
@JoshuaKGoldberg
Copy link
Member Author

Hopefully fixed by #4740. We'll see...

@bradzacher bradzacher added tests anything to do with testing and removed bug Something isn't working labels May 14, 2022
@JoshuaKGoldberg
Copy link
Member Author

Still happening. πŸ™ƒ

https://github.com/typescript-eslint/typescript-eslint/runs/6569623102?check_suite_focus=true

/opt/hostedtoolcache/node/18.2.0/x64/bin/npx cypress cache list
No cached binary versions were found.
/opt/hostedtoolcache/node/18.2.0/x64/bin/npx cypress verify
The cypress npm package is installed, but the Cypress binary is missing.

We expected the binary to be installed here: /home/runner/.cache/Cypress/8.3.0/Cypress/Cypress

Reasons it may be missing:

- You're caching 'node_modules' but are not caching this path: /home/runner/.cache/Cypress
- You ran 'npm install' at an earlier build step but did not persist: /home/runner/.cache/Cypress

Properly caching the binary will fix this error and avoid downloading and unzipping Cypress.

Alternatively, you can run 'cypress install' to download the binary again.

https://on.cypress.io/not-installed-ci-error

@JoshuaKGoldberg JoshuaKGoldberg removed their assignment May 25, 2022
@JoshuaKGoldberg
Copy link
Member Author

Removing my assignment because I have no clue why this is happening. Help, please, anybody πŸ™ƒ πŸ™

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
accepting prs Go ahead, send a pull request that resolves this issue package: website Issues related to the @typescript-eslint website repo maintenance things to do with maintenance of the repo, and not with code/docs tests anything to do with testing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants