-
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
"Worker process returned an unparseable WorkResponse!" when worker runs out of memory #5767
Comments
Same issue here, reverting OpenJDK from 10 to 8 make it build again. |
We have the same issue. Is it possible to make the error message clearer?
…On Tue, 28 Aug 2018 at 23:50 Adam Cécile ***@***.***> wrote:
Same issue here, reverting OpenJDK from 10 to 8 make it build again.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5767 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABUIFzMXkLQ3AS78qkgxI3ti6WPzoLOVks5uVa0fgaJpZM4VvJP->
.
|
Building TF is a non-determinisic challenge you'll have to deal with alone. Don't expect any help, I have dozen of tickets with no response. Good luck ! |
This error message is maybe one of the most detailed and useful ones in Bazel. It has a helpful hint at the top (targeted at worker developers - arguably if a worker crashes hard, it's rarely the user's fault, but a dev has to fix it and this also mostly happens during development of a worker), it has a stack trace that helps Bazel devs actually understand what happened here, it has the last output of the worker that gives the developer of the worker and you as the user a hint what might have gone wrong (OOM in this case). I think this is about as good as it gets. Bazel can't tell you how to fix the worker that crashed, because there's no structured information about why it crashed. Bazel doesn't know that the worker runs in a JVM, nor that the crash was due to OOM, nor which flags you might have to tweak in which way in order to avoid it. A hint like "Try to bump -Xmx" would have to come from the OpenJDK that printed the OOM error message, it's nothing that Bazel can infer on its own. |
Agree with @philwo's assessment on that there is nothing we can do about workers misbehaving... so will have to close this. |
Description of the problem / feature request:
Feature requests: what underlying problem are you trying to solve with this feature?
I'd like to see a better error message which points out the problem straight away, instead of the "unparsable WorkResponse" message, which seems to be targeted at bazel developers (who built the worker).
Having a suggestion about a possible solution of the memory problem could be also useful. Perhaps what to change about -Xmx java parameter?
What operating system are you running Bazel on?
NixOS Linux
What's the output of
bazel info release
?release 0.15.2- (@non-git)
The text was updated successfully, but these errors were encountered: