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
Fix container build logging #26050
Fix container build logging #26050
Conversation
In Quarkus 2.10.CR1, the container build (e.g. Docker) performed by Quarkus does not log any output anymore. This appears to be caused by the refactoring in commit 418d986, as the `Runnable#run()` method is never called in `ExecUtil#exec()` on the `Runnable` returned by `outputFilterFunction`.
I didn't really look at what exactly the referenced commit does. I just noticed that the call of the |
/cc @geoand |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
In our case this fix is in fact very important. When the stdout and stderr isn't consumed, the process will at some point just hang. Presumably because the allocated buffer has been filled. This is only problematic when there is a lot of output. |
Failing Jobs - Building 0ca82fd
Full information is available in the Build summary check run. Failures⚙️ Gradle Tests - JDK 11 Windows #- Failing: integration-tests/gradle
📦 integration-tests/gradle✖
|
Thanks for testing and for the quick fix! |
@gsmet Since this bug is also present in 2.9, should the |
There will be no more 2.9 releases (unless something goes very wrong) now that we have a first 2.10 release out |
Thanks for the clarification. Since the label was mentioned only 4 days ago I thought it may still be relevant :-) |
In Quarkus 2.10.CR1, the container build (e.g. Docker) performed by Quarkus does not log any output anymore. This appears to be caused by the refactoring in commit 418d986, as the
Runnable#run()
method is never called inExecUtil#exec()
on theRunnable
returned byoutputFilterFunction
.