-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Error reading stream exception thrown from OutputFilter / NativeImageBuildStep #28799
Comments
@zakkak any ideas about this one? |
Getting the details using for i in `gh run list --repo quarkus-qe/quarkus-startstop --limit 40 | cut -f 7`; do
echo "${i} `gh run view --repo quarkus-qe/quarkus-startstop ${i} --log | grep "Process stdout" | wc -l`";
done |
This one is strange, I'm trying to reproduce the problem using standalone app https://github.com/rsvoboda/code-with-quarkus and I didn't see the fail in 50 runs REPO=rsvoboda/code-with-quarkus
for i in `gh run list --repo ${REPO} --limit 50 | cut -f 7`; do
echo "${i} `gh run view --repo ${REPO} ${i} --log | grep "Process stdout" | wc -l`";
done About the |
We could also just ignore the error when the stream is closed and try to continue. |
I can prepare that change, and let's see if @zakkak and you are ok with that. |
@rsvoboda are you sure this is not a github runner issue? It's not clear to me if you managed to reproduce outside of github actions. |
Sofar we've seen this just on GH actions. Update: Did 10 runs on our Jenkins with RHEL workers and hit the issue in 2 runs. |
Describe the bug
Error reading stream exception thrown from OutputFilter / NativeImageBuildStep
We see this issue with Quarkus 2.13
https://github.com/quarkusio/quarkus/blob/main/core/deployment/src/main/java/io/quarkus/deployment/OutputFilter.java was refactored / introduced in #26892 / Quarkus 2.13.0.Final
Stacktrace:
Example logs: https://github.com/quarkus-qe/quarkus-startstop/actions/runs/3313239997 - see
ci-artifacts
and explore the directory structure of the zipped content. Alternatively click onLinux - Native build
to see which test failed.Issues is not regularly reproducible, we see it in daily GitHub action.
https://github.com/quarkus-qe/quarkus-startstop/actions/workflows/ci.yaml
Expected behavior
No error
Actual behavior
~50% of StartStopTS runs hit at least one "Exception in thread "Process stdout" java.lang.RuntimeException: Error reading stream." during native build executions. There are 8 compilations into native binary in one TS run.
How to Reproduce?
https://github.com/quarkus-qe/quarkus-startstop/actions/workflows/ci.yaml
https://github.com/quarkus-qe/quarkus-startstop/blob/main/.github/workflows/ci.yaml#L60
Output of
uname -a
orver
No response
Output of
java -version
Java 11
GraalVM version (if different from Java)
ubi-quarkus-native-image:22.2-java17
Quarkus version or git rev
2.13.3.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: