-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[7.4.0] Do no crash if a requested resource is not available #23868
Comments
Cherry-pick was attempted but there were merge conflicts in the following file(s). Please resolve manually.
cc: @bazelbuild/triage |
|
Before: ``` Caused by: java.util.NoSuchElementException: Resource foo is not tracked in this resource set. at com.google.devtools.build.lib.actions.ResourceManager.assertExtraResourcesTracked(ResourceManager.java:499) at com.google.devtools.build.lib.actions.ResourceManager.areResourcesAvailable(ResourceManager.java:540) ``` After: ``` ERROR: src/test/java/com/google/devtools/build/lib/actions/BUILD:102:10: Testing //src/test/java/com/google/devtools/build/lib/actions:ActionsTests failed: Resource foo is not being tracked by the resource manager. Available resources are: cpu, memory ``` Fixes #19572 Closes #23541. PiperOrigin-RevId: 682282327 Change-Id: Ifdff5f85de9e45ac119c2a2cfd161c054a722546 (cherry picked from commit e5ab94b) Closes #23868 Co-authored-by: Alessandro Patti <[email protected]>
Forked from #23541
The text was updated successfully, but these errors were encountered: