actions / cache

Cache dependencies and build outputs in GitHub Actions
MIT License
4.45k stars 1.18k forks source link

Timeout when downloading cache blob #1141

Closed arkq closed 7 months ago

arkq commented 1 year ago

In the https://github.com/project-chip/connectedhomeip repo we are facing lots of timeouts when using actions/cache. E.g. see this runs:

In most cases it seems that the timeout occurred due to broken connection, e.g.:

Received 12582912 of 2194729101 (0.6%), 12.0 MBs/sec
...
Received 947912704 of 2194729101 (43.2%), 81.7 MBs/sec
Received 1065353216 of 2194729101 (48.5%), 84.3 MBs/sec
Received 1161822208 of 2194729101 (52.9%), 84.8 MBs/sec
...
Received 1912602624 of 2194729101 (87.1%), 86.5 MBs/sec
Received 2042626048 of 2194729101 (93.1%), 88.2 MBs/sec
Received 2139095040 of 2194729101 (97.5%), 88.3 MBs/sec
Received 2143289344 of 2194729101 (97.7%), 84.8 MBs/sec
Received 2143289344 of 2194729101 (97.7%), 81.5 MBs/sec
...
Received 2143289344 of 2194729101 (97.7%), 51.0 MBs/sec
...
Received 2143289344 of 2194729101 (97.7%), 16.7 MBs/sec
...

If not for the step timeout constrain, the download speed would drop to kBs/sec.

Is there any way to remedy this download issue?

bjonnh-work commented 1 year ago

We see the same thing, it will hang for sometimes 10 min then fail, where on other workers running at the same time it took only 20s to pull the cache.

pmengelbert commented 1 year ago

We are also seeing the same issue

AndrewKahr commented 1 year ago

I've been running into this as well, we have a cache of 4GB and 2/3 runs will timeout. It would be a big help if this got resolved

github-actions[bot] commented 7 months ago

This issue is stale because it has been open for 200 days with no activity. Leave a comment to avoid closing this issue in 5 days.

github-actions[bot] commented 7 months ago

This issue was closed because it has been inactive for 5 days since being marked as stale.