Open jammerful opened 6 years ago
cc @edolstra have any idea what might cause this? I've been doing some large nix copy
to S3 and anecdotally it occasionally seems to succeed but my S3 bucket doesn't contain what I asked.
Ah, just ran into this. I was pushing to a S3 cache without the appropriate permissions, and nix copy
silently failed. No error output (except with extra verbosity), and no error code.
I marked this as stale due to inactivity. → More info
I would expect that if nix copy (from nix 1.12) was unable to upload some store paths to S3, it would return a non-zero exit code. I know when it hits an internal error, it will return a non-zero exit code. However, it seems to silently fail to upload a handful of store paths it was asked to (out of a ~5000). I found this out by pointing nix-build --dry-run (with a blank store) to my cache, and seeing what was not in the cache.