The deployment to OpenShift is randomly failing due to this exception:
12:49:34.706 Failed to execute goal io.quarkus:quarkus-maven-plugin:1.13.2.Final:build (default) on project config: Failed to build quarkus application: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
12:49:34.706 [error]: Build step io.quarkus.container.image.openshift.deployment.OpenshiftProcessor#openshiftBuildFromJar threw an exception: java.lang.RuntimeException: Execution of openshift build failed. See build output for more details
12:49:34.706 at io.quarkus.container.image.openshift.deployment.OpenshiftProcessor.openshiftException(OpenshiftProcessor.java:513)
12:49:34.707 at io.quarkus.container.image.openshift.deployment.OpenshiftProcessor.openshiftBuild(OpenshiftProcessor.java:457)
12:49:34.707 at io.quarkus.container.image.openshift.deployment.OpenshiftProcessor.lambda$openshiftBuild$10(OpenshiftProcessor.java:410)
12:49:34.707 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
12:49:34.707 at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
12:49:34.708 at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
12:49:34.708 at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
12:49:34.708 at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
12:49:34.708 at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
12:49:34.708 at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
12:49:34.708 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
12:49:34.709 at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
12:49:34.710 at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
12:49:34.710 at io.quarkus.container.image.openshift.deployment.OpenshiftProcessor.openshiftBuild(OpenshiftProcessor.java:410)
12:49:34.710 at io.quarkus.container.image.openshift.deployment.OpenshiftProcessor.createContainerImage(OpenshiftProcessor.java:352)
12:49:34.710 at io.quarkus.container.image.openshift.deployment.OpenshiftProcessor.openshiftBuildFromJar(OpenshiftProcessor.java:259)
12:49:34.710 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
12:49:34.711 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
12:49:34.711 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
12:49:34.711 at java.base/java.lang.reflect.Method.invoke(Method.java:566)
12:49:34.711 at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:920)
12:49:34.711 at io.quarkus.builder.BuildContext.run(BuildContext.java:277)
12:49:34.712 at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2415)
12:49:34.712 at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
12:49:34.712 at java.base/java.lang.Thread.run(Thread.java:834)
12:49:34.712 at org.jboss.threads.JBossThread.run(JBossThread.java:501)
12:49:34.712 Caused by: java.io.IOException: Pipe closed
12:49:34.712 at java.base/java.io.PipedInputStream.read(PipedInputStream.java:307)
12:49:34.712 at java.base/java.io.PipedInputStream.read(PipedInputStream.java:377)
12:49:34.713 at java.base/sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
12:49:34.713 at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
12:49:34.713 at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
12:49:34.713 at java.base/java.io.InputStreamReader.read(InputStreamReader.java:185)
12:49:34.713 at java.base/java.io.BufferedReader.fill(BufferedReader.java:161)
12:49:34.713 at java.base/java.io.BufferedReader.readLine(BufferedReader.java:326)
12:49:34.713 at java.base/java.io.BufferedReader.readLine(BufferedReader.java:392)
12:49:34.713 at io.quarkus.container.image.openshift.deployment.OpenshiftProcessor.openshiftBuild(OpenshiftProcessor.java:453)
12:49:34.714 ... 24 more
I think this is happening after Dekorate was upgrated to 2.x by this change.
Describe the bug
The deployment to OpenShift is randomly failing due to this exception:
I think this is happening after Dekorate was upgrated to 2.x by this change.
To Reproduce
Steps to reproduce the behavior:
mvn io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:create -DprojectGroupId=org.acme -DprojectArtifactId=openshift-quickstart -DclassName="org.acme.rest.GreetingResource" -Dpath="/greeting" -Dextensions=openshift
openshift-quickstart
mvn package -Dquarkus.kubernetes.deploy=true -Dquarkus.openshift.expose=true
Note that this is not happening always, but when happens this is really annoying...
https://github.com/quarkusio/quarkus/issues/16968
$upstream:16968$