-
Bug
-
Resolution: Done
-
Critical
-
2.2.3.ER1, 2.2.3.GA
-
None
-
False
-
False
-
Release Notes
-
+
-
The deployments to OpenShift 3.11 using the Quarkus OpenShift extension always fails with:
05:57:54.827 INFO [32mmvn: [INFO] [io.quarkus.container.image.openshift.deployment.OpenshiftProcessor] lib/main/io.smallrye.common.smallrye-common-a ...[truncated 23241 chars]... y.run(EnhancedQueueExecutor.java:1478)[0m 05:57:54.966 INFO [32mmvn: at java.base/java.lang.Thread.run(Thread.java:834)[0m 05:57:54.966 INFO [32mmvn: at org.jboss.threads.JBossThread.run(JBossThread.java:501)[0m 05:57:54.966 INFO [32mmvn: Caused by: java.io.IOException: Pipe closed[0m 05:57:54.966 INFO [32mmvn: at java.base/java.io.PipedInputStream.read(PipedInputStream.java:307)[0m 05:57:54.966 INFO [32mmvn: at java.base/java.io.PipedInputStream.read(PipedInputStream.java:377)[0m 05:57:54.966 INFO [32mmvn: at java.base/sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)[0m 05:57:54.966 INFO [32mmvn: at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)[0m 05:57:54.966 INFO [32mmvn: at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)[0m 05:57:54.966 INFO [32mmvn: at java.base/java.io.InputStreamReader.read(InputStreamReader.java:181)[0m 05:57:54.966 INFO [32mmvn: at java.base/java.io.BufferedReader.fill(BufferedReader.java:161)[0m 05:57:54.967 INFO [32mmvn: at java.base/java.io.BufferedReader.readLine(BufferedReader.java:326)[0m 05:57:54.967 INFO [32mmvn: at java.base/java.io.BufferedReader.readLine(BufferedReader.java:392)[0m 05:57:54.967 INFO [32mmvn: at io.quarkus.container.image.openshift.deployment.OpenshiftProcessor.openshiftBuild(OpenshiftProcessor.java:444)[0m 05:57:54.967 INFO [32mmvn: ... 25 more[0m 05:57:54.967 INFO [32mmvn: [0m 05:57:54.967 INFO [32mmvn: at io.quarkus.runner.bootstrap.AugmentActionImpl.runAugment (AugmentActionImpl.java:415)[0m 05:57:54.967 INFO [32mmvn: at io.quarkus.runner.bootstrap.AugmentActionImpl.createProductionApplication (AugmentActionImpl.java:202)[0m 05:57:54.967 INFO [32mmvn: at io.quarkus.maven.BuildMojo.doExecute (BuildMojo.java:132)[0m 05:57:54.967 INFO [32mmvn: at io.quarkus.maven.QuarkusBootstrapMojo.execute (QuarkusBootstrapMojo.java:125)[0m 05:57:54.967 INFO [32mmvn: at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)[0m 05:57:54.967 INFO [32mmvn: at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)[0m 05:57:54.967 INFO [32mmvn: at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)[0m 05:57:54.967 INFO [32mmvn: at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)[0m 05:57:54.967 INFO [32mmvn: at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)[0m 05:57:54.967 INFO [32mmvn: at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)[0m 05:57:54.967 INFO [32mmvn: at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)[0m 05:57:54.967 INFO [32mmvn: at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)[0m 05:57:54.967 INFO [32mmvn: at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)[0m 05:57:54.967 INFO [32mmvn: at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)[0m 05:57:54.967 INFO [32mmvn: at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)[0m 05:57:54.968 INFO [32mmvn: at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)[0m 05:57:54.968 INFO [32mmvn: at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)[0m 05:57:54.968 INFO [32mmvn: at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)[0m 05:57:54.968 INFO [32mmvn: at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)[0m 05:57:54.968 INFO [32mmvn: at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)[0m 05:57:54.968 INFO [32mmvn: at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)[0m 05:57:54.968 INFO [32mmvn: at java.lang.reflect.Method.invoke (Method.java:566)[0m 05:57:54.968 INFO [32mmvn: at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)[0m 05:57:54.968 INFO [32mmvn: at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)[0m 05:57:54.968 INFO [32mmvn: at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)[0m 05:57:54.968 INFO [32mmvn: at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)[0m 05:57:54.968 INFO [32mmvn: Caused by: io.quarkus.builder.BuildException: Build failure: Build failed due to errors[0m 05:57:54.968 INFO [32mmvn: [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[0m 05:57:54.968 INFO [32mmvn: at io.quarkus.container.image.openshift.deployment.OpenshiftProcessor.openshiftException(OpenshiftProcessor.java:502)[0m 05:57:54.968 INFO [32mmvn: at io.quarkus.container.image.openshift.deployment.OpenshiftProcessor.openshiftBuild(OpenshiftProcessor.java:448)[0m 05:57:54.968 INFO [32mmvn: at io.quarkus.container.image.openshift.deployment.OpenshiftProcessor.lambda$openshiftBuild$10(OpenshiftProcessor.java:401)[0m 05:57:54.968 INFO [32mmvn: at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)[0m 05:57:54.968 INFO [32mmvn: at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)[0m 05:57:54.968 INFO [32mmvn: at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)[0m 05:57:54.969 INFO [32mmvn: at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)[0m 05:57:54.969 INFO [32mmvn: at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)[0m 05:57:54.969 INFO [32mmvn: at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)[0m 05:57:54.969 INFO [32mmvn: at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)[0m 05:57:54.969 INFO [32mmvn: at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)[0m 05:57:54.969 INFO [32mmvn: at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)[0m 05:57:54.969 INFO [32mmvn: at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)[0m 05:57:54.969 INFO [32mmvn: at io.quarkus.container.image.openshift.deployment.OpenshiftProcessor.openshiftBuild(OpenshiftProcessor.java:401)[0m 05:57:54.969 INFO [32mmvn: at io.quarkus.container.image.openshift.deployment.OpenshiftProcessor.createContainerImage(OpenshiftProcessor.java:345)[0m 05:57:54.969 INFO [32mmvn: at io.quarkus.container.image.openshift.deployment.OpenshiftProcessor.openshiftBuildFromJar(OpenshiftProcessor.java:252)[0m 05:57:54.969 INFO [32mmvn: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[0m 05:57:54.969 INFO [32mmvn: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[0m 05:57:54.969 INFO [32mmvn: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[0m 05:57:54.969 INFO [32mmvn: at java.base/java.lang.reflect.Method.invoke(Method.java:566)[0m 05:57:54.969 INFO [32mmvn: at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:820)[0m 05:57:54.969 INFO [32mmvn: at io.quarkus.builder.BuildContext.run(BuildContext.java:277)[0m 05:57:54.970 INFO [32mmvn: at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)[0m 05:57:54.970 INFO [32mmvn: at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)[0m 05:57:54.970 INFO [32mmvn: at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)[0m 05:57:54.970 INFO [32mmvn: at java.base/java.lang.Thread.run(Thread.java:834)[0m 05:57:54.970 INFO [32mmvn: at org.jboss.threads.JBossThread.run(JBossThread.java:501)[0m 05:57:54.970 INFO [32mmvn: Caused by: java.io.IOException: Pipe closed[0m 05:57:54.970 INFO [32mmvn: at java.base/java.io.PipedInputStream.read(PipedInputStream.java:307)[0m 05:57:54.970 INFO [32mmvn: at java.base/java.io.PipedInputStream.read(PipedInputStream.java:377)[0m 05:57:54.970 INFO [32mmvn: at java.base/sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)[0m 05:57:54.970 INFO [32mmvn: at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)[0m 05:57:54.970 INFO [32mmvn: at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)[0m 05:57:54.970 INFO [32mmvn: at java.base/java.io.InputStreamReader.read(InputStreamReader.java:181)[0m 05:57:54.970 INFO [32mmvn: at java.base/java.io.BufferedReader.fill(BufferedReader.java:161)[0m 05:57:54.970 INFO [32mmvn: at java.base/java.io.BufferedReader.readLine(BufferedReader.java:326)[0m 05:57:54.970 INFO [32mmvn: at java.base/java.io.BufferedReader.readLine(BufferedReader.java:392)[0m 05:57:54.970 INFO [32mmvn: at io.quarkus.container.image.openshift.deployment.OpenshiftProcessor.openshiftBuild(OpenshiftProcessor.java:444)[0m 05:57:54.970 INFO [32mmvn: ... 25 more[0m
This issue has been solved by this PR in Main (2.3): https://github.com/quarkusio/quarkus/pull/20134
I verified that with this change in 2.2, it works fine ++ it will make the OpenShift deployments more robust.
- documents
-
QUARKUS-1302 OpenShift: Deployments to OCP 3.11 stopped working and OCP 4.x are randomly failing too
- Closed