Comments (9)
Having the link to the CircleCI Discuss bug report mentioned in the last few comments would be cool since people that encounter this bug naturally end up here - at least it's my case, and I was unable to find any Discuss topic related to this (I probably missed it)
from cimg-go.
Thanks for reporting. Investigating now.
from cimg-go.
This fix will be rolled out within 20 minutes.
from cimg-go.
@asdwsda Hey. The fix is deployed. Can you confirm that this image is working for you again?
from cimg-go.
@FelicianoTech tl;dr yes, it is working again.
go mod download
and related steps are working again, but it was a bit trickier than clicking on Rerun workflow
. Restoring go modules from cache has started to fail, because it tries to extract files to /go/
and got a Permission denied
again.
Failed to unarchive cache
Error untarring cache: Error extracting tarball /tmp/cache922072060 : tar: go: Cannot mkdir: Permission denied
As far as I know there is no official method to drop cache without cache key modification. That's sad. Hopefully there is a bug (or feature?) I found earlier. Caches are immutable, except one case. For example you have a cache key like this: gomod-v3-{{ checksum "go.sum" }}
. Changing this to gomod-v3-{{ checksum "go.sum" }}-something
should create a new cache, but that's not true. Both keys will reference the same cache. So saving to gomod-v3-{{ checksum "go.sum" }}-something
overwrites gomod-v3-{{ checksum "go.sum" }}
. This way I was able to fix the cache without touching anything on our master
branch.
from cimg-go.
Hmm. Can you please create a post in CircleCI Discuss for this in the "bug report" section? Also, if you can, provide as much of your config in that post as you can.
Based on specifically what you provided here, caching shouldn't work like that.
from cimg-go.
Yeah, sure. I have a minimal config to prove that.
from cimg-go.
Why does the cache key need to be updated? That part was never clarified.
from cimg-go.
@jason-riddle It's immutable. So if the cache contains binary data for another version of Go or the wrong architecture, it will stay that way.
from cimg-go.
Related Issues (20)
- Please create go1.17.7 image HOT 5
- Permission denied error with cimg/go:1.16, cimg/go:1.16-browsers, cimg/go:1.17 HOT 2
- Go patch 0 releases don't get generated correctly
- Golangci-lint support for Go 1.18 HOT 2
- OpenSSL CVE in the Go images HOT 1
- Update Config to use cimg-orb
- [1.17] Unpinned minor version breaking pipeline HOT 3
- Add Go 1.17.12 and Go 1.18.4 releases HOT 2
- go1.18.5 is out HOT 1
- golangci-lint error in cimg-go:1.19 HOT 2
- point releases are out HOT 2
- go 1.19.5 and 1.18.10 are out HOT 1
- Go 1.20 was released... HOT 2
- Please update golangci-lint version for go 1.20
- Update `golangci-lint` version to 1.51.2 HOT 1
- go1.20.2 release
- go1.19.8/go1.20.3 are out HOT 1
- Feature Request: Govulncheck
- Feature Request: go.1.21.1 HOT 1
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cimg-go.