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

yarn 1.22.22 fails in cypress/factory #1031

Closed
bautistaaa opened this issue Apr 9, 2024 · 6 comments
Closed

yarn 1.22.22 fails in cypress/factory #1031

bautistaaa opened this issue Apr 9, 2024 · 6 comments

Comments

@bautistaaa
Copy link

Attempted to upgrade yarn from 1.22.19 -> 1.22.22 and encountered this error

11:28:41 4.005 gpg: key 1646B01B86E50310: public key "Yarn Packaging <yarn@dan.cx>" imported
11:28:41 4.010 gpg: Total number processed: 1
11:28:41 4.010 gpg:               imported: 1
11:28:41 4.010 + curl -fsSLO --compressed https://yarnpkg.com/downloads/1.22.22/yarn-v1.22.22.tar.gz
11:28:41 4.581 + curl -fsSLO --compressed https://yarnpkg.com/downloads/1.22.22/yarn-v1.22.22.tar.gz.asc
11:28:41 4.901 curl: (22) The requested URL returned error: 404 
11:28:41 4.905 child process exited with code 22

This url doesn't appear to exist https://yarnpkg.com/downloads/1.22.22/yarn-v1.22.22.tar.gz.asc causing it to exit

@vadimpopa
Copy link

Same, related issue is here yarnpkg/yarn#9035

@jahusa02
Copy link
Contributor

jahusa02 commented May 8, 2024

Is this error related to that too?

+ curl -fsSLO --compressed https://nodejs.org/dist/v20.13.0/node-v20.13.0-linux-x64.tar.xz
+ curl -fsSLO --compressed https://nodejs.org/dist/v20.13.0/SHASUMS256.txt.asc
+ gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc
gpg: Signature made Tue May  7 15:44:10 2024 UTC
gpg:                using RSA key CC68F5A3106FF448322E48ED27F5E38D5B0A215F
gpg: Can't check signature: No public key

Happens when I set the Node Version to 20.13.0

@MikeMcC399
Copy link
Collaborator

@jahusa02

Is this error related to that too?

It's a separate root cause, so I'd suggest you open a new issue.

The keys for Node.js are in
https://github.com/cypress-io/cypress-docker-images/blob/master/factory/installScripts/node/default.sh

@MikeMcC399
Copy link
Collaborator

@bautistaaa

Yarn 1.22.19 is the latest stable release according to

The error with Yarn 1.22.20 and later is due to missing PGP signature files. These have been requested over the last 6 months and have so far not been provided.

#1036 (comment)

@Daniel15
Copy link

Daniel15 commented May 24, 2024

I've uploaded a GPG signature for Yarn v1.22.22, so this should be fixed now.

@MikeMcC399
Copy link
Collaborator

Thank you @Daniel15 !

I can confirm that it is now possible to successfully build a Cypress Docker image with cypress/factory using Yarn 1.22.22.

are now showing Yarn 1.22.22 as the stable Yarn v1 Classic release.

This was an upstream issue on https://github.com/yarnpkg/yarn/releases. No change to this Cypress repo was necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants