uber-archive / makisu

Fast and flexible Docker image building tool, works in unprivileged containerized environments like Mesos and Kubernetes.
Apache License 2.0
2.41k stars 156 forks source link

Cached layer not used on subsequent build #296

Closed jsierles closed 4 years ago

jsierles commented 4 years ago

While using the Redis store and registry cache, layers appear to be pushed, but are not found on a subsequent build. I don't see any errors, so not sure how to debug this yet.

Build 1:

1.576489987395279e+09   info    * Committed gzipped layer sha256:40881dfc64eb3030e36164ff8b7dfb642ae77e98dc5f179a60be12064cdfeaee (204271643 bytes)
1.576489987395642e+09   info    * Pushing with cache ID 421889e8

Build 2:


1.5764936221543481e+09  error   Failed to fetch intermediate layer with cache ID 421889e8: find layer 421889e8: layer not found in cache
 ```
yiranwang52 commented 4 years ago

Seems like redis couldn't be reached...