Saving cache can fail, breaking build (response 429/503)
See original GitHub issuePost job cleanup.
/usr/bin/tar --posix --use-compress-program zstd -T0 -cf cache.tzst -P -C /Users/runner/work/Mudlet/Mudlet --files-from manifest.txt
Warning: Cache service responded with 429 during upload chunk.
/Users/runner/work/_actions/actions/cache/v2/dist/save/index.js:3305
throw new Error(`Cache upload failed because file read failed with ${error.message}`);
^
Error: Cache upload failed because file read failed with EBADF: bad file descriptor, read
at ReadStream.<anonymous> (/Users/runner/work/_actions/actions/cache/v2/dist/save/index.js:3305:31)
at ReadStream.emit (events.js:210:5)
at internal/fs/streams.js:167:12
at FSReqCallback.wrapper [as oncomplete] (fs.js:470:5)
See https://github.com/Mudlet/Mudlet/runs/1435372417?check_suite_focus=true
Cache itself is rather simple,
- name: (Linux/macOS) restore ccache
uses: actions/cache@v2
with:
path: ${{runner.workspace}}/ccache
key: ccache-${{matrix.os}}-${{matrix.compiler}}-${{matrix.qt}}-${{github.sha}}
restore-keys: ccache-${{matrix.os}}-${{matrix.compiler}}-${{matrix.qt}}-
if: runner.os != 'Windows'
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Warning. Error encountered while saving cache [...] can't dump ...
I noticed this issue today while working on a Rails app and looking at the console output after refreshing a page on the...
Read more >Warning. Error encountered while saving cache ... can't dump ...
It is a known bug with the current release of Sass, updating the sass stylesheet will cause the caching error because of the...
Read more >elastic - Go Packages - The Go Programming Language
If no Elasticsearch server is available, services will fail when creating a new request and will return ErrNoClient. A Client provides services.
Read more >Saving cache stopped working ("Warning: skipping this step
Saving cache was working, but today I believe without changing anything we keep getting: Warning: skipping this step: disabled in ...
Read more >Civis Client Documentation
The API client will automatically retry for certain API error responses. If the error is one of [413, 429, 503] and the API...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@akien-mga Thanks! Just making a note that this is related to https://github.com/actions/cache/issues/441. I’ll see if we can get 👀 on this issue.
(As a FYI, the
godot
repo is getting throttled due to the amount of content being uploaded. There’s a limit of 10 GBs uploaded every 5 minutes. However, even if getting throttled, that shouldn’t cause action / workflow to fail.)Merged #596 to fix this issue by catching and logging warnings. The save step should no longer fail. Fix in
v2.1.6
.