satackey / action-docker-layer-caching

[CAUTION] This repository is not actively maintained. / Enable Docker layer caching in your GitHub Actions workflow.
https://github.com/marketplace/actions/docker-layer-caching
MIT License
421 stars 55 forks source link

getCacheEntry failed: Cache service responded with 503 #285

Closed owen2345 closed 2 years ago

owen2345 commented 2 years ago

Describe the bug

When fetching the cache, the actions is failing with:

Error: Error: getCacheEntry failed: Cache service responded with 503

To Reproduce Just run the action

Expected behavior Should not fail and fetch the cache

Debug logs

## Config:
with:
    key: app-cache-fb9da27a0a6ac8bbeebbcffaba[3](https://github.com/ReverseRetail/photobuddy-next/runs/6861749650?check_suite_focus=true#step:8:3)bdc[4](https://github.com/ReverseRetail/photobuddy-next/runs/6861749650?check_suite_focus=true#step:8:4)2183122de70eccdb3b20726f2d55a62a2
    restore-keys: app-cache-fb9da27a0a6ac8bbeebbcffaba3bdc42183122de70eccdb3b20726f2d55a62a2
    concurrency: 4
    skip-save: false

## Error logs
Run satackey/action-docker-layer-caching@v0.0.11
Error: getCacheEntry failed: Cache service responded with 503
    at /home/runner/work/_actions/satackey/action-docker-layer-caching/v0.0.[11](https://github.com/.../6861749650?check_suite_focus=true#step:8:12)/dist/ttsc-dist/main.js/index.js:44587:15
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/work/_actions/satackey/action-docker-layer-caching/v0.0.11/dist/ttsc-dist/main.js/index.js:44503:58)
Error: Error: getCacheEntry failed: Cache service responded with 503

Runner Environment (please complete the following information):

Additional context Same problem when saving the cache

Unable to reserve cache with key: ReserveCacheError: Unable to reserve cache with key app-cache-fb9da27a0a6ac8bbeebbcffaba3bdc42183122de70eccdb3b20726f2d55a62a2-root, another job may be creating this cache.
Stored root cache, key: app-cache-fb9da27a0a6ac8bbeebbcffaba3bdc42183122de70eccdb3b20726f2d[5](https://github.com/ReverseRetail/.../6861749650?check_suite_focus=true#step:32:5)5a[6](https://github.com/ReverseRetail/.../6861749650?check_suite_focus=true#step:32:6)2a2-root, id: -1
cache key already exists, aborting.