-
-
Notifications
You must be signed in to change notification settings - Fork 648
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
./pants run
crashes when remote_cache_eager_fetch = false
#15954
Labels
Comments
cc @stuhood maybe another race condition with lazy remote fetches |
Mm, thanks: I see what this is. Yet another TODO that I should have assumed would be a blocker! Sorry for the trouble. We're prioritizing getting the |
stuhood
added a commit
that referenced
this issue
Jun 29, 2022
…15979) As reported in #15954, backtracking doesn't currently work when a synchronous method like `Workspace.write_digests` is the source of a `MissingDigest` error. This was due to a TODO left behind in #15761, where we did not propagate the `Failure` type "through" `@rule` bodies. To fix this, we add a conversion from `Failure` to `PrErr` which wraps in a well known exception type, and then look for that type when converting back from `PyErr` to `Failure`. Fixes #15954.
tdyas
pushed a commit
to tdyas/pants
that referenced
this issue
Jun 29, 2022
…antsbuild#15979) As reported in pantsbuild#15954, backtracking doesn't currently work when a synchronous method like `Workspace.write_digests` is the source of a `MissingDigest` error. This was due to a TODO left behind in pantsbuild#15761, where we did not propagate the `Failure` type "through" `@rule` bodies. To fix this, we add a conversion from `Failure` to `PrErr` which wraps in a well known exception type, and then look for that type when converting back from `PyErr` to `Failure`. Fixes pantsbuild#15954. # Building wheels and fs_util will be skipped. Delete if not intended. [ci skip-build-wheels]
stuhood
added a commit
to stuhood/pants
that referenced
this issue
Jun 29, 2022
…antsbuild#15979) As reported in pantsbuild#15954, backtracking doesn't currently work when a synchronous method like `Workspace.write_digests` is the source of a `MissingDigest` error. This was due to a TODO left behind in pantsbuild#15761, where we did not propagate the `Failure` type "through" `@rule` bodies. To fix this, we add a conversion from `Failure` to `PrErr` which wraps in a well known exception type, and then look for that type when converting back from `PyErr` to `Failure`. Fixes pantsbuild#15954. # Building wheels and fs_util will be skipped. Delete if not intended. [ci skip-build-wheels]
stuhood
added a commit
that referenced
this issue
Jun 29, 2022
…Cherry-pick of #15979) (#16001) As reported in #15954, backtracking doesn't currently work when a synchronous method like `Workspace.write_digests` is the source of a `MissingDigest` error. This was due to a TODO left behind in #15761, where we did not propagate the `Failure` type "through" `@rule` bodies. To fix this, we add a conversion from `Failure` to `PrErr` which wraps in a well known exception type, and then look for that type when converting back from `PyErr` to `Failure`. Fixes #15954. [ci skip-build-wheels] Co-authored-by: Stu Hood <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
After setting
remote_cache_eager_fetch = false
, a CI step that./pants run
s apex_binary
has started (intermittently) failing with errors like:Pants version
PANTS_SHA=5d8a328d72209863986c8959b20305505bc068ba
OS
Linux
Additional info
Some BuildSense links where we've seen the failure:
The text was updated successfully, but these errors were encountered: