-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
minimal download breaks stable-status #8385
Comments
They need to be (over)writable by Bazel actions.
They need to be (over)writable by Bazel actions. Closes bazelbuild#8678. PiperOrigin-RevId: 254017428
They need to be (over)writable by Bazel actions. Closes bazelbuild#8678. PiperOrigin-RevId: 254017428
They need to be (over)writable by Bazel actions. Closes bazelbuild#8678. PiperOrigin-RevId: 254017428
FYI I'm still hitting this issue on bazel 0.28.1. Is there anything I can do to provide more info? When I manually delete the workspace file everything works fine. |
I verified that the above fix is in 0.28.1 so I guess it's some other issue. @buchgr LMK if you would like me to open a fresh issue on this. |
Do you have a reproducer or is it the same as the initial bug report? |
@buchgr I don't have an exact reproducer, but the symptom is exactly the same as the original bug report. Let me know if there is any info I can provide. I've gotten around it right now by just deleting the stable-status.txt file before I run any build commands. I can remove that hack and help debug if you tell me what to look for. |
@buchgr I can still reproduce the issue with the same steps given in the original issue above on current master of digital-asset/daml@f11e09f60f. This is using
built with Nix as defined in the same repository. |
We ran into this as well. Not very familiar with the internals here, but it looks like the issue possibly goes like this:
@buchgr does this seem reasonable? |
@emfree it does. nice catch! send me a patch? :) |
Fixes bazelbuild#8385 Due to a typo in delete() stable-status.txt would not get deleted between builds. More details in bazelbuild#8385. Thanks @emfree for the debugging work and pointing out the root cause!
Description of the problem:
The minimal download flags
on Bazel 0.25.2 seem to break the stable-status feature. I'm observing the following error
(Forcefully removing the file temporarily resolves the problem.)
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Checkout digital-asset/daml@f6642ff and execute the following commands
What operating system are you running Bazel on?
OpenSUSE Tumbleweed 20190510
What's the output of
bazel info release
?release 0.25.2- (@non-git)
If
bazel info release
returns "development version" or "(@non-git)", tell us how you built Bazel.Using Nix
Any other information, logs, or outputs that you want to share?
Not sure if related or not, but
bazel run
seems to be not working on some targets when using minimal downloads. E.g. on the same commit as aboveThe text was updated successfully, but these errors were encountered: