react-native-community / react-native-circleci-orb

A CircleCI Orb to Simplify Testing your React Native App
MIT License
176 stars 80 forks source link

Error Saving Cache (rn/yarn_install) #151

Closed f0o closed 2 years ago

f0o commented 2 years ago

Orb version

@7

What happened

During rn/yarn_install saving caches fail with obscure error:

Creating cache archive...
Uploading cache archive...

Error uploading archive: cache at :storage/caches/8b2fe39e-367b-4a96-81d5-cf5c5d65471c/yarn-cache-arch1-linux-amd64-6_85-V0oyFA6xNFFMWLP4NWwCl1UwkLH58MwLyBLyqr77fOw=-jpOl+XE_n8YYoe0t2hgqLDuhukjFa8EYCluxpmjlnnk=-1
.tar.gz failed: cache at :storage/caches/8b2fe39e-367b-4a96-81d5-cf5c5d65471c/yarn-cache-arch1-linux-amd64-6_85-V0oyFA6xNFFMWLP4NWwCl1UwkLH58MwLyBLyqr77fOw=-jpOl+XE_n8YYoe0t2hgqLDuhukjFa8EYCluxpmjlnnk=-1
.tar.gz failed: an unexpected storage error occurred (operation id: ccaa50b9)

Expected behavior

Caches should be saved 🙃

cortinico commented 2 years ago

Does this happen consistently?

f0o commented 2 years ago

Yep every time. Changing the CACHE_VERSION does not influence it

f0o commented 2 years ago

I just saw that I'm smooth 7G over my storage quota... might be related to that 🤔

//EDIT: That seems unrelated, I can still upload new caches despite being over quota

jsDotCr commented 2 years ago

just found a possible fix on -> https://discuss.circleci.com/t/error-uploading-archive-cache-at-storage-caches/44222/3

jsDotCr commented 2 years ago

https://github.com/react-native-community/react-native-circleci-orb/pull/154 :)

react-native-community-bot commented 2 years ago

:tada: This issue has been resolved in version 7.0.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: