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
Release started failing with v0.13.0 #3599
Comments
I'm also seeing weird failures: error output • uploading to release file=dist/ipsw_3.1.200_x86_64.apk name=ipsw_3.1.200_x86_64.apk
• uploading to release file=dist/ipsw-3.1.200.x86_64.rpm name=ipsw-3.1.200.x86_64.rpm
• uploading to release file=dist/ipsw_3.1.200_arm64.deb name=ipsw_3.1.200_arm64.deb
• uploading to release file=dist/ipsw_3.1.200_amd64.deb name=ipsw_3.1.200_amd64.deb
• uploading to release file=dist/ipsw-3.1.200.aarch64.rpm name=ipsw-3.1.200.aarch64.rpm
• uploading to release file=dist/ipsw_3.1.200_aarch64.apk name=ipsw_3.1.200_aarch64.apk
• failed to upload artifact, will retry artifact=ipsw_3.1.200_aarch64.apk error=POST https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw_3.1.200_aarch64.apk: 404 Not Found [] try=1
• uploading to release file=dist/ipsw_3.1.200_aarch64.apk name=ipsw_3.1.200_aarch64.apk
• uploading to release file=dist/ipsw_3.1.200_arm64.deb name=ipsw_3.1.200_arm64.deb
• failed to upload artifact, will retry artifact=ipsw-3.1.200.aarch64.rpm error=POST https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw-3.1.200.aarch64.rpm: 404 Not Found [] try=1
• uploading to release file=dist/ipsw-3.1.200.aarch64.rpm name=ipsw-3.1.200.aarch64.rpm
• uploading to release file=dist/ipsw-3.1.200-1-aarch64.pkg.tar.zst name=ipsw-3.1.200-1-aarch64.pkg.tar.zst
• uploading to release file=dist/ipsw-3.1.200-1-x86_64.pkg.tar.zst name=ipsw-3.1.200-1-x86_64.pkg.tar.zst
• failed to upload artifact, will retry artifact=ipsw_3.1.200_arm64.deb error=POST https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw_3.1.200_arm64.deb: 404 Not Found [] try=1
• uploading to release file=dist/ipsw_3.1.200_arm64.deb name=ipsw_3.1.200_arm64.deb
• failed to upload artifact, will retry artifact=ipsw-3.1.200.aarch64.rpm error=POST https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw-3.1.200.aarch64.rpm: 404 Not Found [] try=1
• uploading to release file=dist/ipsw-3.1.200.aarch64.rpm name=ipsw-3.1.200.aarch64.rpm
• uploading to release file=dist/ipsw-3.1.200-1-aarch64.pkg.tar.zst name=ipsw-3.1.200-1-aarch64.pkg.tar.zst
• uploading to release file=/Users/blacktop/Developer/Github/blacktop/ipsw/dist/ipsw_3.1.200_windows_arm64.tar.gz.sbom name=ipsw_3.1.200_windows_arm64.tar.gz.sbom
• uploading to release file=/Users/blacktop/Developer/Github/blacktop/ipsw/dist/ipsw_3.1.200_windows_x86_64.tar.gz.sbom name=ipsw_3.1.200_windows_x86_64.tar.gz.sbom
• uploading to release file=/Users/blacktop/Developer/Github/blacktop/ipsw/dist/ipsw_3.1.200_macOS_arm64.tar.gz.sbom name=ipsw_3.1.200_macOS_arm64.tar.gz.sbom
• uploading to release file=/Users/blacktop/Developer/Github/blacktop/ipsw/dist/ipsw_3.1.200_ios_arm64.tar.gz.sbom name=ipsw_3.1.200_ios_arm64.tar.gz.sbom
• uploading to release file=/Users/blacktop/Developer/Github/blacktop/ipsw/dist/ipsw_3.1.200_macOS_x86_64.tar.gz.sbom name=ipsw_3.1.200_macOS_x86_64.tar.gz.sbom
• uploading to release file=/Users/blacktop/Developer/Github/blacktop/ipsw/dist/ipsw_3.1.200_linux_arm64.tar.gz.sbom name=ipsw_3.1.200_linux_arm64.tar.gz.sbom
• failed to upload artifact, will retry artifact=ipsw_3.1.200_aarch64.apk error=POST https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw_3.1.200_aarch64.apk: 404 Not Found [] try=1
• uploading to release file=dist/ipsw_3.1.200_aarch64.apk name=ipsw_3.1.200_aarch64.apk
• uploading to release file=/Users/blacktop/Developer/Github/blacktop/ipsw/dist/ipsw_3.1.200_linux_x86_64.tar.gz.sbom name=ipsw_3.1.200_linux_x86_64.tar.gz.sbom
• uploading to release file=/Users/blacktop/Developer/Github/blacktop/ipsw/dist/ipsw_3.1.200_macOS_arm64_extras.tar.gz.sbom name=ipsw_3.1.200_macOS_arm64_extras.tar.gz.sbom
• uploading to release file=/Users/blacktop/Developer/Github/blacktop/ipsw/dist/ipsw_3.1.200_macOS_x86_64_extras.tar.gz.sbom name=ipsw_3.1.200_macOS_x86_64_extras.tar.gz.sbom
• uploading to release file=/Users/blacktop/Developer/Github/blacktop/ipsw/dist/ipsw_3.1.200_macOS_universal.tar.gz.sbom name=ipsw_3.1.200_macOS_universal.tar.gz.sbom
• uploading to release file=dist/checksums.txt name=checksums.txt
• uploading to release file=dist/checksums.txt.sig name=checksums.txt.sig
• failed to upload artifact, will retry artifact=ipsw_3.1.200_aarch64.apk error=Post "https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw_3.1.200_aarch64.apk": write tcp 192.168.4.191:64280->140.82.112.13:443: use of closed network connection try=2
• uploading to release file=dist/ipsw_3.1.200_aarch64.apk name=ipsw_3.1.200_aarch64.apk
• failed to upload artifact, will retry artifact=ipsw_3.1.200_aarch64.apk error=Post "https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw_3.1.200_aarch64.apk": write tcp 192.168.4.191:64281->140.82.112.13:443: use of closed network connection try=3
• failed to upload artifact, will retry artifact=ipsw_3.1.200_arm64.deb error=POST https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw_3.1.200_arm64.deb: 404 Not Found [] try=1
• uploading to release file=dist/ipsw_3.1.200_arm64.deb name=ipsw_3.1.200_arm64.deb
• uploading to release file=dist/ipsw_3.1.200_aarch64.apk name=ipsw_3.1.200_aarch64.apk
• failed to upload artifact, will retry artifact=ipsw_3.1.200_aarch64.apk error=Post "https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw_3.1.200_aarch64.apk": write tcp 192.168.4.191:64282->140.82.112.13:443: write: broken pipe try=4
• uploading to release file=dist/ipsw_3.1.200_aarch64.apk name=ipsw_3.1.200_aarch64.apk
• failed to upload artifact, will retry artifact=ipsw-3.1.200.aarch64.rpm error=POST https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw-3.1.200.aarch64.rpm: 404 Not Found [] try=2
• uploading to release file=dist/ipsw-3.1.200.aarch64.rpm name=ipsw-3.1.200.aarch64.rpm
• failed to upload artifact, will retry artifact=ipsw_3.1.200_aarch64.apk error=Post "https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw_3.1.200_aarch64.apk": write tcp 192.168.4.191:64291->140.82.113.14:443: use of closed network connection try=5
• uploading to release file=dist/ipsw_3.1.200_aarch64.apk name=ipsw_3.1.200_aarch64.apk
• failed to upload artifact, will retry artifact=ipsw_3.1.200_aarch64.apk error=Post "https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw_3.1.200_aarch64.apk": write tcp 192.168.4.191:64292->140.82.114.13:443: use of closed network connection try=6
• uploading to release file=dist/ipsw_3.1.200_aarch64.apk name=ipsw_3.1.200_aarch64.apk
• failed to upload artifact, will retry artifact=ipsw-3.1.200.aarch64.rpm error=POST https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw-3.1.200.aarch64.rpm: 404 Not Found [] try=2
• uploading to release file=dist/ipsw-3.1.200.aarch64.rpm name=ipsw-3.1.200.aarch64.rpm
• failed to upload artifact, will retry artifact=ipsw_3.1.200_arm64.deb error=POST https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw_3.1.200_arm64.deb: 404 Not Found [] try=2
• uploading to release file=dist/ipsw_3.1.200_arm64.deb name=ipsw_3.1.200_arm64.deb
• failed to upload artifact, will retry artifact=ipsw_3.1.200_aarch64.apk error=Post "https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw_3.1.200_aarch64.apk": write tcp 192.168.4.191:64278->140.82.112.13:443: use of closed network connection try=7
• uploading to release file=dist/ipsw_3.1.200_aarch64.apk name=ipsw_3.1.200_aarch64.apk
• failed to upload artifact, will retry artifact=ipsw-3.1.200-1-aarch64.pkg.tar.zst error=POST https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw-3.1.200-1-aarch64.pkg.tar.zst: 404 Not Found [] try=1
• uploading to release file=dist/ipsw-3.1.200-1-aarch64.pkg.tar.zst name=ipsw-3.1.200-1-aarch64.pkg.tar.zst
• failed to upload artifact, will retry artifact=ipsw_3.1.200_aarch64.apk error=Post "https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw_3.1.200_aarch64.apk": write tcp 192.168.4.191:64294->140.82.114.14:443: use of closed network connection try=8
• uploading to release file=dist/ipsw_3.1.200_aarch64.apk name=ipsw_3.1.200_aarch64.apk
• failed to upload artifact, will retry artifact=ipsw-3.1.200-1-aarch64.pkg.tar.zst error=POST https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw-3.1.200-1-aarch64.pkg.tar.zst: 422 Validation Failed [{Resource:ReleaseAsset Field:name Code:already_exists Message:}] try=2
• failed to upload artifact, will retry artifact=ipsw_3.1.200_aarch64.apk error=POST https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw_3.1.200_aarch64.apk: 422 Validation Failed [{Resource:ReleaseAsset Field:name Code:already_exists Message:}] try=9
• failed to upload artifact, will retry artifact=ipsw_3.1.200_arm64.deb error=POST https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw_3.1.200_arm64.deb: 404 Not Found [] try=2
• uploading to release file=dist/ipsw_3.1.200_arm64.deb name=ipsw_3.1.200_arm64.deb
• failed to upload artifact, will retry artifact=ipsw-3.1.200.aarch64.rpm error=POST https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw-3.1.200.aarch64.rpm: 404 Not Found [] try=3
• uploading to release file=dist/ipsw-3.1.200.aarch64.rpm name=ipsw-3.1.200.aarch64.rpm
• failed to upload artifact, will retry artifact=ipsw-3.1.200.aarch64.rpm error=POST https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw-3.1.200.aarch64.rpm: 422 Validation Failed [{Resource:ReleaseAsset Field:name Code:already_exists Message:}] try=4
• failed to upload artifact, will retry artifact=ipsw_3.1.200_arm64.deb error=POST https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw_3.1.200_arm64.deb: 404 Not Found [] try=3
• uploading to release file=dist/ipsw_3.1.200_arm64.deb name=ipsw_3.1.200_arm64.deb
• failed to upload artifact, will retry artifact=ipsw_3.1.200_arm64.deb error=POST https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw_3.1.200_arm64.deb: 404 Not Found [] try=3
• uploading to release file=dist/ipsw_3.1.200_arm64.deb name=ipsw_3.1.200_arm64.deb
• failed to upload artifact, will retry artifact=ipsw_3.1.200_arm64.deb error=POST https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw_3.1.200_arm64.deb: 404 Not Found [] try=4
• uploading to release file=dist/ipsw_3.1.200_arm64.deb name=ipsw_3.1.200_arm64.deb
• failed to upload artifact, will retry artifact=ipsw_3.1.200_arm64.deb error=POST https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw_3.1.200_arm64.deb: 404 Not Found [] try=4
• uploading to release file=dist/ipsw_3.1.200_arm64.deb name=ipsw_3.1.200_arm64.deb
• failed to upload artifact, will retry artifact=ipsw_3.1.200_arm64.deb error=POST https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw_3.1.200_arm64.deb: 404 Not Found [] try=5
• uploading to release file=dist/ipsw_3.1.200_arm64.deb name=ipsw_3.1.200_arm64.deb
• failed to upload artifact, will retry artifact=ipsw_3.1.200_arm64.deb error=POST https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw_3.1.200_arm64.deb: 404 Not Found [] try=5
• uploading to release file=dist/ipsw_3.1.200_arm64.deb name=ipsw_3.1.200_arm64.deb
• failed to upload artifact, will retry artifact=ipsw_3.1.200_arm64.deb error=POST https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw_3.1.200_arm64.deb: 404 Not Found [] try=6
• uploading to release file=dist/ipsw_3.1.200_arm64.deb name=ipsw_3.1.200_arm64.deb
• failed to upload artifact, will retry artifact=ipsw_3.1.200_arm64.deb error=POST https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw_3.1.200_arm64.deb: 404 Not Found [] try=6
• uploading to release file=dist/ipsw_3.1.200_arm64.deb name=ipsw_3.1.200_arm64.deb
• failed to upload artifact, will retry artifact=ipsw_3.1.200_arm64.deb error=POST https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw_3.1.200_arm64.deb: 404 Not Found [] try=7
• uploading to release file=dist/ipsw_3.1.200_arm64.deb name=ipsw_3.1.200_arm64.deb
• failed to upload artifact, will retry artifact=ipsw_3.1.200_arm64.deb error=POST https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw_3.1.200_arm64.deb: 404 Not Found [] try=7
• uploading to release file=dist/ipsw_3.1.200_arm64.deb name=ipsw_3.1.200_arm64.deb
• failed to upload artifact, will retry artifact=ipsw_3.1.200_arm64.deb error=POST https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw_3.1.200_arm64.deb: 422 Validation Failed [{Resource:ReleaseAsset Field:name Code:already_exists Message:}] try=8
• took: 2m41s
• took: 3m39s
⨯ release failed after 4m17s error=scm releases: failed to publish artifacts: failed to upload ipsw-3.1.200-1-aarch64.pkg.tar.zst after 2 tries: POST https://uploads.github.com/repos/blacktop/ipsw/releases/84378518/assets?name=ipsw-3.1.200-1-aarch64.pkg.tar.zst: 422 Validation Failed [{Resource:ReleaseAsset Field:name Code:already_exists Message:}]
make: *** [release] Error 1 |
@blacktop that's unrelated to this issue, there are a few other reports of this ranging from a couple of years ago to now... its always either user error or a github bug that's impossible to reliably reproduce. Please search the issues for more info. |
@cjellick found the bug, you can avoid if for now by changing your signing config: docker_signs:
- artifacts: all
stdin: "{{ .Env.COSIGN_PASSWORD }}"
args: ["sign", "--key=cosign.key", "${artifact}"] (add the args line) meanwhile, I'm working on a fix. |
okay, PR fixing it is opened, thanks for bringing this up @cjellick ! I'll release a patch after dinner :) |
awesome. Thanks so much! |
it was missing the digest parsing for the manifest, and there were no tests covering it. now the tests are there, and so is the fix. refs #3599
it was missing the digest parsing for the manifest, and there were no tests covering it. now the tests are there, and so is the fix. refs #3599
Should be fixed in v1.13.1. thanks again for reporting 🙏 |
Thank you! Will upgrade today. |
What happened?
We cut our latest release of https://github.com/acorn-io/acorn and it failed with the following error:
Our releases were setup to use the "latest" version of goreleaser and this was v1.13.0. When I pinned goreleaser to v1.12.3, the release worked again.
How can we reproduce this?
I don't have a step-by-step way to repro, but this is our .goreleaser file:
https://github.com/acorn-io/acorn/blob/main/.goreleaser.yml
This is how we kick it off from github workflow:
https://github.com/acorn-io/acorn/blob/main/.github/workflows/release.yaml#L46-L63
goreleaser version
GoReleaser Check
Search
Code of Conduct
Additional context
Here's a slightly bigger chunk of the build logs, in case it helps:
The text was updated successfully, but these errors were encountered: