https://pantsbuild.org/ logo
#general
Title
# general
s

sparse-lifeguard-95737

04/19/2022, 8:45 PM
I’m seeing some error messages in CI that I’m not sure how to parse:
Copy code
20:40:20.36 [WARN] Failed to read from remote cache (1 occurrences so far): Error saving remote output directory: Tree with digest Digest { hash: Fingerprint<9b9b5334c93106332e06ff5ea71502451964b70a1b2a9c0d52e021cd26203f57>, size_bytes: 260 } was not in remote
specifically I’m confused that it says both
failed to read
and
error saving
- one I might expect on a cache-miss, but the other would indicate some misconfiguration with our remote caching setup (I think?)
f

fast-nail-55400

04/19/2022, 8:57 PM
“error saving” is referred to Pants attempting to copy the contents of the remote cache into the Pants local cache
which is a read from the remote cache
s

sparse-lifeguard-95737

04/19/2022, 8:57 PM
ahhh got it
f

fast-nail-55400

04/19/2022, 8:58 PM
that error message could probably be less confusing if it said “Error saving to local cache”
1
what are you using for remote cache?
s

sparse-lifeguard-95737

04/19/2022, 8:59 PM
toolchain
w

witty-crayon-22786

04/19/2022, 9:28 PM
i’ll follow up in another channel on that.
2 Views